Finally, I installed the f13 video card driver.

Source: Internet
Author: User
Finally, I installed the f13 graphics card driver-general Linux technology-Linux technology and application information. The following is a detailed description. First of all, it indicates that this is the link from the above-mentioned articles in csdn. I have not followed the instructions, but it may work in other ways.

Install the nvidia 195.36.15 official driver under fedora 13. Collect and sort the data.

1 attachment
1. Download The NV195.36.15 driver. Get the *. run file and change it to executable.
2. Install and check the system compiler and Kernel File. Four data packets must be installed before the driver is installed.
Gcc (for compiling the driver)
Kernel-PAE
Kernel-PAE-devel
Kernel-headers
Run rpm-qa | grep to check whether the three versions must be consistent.
3. the front side of the configuration system said that the system uses the built-in Nouveau module to display and process images. The system and the NVIDIA driver cannot coexist. If the NVIDIA graphics driver is installed, it must be stopped, let's just make it not load next time the system starts up, so here we need to modify two places,


Switch to the root user mode on the terminal and use vi to open two files:/etc/grub. conf and/etc/modprobe. d/blacklist. conf.
(1) vi/etc/grub. conf is added in red.
Kernel/vmlinuz-2.6.32.9-70.fc12.i686.PAE ro root = UUID = 14992636-2ede-48d3-ab25-6d0acd100b9d LANG = zh_CN.UTF-8 KEYBOARDTYPE = pc KEYTABLE = us rhgb quiet rdblacklist = nouveau
(2) Check the red part in vi/etc/modprobe. d/blacklist. conf.

Blacklist hgafb
# Blacklist nvidiafb # Add #
Blacklist rivafb
Blacklist savagefb
Blacklist sstfb
Blacklist neofb
Blacklist tridentfb
Blacklist tdfxfb
Blacklist virgefb
Blacklist vga16fb
Blacklist nouveau # Add this line


# ISDN-see bugs 154799,159 068
Blacklist hisax
Blacklist hisax_fcpcipnp

4. perform the following steps before installation:
Execute the following command under the root user: (if you do not know how to do it)
] # Mv/boot/initramfs-$ (uname-r). img/boot/initramfs-$ (uname-r)-nouvean. img
] # Dracut/boot/initramfs-$ (uname-r). img $ (uname-r)
] # Setsebool-P allow_execstack on (disable SELinux to prevent the security switch of the video card driver)
Preparations are complete before installation. restart the system now,

5. When the startup option appears, you must select the desired kernel.
Kernel/vmlinuz-2.6.32.9-70.fc12.i686.PAE ro root = UUID = 14992636-2ede-48d3-ab25-6d0acd100b9d LANG = zh_CN.UTF-8 KEYBOARDTYPE = pc KEYTABLE = us rhgb quiet
Press "e" to enter the editing mode, select the second option, and then press "e". Then, add "Space and 3" after the displayed quiet ", change to kernel/vmlinuz-2.6.32.9-70.fc12.i686.PAE ro root = UUID = 14992636-2ede-48d3-ab25-6d0acd100b9d LANG = zh_CN.UTF-8 KEYBOARDTYPE = pc KEYTABLE = us rhgb quiet 3

Press enter, and then "B" is started to the kernel. The system will enter the character interface and log on as root.


Switch to the/tmp directory and run:./NVIDIA-Linux-x86-190.53-pkg1.run-k $ (uname-r) to start compiling and installing the driver.

6. Edit the xorg. conf file: (very important. I forgot this file and spent half a day)

Su-c 'gedit/etc/X11/xorg. conf'

Add the following fields:

Section "ServerFlags"
Option "IgnoreABI" "true"
EndSection


7. After the restart, the system will not be able to enter, and a black screen will appear. Do not worry about the following solutions:


Enable Plymouth graphical boot
The Nvidia driver does not support KMS. Therefore, you can only specify the MESA driver during boot to achieve the graphic Plymouth effect.
1. after the brand Logo appears, Press ESC to enter the GRUB interface, select the kernel, and press e to edit it, add the vga = ask parameter in the area where "3" is added in the front of the kernel line.
For example, my kernel line is from
Kernel/vmlinuz-2.6.32.9-70.fc12.i686.PAE ro root = UUID = 0a86cf1f-ea02-4016-9c15-c9c537489eaf LANG = zh_CN.UTF-8 KEYBOARDTYPE = pc KEYTABLE = us rhgb quiet rdblacklist = nouveau
Modify
Kernel/vmlinuz-2.6.32.9-70.fc12.i686.PAE ro root = UUID = 0a86cf1f-ea02-4016-9c15-c9c537489eaf LANG = zh_CN.UTF-8 KEYBOARDTYPE = pc KEYTABLE = us rhgb quiet
Rdblacklist = nouveau vga = ask
Press Enter to exit the editing mode, and press B to guide.
2. At this time, the screen will prompt to press ENTER to view the optional display mode, and press ENTER to ENTER.
A table is displayed, showing the corresponding values of the code and resolution color depth, from which you can find the values suitable for your screen resolution and color depth. For example, if the color depth of my current resolution is 128080032, the corresponding value on the table is 361. ENTER 361 and then press ENTER to view the graphic Plymouth guide interface.
3. You need to use this value as the parameter for each boot. Edit the/etc/grub. conf file and add vga = ?????, Yes ????? Replace it with the obtained value. Note that the value we just obtained is actually a hexadecimal number. You must add 0x in front of it. For example, my 361 value will be 0x361.
Su-c 'Vi/etc/grub. conf'
Set
Kernel/vmlinuz-2.6.32.9-70.fc12.i686.PAE ro root = UUID = 0a86cf1f-ea02-4016-9c15-c9c537489eaf LANG = zh_CN.UTF-8 KEYBOARDTYPE = pc KEYTABLE = us rhgb quiet
Rdblacklist = nouveau
Modify
Kernel/vmlinuz-2.6.32.9-70.fc12.i686.PAE ro root = UUID = 0a86cf1f-ea02-4016-9c15-c9c537489eaf LANG = zh_CN.UTF-8 KEYBOARDTYPE = pc KEYTABLE = us rhgb quiet rdblacklist = nouveau ask = 0x361, each time, Plymouth is enabled with a resolution of 0x361.
Note:
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 the method for running the driver file is somewhat different in step 3.
Su-c './NVIDIA-Linux-x86-190.42-pkg0.run-K'
Adding the-K parameter at runtime means only compiling the kernel module without installing the driver file. After the execution, restart.
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.