我在使用 NVIDIA 时遇到了问题。我刚刚第一次安装了 ubuntu,并尝试使用 Lutris 运行一些游戏,然后在收到有关图形的错误后,我开始挖掘,结果我的第二台显示器也无法被识别 ;)))
我尝试使用 NVIDIA 运行一些日志,得到了以下结果:
ERROR: Unable to build the NVIDIA kernel module.
ERROR: Unable to build the NVIDIA kernel module.
运行其他日志后我得到:
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 也只显示我的英特尔界面。
如果有人能帮助我,我将非常感激:)
更新:禁用 BIOS 上的安全启动解决了显示器问题,但我仍然遇到 NVIDIA 驱动程序的问题,我尝试“清除”它们并重新安装,但最终出现更多错误:
下面我粘贴了尝试安装 nvidia-driver-460 时出现的错误
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
nvidia-driver-460 : Depends: libnvidia-gl-460 (= 460.67-0ubuntu0~0.20.04.1) but it is not going to be installed
Depends: nvidia-compute-utils-460 (= 460.67-0ubuntu0~0.20.04.1) but it is not going to be installed
Depends: libnvidia-decode-460 (= 460.67-0ubuntu0~0.20.04.1) but it is not going to be installed
Depends: libnvidia-encode-460 (= 460.67-0ubuntu0~0.20.04.1) but it is not going to be installed
Depends: nvidia-utils-460 (= 460.67-0ubuntu0~0.20.04.1) but it is not going to be installed
Depends: xserver-xorg-video-nvidia-460 (= 460.67-0ubuntu0~0.20.04.1) but it is not going to be installed
Depends: libnvidia-cfg1-460 (= 460.67-0ubuntu0~0.20.04.1) but it is not going to be installed
Depends: libnvidia-ifr1-460 (= 460.67-0ubuntu0~0.20.04.1) but it is not going to be installed
Depends: libnvidia-fbc1-460 (= 460.67-0ubuntu0~0.20.04.1) but it is not going to be installed
Recommends: libnvidia-compute-460:i386 (= 460.67-0ubuntu0~0.20.04.1)
Recommends: libnvidia-decode-460:i386 (= 460.67-0ubuntu0~0.20.04.1)
Recommends: libnvidia-encode-460:i386 (= 460.67-0ubuntu0~0.20.04.1)
Recommends: libnvidia-ifr1-460:i386 (= 460.67-0ubuntu0~0.20.04.1)
Recommends: libnvidia-fbc1-460:i386 (= 460.67-0ubuntu0~0.20.04.1)
Recommends: libnvidia-gl-460:i386 (= 460.67-0ubuntu0~0.20.04.1)
E: Unable to correct problems, you have held broken packages.
软件和更新中的 NVIDIA 是 GP107M [GeForce GTX 1050 Mobile]
答案1
我设法通过“清除” 460 驱动程序和所有 nvidia 驱动程序解决了我的问题。不过对我有用的驱动程序是 de 450。