LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Blogs > subvertigo
User Name
Password

Notices


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 http://www.nvidia.com/object/linux_a...y_archive.html (32 bit x86 display drivers are at http://www.nvidia.com/object/linux_display_archive.html)

2. Install the kernel-devel and gcc packages.

3. Create the file /etc/modprobe.d/blacklist-nouveau.conf and include the following text:
Code:
# 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):
Code:
GRUB_CMDLINE_LINUX="rd.md=0 rd.lvm=0 rd.dm=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.
Code:
linux   /vmlinuz-3.4.4-5.fc17.x86_64 root=UUID=d5c6ea34-488e-464a-8f5c-0205e0a4f2e8 ro rd.md=0 rd.lvm=0 rd.dm=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 graphical.target

Notes:
  • 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 graphical.target (also known as runlevel5.target) 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 6011 Comments 0
« Prev     Main     Next »
Total Comments 0

Comments

 

  



All times are GMT -5. The time now is 07:41 AM.

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