Compared with others, fedora is a stable and does not consume too much hardware resources. It also has many new features due to RedHat support, for those who want to learn Linux, fedora is undoubtedly a very good choice.
I. Official drive
The video card drivers of Fedora 12 and 13 are hard to be installed, and it is easy to install the official video card drivers. The installation of the fedora video card driver on the internet is basically a version, the result is the same when you install it! For example, if "NVIDIA. Ko" cannot be loaded, some people say that this problem will not occur if they do so, and the problem still persists. Well, the point is, haha. I finally found a remark on the NVIDIA official website and found a solution based on my own installation experience! Looking back, it's actually quite simple!
1. Run the following command on the terminal:Uname-Check that you are using the kernel version.
2. Terminal execution:
Grep ^ kernel | sortCheck the currently installed kernel files, and check whether the kernel-headers and kernel-devel of the corresponding kernel are installed in step 1. If not, install them! (This statement may be executed very slowly. You can install two kernel files directly .)
Run:
Sudo Yum install kernel-headers kernel-devel-y.
3. Terminal execution:/Sbin/lspci | grep VGA, View the graphics card model of your machine, and download the corresponding graphics card driver from the NVIDIA website. If my graphics card is NVIDIA geforce 9300 m Gs, the lower-down graphics card driver is a NVIDIA-Linux-x86-190.53-pkg1.run.
4. Put the. Run file in the/tmp directory (to locate the file on the Character Interface), and then execute:Su-Obtain the root user environment. Run the following command:
MV/boot/initramfs-$ (uname-R). img/boot/initramfs-$ (uname-R)-Nouveau. img,
After the statement is executed correctly, run the following command:
Dracut/boot/initramfs-$ (uname-R). IMG $ (uname-R).
5. edit/etc/grub. conf:VI/etc/grub. confAdd "rdblacklist = nouveau VGA = 0x361" after the term "quiet" in your kernel Name ":
Edit the/etc/modprobe. d/blacklist. conf file to prevent nouveau module from being loaded:
VI/etc/modprobe. d/blacklist. conf;
Add blacklist nouveau to the file, and delete blacklist NVIDIA * (that is, a line with the term NVIDIA.
6. Disable SELinux to prevent installation of the video card driver. Run the following command:
Setsebool-P allow_execstack on.
Okay, everything is ready. Go to the character page to install: restart the computer, select your kernel when selecting the boot item, and press the "e" key, press "E" on the kernel line to edit the file. After quiet, add "3" before rdblacklist = nouveau, press enter to save the file, and then press "B" to guide the system. Set the number of input levels to 3 at system startup, that is, the character interface, and log on as root.
7. Switch to the/tmp directory (we put the file in this folder before ),
Run:
./* Run-K $ (uname-R)To compile and install the driver.
8. restart the system to view the NVIDIA logo. The video card driver is correctly installed and all effects can be enabled.
Ii. Installation of open-source drivers
First view the graphics card model, and then install the rpm-fusion source.
12 |
rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpmrpm -Uvh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm |
Install appropriate open-source drivers:
Akmod-NVIDIA
1 |
yum install akmod-nvidia xorg-x11-drv-nvidia-libs |
Disable nouveau driver
12345 |
## Backup old initramfs nouveau image ##mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r)-nouveau.img ## Create new initramfs image ##dracut /boot/initramfs-$(uname -r).img $(uname -r) |
Original: http://www.ninthday.net/2010/07/fedora-12-13-nvidia-drive.html
Problem: the device cannot be found or the interface is unclear. (Crazyhacking note)
1. Check that the driver is installed.
2. Select discreted mode as the graphics driver in the BIOS. (You cannot select the third mode because it only applies to win7 .)
3. Check a conf file under the/etc/X11 configuration file. Because NVIDIA graphics card is used, copy NVIDIA. conf to the default CONF file for better display.
4. The problem is that the display mode in BIOS must match the configuration file in/etc/X11.