Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
video card problems - low glxgears fps [FIXED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
fusionx86
n00b
n00b


Joined: 14 Dec 2003
Posts: 36

PostPosted: Sat Dec 20, 2003 11:27 pm    Post subject: video card problems - low glxgears fps [FIXED] Reply with quote

I have a Asus P4C800-E mobo and radeon 9700 pro video card. I am using the 2.4.20-gaming kernel and ati-drivers 3.2.8.

I have looked around on the forums a lot and tried many things, but just cannot get the glxgears fps up to what others claim to get. I followed this guide mostly:

https://forums.gentoo.org/viewtopic.php?t=73260&highlight=howto+radeon+9700+install

I get ~350 FPS on glxgears while others say they're gettin 4000+. That seems like an isanely high number.

Part of my problem may be that I get an error about agp

Code:
(EE) fglrx(0): [agp] unable to aquire AGP, error "xf86_ENODEV"
(EE) fglrx(0): cannot init AGP


Now I have read all the guides I could find and tried many different configurations, but I just can't make the problem go away. It seems like there are multiple options which create many different combinations and maybe I haven't found the right combo of options yet.

I have tried compiling my kernel with builtin and module support for agpgart.

I have fiddled with the /etc/X11/XF86Config
Code:
option "UseInternalAGPGART"


I tried loading the agpgart module, but got an error. I don't even know if this is something I need.

fglrx module loads fine without errors.
X starts up, but does have the error about AGP.

Instead of going through the numerous posts about this again with many different possible solutions I was wondering if someone could just tell me simply what needs to be turned on or configured to fix this. I'm thinking some combination of agpgart support, XF86Config and the correct modules and drivers.


Last edited by fusionx86 on Thu Jan 01, 2004 8:47 am; edited 1 time in total
Back to top
View user's profile Send private message
Promit
Guru
Guru


Joined: 15 Nov 2003
Posts: 344

PostPosted: Sun Dec 21, 2003 12:32 am    Post subject: Reply with quote

agpgart shouldn't actually be necessary...check your XFree log, at /var/log/XFree86.0.log too see if there were any errors loading GLX. If GLX didn't load properly, that's what you've got to fix.
_________________
Windows, Linux, whatever.
Back to top
View user's profile Send private message
fusionx86
n00b
n00b


Joined: 14 Dec 2003
Posts: 36

PostPosted: Sun Dec 21, 2003 1:04 am    Post subject: Reply with quote

I looked through the log and glx loaded fine

Code:
(II) LoadModule: "glx"
(II) Loading /usr/X11R6/lib/modules/extensions/libglx.a
(II) Module glx: vendor="The Xfree86 Project"
        compiled for 4.3.0, module version = 1.0.0
        ABI class: XFree86 Server Extension, version 0.2


The only errors that showed up were about the AGP problem which is listed above.

Any other ideas?
Back to top
View user's profile Send private message
fusionx86
n00b
n00b


Joined: 14 Dec 2003
Posts: 36

PostPosted: Sun Dec 21, 2003 6:19 am    Post subject: lsmod and fglrxinfo Reply with quote

lsmod shows:

Code:
Module                  Size  Used by    Tainted: P
fglrx                 174568   0
e1000                  68256   1
emu10k1                69832   1
sound                  62412   0  [emu10k1]
ac97_codec             11208   0  [emu10k1]


fglrx is 0. Does that mean it is loaded, but not being used?

fglrxinfo also shows:

Code:
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

Error: unable to open display :0


That doesn't look right.

Anyone else have a suggestion about this? I was using redhat previously and ati provides their drivers in .rpm format which made it really easy to get acceleration support for my card. I'd like to get it working in gentoo...

Thanks
Back to top
View user's profile Send private message
Asaru
n00b
n00b


Joined: 20 Oct 2003
Posts: 3

PostPosted: Wed Dec 24, 2003 12:03 am    Post subject: Reply with quote

had the same error

agpgart in kernel compilied as module but not used

modprobe fglrx

and in the XF86Config-4 i used the driver agpgart

maybe it will work for you too

good luck
asa
Back to top
View user's profile Send private message
fusionx86
n00b
n00b


Joined: 14 Dec 2003
Posts: 36

PostPosted: Wed Dec 24, 2003 5:42 am    Post subject: Reply with quote

Asaru,

Thanks for the tip. I've been out of town for the holidays, but just got home and tried your suggestion. I don't have the fglrxinfo error anymore. Thats good I'm thinking, but I still don't have 3d acceleration support.

Anyone have any suggestions on what else I could try? In the mean time I'll continue combing the boards...
Back to top
View user's profile Send private message
fusionx86
n00b
n00b


Joined: 14 Dec 2003
Posts: 36

PostPosted: Mon Dec 29, 2003 4:52 am    Post subject: Reply with quote

Could my problem be that I'm using kernel version 2.4.20 with a new mobo (Asus P4C800-E Deluxe)? I'm just wondering if that version of the kernel doesn't support something on my mobo that I need to get this working.
Back to top
View user's profile Send private message
fusionx86
n00b
n00b


Joined: 14 Dec 2003
Posts: 36

PostPosted: Thu Jan 01, 2004 8:47 am    Post subject: Reply with quote

I should have done this sooner, but I finally installed a 2.6.0 kernel and configured it. After that agpgart started working and I'm now getting ~4300 fps in glxgears.

kernel-2.4.x just didn't support my mobo. The pains of using the latest and greatest...
Back to top
View user's profile Send private message
Joebel
Tux's lil' helper
Tux's lil' helper


Joined: 29 Jun 2003
Posts: 119
Location: Netherlands

PostPosted: Thu Jan 01, 2004 10:28 am    Post subject: Reply with quote

fusionx86 wrote:
I should have done this sooner, but I finally installed a 2.6.0 kernel and configured it. After that agpgart started working and I'm now getting ~4300 fps in glxgears.

kernel-2.4.x just didn't support my mobo. The pains of using the latest and greatest...


I had 2.4.21 working on a p4c800 deluxe. Indeed for the agpgart to work then, I had to compile agpgart as a module, and then use

#options agpgart agp_try_unsupported=1

in modules.conf. That made agpgart and with that the ati-drivers run smooth on 24.21.

However, I now also use 2.6, and thisis no longer needed. If you need a 2.4 kernel sometime on that mb, maybe you can try that.
Back to top
View user's profile Send private message
fusionx86
n00b
n00b


Joined: 14 Dec 2003
Posts: 36

PostPosted: Wed Jan 07, 2004 3:19 am    Post subject: Reply with quote

Joebel,

Thanks for the info and sorry for the late reply. Sometimes I don't check back on my posts because I assume nobody else will reply. Silly me...

That is good to know about 2.4.21. I was using 2.4.20 and did everything I could think of to get it working, but its very possible I missed something. With 2.6.0 I tried what I already had with 2.4.20, but it just worked. I probably did something wrong. :oops:

Were you using a Radeon 9700 Pro as well?

Anyway, I may try 2.4.x again for the hell of it so those ideas will come in handy. Thanks again.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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