NVIDIA Driver

Soldato
Joined
22 Oct 2005
Posts
2,854
Location
Moving...
I'm trying to install the latest nvidia driver on fedora 11. It's a bit of a nightmare as I'm new to linux. I've had several messages saying it can't find X,Y,Z so I've used the add/remove software to find the relevant thing it's asking for.

The latest error message is that the nvidia installer is "unable to find the kernel source tree for the currently running kernel...."

Is there a program that can look through my files and download all the necessary bits and pieces? I think I've seen something like that called Envy for Ubuntu that sorts out the whole install process for you.

Thanks.
 
Not a Fedora user, but something like "$ sudo yum install kernel-sources" should do it. you might need to google for the actual package name (or use yum to search - which is likely to be "yum search kernel | grep sources")
 
Cheers guys but no luck.

.walls:

Running "yum search kernel | grep sources" gave me:

kcbench-data.noarch : Kernel sources to be used by kcbench
kcbench-data-2.6.25.noarch : Kernel sources from 2.6.25 to be used by kcbench



Running "yum install kernel-sources" gave me:

Loaded plugins: refresh-packagekit
Setting up Install Process
No package kernel-sources available.
Nothing to do


Running: "yum install kernel-devel" gave me:

Loaded plugins: refresh-packagekit
Setting up Install Process
Package kernel-devel-2.6.30.5-43.fc11.i586 already installed and latest version
Nothing to do





Pingwing:

I'm almost certain I saw the same trick on another website but it didn't work. I get a "No package kmod-nvidia available." message



Any other ideas?
 
My experience of installing the NV drivers on Core 11 is not to use the Kmod driver package. Perhaps its just that I use the latest shader stuff, but I have never gotten along with them in Fedora, they always seem to be slightly older than the latest NV ones.

With re: to the kernel, just do a search for Kernel in Add/Remove software GUI, its easier than the command line imo. You should get a list of things to do with the kernel, including "development package for building kernel modules to match the kernel". Make sure you install the correct architecture and version to match your kernel.

Then once you goto Init level 3, it should just breeze through and compile the modules for you. Don't forget anytime you kernel gets updated you will need to re-do this as the modules will need re-building.

EDIT:

So:
1. Install Kernel source using Add/Remove software GUI (in System > Administration on the menu iirc)
2. Open a terminal > "SU root" > [enter root PW] > init 3 (wait for X to shut down) > login as root again
3. Type sh [driverpackagename] > go through the installation procedure, saying yes whenever it asks > restart
4. Hopefully enjoy!
 
Last edited:
Ah I missed one of the kernel downloads in the add/remove software section. Driver installed ok......didn't fix either of the two things I wanted it to though... I can't enabled Desktop effects, and my screen is shifted about 40 pixels to the right!

Man linux is hard work!
 
Ah I missed one of the kernel downloads in the add/remove software section. Driver installed ok......didn't fix either of the two things I wanted it to though... I can't enabled Desktop effects, and my screen is shifted about 40 pixels to the right!

Man linux is hard work!

It also very much depends on which version of the driver you are using - for example... using the x86_64 185.18.36 for me yields about 24k fps in glxgears, whereas using the 185.18.14 gives me only about 16 (and generally, don't bother with the beta drivers... sometimes they're quite good and other times they're complete rubbish), so try a few out and see what works best for you.

What's happening when you try to enable desktop effects? I know that some nvidia users can't if they have sync to vblank enabled. Also - do you have direct rendering enabled in your xorg.conf? (try glxinfo | grep direct).
 
Sorry for the long delay. I've had a job interview to prep for!

I'm trying to enable the desktop effects through the GUI (System -> Preferences -> Desktop effects). It's only a small dialogue box, two checkboxes are greyed out and there's just a button saying "enable desktop effects". If I press this it takes a few seconds then I just get a plain error message saying "desktop effects could not be enabled".

I checked glxinfo and it says that direct rendering is disbabled.

I think I've royally ballsed things up. I checked my xorg.conf file and it's completely empty! Don't know how that happened. I think it must have happened when I installed a few applications through "add/remove software". It may have happened after I installed the new nvidia driver actually.

One of the things I installed CompizConfig Settings Manager. I checked in here and vsync is disabled, although I don't think the settings in here have an effect, as you can choose settings like "enable 3D windows", "Desktop cube", "Rotate cube", and it makes no difference.

Any ideas? (Sorry for being so simple!)
 
k - install the proprietary driver
Code:
# /etc/init.d/xdm stop             <<<replace kdm with your login manager - r.g. gdm, kdm, etc
# cp /etc/X11/xorg.conf /etc/X11/xorg.conf.original.backup            <<<<< don't worry if this fails... you might not have one...
# sh /path/to/your/NVIDIA_driver_file.sh            <<<<<<<<<< when it asks you if you want it to let you configure X, say yes
# /etc/init.d/xdm start               <<<<<<<< again whatever your login manager is
login and reconfigure.

on the really small chanch that fails... try
Code:
# X -configure
# cp xorg.conf.new /etc/X11/xorg.conf
# /etc/init.d/ xdm restart               <<<<<<<<        erm - login manager thing again
login, etc.

On the *really* low chance that fails....
Code:
# cp /etc/X11/xorg.conf.original.backup /et/X11/xorg.conf
And restart X... back to where you were when you installed the proprietary driver.
 
Back
Top Bottom