Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ATI problem
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
ocin
Guru
Guru


Joined: 01 Jan 2006
Posts: 500

PostPosted: Fri Jan 06, 2006 9:25 pm    Post subject: ATI problem Reply with quote

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
View user's profile Send private message
teva24
n00b
n00b


Joined: 06 May 2004
Posts: 23

PostPosted: Fri Jan 06, 2006 9:46 pm    Post subject: Reply with quote

follow this howto (follow it exactly):
http://odin.prohosting.com/wedge01/gentoo-radeon-faq.html

http://gentoo-wiki.com/HOWTO_ATI_Drivers

Works for me on my
VGA compatible controller: ATI Technologies Inc Radeon R200 QM [Radeon 9100]
about 2400 fps in glxgears
_________________
Uber server: Tyan Dual 1.13Ghz P3 Tualatin. 3gig ram. 1.25TB usable disk space.
Back to top
View user's profile Send private message
ocin
Guru
Guru


Joined: 01 Jan 2006
Posts: 500

PostPosted: Fri Jan 06, 2006 9:53 pm    Post subject: Reply with quote

ok, wich howto should I use, first or seccond?
Back to top
View user's profile Send private message
teva24
n00b
n00b


Joined: 06 May 2004
Posts: 23

PostPosted: Fri Jan 06, 2006 9:59 pm    Post subject: Reply with quote

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
View user's profile Send private message
ocin
Guru
Guru


Joined: 01 Jan 2006
Posts: 500

PostPosted: Fri Jan 06, 2006 10:05 pm    Post subject: Reply with quote

ok, thx i'll try it.
Back to top
View user's profile Send private message
ocin
Guru
Guru


Joined: 01 Jan 2006
Posts: 500

PostPosted: Sat Jan 07, 2006 1:48 pm    Post subject: Reply with quote

thx, works ~5300 FPS for me in glxgears :) And in Fullscreenmode @1280x1024 = ~1200 FPS
Back to top
View user's profile Send private message
Cl1mh4224rd
n00b
n00b


Joined: 21 Dec 2005
Posts: 15

PostPosted: Sun Jan 15, 2006 9:36 pm    Post subject: Reply with quote

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
View user's profile Send private message
Cl1mh4224rd
n00b
n00b


Joined: 21 Dec 2005
Posts: 15

PostPosted: Sun Jan 15, 2006 10:07 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum