How to learn from Linux -- Install the NVIDIA official graphics card driver on Fedora15

Source: Internet
Author: User
After installing fc15 in a notebook (integrated graphics card), you can experience gnome3. it feels great. you have installed a new one on a desktop (with a video card), but when you enter the desktop, it indicates that no video card driver is detected and gnome3 cannot be started. you have found the installation method on the Internet and recorded and disseminated it. Various video cards...

After installing fc15 in a notebook (integrated graphics card), you can experience gnome3. it feels great. you have installed a new one on a desktop (with a video card), but when you enter the desktop, it indicates that no video card driver is detected and gnome3 cannot be started. you have found the installation method on the Internet and recorded and disseminated it.
 
All graphics card manufacturers do not provide linux Drivers. Therefore, you can download the driver from the nvidia official website based on your graphics card model. My video card is the colorful GT240 Platinum Edition, and the operating system is Fedora 15 64-bit.
 
1. prevent nouveau module from loading:
Terminal switch to root: su
Edit the/etc/modprobe. d/blacklist. conf file:
 
Shell code
Vi/etc/modprobe. d/blacklist. conf
 
Add
Shell code
Blacklist nouveau
 
2. edit the/boot/grub. conf file.
 
Shell code
Vi/boot/grub. conf
 
Add after rhgb quiet
Shell code
Nouveau. modeset = 0
 
3. reduce the selinux level, remove selinux to prevent nvidia driver modules from being loaded, and run the following command:
 
Shell code
Setsebool-P allow_execstack on
 
4. upgrade the system first, install the RPM Fusion software warehouse, and run the terminal command:
Shell code
Su-c 'rpm-Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm'
 
Su-c' rpm-Uvh restart'
 
Run the terminal command again:
Shell code
Su-c 'yum update'
 
(It may take about 20 minutes. Check your network speed and machine configuration. Of course, you can ignore this step if you are impatient. However, I think your system will eventually become a subordinate. It is better to do it later than to do it earlier)
 
5. five data packets must be installed before the driver is installed. use yum install
1) gcc (used to compile the driver. When gcc is installed, the fourth kernel-headers is automatically installed)
2) kernel-PAE
3) kernel-PAE-devel
4) kernel-headers
5) dkms (the driver can still be used after Kernel upgrade)
Note: 2 and 3 seem to only support large memory to data packets. I have only 2 GB of memory, so it is not installed.
 
6. restart the grub interface and press the e or shift key to enter. select the second item with the Kernel and press the e key to edit the project. Add the parameter 3 to the end of quiet (remember that there is a space before 3), and press enter to exit. Press B to enter the text terminal.
 
7. enter root (enter root, and then enter your root password), switch to the directory where the driver file is placed (I put the previously downloaded Nvidia driver under/home/user, so I enter cd/home/user) to install:
 
Shell code
Sh./NVIDIA-Linux-x64-280.13.run
Next, go to the installation interface through the command line. The Installation Interfaces are accept, OK, and yes.
 
8. By the way, there is no classic desktop when logging on to the system after the driver is installed. The classic desktop option is displayed only after compiz is installed.
How to install compiz
1) enter the su and password on the terminal.
2)
Shell code
Yum install compiz fusion
 
3)
Shell code
Yum install emerald-themes compiz-fusion-extras emerald compiz-plugins-main compiz-manager compiz-fusion-extras libcompizconfig compiz-plugins-main-gconf ccsm compiz-gnome compiz-gtk
 
4) get it done. However, if you want to use the special effect of compiz, you only need to restart the system. after entering the logon password, you can choose to enter the classic desktop, and then click log in to log on. In this way, you can configure desktop cubes and other special effects. Compiz cannot be used in gnome3.
 
 
P.s. after installing the nvidia official driver, the Ora boot screen turns into a black screen and a blue band progress bar.

Install the following rpm:

Shell code
Yum install bootchart bootconf-gui
Run bootconf, select the resolution, and then reboot to view the original boot screen.

Author: "Remain calm, even when it seems hopeless"
 

Related Article

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.