Nvidia drivers on Ubuntu 21.04 (Hirsute hippo)
7,080
Little late for this but I just encountered this issue and I fixed it by reinstalling the Nvidia drivers:
sudo apt reinstall nvidia-driver-460
I didn't install anything that could cause this issue but Ubuntu had a few updates and it happened after that.
Related videos on Youtube
Author by
Sašo Pavlič
Updated on September 18, 2022Comments
-
Sašo Pavlič over 1 year
Can someone help me to install drivers for my Nvidia GPU RTX 3080 on Razer Blade Advanced 2021?
I'm curious if I did something wrong during the fresh installation. (Everything was working fine on Ubuntu 20.04 LTS)
Original issue: The second monitor is not detected on Wayland
I've tried following code and got this message:
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:~$
EDIT 1: I can't select a different driver either. During the installation, I've ticked the box to install 3rd party drivers, tools...
Thank you in advance!