How to install the nvidia driver on Fedora 15

I know, this information is posted in several locations, the problem is it did not work as I expected.

I use nvidia cards (obviously) and when booting the Fedora 15 live CD (gnome and xfce) the nouveau driver failed. Although at first all seemed well, and the initial resolution on my monitors was normal, as the live Cd finishes booting, my primary monitor goes black (gnome) or white (xfce) and I can not start applications or access the console (ctrl-alt-F1 failed).

To install an configure Fedora 15 and the nvidia drivers :

1. Boot the fedora 15 live CD, at the boot screen choose the failsafe graphics option.

2. Perform the installation in low graphics mode, reboot.

3. You will then need to enable the rpmfusion repos and install then nvidia-kmod. At the time of this post, the nvidia akmod fails as it did not build the nvidia module.

Enable the rpmfussion repos:

su -c 'yum localinstall --nogpgcheck'

Install the nvidia driver

su -c "yum install -y nvidia-settings nvidia-kmod"

4. Do not reboot just yet, first you need to configure X (otherwise it will boot to a console and X will fail).

su -c "nvidia-xconfig"

5. Now reboot and X will at least start. Log in and run nvidia-settings

su -c "nvidia-settings"

Set your monitor resolutions and save the file (do not merge with the old file).


Common problem I have seen solution for are :

1. Some people have had to run dracut manually after installing the nvidia kmod.

mv /boot/initramfs-$(uname -r).img \
/boot/initramfs-$(uname -r)-nouveau.img

dracut /boot/initramfs-$(uname -r).img $(uname -r)

2. Make sure to blacklist the nouveau driver by adding ‘rdblacklist=nouveau nouveau.modeset=0’ are on the kernel line in /bot/grub/grub.conf

Additional information

rpmfusion maintains a page on the nvidia module here.

This entry was posted in Linux and tagged . Bookmark the permalink.

55 Responses to How to install the nvidia driver on Fedora 15

  1. Alex says:

    Ok, but my profile don’t reload after reboot, except mode 1440×900@60. I must manually restart nv-settin

  2. bodhi.zazen says:

    @Alex run nvidia-settings as root , set your resolution, and save your settings.

    Over write (rather then merge) xorg.conf.

  3. Alex says:

    For edit of list auto loading you must execute
    And enter next:
    Name: NVIDIA X Server Settings
    Command: nvidia-settings -l
    Comment: Configure the NVIDIA graphics driver

    Or you must add nvidia-settings.desktop in folder ~/.config/autostart
    File nvidia-settings.desktop:
    [Desktop Entry]
    Exec=/usr/bin/nvidia-settings -l
    Comment[en_US]=configure the nvidia graphics driver
    Comment=configure the nvidia graphics driver
    Thanks… Bye… Bye… :-)

  4. george monroe says:

    first tut. i used crashed my Fedora 15.

  5. Jason says:

    THANKS! This worked for me on Fedora 16, and it also solved a terrible problem I was having in which I could no longer adjust the brightness of the display on my laptop. Horray!

Leave a Reply

Your email address will not be published. Required fields are marked *