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