View previous topic :: View next topic |
Author |
Message |
ocin Guru
Joined: 01 Jan 2006 Posts: 500
|
Posted: Fri Jan 06, 2006 9:25 pm Post subject: ATI problem |
|
|
Hey all. Ihave a problem with X11 and the ati-drivers. I use gentoo 2005.1-r1 with 2.6.14-r5 gentoo kernel. I own a ATI Radeon 9700pro, and I emerged the ati-drivers. I've configured the X-server with fglrxconfig and most works,
But if I type: glxinfo | grep direct, I get this message:
direct rendering: no
OpenGL renderer string: Mesa GLX indirect.
The FPS in glxgears are fucking low (~150) How I can change da crap to direct rendering: on? And no Mesa carap, but ATI's DRI stuff. |
|
Back to top |
|
|
teva24 n00b
Joined: 06 May 2004 Posts: 23
|
|
Back to top |
|
|
ocin Guru
Joined: 01 Jan 2006 Posts: 500
|
Posted: Fri Jan 06, 2006 9:53 pm Post subject: |
|
|
ok, wich howto should I use, first or seccond? |
|
Back to top |
|
|
teva24 n00b
Joined: 06 May 2004 Posts: 23
|
Posted: Fri Jan 06, 2006 9:59 pm Post subject: |
|
|
I went off the first, but either should work well (the 2nd has a link to the first on the bottom).
As a side note, i had to ACCEPT_KEYWORDS="~x86" emerge ati-drivers
as the stable drivers didn't work with my lcd panel. _________________ Uber server: Tyan Dual 1.13Ghz P3 Tualatin. 3gig ram. 1.25TB usable disk space. |
|
Back to top |
|
|
ocin Guru
Joined: 01 Jan 2006 Posts: 500
|
Posted: Fri Jan 06, 2006 10:05 pm Post subject: |
|
|
ok, thx i'll try it. |
|
Back to top |
|
|
ocin Guru
Joined: 01 Jan 2006 Posts: 500
|
Posted: Sat Jan 07, 2006 1:48 pm Post subject: |
|
|
thx, works ~5300 FPS for me in glxgears And in Fullscreenmode @1280x1024 = ~1200 FPS |
|
Back to top |
|
|
Cl1mh4224rd n00b
Joined: 21 Dec 2005 Posts: 15
|
Posted: Sun Jan 15, 2006 9:36 pm Post subject: |
|
|
I've been wrestling with this issue for a while and nothing I've read has helped. I have a Radeon 9800 Pro and I followed wedge's HOWTO.
As a regular user, the only thing that changed is my ability to change the refresh rate. I get no direct rendering.
Code: | $ glxinfo | grep direct
libGL error: failed to open DRM: Operation not permitted
libGL error: reverting to (slow) indirect rendering
direct rendering: No
OpenGL renderer string: Mesa GLX Indirect |
With LIBGL_DEBUG set to "verbose", I get:
Code: | $ export LIBGL_DEBUG=verbose
$ glxinfo
name of display: :0.0
libGL: XF86DRIGetClientDriverName: 8.20.8 fglrx (screen 0)
libGL: OpenDriver: trying /usr/lib//modules/dri/fglrx_dri.so
libGL: XF86DRIGetClientDriverName: 8.20.8 fglrx (screen 0)
drmOpenByBusid: busid is PCI:2:0:0
drmOpenDevice: minor is 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: minor is 1
// Cut non-existant DRI devices.
libGL error: failed to open DRM: Operation not permitted
libGL error: reverting to (slow) indirect rendering
display: :0 screen: 0
direct rendering: No |
As root, however, it works.
Code: | $ su -
# glxinfo | grep direct
direct rendering: Yes |
LIBGL_DEBUG set to "verbose", for comparison:
Code: | # export LIBGL_DEBUG=verbose
# glxinfo
name of display: :0.0
libGL: XF86DRIGetClientDriverName: 8.20.8 fglrx (screen 0)
libGL: OpenDriver: trying /usr/lib//modules/dri/fglrx_dri.so
libGL: XF86DRIGetClientDriverName: 8.20.8 fglrx (screen 0)
drmOpenByBusid: busid is PCI:2:0:0
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 4, (OK)
drmOpenByBusid: drmOpenMinor returns 4
drmOpenByBusid: drmGetBusid reports PCI:2:0:0
Can't open configuration file /etc/fglrxrc: No such file or directory.
Can't open configuration file /etc/drirc: No such file or directory.
Can't open configuration file /root/.drirc: No such file or directory.
display: :0 screen: 0
direct rendering: Yes |
All relevent kernel options are set (/dev/agpgart, my AGP motherboard chipset), or off (DRM). "UseInternalAGPGART" is also set to "no" in the correct Device section in /etc/X11/xorg.conf. |
|
Back to top |
|
|
Cl1mh4224rd n00b
Joined: 21 Dec 2005 Posts: 15
|
Posted: Sun Jan 15, 2006 10:07 pm Post subject: |
|
|
Ohh... always need to dig just a little deeper.
Apparently the fix for this problem is to edit the /etc/X11/xorg.xonf file and add this:
Code: | Section "DRI"
Mode 0666
EndSection |
|
|
Back to top |
|
|
|