Install the NVIDIA graphics card driver on Fedora17

Source: Internet
Author: User
Recently, I installed Fedora17 in my notebook. I always wanted to play with the 3D desktop, but I had to install the video card driver on the 3D desktop. The result was stuck here. I found an article on the Internet and wrote it well! Share the original article here: Workshop # Lsp

Recently, I installed Fedora 17 in my notebook and wanted to play with the 3D desktop. But I had to install the video card driver on the 3D desktop. As a result, I got stuck here and found an article on the Internet, well written! Share it here

Address: http://www.if-not-true-then-false.com/2012/fedora-17-nvidia-guide/

Preparations before installation

Check whether your video card is supported

 
  1. [root@honway ~]# lspci  | grep VGA 
  2. 02:00.0 VGA compatible controller: nVidia Corporation GT216 [GeForce GT 320M] (rev a2) 

List of supported graphics card models: available.

Check whether your video card supports NVIDIA Optimus Technology

If you use the lspci | grep-I VGA command, the following similar results are displayed:

 
  1. 00:02.0 VGA compatible controller: Intel Corporation 2n Generation Core Processor Family Integrated Graphics Controller (rev 09)   
  2. 01:00.0 VGA compatible controller: nVidia Corporation GF106 [GeForce GT 555M SDDR3] (rev a1)   

Or if you know that your video card supports NVIDIA Optimus Technology, turn it off in blos. If NVIDIA Optimus Technology cannot be disabled in Blos, this installation process is not suitable.

Install the NVIDIA graphics driver on Fedora17 "BeefyMiracle" and disable the nouveau driver

1. Switch to the root user 

 
  1. su -  

2. Check whether the current Linux kernel and SELinux policy are up to date. 

 
  1. Yum update kernel * selinux-policy *
  2. # If there is an upgrade process, restart it.
  3. Reboot 

3. Install the RPMFusion (Free and Non-Free) Source

#32-bit

 
  1. yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-branched.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-branched.noarch.rpm 

#64-bit

 
  1. yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-branched.noarch.rpm   
  2. yum localinstall --nogpgcheck http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-branched.noarch.rpm  

4. Install the nVidia driver for the GeForce 6/7/8/9/200/300/400/500 series graphics card.

Three installation methods are provided: akmod, kmod, and kmod-PAE.

The akmod method has few problems and is very easy to use.

  • Self-compiled Kernel
  • Old fedora Kernel
  • Changing the Kernel During frequent upgrades and tests

We recommend that you install akmod.

Note (the translator uses akmod for installation)

You must first install the SDK in the following three ways.

Akmod-nvidia installation method:

 
  1. yum install akmod-nvidia xorg-x11-drv-nvidia-libs   
  2. ##Extra package for kernel-PAE users   
  3. yum install kernel-PAE-devel  

Kmod-nvidia installation method:

 
  1. yum install kmod-nvidia xorg-x11-drv-nvidia-libs  

Kmod-PAE Installation Method

 
  1. kmod-nvidia-PAE and kernel-PAE-devel   
  2. yum install kernel-PAE-devel kmod-nvidia-PAE   

5. Delete the nouveau graphics card driver officially provided by Fedora.

 
  1. # Back up the original initramfs nouveau image ##
  2. Mv/boot/initramfs-$ (uname-r). img/boot/initramfs-$ (uname-r)-nouveau. img
  3. # Create an initramfs image ##
  4. Dracut/boot/initramfs-$ (uname-r). img $ (uname-r)

6. After installation is complete, restart the machine.

 
  1. reboot   
For more information about Fedora, see Fedora topics page http://www.linuxidc.com/topicnews.aspx? Tid = 5

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.