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]>
Thank you so much. I had to run depmod -a to get it working. Now, the
glxinfo output is something different.  I don't know what to do about
the drirc errors though, but at least the direct rendering is fine.

Martin

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 4, (OK)
drmOpenByBusid: drmOpenMinor returns 4
drmOpenByBusid: drmGetBusid reports pci:0000:03:00.0
libGL warning: 3D driver claims to not support visual 0x4b
libGL error:
Can't open configuration file /etc/drirc: No such file or directory.
libGL error:
Can't open configuration file /home/martin/.drirc: No such file or directory.
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
...

Regards,
Martin

On 10/5/06, Jerome Glisse <[email protected]> wrote:
> On 10/5/06, Martin Arver <[email protected]> wrote:
> > 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
> >
>
> You are missing the drm & radeon kernel module, maybe fglrx
> module is still loaded. Thus remove fglrx module and make sure
> drm & radeon module are load then check you xorg.conf for
>
> Section "DRI"
>         Mode    0666
> EndSection
>
> If you haven't this had it otherwise you will only be able to have
> 3d as root.
>
> 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
--
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.