Hardware acceleration broken for AMD Norther Islands cards?

Alexey Dokuchaev danfe at FreeBSD.org
Thu Apr 20 21:27:00 UTC 2017


On Thu, Apr 20, 2017 at 10:06:42PM +0300, Arto Pekkanen wrote:
> 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

I guess those would not be needed.  I've noticed r438989 and decided to
update `graphics/libdrm'; I had to de/reinstall another big round of ports
but after I did that, hw accel is back.  Yet not the same as before:

Goods: glxgears and games, and even `multimedia/vdpauinfo' now work.

Bads: mplayer (fresh rebuild) /tmp/any-movie segfauls the entire thing:

(EE) 0: /usr/local/bin/X (OsInit+0x37a) [0x59ca2a]
(EE) 1: /lib/libthr.so.3 (_pthread_sigmask+0x504) [0x8025bfcb4]
(EE) 2: /lib/libthr.so.3 (_pthread_getspecific+0xe5f) [0x8025bfc2f]
(EE) 3: ? (?+0xe5f) [0x7ffffffffe62]
(EE) 4: ? (?+0xe5f) [0xe5f]
(EE) 5: /usr/local/lib/xorg/modules/libglamoregl.so (glamor_back_pixmap_from_fd+0xcb) [0x806bb5efb]
(EE) 6: /usr/local/lib/xorg/modules/libglamoregl.so (glamor_pixmap_from_fd+0x57) [0x806bb5fa7]
(EE) 7: /usr/local/lib/xorg/modules/drivers/radeon_drv.so (_init+0x3e1f2) [0x8063848e2]
(EE) 8: /usr/local/bin/X (dri3_send_open_reply+0xb9a) [0x56ea7a]
(EE) 9: /usr/local/bin/X (dri3_send_open_reply+0x3f2) [0x56da42]
(EE) 10: /usr/local/bin/X (UpdateCurrentTimeIf+0x288) [0x430a18]
(EE) 11: /usr/local/bin/X (remove_fs_handlers+0x527) [0x43a217]
(EE) 12: /usr/local/bin/X (_start+0x17f) [0x42508f]
(EE) 13: ? (?+0x17f) [0x80082b17f]
(EE) 
(EE) Segmentation fault at address 0x0

./danfe


More information about the freebsd-x11 mailing list