当前位置:网站首页>Reinstalled NVIDIA graphics driver
Reinstalled NVIDIA graphics driver
2022-07-22 21:33:00 【Lost in code】
1, First check if there is nvidia The graphics card :
lspci | grep -i nvidia
Output :
2. Uninstall all previous drivers :
#for case1: original driver installed by apt-get:
# Don't run remove --purge nvidia*, Will put the existing nvidia Relevant configurations are deleted !!!
sudo apt-get remove --purge nvidia*
#for case2: original driver installed by runfile:
sudo chmod +x *.run
sudo ./NVIDIA-Linux-x86_64-384.59.run --uninstall
# Sometimes you don't need to uninstall , Install the new drive directly , You can try to install a new drive directly !!!
3. land nvidia Official website , Can get suitable for their own drive , download ,
https://www.nvidia.com/Download/index.aspx?lang=en-us
https://www.nvidia.cn/geforce/drivers/
4. Enter a command to close the graphical interface :
sudo service lightdm stop
5. Enter the directory where the driver is downloaded
Start installing the driver :
sudo ./NVIDIA-Linux-x86_64-440.82.run -no-x-check -no-nouveau-check -no-opengl-files
Be careful 1:
If the file execution permission is insufficient , To drive run The file gives execution permission , The driver version number can be modified according to its own version
sudo chmod a+x NVIDIA-Linux-x86_64-440.82.run
Be careful 2:
sudo ./NVIDIA-Linux-x86_64-440.82.run -no-x-check -no-nouveau-check -no-opengl-files
-no-x-check: Turn off when installing the drive X service
-no-nouveau-check: Disable... When installing the driver nouveau
-no-opengl-files: Only install driver files , Not to install OpenGL file
6. Problems and options encountered during installation :
a. Runtime , You may receive one pre-install script failed Information . Just choose to continue the installation , Because the pre installation script contains commands exit 1, The goal is to make sure you really want to install drivers . Reference link : install nvidia The driver has been encountering pre-install scipt failed error
b. Options during installation :
dkms Installation is best choose yes
32 Bit compatible Installation is best choose yes
x-org Don't worry , choose no, Some computers may cause the login interface to be blank
7. Restart the computer
sudo service lightdm start
8. Verify whether the installation driver OK
nvidia-smi
Reference:
1. 【GPU】NVIDIA Drive installation
Game Over~~~
边栏推荐
猜你喜欢
随机推荐
煤矿无线广播系统解决方案
Solve the problems that tracepass website cannot be opened and stackoverflow is not fully displayed
MVCC
JUC-7.2-线程协作-Condition
C# Winform开发 数据的序列化与反序列化
shell远程执行命令
4. Text editor
运行服务器端 Pycharm 提示: Already running
Wechat applet comprehensive case practice 1
How to login to a remote host without secret via SSH
6.echo 和重定向
小区IP网络广播背景系统解决方案-基于局域网、专网或广域网传输
[lttng learning journey] - a preliminary study of trace view
Learning notes of wechat applet introduction tutorial - operation feedback of UI chapter
Solve the thirdscripterror error of wechat applet
Simple sentences -one
About dichotomy
两台服务器之间拷贝文件-scp方法
10.系统信息相关命令
Juc-7.2-thread collaboration condition