Re: Trouble with getting dri to work using the radeon driver.
"Martin Arver" <[email protected]>
| Newsgroups | gmane.comp.video.dri.user |
|---|---|
| Message-ID | <[email protected]> |
Thanks for the reply. I have done some further progress. The fglrx driver installer had sometime in the past added a some varibales in my /etc/profile. I have now removed those, and reinstalled mesa-dri, mesa-glx and the ati driver for xorg. Now when I run glxinfo with verbose output, I get the following output. name of display: :0.0 libGL: XF86DRIGetClientDriverName: 5.2.0 r300 (screen 0) libGL: OpenDriver: trying /usr/lib/dri/r300_dri.so drmOpenByBusid: Searching for BusID pci:0000:03:00.0 drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is -1, (Permission denied) drmOpenDevice: open result is -1, (Permission denied) drmOpenDevice: Open failed drmOpenByBusid: drmOpenMinor returns -13 drmOpenDevice: node name is /dev/dri/card1 drmOpenByBusid: drmOpenMinor returns -1003 drmOpenDevice: node name is /dev/dri/card2 drmOpenByBusid: drmOpenMinor returns -1003 drmOpenDevice: node name is /dev/dri/card3 drmOpenByBusid: drmOpenMinor returns -1003 drmOpenDevice: node name is /dev/dri/card4 drmOpenByBusid: drmOpenMinor returns -1003 drmOpenDevice: node name is /dev/dri/card5 drmOpenByBusid: drmOpenMinor returns -1003 drmOpenDevice: node name is /dev/dri/card6 drmOpenByBusid: drmOpenMinor returns -1003 drmOpenDevice: node name is /dev/dri/card7 drmOpenByBusid: drmOpenMinor returns -1003 drmOpenDevice: node name is /dev/dri/card8 drmOpenByBusid: drmOpenMinor returns -1003 drmOpenDevice: node name is /dev/dri/card9 drmOpenByBusid: drmOpenMinor returns -1003 drmOpenDevice: node name is /dev/dri/card10 drmOpenByBusid: drmOpenMinor returns -1003 drmOpenDevice: node name is /dev/dri/card11 drmOpenByBusid: drmOpenMinor returns -1003 drmOpenDevice: node name is /dev/dri/card12 drmOpenByBusid: drmOpenMinor returns -1003 drmOpenDevice: node name is /dev/dri/card13 drmOpenByBusid: drmOpenMinor returns -1003 drmOpenDevice: node name is /dev/dri/card14 drmOpenByBusid: drmOpenMinor returns -1003 libGL error: open DRM failed (Operation not permitted) libGL error: reverting to (slow) indirect rendering display: :0 screen: 0 direct rendering: No ... So now it looks like I have a totally different issue. But I do not know what to do about this one. Martin On 10/5/06, Jerome Glisse <[email protected]> wrote: > On 10/5/06, Martin Arver <[email protected]> wrote: > > 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 > > > > You likely have a version mismatch here. You could reinstall mesa-dri > (don't know exact name for ubuntu) package and you should get correct > version. Otherwise you could try to build dri by yourself you will find > instruction for that on dri.freedesktop.org in the building section. > > best, > Jerome Glisse > ------------------------------------------------------------------------- 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 --