Solution to Nvidia graphics card driver error in ubuntu

Source: Internet
Author: User
When installing the beryl and Nvidia official drivers, the old drivers were not cleared, or maybe the Thisconfusesnvidia-installerintothinkingthatyourXserverisveryoldanditinstallstheXmodulesinthewrongplace.Toworkaroundthisproblem, and the old drivers were not cleared when installing the beryl and Nvidia official drivers, or it may be

This confuses nvidia-installer into thinking that your X server is very old and it INSTALLThe X modules in the wrong place. To work around this problem, use the following options:

# Sh NVIDIA-Linux-version.run -- x-module-path = 'x-showdefamodumodulepath 2> & 1 | cut-d, -f1 '-- x-library-path = 'x-showdefaliblibpath 2> & 1'

In short, the problem is that every time you restart your computer, you need to re-compile the Nvidia driver to enter the WordPress (x win ). The Error Log content is:

Error: API mismatch: this NVIDIA driver component has version 100.14.11, but the NVIDIA kernel module's version does not match. please make sure that the kernel module and all NVIDIA driver components have the same version.

I have done the following steps (it is not clear whether that step serves the purpose or is required, for your reference)

Sudo apt-get remove nvidia-glx -- purge

Completely Delete nvidia-glx

Delete/etc/init. d/nvidia-glx and/etc/init. d/nvidia-kernel

Modify the/etc/default/linux-restricted-modules-common file and add

DISABLED_MODULES = "nv nvidia_new"

I think this step is probably the key!

Unfortunately, my sound card is Conexant (nVidia Corporation MCP51 High Definition Audio...

For more information, see the following section:
The nvidia-glx package has been uninstalled with the -- purge option and the files/etc/init. d/nvidia-glx and/etc/init. d/nvidia-kernel do not exist

You need to delete the legacy driver within/lib/modules directory
Once you delete those, then install the nvidia drivers, and you'll be OK.

If you use Ubuntu, please also ensure that the linux-restricted-modules or linux-restricted-modules-common packages have been uninstalled. alternatively, you can edit the/etc/default/linux-restricted-modules or/etc/default/linux-restricted-modules-common configuration file and disable the NVIDIA linux-restricted kernel modules (nvidia, nvidia_legacy):

DISABLED_MODULES = "nv nvidia_new"

Additionally, delete the following file if it exists:

Rm-f/lib/linux-restricted-modules/. nvidia_new_installed

Please note: unfortunately, it has become difficult to keep track of the pre-/post-installation steps required for [K] Ubuntu, and the above instructions may be incomplete. if in doubt, it is recommended that you use your distributor's NVIDIA Linux graphics driver packages, exclusively.

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.