Making ATI drivers work with nforce2 and kernel 2.6 in Gentoo
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
By ElPuello at 2004-06-07 20:00
Making your Radeon 9600 PRO work with Nforce2 and kernel 2.6(Gentoo)
I realize there are many guides out there, however none really worked for me. I figured I'd write this so that others may benefit from my long tired hours in front of the screen, leering back at me.
Lets begin:
The first thing you need to do is make sure your kernel is configured correctly. If not, you'll have to recompile over again, however using gentoo this should not be much of a challenge :)
#cd /usr/src/linux
#make menuconfig
Now make sure the following are enabled:
Device drivers>Character devices:
(M)AGP support(agpgart)
(M)nforce2 chipset support
(*)direct rendering manager (drm)
- (*) ATI radeon
but NOT support for ATI radeon!(Strange as it may sound)
If they are continue, if not, recompile your kernel.(If you can't remember how it is done, refer to the excellent installation handbook at gentoo.org)
Now you need to enable the new modules so you'll need to edit your modules autoload:
#nano /etc/modules.autoload.d/kernel-2.6
then write in: (from the top)
agpgart
nvidia-agp
radeon
and update modules:
#modules-update
Now you'll need to get the drivers, so type:
#emerge ati-drivers
when it is done, you should tell X how to handle these new drivers, so you'll need to reconfigure your XF86Config. Fortunately, the good people at ATI has made a utility to help, so run fglrxconfig. It'll ask you a bunch of questions about language, keyboard, screen and so on. Fill these in as you did when you configured X for the first time. Don't worry if you do know the answers to some of the questions: they can be revised later by editing the XF86Config-4 file. The real issue here it to answer YES when the script asks Do you want to use the external AGP GART module (y/n)?, so that I'll use your kernel agpdrivers instead of the drivers own.
Now switch the OpenGL environment to ATI
#opengl-update ati
And we need to load a new module in the init script
#nano /etc/modules.autoload.d/kernel-2.6
write in fglrx BELOW the lines agpgart and nvidia-agp
and update modules again
#modules-update
Now you should be able to load x with full 3d support. If in the tty's type startx, else reboot. If you recompiled kernels, remember to move the kernel image and system.map.
To check whether there really is any 3d acceleration, type
#glxinfo
when inside x, it should say direct rendering=yes somewhere in the top and listing ATI as OpenGL drivers.
Presto! You should be ready for many pointless hours of gathering herrings in tuxracer!
Hi there, a while back I started making the switch to Linux. I spent quite a while to get 3d accel. working on my ATI AIW 9800 Pro card, but finally manged to get things to work. Too bad I hadn't seen your document then, or I would have been able to avoid the struggle.
In any case, I can play America's Army and other 3d games with full opengl capabilities, but as of yet I haven't been able to get my TV tuner working. I have tried to piece together articles from various google'd sites, but so far I get nothing. Does anyone know of any guide to get my card working or if not, do you have any suggestions on things I could try? I'm really not even sure what program to use or what driver to try. I never could get bttv working, though the module did seem to load. I've tried TVTime and KDE TV, but they dont' seem to detect my card (e.g. KDETV shows "No Devices Found. Read FAQ at www.kdetv.org" in the Video menu, and both Video4Linux and XVideo are selected for Video Input Methods). Any suggestions are appreciated.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
In any case, I can play America's Army and other 3d games with full opengl capabilities, but as of yet I haven't been able to get my TV tuner working. I have tried to piece together articles from various google'd sites, but so far I get nothing. Does anyone know of any guide to get my card working or if not, do you have any suggestions on things I could try? I'm really not even sure what program to use or what driver to try. I never could get bttv working, though the module did seem to load. I've tried TVTime and KDE TV, but they dont' seem to detect my card (e.g. KDETV shows "No Devices Found. Read FAQ at www.kdetv.org" in the Video menu, and both Video4Linux and XVideo are selected for Video Input Methods). Any suggestions are appreciated.
Thanks!
Jayson