PDA

View Full Version : ATI Drivers with new Kernel


Viro
2004-07-05, 01:59 AM CDT
I'm having trouble compiling the ATI drivers for the newly released 2.6.6-1.435.2.3 kernel. I've downloaded the patch and followed the instructions found at http://www.fedorafaq.org and I get this error.

make[1]: Entering directory `/lib/modules/2.6.6-1.435.2.3/build'
CC [M] /lib/modules/fglrx/build_mod/2.6.x/agpgart_be.o
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c: In function `agp_generic_alloc_page':
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:1405: error: structure has no member named `count'
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c: In function `ali_alloc_page':
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:4416: error: structure has no member named `count'
make[2]: *** [/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.o] Error 1
make[1]: *** [_module_/lib/modules/fglrx/build_mod/2.6.x] Error 2
make[1]: Leaving directory `/lib/modules/2.6.6-1.435.2.3/build'
make: *** [kmod_build] Error 2
build succeeded with return value 0

Anyone able to help?

Tashiro
2004-07-05, 05:26 AM CDT
Hey viro,

Are you using the NVIDIA-Linux-x86-1.0-5336-pkg1.run drivers?? If so I believe you must have a 8stack kernel running. This thread from sailorsgh can explain more:

http://www.fedoraforum.org/forum/showthread.php?t=3246&highlight=nvidia+kernel

Good luck, Tashiro

micha
2004-07-05, 05:28 AM CDT
Use the patch available here:
http://www.fedoraforum.org/forum/showthread.php?t=16690

Viro
2004-07-05, 04:17 PM CDT
Thanks a lot!!

Btw, how did you search the forum to find that? What keyword did you search on? I searched and couldn't find anything.

edit: Strange.... I now find that thread when I do a search on ATI. Thanks again.

draek
2004-07-06, 05:29 AM CDT
I dont understand why everyone refers to that post when its instructions do not work whatsoever...

Yeah sure, the driver compiles, but it doesnt mean that it actually works.... I get 80 fps in glxgears and yes, the ATI control panel says its using ATI, not Mesa.

Harryc
2004-07-06, 07:25 AM CDT
I dont understand why everyone refers to that post when its instructions do not work whatsoever...

Yeah sure, the driver compiles, but it doesnt mean that it actually works.... I get 80 fps in glxgears and yes, the ATI control panel says its using ATI, not Mesa.
I think you might be generalizing when you state they 'do not work whatsoever'. I used them and they were absolutely brilliant. Thanks again Micha :).

[harryc@localhost harryc]$ glxgears
19598 frames in 5.0 seconds = 3919.600 FPS
20794 frames in 5.0 seconds = 4158.800 FPS
22053 frames in 5.0 seconds = 4410.600 FPS
22057 frames in 5.0 seconds = 4411.400 FPS
22048 frames in 5.0 seconds = 4409.600 FPS
22093 frames in 5.0 seconds = 4418.600 FPS
22103 frames in 5.0 seconds = 4420.600 FPS
22102 frames in 5.0 seconds = 4420.400 FPS
22082 frames in 5.0 seconds = 4416.400 FPS

Lopov
2004-07-06, 11:38 AM CDT
I dont understand why everyone refers to that post when its instructions do not work whatsoever...

Yeah sure, the driver compiles, but it doesnt mean that it actually works.... I get 80 fps in glxgears and yes, the ATI control panel says its using ATI, not Mesa.

I don't know if it will work for you but mine was ot running as fast as it should and I decided to run the config
agai this time with internal AGP instead of External and that did the trick, runs circles around old config.

Viro
2004-07-06, 02:11 PM CDT
I used those instructions and they worked for me. :-)

flipy
2004-07-06, 04:47 PM CDT
I applied the patch and now it works... but i've a strange behavior: i cannot get into a true console, i only see strips and the machine hangs out... any solution?

Viro
2004-07-06, 05:05 PM CDT
What do you mean by a true console? Are you trying to go into text mode without the X server?

flipy
2004-07-06, 06:08 PM CDT
yip... ctrl+alt+f1 and the system hangs out... also, when i reboot/shutdown and the console shutdown console appears, the system freeze... :(

Viro
2004-07-07, 03:08 PM CDT
Well, can't help you there since it doesn't happen on mine. All I did was follow the instructions in that thread and I got the ATI drivers working on my laptop.

flipy
2004-07-07, 05:14 PM CDT
ok.
thnx for all dude.
i guess i keep google'ing for some info...
but it's too weird... maybe i'll switch to 2.6.5 and see what happens...

Zubir
2004-07-09, 05:08 PM CDT
In your instuctions, you say to copy the keyboard, mouse, and monitor sections of the old config into the new one. Do I just copy them straight over? I don't want to trash my config, as it's working now without doing that step.

Viro
2004-07-10, 03:43 AM CDT
You're meant to copy the keyboard, mouse and monitor sections from your *old* xorg.conf file to the new XF86Config-4 file. So there should be no issue of trashing your config files if you follow the steps in the thread and do a backup of the xorg.conf file.

If it works, don't fix it. I learned that the hard way ;-)

Zubir
2004-07-10, 03:48 AM CDT
Does that mean replace the settings in the new config with the old, or just copy it in there with the ohter?