ubuntu graphics driver reinstall tutorial

Method 1:
(1): sudo service lightdm stop
(2): sudo chmod + x NVIDIA-Linux-x86_64-390.67.run
(3): sudo ./NVIDIA-Linux-x86_64-390.67.run --no-opengl- files
(4): sudo service lightdm stop
(if you enter sudo service lightdm stop and the following error appears
"/ dev / sda6: clean, 211/30976 files, 64698/123904 blocks"
The steps to solve this problem are:
(1) sudo gedit / etc / default / grud
(2) Find in the file: GRUB_CMDLINE_LINUX_DEFAULT = "quiet splash" and modify to: GRUB_CMDLINE_LINUX_DEFAULT = "quiet splash nomodeset", and save the file to exit
(3) sudo update-grub (update grub file)
(4) Repeat method 1)

Method 2:
(1) Ctrl + Alt + F1
(2) sudo chmod + x NVIDIA-Linux-x86_64-390.67.run
(3) sudo ./NVIDIA-Linux-x86_64-390.67.run -no-x-check -no -nouveau-check -no-opengl-files
(-no-x-check close the x service when installing the driver; if there is no such command will appear (You appear to be running an X server; please exit X before…)
-no- nouveau-check disables Nouveau
-no-opengl-files when installing the driver, only installs the driver files during the installation, does not install Opengl)

Published 36 original articles · won praise 1 · views 6384

Guess you like

Origin blog.csdn.net/qq_34291583/article/details/104193972