Problems with NVIDIA driver installation in Ubuntu

Source: Internet
Author: User
Keywords nbsp; installing encountering running
Tags aliyun applications error etc find html http installation

&http://www.aliyun.com/zixun/aggregation/37954.html ">NBSP; Installing NVIDIA drivers in Ubuntu using official installation software, such as no Ubuntu package, can be a hassle. Specifically, you will find that all OpenGL applications will start with a segment error. This often happens after a reboot, for example, when you use an official Nvidia driver, everything works, but once you start again you may no longer be able to use OpenGL software unless you reinstall the driver. This problem is caused by running the "NVIDIA-GLX" script at startup. It found that Nvidia's OpenGL libraries in existing systems were not current Ubuntu packages and would delete them. You can correct this problem by following these steps:

Anti-Install all NVIDIA-related Ubuntu packages: kernel-modules-restricted-"Yourarch", NVIDIA-GLX, Nvidia-common, Nvidia-kernel-source continue.

To run a command in a terminal:

sudo rm/etc/rc? D/s? Nvidia-glx

Prevents NVIDIA-GLX from running at startup.

Install (or reload) an official Nvidia driver. You want to quit your session, switch to another console (CTRL-ALT-F1), and log in to execute the following command:

SUDO/ETC/INIT.D/GDM stop

Cd/path/to/nvidia/installer

sudo sh nvidia-linux-x86-1.0-xxxx-yyyy.run

SUDO/ETC/INIT.D/GDM start

If this is the first time you've installed NVIDIA drivers, you may want to modify the configuration of x according to Nvidia's instructions. This way you should be able to run OpenGL graphics. Save again.

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.