[Kernel/Drive] NVIDIA安装失败 未用DKM注册NVIDIA内核模块
Tofloor
poster avatar
yixuan
deepin
2023-03-30 07:55
Author

-> Would you like to register the kernel module sources with DKMS? This will allow DKMS to automatically build a new module, if your kernel changes later. (Answer: Yes)

-> Registering the kernel modules with DKMS:
ERROR: Failed to run /usr/sbin/dkms install --no-depmod -m nvidia -v 530.41.03 -k 6.2.1:
nvidia.ko:
Running module version sanity check.
Module version 530.41.03 for nvidia.ko
exactly matches what is already found in kernel 6.2.1.
DKMS will not replace this module.
You may override by specifying --force.

nvidia-uvm.ko:
Running module version sanity check.
Module version 530.41.03 for nvidia-uvm.ko
exactly matches what is already found in kernel 6.2.1.
DKMS will not replace this module.
You may override by specifying --force.

nvidia-modeset.ko:
Running module version sanity check.
Module version 530.41.03 for nvidia-modeset.ko
exactly matches what is already found in kernel 6.2.1.
DKMS will not replace this module.
You may override by specifying --force.

nvidia-drm.ko:
Running module version sanity check.
Module version 530.41.03 for nvidia-drm.ko
exactly matches what is already found in kernel 6.2.1.
DKMS will not replace this module.
You may override by specifying --force.

nvidia-peermem.ko:
Running module version sanity check.
Module version 530.41.03 for nvidia-peermem.ko
exactly matches what is already found in kernel 6.2.1.
DKMS will not replace this module.
You may override by specifying --force.
Error! Installation aborted.
-> Error.
WARNING: Failed to register the NVIDIA kernel modules with DKMS. The NVIDIA kernel modules were installed, but will not be automatically rebuilt if you change your kernel.
-> Installation of the NVIDIA Accelerated Graphics Driver for Linux-x86_64 (version: 530.41.03) is now complete.

Reply Favorite View the author
All Replies
璀璨星空
deepin
2023-03-30 09:02
#1

内核太高?换个低内核试试confused

Reply View the author
安洛
deepin
2023-03-30 09:35
#2

之前安装过驱动没有卸载干净吧?它的意思是已经安装了相同的模块所以不会覆盖安装。至少现在应该是不影响使用,以后内核要是改变就不清楚。要是不放心就彻底卸载所有nvidia驱动然后再装一遍。

Reply View the author
Jokul
deepin
2023-03-30 18:01
#3

你现在用的6.2.1内核中已经包括nvidia驱动模块,然后你重新手动安装nvidia驱动提示已经被安装。所以你需要卸载原来的驱动,然后重装才行

根据报错提示你现在已经安装了N卡驱动,试试安装一下deepin-prime,然后用sudo prime-select nvidia切换到n卡驱动,看看能不能使用,如果驱动可以用 没必要手动再安装一遍N卡驱动

Reply View the author
Ziggy
deepin
2023-03-31 05:56
#4

now complete

Reply View the author