Hardware acceleration broken for AMD Norther Islands cards?

Arto Pekkanen isoa at kapsi.fi
Thu Apr 20 19:06:49 UTC 2017


I don't know why mesa fails to recognize the dri driver based on this
info alone, but I do know that the reason why glxinfo reports 16G
graphics memory is because, in case it cannot initialize hardware
acceleration, libGL defaults to using the software renderer which uses
system RAM for buffers.

I am not a specialist in regards to the graphics subsystem, but to make
even an uneducated guess the following information is required:
- dmesg
- pciconf -lbev
- /var/log/Xorg.0.log
- your X.org configuration file, if any

There was also some specific sysctls that can be enabled to produce more
DRI/KMS debug information into dmesg, but I just cannot remember which
ones they were ... and they might have changed since the last time I had
to do any configuration on the graphics.

On 20.4.2017 21:49, Alexey Dokuchaev wrote:
> Hi there,
> 
> Today I've updated my X.org/Mesa stack to the latest in ports.  Apart from
> now having to do `kldload radeonkms' by hand before startx(1), it seems that
> hw accell is broken: `games/cake' and `games/quake2lnx' in GLX mode are now
> capped by ~15 fps, and emit the following messages on startup:
> 
>   MESA-LOADER: failed to retrieve device information
>   unknown chip id 0x990d, can't guess.			<--- ???
>   libGL error: failed to create dri screen
>   libGL error: failed to load driver: radeon
> 
> $ glxinfo -B (trimmed)
> 
> [ same messages as above ]
> direct rendering: Yes
> Extended renderer info (GLX_MESA_query_renderer):
>     Vendor: VMware, Inc. (0xffffffff)
>     Device: llvmpipe (LLVM 4.0, 128 bits) (0xffffffff)
>     Version: 17.0.3
>     Accelerated: no			<--- :-(
>     Video memory: 16384MB		<--- that's my total RAM amount
>     Unified memory: no
>     Preferred profile: core (0x1)
>     Max core profile version: 3.3
>     Max compat profile version: 3.0
>     Max GLES1 profile version: 1.1
>     Max GLES[23] profile version: 3.0
> OpenGL vendor string: VMware, Inc.
> OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 4.0, 128 bits)
>                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 
> Any ideas why the correct driver is no longer loaded?  Previous output
> (when things were working):
> 
>     Vendor: X.Org (0x1002)
>     Device: AMD ARUBA (DRM 2.29.0, LLVM 3.7.1) (0x990d)	<--- now unknown id
>     Version: 11.2.2
>     Accelerated: yes			<--- :-)
>     Video memory: 768MB			<--- looks more sane
>     [ unchanged lines snipped ]
> OpenGL vendor string: X.Org
> OpenGL renderer string: Gallium 0.4 on AMD ARUBA (DRM 2.29.0, LLVM 3.7.1)
>                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 
> (xf86-video-ati-7.9.0,1 package installed, user is in `video' group, most
> or all graphics-related ports were purged and reinstalled against the new
> X.org/Mesa bits.)
> 
> ./danfe
> _______________________________________________
> freebsd-x11 at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-x11
> To unsubscribe, send any mail to "freebsd-x11-unsubscribe at freebsd.org"
> 

-- 
Arto Pekkanen

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 213 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-x11/attachments/20170420/8d9ddacd/attachment.sig>


More information about the freebsd-x11 mailing list