ATI 9600XT Xorg 6.8 driver with Kernel 126.96.36.199 confirmed
Just to let you know that I have just successfully managed to get the fglrx module working for my ATI 9600XT under Kernel version 188.8.131.52 using a single patch the driver. I don't have time to go into it tonight but I am happy to outline the steps tomorrow for anyone who is deseperate to get it running under this kernel version. By the way, this is with Fedora Core 3 but I'd imagine the steps would be largely similar for any linux flavour running xorg.
What patch is needed for this?
Ok, here's the brief on how it is done.
Start your system choosing your default 2.6 kernel. For 2.4 kernel people, I won't guarentee anything.
1. Boot up linux and download the driver for X.Org 6.8 (www.ati.com)
2. Download the 184.108.40.206 kernel from www.kernel.org
3. Unpack the kernel source and move it to /usr/src as per standard and make the usual linux symlink to the directory.
4. Compile the kernel as per usual method however, when setting up what modules to include, make sure that under Character Devices that the agpgart and the DRM are set as modules, and NOT compiled into the kernel itself.
5. Continue with the compile, move the new kernel into /boot, make an initrd file and set grub to boot the new kernel.
6. Reboot your system and choose to boot into the new 220.127.116.11 kernel
Now for the X.org driver for the ATI Radeon card
1. Unpack the driver with rpm -Uvh fglrx_6_8_0-8.12.10-1.i386.rpm --force (the force means to ignore the fact that the xorg mesa driver does not want to be blown away by this driver)
2. The files will be unpacked automatically to /lib/modules/fglrx
3. Go into this directory (cd /lib/modules/fglrx/build_mod) and download the following patch file to this folder: http://www.uusikaupunki.fi/~sasuomin...18.104.22.168.patch
4. Now from this directory, patch the driver source with: patch -p1 < 8.12.10-22.214.171.124.patch (yes this patch is for 126.96.36.199 but it works perfectly with 188.8.131.52)
5. All hunks should succeed. Now you need to run the compile script but it's best to go back to console mode because when the driver completes it's compile, it will do a test that might fail if a DRM is in memory. Type: init 3
Log in again and make your way back to /lib/modules/fglrx/build_mod and do a chmod 755 make.sh to make it executable.
6. Compile the driver with ./make.sh
7. Come out one directory with: cd ../ and then make the next script executable with: chmod 755 make_install.sh
8. Run it: ./make_install.sh
9. All should compile and it will do a test to make sure it loads. If you do an lsmod | grep fglrx, you should see the driver loaded. If it is, you're ready to rock.
10. init 5 to reload linux in Xorg mode. Bring up a console and check out glxgears, then full screen it. Fast eh? Try fgl_glxgears. Try some GL screensavers.
Credits and greetings to shadowarts who's guide I used in the first place here: http://www.shadowarts.org/tutorials/...mments=1&id=14
Also to the unnamed guy who wrote the patch. Thank you!
If anyone has any questions, best to get me now while it's all still fresh in my mind.
Alright... so this will make 3D work on an ATi + Linux combination, I take it?
So there isn't any other way on FC3?
Being a damn :newbie: and this computer meant for work (and I even do cooking better than C programming :eek: ),
I'de prefer if I could avoid the kernel-compilation part :(
I know kernel compilation can be considered a pain but the reason you go it is because if you don't have agpgart loadable as a module, and drm as a module, linux will have a lot fo trouble connecting to the ATI fglrx driver.
DRM must be a module instead of compiled directly into the kernel. I believe this is the case because the fglrx is a hybrid DRM module itself and the two will clash (someone correct me if I am wrong).
If you have read that people just manahed to compile the driver and it worked straight up, that would be luck of the draw that their distribution just happened to choose to have those two drivers as modules.
From memory, 2.6.9 standard that came with the Fedora Core DVD was set up this way and the driver just worked straight up, so it's worth giving it a shot. If it doesn't work, you can roll back the driver with:
rpm -e fglxrx_6_8_0
And everything will be as it was. If you get totally stuck I can do up a steo by step guide for compiling a kernel under FC3 for people too scared to try it.
Can I use this patch for kernel 184.108.40.206 ?
Not sure. Never had that verson. Give it a shot if you have it.
thx a lot
thanks a lot. i have just upgraded my mandriva linux 10.1 to mandriva 10.2. unfortunately 3d-hw-acceleration didnt work anymore after that. i tried to reinstall the ati-drivers, but i dont managed it to work correctly. so after patching the fglrx-module (and recompiling it) everything works fine!
thx a lot :-D
p.s.: mandriva 10.2/2005le uses kernel 2.6.11-6, so this patch also works fine with this kernel-version
Excellent work. Ok so we can confirm that the patch works on the driver under .6, .7 & .8. It important though for people to remember that if they have a different kernel to these three, to always look for a patch released for their kernel by the guys in the forums at www.rage3d.com.
Since posting this, I've lost that patch file and it's been removed from the posted link. Does anyone have a copy of the patch file they can email me?
i think i still got the patch on my hd; i will look for it in about half an hour (just not on my machine right now ;-) ). if i do so, i will sent it right to you,
Confirmed indeed- hopefuly we won't loose the patch this way!
I have not seen a need to update from 220.127.116.11 as it is still a very new kernel, and I don't feel like downloading another on my P.O.S. 56k connection. When I first compiled it, it gave me a segmentation fault when I'd do ./make_install. The module still worked, 3d-accel was going strong and I didin't complain; lsmod also reported a segmentation fault and would crash the terminal it was preformed in. Soon I found segementation faults popping up everywhere, namely almost every k-app so I was royally pissed. After a slackware reinstall and a recompile of the same old 18.104.22.168 kernel I recompiled the fglrx module without any problems! No segmentation faults, no nothing, just sweet glmatrix after 5 minutes of anxious waiting.
Thanx a bunch for bringing this patch to light, I seriously tried about every patch on the face of the planet before getting this to work. The procedure is always the same, configure kernel, install fglrx, patch fglrx, compile fglrx; but the patch is the killer. Thank you so much again!
|All times are GMT -5. The time now is 07:36 AM.|