Share your knowledge at the LQ Wiki.
Go Back > Blogs > subvertigo
User Name


Rate this Entry

Fedora 17 and the nvidia geforce display driver

Posted 07-13-2012 at 05:27 PM by subvertigo

This is how I installed the nvidia driver in Fedora 17 for 64 bit x86 without using a 3rd party repository. My experience will not work with all configurations.

1. Download a compatible 64 bit x86 display driver from (32 bit x86 display drivers are at

2. Install the kernel-devel and gcc packages.

3. Create the file /etc/modprobe.d/blacklist-nouveau.conf and include the following text:
# stop autoloading of nouveau
blacklist nouveau
# stop dependencies from loading nouveau
install nouveau /bin/false
4. Create the SELinux context for the new file: chcon -u system_u -t modules_conf_t /etc/modprobe.d/blacklist-nouveau.conf
5. Edit the file /etc/sysconfig/grub so the third line reads as (bold typeface indicates what was added):
GRUB_CMDLINE_LINUX=" rd.lvm=0 SYSFONT=True  KEYTABLE=us rd.luks=0 LANG=en_US.UTF-8 rhgb quiet rd.driver.blacklist=nouveau"
6. Commit the grub2 change: grub2-mkconfig -o /boot/grub2/grub.cfg
7. Reboot, noting that the next instruction occurs at the grub2 shell, before Linux loads.
8. At the grub2 menu, press the e key on Fedora to edit boot options.
9. Append 3 to the linux line, i.e.
linux   /vmlinuz-3.4.4-5.fc17.x86_64 root=UUID=d5c6ea34-488e-464a-8f5c-0205e0a4f2e8 ro rd.lvm=0 SYSFONT=True  KEYTABLE=us rd.luks=0 LANG=en_US.UTF-8 rhgb quiet rd.driver.blacklist=nouveau 3
10. Press F10 to boot.
11. Log in as root
12. Navigate to the folder with the nvidia installer, and make it executable: chmod +x NVIDIA*.run
13. Run the installer: ./NVIDIA*.run
14. Switch the to the graphical runlevel: systemctl isolate

  • The dracut command line manual lists the rd.driver.* options that can be given at boot. This is useful when LiveCDs do not work properly, like when Fedora 17 PPC doesn't automatically load pata_macio.
  • The fourth line in the blacklist-nouveau.conf is required since (also known as will load modules that depend on nouveau. Here is a link to the modprobe.conf manual for the conf file, and the SysVinit to Systemd Cheatsheet for the various runlevels of systemd.
  • w3m can be used to search and download the proprietary NVIDIA driver as long as you use Google, not NVIDIA's site, to find it.
Posted in Fedora
Views 5897 Comments 0
« Prev     Main     Next »
Total Comments 0




All times are GMT -5. The time now is 10:32 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration