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
- [root@honway ~]# lspci | grep VGA
- 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:
- 00:02.0 VGA compatible controller: Intel Corporation 2n Generation Core Processor Family Integrated Graphics Controller (rev 09)
- 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
- su -
2. Check whether the current Linux kernel and SELinux policy are up to date.
- Yum update kernel * selinux-policy *
- # If there is an upgrade process, restart it.
- Reboot
3. Install the RPMFusion (Free and Non-Free) Source
#32-bit
- 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
- yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-branched.noarch.rpm
- 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:
- yum install akmod-nvidia xorg-x11-drv-nvidia-libs
- ##Extra package for kernel-PAE users
- yum install kernel-PAE-devel
Kmod-nvidia installation method:
- yum install kmod-nvidia xorg-x11-drv-nvidia-libs
Kmod-PAE Installation Method
- kmod-nvidia-PAE and kernel-PAE-devel
- yum install kernel-PAE-devel kmod-nvidia-PAE
5. Delete the nouveau graphics card driver officially provided by Fedora.
- # Back up the original initramfs nouveau image ##
- Mv/boot/initramfs-$ (uname-r). img/boot/initramfs-$ (uname-r)-nouveau. img
- # Create an initramfs image ##
- Dracut/boot/initramfs-$ (uname-r). img $ (uname-r)
6. After installation is complete, restart the machine.
- reboot
For more information about Fedora, see Fedora topics page http://www.linuxidc.com/topicnews.aspx? Tid = 5