Debian nvidia driver installation

Source: Internet
Author: User
Download a NVIDIA-Linux-x86_64.run driver on nvidia's website, which is not very comprehensive. I installed it on a 64-bit host. I encountered three problems: disabling xserver, inconsistent gcc versions, and the lack of kernel-source. The problem was solved smoothly, as shown below...

 

Download a NVIDIA-Linux-x86_64.run driver on nvidia's website, which is not very comprehensive. I installed it on a 64-bit host. I encountered three problems: disabling xserver, inconsistent gcc versions, and the lack of kernel-source. The problem was solved smoothly. The following is my step.

 

1. delete the original nvidia stuff

Dpkg -- list | grep nvidia

 

Apt-get purge xxx // purge remove pkg and config file

 

 

2. apt-get install linux-headers-$ (uname-r) // These are the things of kernel-source. I tried nvidia-kernel-source.

 

3. back up the current Xsession

 

Cp/etc/X11/xorg. conf/etc/X11/xorg. conf. backup

4. stop X server. if you want to disable X correlation through ps, the result is not enough.

 

/Etc/init. d/TPD stop // solution for online search

 

5. install the driver

 

Sh NVIDIA-Linux-x86-173.14.12-pkg1.run

6. start X server

 

/Etc/init. d/TPD start

 

It seems that the nvidia driver installation package is directly available in the ubuntu source ~ I forgot to look for it.

 

Prepared by cyphei

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.