有人可以帮我在 Razer Blade Advanced 2021 上安装 Nvidia GPU RTX 3080 的驱动程序吗?
我很好奇我是否在全新安装.(Ubuntu 20.04 LTS 上一切运行正常)
原始问题:Wayland 上未检测到第二台显示器
我尝试了以下代码并收到此消息:
spartan@razer-lt:~$ ubuntu-drivers devices
== /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0 ==
modalias : pci:v000010DEd000024DCsv00001A58sd00002016bc03sc00i00
vendor : NVIDIA Corporation
model : GA104M [GeForce RTX 3070 Mobile 16GB]
manual_install: True
driver : nvidia-driver-460 - distro non-free recommended
driver : nvidia-driver-460-server - distro non-free
driver : xserver-xorg-video-nouveau - distro free builtin
spartan@razer-lt:~$ sudo ubuntu-drivers autoinstall
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
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: nvidia-dkms-460 (>= 460.73.01)
Depends: nvidia-kernel-common-460 (>= 460.73.01) but 460.67-0ubuntu1 is to be installed
Recommends: nvidia-settings but it is not going to be installed
Recommends: nvidia-prime (>= 0.8) but it is not going to be installed
Recommends: libnvidia-compute-460:i386 (= 460.73.01-0ubuntu1)
Recommends: libnvidia-decode-460:i386 (= 460.73.01-0ubuntu1)
Recommends: libnvidia-encode-460:i386 (= 460.73.01-0ubuntu1)
Recommends: libnvidia-ifr1-460:i386 (= 460.73.01-0ubuntu1)
Recommends: libnvidia-fbc1-460:i386 (= 460.73.01-0ubuntu1)
Recommends: libnvidia-gl-460:i386 (= 460.73.01-0ubuntu1)
E: Unable to correct problems, you have held broken packages.
spartan@razer-lt:~$
编辑 1:我也无法选择其他驱动程序。在安装过程中,我勾选了安装第三方驱动程序、工具的复选框...
先感谢您!
答案1
虽然有点晚了,但我刚刚遇到了这个问题,并通过重新安装 Nvidia 驱动程序解决了它:
sudo apt reinstall nvidia-driver-460
我没有安装任何可能导致此问题的东西,但是 Ubuntu 进行了一些更新,之后就发生了此问题。
答案2
首先打开 Synaptic 并尝试重新安装有问题的软件包。其次,注释有问题的软件包的名称并清除它,然后安装这些软件包。第三,如果它不起作用,您可以尝试安装这些无法使用终端选择的驱动程序,我的帖子更好地解释了如何操作。请记住在安装任何东西之前进行备份(我建议在 Timeshift 上进行备份)使用:sudo apt-get install name(程序、软件包、驱动程序等),我在本帖中更好地解释了:我该如何让驱动程序自动安装/升级?手动安装/升级又如何?
答案3
最终的解决方案是重新安装 Ubuntu 21.04。我猜晚上会有一些新的更新,并修复 Nvidia GPU 卡的问题。