魔改的显卡就不清楚了,不过有你提供的信息看好像需要470的驱动版本,然后你禁用DKMS试试
多谢!我准备尝试一番。系统内核对应的.config文件我看过,模块签名验证和强制签名验证都是默认的。GRUB_CMDLINE_LINUX_DEFAULT="splash quiet nomodeset module.sig_enforce=0"不管用,重新编译内核并且把这两个验证全默认为否才可能行。
又尝试过修改framework.conf里面dkms安装时签署验证的内容,表面上似乎成功,没有出之前的verification failed提示:
:~$ lsmod | grep -i nvidia
nvidia_drm 81920 0
nvidia_modeset 1351680 1 nvidia_drm
nvidia 57782272 1 nvidia_modeset
video 73728 1 nvidia_modeset
drm_kms_helper 221184 1 nvidia_drm
drm 688128 6 drm_kms_helper,nvidia,drm_ttm_helper,nvidia_drm,ttm
:~$ dmesg | grep -i nvidia
[ 3.801652] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:02.0/0000:03:00.1/sound/card1/input6
[ 3.801699] input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:02.0/0000:03:00.1/sound/card1/input7
[ 3.801751] input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:02.0/0000:03:00.1/sound/card1/input8
[ 3.801791] input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:02.0/0000:03:00.1/sound/card1/input9
[ 572.397406] nvidia: module license 'NVIDIA' taints kernel.
[ 572.397415] nvidia: module license taints kernel.
[ 572.526386] nvidia-nvlink: Nvlink Core is being initialized, major device number 237
[ 572.528040] nvidia 0000:03:00.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=none:owns=none
[ 572.570992] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 535.183.06 Wed Jun 26 06:46:07 UTC 2024
[ 572.576720] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms 535.183.06 Wed Jun 26 06:40:18 UTC 2024
[ 572.578624] [drm] [nvidia-drm] [GPU ID 0x00000300] Loading driver
[ 572.578627] [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:03:00.0 on minor 0
sudo reboot重启后就死机!没sudo reboot时输入nvidia-smi也死机,只能重启!
不得不切换到另外一个内核启动:在命令行输入sudo dkms remove nvidia-current/535.183.06 --all, 再重新启动选刚才的内核就能进入系统,但nvidia模块无法加载!
即使在另外一个内核做同样的尝试,结果也是一样的不成功!
tty2界面sudo ./NVIDIA-Linux*.run时不选dkms, 系统重启没死机,但始终黑屏,显卡驱动安装也没成功!
目前这个显卡驱动问题还没找到有效的解决办法!!!
~$: nvidia-detect
Detected NVIDIA GPUs:
03:00.0 VGA compatible controller [0300]: NVIDIA Corporation TU106M [GeForce RTX 2060 Mobile] [10de:1f11] (rev a1)
Checking card: NVIDIA Corporation TU106M [GeForce RTX 2060 Mobile] (rev a1)
Your card is supported by all driver versions.
Your card is also supported by the Tesla 470 drivers series.
It is recommended to install the
nvidia-driver
package.
魔改的RTX 2060移动版显卡在深度23和20.9下尝试了网上各种各样的NVIDIA显卡驱动安装办法,包括深度社区自带的驱动、NVIDIA官方驱动及其开源驱动源码编译,始终没成功,终端输入命令总会出现这样的提示:nvidia: module verfication failed: signature and/or required key missing - tainting kernel. 实在没辙,只好启用开源的nouveau驱动,CUDA这些用不起来。