Andrew Benton wrote:
> On 20/03/10 18:07, Baho Utot wrote:
>   
>> I have MesaLib installed as well.
>>
>> When trying to run glxgears I get the following:
>>
>> Xlib:  extension "GLX" missing on display ":0.0".
>> Error: couldn't get an RGB, Double-buffered visual
>>
>> What does this mean and how can I correct it?
>>
>>     
>
> That depends. What graphics card do you have?
>   

lspci
01:00.0 VGA compatible controller: ATI Technologies Inc RV730XT [Radeon 
HD 4670]

> Which dri driver are you trying to load?
>   

This I don't know

> What options did you use to compile libdrm?
>   

$XORG_PREFIX=/usr
./configure --prefix=$XORG_PREFIX &&
make
make install


> Which version of libdrm did you compile?
>   

The one in the book Beyond Linux® From Scratch - Version svn-20100221
libdrm-2.4.14

> What drivers did libdrm install in $XORG_PREFIX/lib/dri?
>   

ls usr/lib/dri
/bin/ls: cannot access usr/lib/dri: No such file or directory


ls usr/lib/*dr*
usr/lib/libXrandr.a          usr/lib/libdrm.so.2.4.0*        
usr/lib/libxcb-randr.so.0@
usr/lib/libXrandr.la*        usr/lib/libdrm_intel.la*        
usr/lib/libxcb-randr.so.0.1.0*
usr/lib/libXrandr.so@        usr/lib/libdrm_intel.so@        
usr/lib/libxcb-xf86dri.a
usr/lib/libXrandr.so.2@      usr/lib/libdrm_intel.so.1@      
usr/lib/libxcb-xf86dri.la*
usr/lib/libXrandr.so.2.2.0*  usr/lib/libdrm_intel.so.1.0.0*  
usr/lib/libxcb-xf86dri.so@
usr/lib/libdrm.la*           usr/lib/libxcb-randr.a          
usr/lib/libxcb-xf86dri.so.0@
usr/lib/libdrm.so@           usr/lib/libxcb-randr.la*        
usr/lib/libxcb-xf86dri.so.0.0.0*
usr/lib/libdrm.so.2@         usr/lib/libxcb-randr.so@


> What does /var/log/Xorg.0.log have to say about dri and glx?
> grep "dri\|glx" /var/log/Xorg.0.log
>   

 grep "dri\|glx" var/log/Xorg.0.log
(WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 
'vmmouse' will be disabled.
        X.Org XInput driver : 7.0
(II) "glx" will be loaded. This was enabled by default and also 
specified in the config file.
(II) "dri" will be loaded. This was enabled by default and also 
specified in the config file.
(II) "dri2" will be loaded. This was enabled by default and also 
specified in the config file.
(II) LoadModule: "dri"
(II) Loading /usr/lib/X11/modules/extensions/libdri.so
(II) Module dri: vendor="X.Org Foundation"
(II) LoadModule: "dri2"
(II) Loading /usr/lib/X11/modules/extensions/libdri2.so
(II) Module dri2: vendor="X.Org Foundation"
(II) LoadModule: "glx"
(II) Loading /usr/lib/X11/modules/extensions/libglx.so
(II) Module glx: vendor="X.Org Foundation"
(II) Loading /usr/lib/X11/modules/drivers/radeon_drv.so
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: node name is /dev/dri/card0
(II) RADEON(0): [dri] Found DRI library version 1.3.0 and kernel module 
version 1.30.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: node name is /dev/dri/card0
(II) RADEON(0): [dri] Visual configs initialized
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: node name is /dev/dri/card0
(EE) AIGLX error: dlopen of /usr/lib/dri/r600_dri.so failed 
(/usr/lib/dri/r600_dri.so: cannot open shared object file: No such file 
or directory)
(EE) AIGLX error: dlopen of /usr/lib/dri/swrast_dri.so failed 
(/usr/lib/dri/swrast_dri.so: cannot open shared object file: No such 
file or directory)
        ABI class: X.Org XInput driver, version 7.0


Looks like it is looking for /usr/lib/dri/r600_dri.so and I don't have it.
Where or who does it come from?

> Are you using the xf86-video-ati or xf86-video-radeonhd driver?
>   
xf86-video-ati-6.12.4.tar.bz2

> Andy
>   

Thank you for your help and time



-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to