Kernel 2.6.7, xorg6.7, & ATI 3.14.6 driver HOW-TO
Here is what I did to enable direct rendering on my system. Now mind you, I am no linux guru, I am slightly above ID10T when it comes to linux. I put this together from several different forum posts & credit goes to those people and their hard work.
Hopefully it will work for you as well. System: AMD XP3200+ w/2x512mb pc3200 Shuttle sn45g nforce2 ATI 9700pro xorg 6.7 Section 1: Kernel upgrade followed instructions in readme on the disc. also good info on kernel upgrade http://distrowatch.com/weekly.php?issue=20040628 Installed Kernel 2.6.7 from second cd of slackware distribution. Installed Kernel Sources from same directory Installed Kernel modules from same directory Installed alsa driver from same directory If you are using ext3 for your root partion: $ cd /boot mkinitrd -c -k 2.6.7 -m jbd:ext3 -f ext3 -r /dev/hdb3 modify lilo.conf image = /boot/vmlinuz-ide-2.4.26 root = /dev/hdb2 label = Linux-2.4 read-only image = /boot/vmlinuz-generic-2.6.7 initrd = /boot/initrd.gz root = /dev/hdb2 label = Linux-2.6 read-only Make sure to modify the bootloader.txt in /boot directory as well. commit the changes to lilo $ sbin/lilo reboot system boot into kernel 2.6.7 Section 2: ATI driver Obtain rpm driver from ATI download. Convert rpm to tgz $ cd /where/you/put/*.rpm $ rpm2tgz fglrx-4.3.0-3.14.6.i386.rpm $ su $ installpkg fglrx-4.3.0-3.14.6.i386.tgz $ updatedb $ cd /lib/modules/fglrx/build_mod $ sh make.sh $ cd .. $ sh make_install.sh From ATI's site: http://www.ati.com/support/infobase/4687.html open up your fstab file and add this line tmpfs /dev/shm tmpfs defaults 0 0 save and close $ mount /dev/shm $ mount | grep "shm" you should get back tmpfs on /dev/shm type tmpfs (rw) reboot system Login as root Section 3: Configure driver $fglrxconfig go thru your setup $ cp /etc/X11/xorg.conf xorg.conf.backup (making backups never hurt) $ cp /etc/X11/XF86Config-4 xorg.conf $ startx Section 4: test your driver Open up a console and run glxgears. depending on your system your scores will vary, you should get something similar. root@snafu:~# glxgears 13871 frames in 5.0 seconds = 2774.200 FPS 14530 frames in 5.0 seconds = 2906.000 FPS 14531 frames in 5.0 seconds = 2906.200 FPS 14528 frames in 5.0 seconds = 2905.600 FPS 14532 frames in 5.0 seconds = 2906.400 FPS 14531 frames in 5.0 seconds = 2906.200 FPS 14529 frames in 5.0 seconds = 2905.800 FPS 14531 frames in 5.0 seconds = 2906.200 FPS 14530 frames in 5.0 seconds = 2906.000 FPS Broken pipe then try fgl_glxgears root@snafu:~# fgl_glxgears 2704 frames in 5.0 seconds = 540.800 FPS 2856 frames in 5.0 seconds = 571.200 FPS 2850 frames in 5.0 seconds = 570.000 FPS 2866 frames in 5.0 seconds = 573.200 FPS 2849 frames in 5.0 seconds = 569.800 FPS 2866 frames in 5.0 seconds = 573.200 FPS 2854 frames in 5.0 seconds = 570.800 FPS 2836 frames in 5.0 seconds = 567.200 FPS Broken pipe If all went well, you should have direct rendering enabled on your system. Section 5: XV driver fix If you are not able to use the xv driver in your gxine or mplayer, try this http://www.linuxquestions.org/questi...ostid=1236827# As root, open your /etc/X11/xorg.conf file for editing. Under the fglrx device section, add this line somewhere in the misc. options area. Option "XaaNoOffscreenPixmaps" "yes" restart the X server You should be able to use the xv driver in your video player. |
Was this helpful to anyone?
I have seen a ton of hits, but no feedback. |
Still get just 157 FPS in glxgears with my 9700...direct rendering: no go...using external AGPGART as a module....Thanks for the tut though. Been through this too often with ATI cards to get my hopes up.
|
Quote:
Did you use defaults for the rest of the fglrxconfig? Did you modify your fstab to include "tmpfs /dev/shm tmpfs defaults 0 0"? Did you use the driver from the ATI website? 3.14-6? After the ATI config, did you "cp XFree86.conf xorg.conf"? What is your system configuration? I am using a nforce2 chipset. I don't know how well it would work on other chipsets. You would think that it would work the same. Walk me through what you did and we can try to figure it out. I hear ya, ATI drivers are a pain in the ***, There are many people waiting for them to release a good linux driver |
All times are GMT -5. The time now is 04:51 AM. |