我遵循了简单的指南这里无济于事:成功运行sudo apt -y install linux-modules-nvidia-535-gcp nvidia-driver-535
并重新启动虚拟机后,nvidia-smi
返回
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
令人费解的是,这个过程以前在其他使用安全启动和相同 Ubuntu 22.04 映像的虚拟机上也有效。我不知道如何调试出了什么问题。