EGL init problem

Michel Dänzer michel at daenzer.net
Wed Oct 14 19:16:03 PDT 2015


On 15.10.2015 02:47, Christopher Barry wrote:
> On Wed, 14 Oct 2015 10:35:23 +0900
> Michel Dänzer <michel at daenzer.net> wrote:
> 
>> On 14.10.2015 04:14, Christopher Barry wrote:
>>> Hi
>>>
>>> Can someone help me with the correct incantation to compile X
>>> git-master for hw-accel with an AMD R9 380?
>>>
>>> Using --modfile w/ build.sh, and have tried the following (each on a
>>> single line in the modules-file):
>>>
>>> mesa/mesa --enable-dri --enable-dri3 --enable-glx --enable-glx-tls
>>> --enable-egl --enable-gbm --enable-shared-glapi --enable-gallium-llvm
>>> --enable-llvm-shared-libs --enable-r600-llvm-compiler
>>> --with-llvm-prefix=/opt/lib/llvm/ --with-egl-platforms=x11,drm
>>> --with-dri-drivers=r300,r600,radeon,svga,swrast
>>> --with-gallium-drivers=r300,r600,radeonsi,svga,swrast
>>>
>>> xserver --enable-glamor
>>>
>>>
>>> I get the following errors in my log Xorg.0.log:
>>>
>>> (EE) RADEON(0): glamor detected, failed to initialize EGL.
>>> (EE) AIGLX: reverting to software rendering
>>
>> Please provide the full Xorg.0.log file.
>>
>>
> 
> Thanks  Michel,
> 
> I recompiled with --with-dri-drivers=''.
> 
> log attached

[...]

> [     9.337] couldn't get display device

This means gbm_create_device() returns NULL. I suspect it may not be
picking up some of your self-built Mesa binaries, e.g. libgbm.so.1. I'd
try running Xorg in strace to see where it's picking that up from.


-- 
Earthling Michel Dänzer               |               http://www.amd.com
Libre software enthusiast             |             Mesa and X developer


More information about the xorg mailing list