Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Apr 2017 21:26:59 +0000
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        Arto Pekkanen <isoa@kapsi.fi>
Cc:        freebsd-x11@freebsd.org
Subject:   Re: Hardware acceleration broken for AMD Norther Islands cards?
Message-ID:  <20170420212659.GA34324@FreeBSD.org>
In-Reply-To: <cbd45e89-1bd6-967f-e1fc-9a5214f071f0@kapsi.fi>
References:  <20170420184951.GA4950@FreeBSD.org> <cbd45e89-1bd6-967f-e1fc-9a5214f071f0@kapsi.fi>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170420212659.GA34324>