Fedora 13 nVidia Drivers Install Guide (disable the nouveau driver)

Fedora 14 users check Fedora 14 nVidia Drivers Install Guide (disable nouveau driver)

I’ve tried this method in few Fedora 12 and Fedora 13 machine, and looks like it is working. Nouveau has been enabled by default starting from Fedora 11 and looks like nouveau cause some problems on Fedora 12 and Fedora 13, when try to use nVidia proprietary driver.

Note: nVidia proprietary drivers on Fedora 12 and Fedora 13 does not support older cards than GeForce 6 cards (except for some exceptions, check this comment).

Install nVidia driver and disable nouveau

Run the following commands as root.

Enable access to both the free and the nonfree RPM Fusion repository

rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm

Update system and repositories

yum update

Install kmod-nvidia or kmod-nvidia-PAE if you are using PAE (Physical Address Extension) kernel

yum install kmod-nvidia
yum install kmod-nvidia-PAE

Note: this step is now done automatically by the RPM Fusion RPMs.

Allow nVidia driver loading and set SElinux allow_execstack on

setsebool -P allow_execstack on

Note: this step is now done automatically by the RPM Fusion RPMs.

Disable nouveau, add following to grub.conf (/boot/grub/grub.conf or /etc/grub.conf) end of the “kernel” line

rdblacklist=nouveau

Example:

title Fedora (2.6.33.5-112.fc13.x86_64)
        root (hd0,0)
        kernel /vmlinuz-2.6.33.5-112.fc13.x86_64 ro root=/dev/mapper/vg_fedorabox-LogVol01 rd_LVM_LV=vg_fedorabox/LogVol01 rd_LVM_LV=vg_fedorabox/LogVol00 rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=en rhgb quiet rdblacklist=nouveau
        initrd /initramfs-2.6.33.5-112.fc13.x86_64.img

Reboot system

reboot

And finally nVidia driver should work normally.

Follow If Not True Then False Updates!

12 Comments

  1. This worked like a charm! Thanks!

  2. I just followed the above instruction and rebooted to a black screen… now what do I do?

  3. Change to console with ctrl+alt+F2 or (ctrl+alt+F3, F4, F5, F6).

    Write following commands:

    lsmod |grep nouveau

    Should not output anything, if output nouveau driver then check that you have rdblacklist=nouveau on your grub.conf on right kernel row.

    lsmod |grep nvidia

    Should output nvidia driver, if not then run again exactly following command:

    setsebool -P allow_execstack on

    Then reboot again:

    reboot
  4. I am a frequent reader of your blog and just wanted to let you know you that I really like your articles.

    • Really nice to hear that you read frequently my blog and you like my writings. Thank you very much for your feedback!

  5. Thank you very much for your feedback!

  6. Wanted to say thanks. Not so easy to find this.

  7. nVidia proprietary drivers on Fedora 12 (and probably Fedora 13 too) do support a few older cards than GeForce 6 cards. I am using 173xx driver for GeForce FX-5500 on F12 without any problem. I think even 96xx driver is supported, however 71xx is definitely not supported.

    Blacklisting nouveau and setting SElinux are now done automatically by the RPM Fusion RPMs, without any user intervention.

    • Hi Awasthi,

      Nice to know that nVidia proprietary drivers support even older than GeForce 6 cards and also nice to know that the Nouveau blacklisting and SELinux settings are now done automatically by RPM Fusion RPMs.

      I updated this info to guide, thank you.

  8. thank you so much,you are site is great man,
    hope for more

  9. Although I skipped the setsebool step because I have selinux disabled, your instructions fixed my problem (I think. I did this remotely and won’t know if X is running correctly until I get home, but I do see a kdm_greet in top so I’m hopeful.). I just upgraded from Fedora 11 to Fedora 13 and hadn’t experienced this nouveau problem before. I spent two hours last night trying to disable the module to no avail. Who’s idea was this nouveau crap anyway?

    Thanks for the help.

  10. 4-23-11… worked after black screen on fedora 14.. thanks .. got to love google and the wealth of knowledge it brings right to your fingertips…

    Thanks for the help, beers on me if your ever in Wesport, downtown KC

Leave a Comment

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

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Trackbacks/Pingbacks

  1. Installing NVIDIA graphics drivers on Fedora 12 – PCR's notepad - [...] Howto install nVidia driver on Fedora 12 (and just disable the nouveau driver) [...]
  2. Howto install nVidia driver on Fedora 12 (and just disable the … | Penny Stocks - [...] I’ve tried this method in two Fedora 12 machine, and looks like it is working. Nouveau has been enabled ...
  3. Nvidia no Fedora 14: O Tutorial — Espaço Liberdade - [...] http://forums.fedoraforum.org/showpost.php?p=1262379&postcount=4 http://www.if-not-true-then-false.com/2009/howto-install-nvidia-driver-on-fedora-and-just-disable-th... Post Anterior | Reportar um Erro | Voltar a Home | Utilize o iReader [...]
  4. Installing nVidia driver under CentOS & Red Hat 6.0 | Qwkhyena's blog… - [...] http://us.download.nvidia.com/XFree86/Linux-x86_64/260.19.36/README/commonproblems.html http://www.if-not-true-then-false.com/2009/howto-install-nvidia-driver-on-fedora-and-just-disable-th... [...]