Nvidia driver installation under Gentoo

Hello linux experts,

I'm having a few problems installing the NVidia drivers for linux, I'm pretty new to linux (Gentoo probably wasn't the best choice, but thought I'd jump in at the deep end) so please bare with me.

I'm using an Optiplex GX110 which has an onboard intel graphics card of some desciption, there is no way to disable this card in the bios - it's either auto (which is what I have selected) or on. I believe this card is basically always on, whether there is a second graphics card or not, I don't know if this is relevant. Anyway, I have installed a pci geforce 4 graphics card in the machine as well because I need TV-out.

I have installed Gentoo 2004.2 on the machine, with the 2.6.9 kernel from kernel.org - I couldn't use the gentoo-dev-sources kernel because I'm using the linuxtv cvs driver patches, and these don't work with that kernel. I started off with just using the standard drivers which came with the kernel, but I now wish to use the proper NVidia drivers which is where I have problems.

When I try emerge nvidia-glx it gets blocked, I think this is because it wants xfree as opposed to xorg but I'm not sure (although I don't remember having installed either, but I've compiled a few packages with a lot of dependencies - mysql, qt, mythtv). I don't really want to remove xorg, partly because I don't know what I'm doing, and partly because xorg is considered better than xfree.

I've also tried running the NVidia driver installation package from NVidia.com, however when I do this it tells me that there is no available precompiled kernel, it goes on to try to create one, but says its unable to load the kernel module - probably because it was built using the wrong kernel.

In conclusion, I have no idea what I'm doing, but I'm learning right? Please help, and remember to keep it simple!

Thanks, Pete
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

VeggersAuthor Commented:
Just found out the NVidia kernel doesn't work with the latest kernel (2.6.9) but there are a few patches out to fix it, so I'll give them a try...
VeggersAuthor Commented:
Found a suitable patch, which will do until NVidia bring out a new driver:


Will ask moderators to close.
Closed, 125 points refunded.
Community Support Moderator

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.