Trouble with getting dri to work using the radeon driver.

"Martin Arver" <[email protected]>
Newsgroups gmane.comp.video.dri.user
Message-ID <[email protected]>
Hi,

I am trying to figure out why i can not get direct rendering working
using the radeon driver.
I am now running ubuntu edgy and my graphics card is a X700 mobility
radeon card.

I'll post some info that i have tracked down.
If i set LIBGL_DEBUG to verbose and run glxgears, I get the following output:

----snip---
libGL: XF86DRIGetClientDriverName: 5.2.0 r300 (screen 0)
libGL: OpenDriver: trying /usr/X11R6/lib/modules/dri//r300_dri.so
libGL error: dlopen /usr/X11R6/lib/modules/dri//r300_dri.so failed
(/usr/X11R6/lib/modules/dri//r300_dri.so: cannot open shared object
file: No such file or directory)
libGL error: unable to find driver: r300_dri.so
libGL: XF86DRIGetClientDriverName: 5.2.0 r300 (screen 0)
libGL: OpenDriver: trying /usr/X11R6/lib/modules/dri//r300_dri.so
libGL error: dlopen /usr/X11R6/lib/modules/dri//r300_dri.so failed
(/usr/X11R6/lib/modules/dri//r300_dri.so: cannot open shared object
file: No such file or directory)
libGL error: unable to find driver: r300_dri.so
5555 frames in 5.0 seconds = 1110.999 FPS
---snip---

If I run export | grep LIBGL, i notice that the LIBGL_DRIVERS_PATH is
set to the wrong directory. It should be /usr/lib/dri/, but it is set
to /usr/X11R6/lib/modules/dri/.

If I change that to /usr/lib/dri, or create a symlink to point to the
right place, I get another error:

name of display: :0.0
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: undefined symbol: _glapi_get_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: undefined symbol: _glapi_get_dispatch)
libGL error: unable to find driver: r300_dri.so
display: :0  screen: 0
direct rendering: No
...

Does anyone on this list know how to solve this? I think the problem
is some old remains of an fglrx driver, but I have uninstalled all
fglrx related stuff and reinstalled all mesa and open source ati
driver packages.

Regards
Martin

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
--
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.