Fedora13 perfectly installs the Nvidia official driver

Source: Internet
Author: User
Fedora13 was installed early. After reading the miucat post, I added some of the things I learned when I installed the N-card driver, and the N-card driver was successfully installed. 0. download the latest NVIDIA driver from the NVIDIA website. 1. Grant it executable permissions. Chmod + xNVIDIA-Linux-x86_64-195.36.24-pkg2.run2. Edit the/etc/modprobe. d/blacklist. conf file to prevent nouveau module from loading

Fedora 13 was installed early. After reading the miucat post, I added some things I learned about installing the N-card driver. The N-card driver was successfully installed.

0. download the latest NVIDIA driver from the NVIDIA website.

1. Grant it executable permissions.
Chmod + x NVIDIA-Linux-x86_64-195.36.24-pkg2.run

2. Edit the/etc/modprobe. d/blacklist. conf file to prevent nouveau module from being loaded.
Gedit/etc/modprobe. d/blacklist. conf
Modify/etc/modprobe. d/blacklist. conf
Add the nouveau blacklist to the end of the file.
Add nvidiafb to the whitelist, that is, comment out the line blacklist nvidiafb. Change this line to # blacklist nvidiafb.
As follows:
# Framebuffer drivers
Blacklist aty128fb
Blacklist atyfb
Blacklist radeonfb
Blacklist i810fb
Blacklist cirrusfb
Blacklist intelfb
Blacklist kyrofb
Blacklist i2c-matroxfb
Blacklist hgafb
# Blacklist nvidiafb
Blacklist rivafb
Blacklist savagefb
Blacklist sstfb
Blacklist neofb
Blacklist tridentfb
Blacklist tdfxfb
Blacklist virgefb
Blacklist vga16fb
Blacklist viafb
Blacklist nouveau

3. Prevent the kernel from loading the nouveau Module
Gedit/boot/grub. conf
Add rdblacklist = nouveau vga = 792 at the end of the kernel line

4. Reduce The selinux level and remove selinux to prevent nvidia driver modules from being loaded.
# Setsebool-P allow_execstack on

5. Restart. Because the installation of the graphics card driver cannot be performed during X service running, you need to enter the runtime Level 3. After the brand Logo appears, Press ESC to enter the GRUB interface, select the kernel, and press e to edit it. The parameter 3 is not added to the kernel line.
For example, my kernel line is from
Kernel/vmlinuz-2.6.31.1-56.fc12.i686.PAE ro root = UUID = 0a86cf1f-ea02-4016-9c15-c9c537489eaf LANG = zh_CN.UTF-8 KEYBOARDTYPE = pc KEYTABLE = us rhgb quiet
Modify
Kernel/vmlinuz-2.6.31.1-56.fc12.i686.PAE ro root = UUID = 0a86cf1f-ea02-4016-9c15-c9c537489eaf LANG = zh_CN.UTF-8 KEYBOARDTYPE = pc KEYTABLE = us rhgb quiet 3
Press Enter to exit the editing mode, and press B to guide.

6. log on to the character terminal and enter the directory where the installation file is placed. Run the following command to start the installation file.
Go to your LINUX
Su
Enter your administrator pass
Sh./NVIDIA-Linux-x86_64-195.36.24-pkg2.run

7. Restart

8. Compile the kernel module after kernel upgrade

One major drawback of using the official driver is that the kernel module needs to be re-compiled every time the kernel is updated. To put it simply, perform steps 2nd and 3 of the first installation, but there are some differences in the way the driver file is run at Step 3rd.
Su-c './NVIDIA-Linux-x86_64-195.36.24-pkg2.run-K'
Adding the-K parameter at runtime means only compiling the kernel module without installing the driver file. After the execution, restart.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.