Opensuse 13.1 video card drive repair notes

Source: Internet
Author: User

Linux users may encounter driver problems sooner or later. After upgrading and restarting the machine today, we found that only one of the two monitors can be used, and the resolution is extremely low. It is assumed that the NVIDIA display driver has crashed, so Linux uses the default VESA driver.

NVIDIA drivers here are commercial drivers. The following are commercial drivers.

Troubleshoot the problem.

First, run the following command to find out the model of the video card:

[~] $ Lspci | grep-I VGA
. 0 VGA compatible Controller: NVIDIA Corporation gf119 [geforce GT 620 OEM] (Rev A1)

NVIDIA geforce gt620.

Step 2: Prepare to reinstall the driver. The first step is to delete all drivers that have been installed. My approach is to remove all package names with nvidia and nouveau, as well as the xf86-video-nv.

Next, find and install the new driver:

Https://en.opensuse.org/SDB:NVIDIA_drivers

Because I am a geforce 6 series video card, I will automatically install it after I click the second one.

Step 3: perform further debugging after restart and run the following command:

[~] $ Lsmod | grep NVIDIA

[~] $ CAT/var/log/xorg.0.log

We found that neither the NVIDIA kernel module nor Xorg was able to load the driver, and further debugging is required.

The NVIDIA driver consists of two parts (two RPM packages), one is the NVIDIA kernel module (nvidia-gfxG02-kmp-desktop package ), the other part is the Xorg drive (x11-video-nvidiaG02 RPM package ).

The Xorg driver is relatively simple. Its files include several. So files in the/usr/lib64/Xorg/modules/updates/directory. (For example, nvidia_drv.so and libglx. So)

The kernel module driver is described below. In opensuse 13.1, the NVIDIA drive RPM package will extract the kernel module source code to the following position:

/Usr/src/kernel-modules/nvidia-304.121-desktop

Then run make install in this directory to compile NVIDIA. put the Ko file in the/lib/modules/3.11.10-21-desktop/kernel/Drivers/video directory, and then run the following two commands:

Depmod-AE

Modprobe NVIDIA

In this way, we can see the NVIDIA module in lsmod. If the X driver is correctly installed, the display should be correct (the dual-display can be correctly driven, and the resolution is normal ).

Opensuse 13.1 video card drive repair notes

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.