LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   wrong(?) libGL modules path (http://www.linuxquestions.org/questions/slackware-14/wrong-libgl-modules-path-571343/)

iiv 07-22-2007 07:26 AM

wrong(?) libGL modules path
 
I do have ati radeon r300-based card, using radeon driver from x.org. The only problem is that dri is not enabled. As i discovered it comes from wrong xorg modules path.
Code:

:~$ export LIBGL_DEBUG=verbose
:~$ glxinfo | grep libGL
libGL: XF86DRIGetClientDriverName: 5.2.0 r300 (screen 0)
libGL: OpenDriver: trying /usr/lib/dri/r300_dri.so
libGL error: dlopen /usr/lib/dri/r300_dri.so failed (/usr/lib/dri/r300_dri.so: u
ndefined symbol: _glapi_add_dispatch)
libGL error: unable to find driver: r300_dri.so
libGL: XF86DRIGetClientDriverName: 5.2.0 r300 (screen 0)
libGL: OpenDriver: trying /usr/lib/dri/r300_dri.so
libGL error: dlopen /usr/lib/dri/r300_dri.so failed (/usr/lib/dri/r300_dri.so: u
ndefined symbol: _glapi_add_dispatch)
libGL error: unable to find driver: r300_dri.so

then i do slocate r300_dri.so and find that mesa has it installed in /usr/lib/xorg/modules/dri/
So, is this normal?



tried to symlink the driver from /usr/lib/xorg/modules/dri/r300_dri.so to /usr/lib/dri/r300_dri.so -- this didn't work, maybe i've done something wrong.

the3dfxdude 07-23-2007 01:42 PM

What versions of slackware, x.org, and mesa do you have installed?

iiv 07-23-2007 03:40 PM

Slackware-12.0.0, X Window System Version 1.3.0, mesa-6.5.2

iiv 07-24-2007 01:27 PM

Finally i got DRI working... It was the really hard way. As long as my system was a rather fresh install i did a whole reinstall. And got it working.
The problem was, in my opinion, fglrx proprietary driver from ati, which somehow modified my libGl, as in that dir /usr/lib/dri/ only fglrx drivers lay.


All times are GMT -5. The time now is 02:32 PM.