2004-07-09, 09:58 AM
Setting up ATI drivers in Gentoo is easy
Step by Step:
1) emerge ati-drivers
Code:
# emerge ait-drivers
Let emerge to compiling this for you.
2) Use fglrxconfig to create your /etc/X11/XF86Config-4 file
Code:
# fglrxconfig
it will gives you some questions, all you just need to put the answers number.
once you done that, then go to /etc/X11 and do this back up your XF86Config use
Code:
# cp XF86Config XF86Config.backup
then overwrite the old one use:
Code:
# mv XF86Config-4 XF86Config
4) Include agpgart, and ATI chipset support in kernel (>2.6) and DRM in kernel config.
Better use leasest Kernel (2.6.7)!
Code:
# cd /usr/src/linux
# make menuconfig
in those options, you need to add following, agpgart, ATI chipset Support and DRM
once tou done this, you need to do is.
Code:
# make && make modules_install
it going to take a while to compiling.
Now you need to copy two things for your /boot
Code:
# mount /dev/hda1 /boot
# cp arch/i386/boot/bzImage /boot/kernel-2.6.7-gentoo
# cp System.map /boot/System.map-2.6.7-gentoo
5) You need to Edit Grub for new kernel
Code:
# cd /boot/grub
Use edit tool such as, nano or vi or you favorite editor
Code:
# nano grub.conf
you need to add this in your grub.conf
Code:
default 0
timeout 30
splashimage=(hd0,0)/grub/splash.xpm.gz
title=Gentoo Linux 2.6.7
root (hd0,0)
kernel /kernel-2.6.7-gentoo root=/dev/hda3
save it, and reboot, you are now booting new kernel with ATI support.