I’m struggle about several hours to make work my 3080Ti with Ubuntu 21.10. I have win10 with ubuntu as dual boot systems. The GUI works fine without any lagging but my HDMI port not working and I think problem related to some issue with Nvidia drivers. Secure boot is disabled.
kernel:
$ uname -a
Linux rog 5.16.14-051614-generic #202203111231 SMP PREEMPT.
Graphics in system information detects as:
llvmpipe (LLVM 12.0.1, 256 bits)
Nvidia smi Output:
$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.
$ dpkg -l | grep nvidia
ii libnvidia-cfg1-510:amd64 510.54-0ubuntu0.21.10.1 amd64 NVIDIA binary OpenGL/GLX configuration library
ii libnvidia-common-510 510.54-0ubuntu0.21.10.1 all Shared files used by the NVIDIA libraries
ii libnvidia-compute-510:amd64 510.54-0ubuntu0.21.10.1 amd64 NVIDIA libcompute package
ii libnvidia-compute-510:i386 510.54-0ubuntu0.21.10.1 i386 NVIDIA libcompute package
ii libnvidia-decode-510:amd64 510.54-0ubuntu0.21.10.1 amd64 NVIDIA Video Decoding runtime libraries
ii libnvidia-decode-510:i386 510.54-0ubuntu0.21.10.1 i386 NVIDIA Video Decoding runtime libraries
ii libnvidia-egl-wayland1:amd64 1:1.1.7-2build1 amd64 Wayland EGL External Platform library – shared library
ii libnvidia-encode-510:amd64 510.54-0ubuntu0.21.10.1 amd64 NVENC Video Encoding runtime library
ii libnvidia-encode-510:i386 510.54-0ubuntu0.21.10.1 i386 NVENC Video Encoding runtime library
ii libnvidia-extra-510:amd64 510.54-0ubuntu0.21.10.1 amd64 Extra libraries for the NVIDIA driver
ii libnvidia-fbc1-510:amd64 510.54-0ubuntu0.21.10.1 amd64 NVIDIA OpenGL-based Framebuffer Capture runtime library
ii libnvidia-fbc1-510:i386 510.54-0ubuntu0.21.10.1 i386 NVIDIA OpenGL-based Framebuffer Capture runtime library
ii libnvidia-gl-510:amd64 510.54-0ubuntu0.21.10.1 amd64 NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
ii libnvidia-gl-510:i386 510.54-0ubuntu0.21.10.1 i386 NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
ii nvidia-compute-utils-510 510.54-0ubuntu0.21.10.1 amd64 NVIDIA compute utilities
ii nvidia-dkms-510 510.54-0ubuntu0.21.10.1 amd64 NVIDIA DKMS package
ii nvidia-driver-510 510.54-0ubuntu0.21.10.1 amd64 NVIDIA driver metapackage
ii nvidia-kernel-common-510 510.54-0ubuntu0.21.10.1 amd64 Shared files used with the kernel module
ii nvidia-kernel-source-510 510.54-0ubuntu0.21.10.1 amd64 NVIDIA kernel source package
ii nvidia-prime 0.8.17.1 all Tools to enable NVIDIA’s Prime
ii nvidia-settings 470.57.01-0ubuntu3.1~0.21.10.1 amd64 Tool for configuring the NVIDIA graphics driver
ii nvidia-utils-510 510.54-0ubuntu0.21.10.1 amd64 NVIDIA driver support binaries
ii screen-resolution-extra 0.18.1 all Extension for the nvidia-settings control panel
ii xserver-xorg-video-nvidia-510 510.54-0ubuntu0.21.10.1 amd64 NVIDIA binary Xorg driver
I also tried to setup drivers from NVIDIA-Linux-x86_64-510.54.run but after it the latptop hangs and after reboot only CLI works without GUI the same happened when I tried to set Nvidia drivers through Software & Updates → Additional drivers → Nvidia drivers-510 (proprietary).
After this steps my external monitor starts to work but laptop is not. Also I found that Nvidia X Server Settings is appeared and there is correct detection of my GPU NVIDIA GeForce RTX 3080 Ti Laptop GPU (GPU 0)
in the X Server Dsiplay Configuration under drop-down menu for Selection there is Lenovo and X screen 0 but X screen 0 is not configurable.
Drivers output still shows information without model. And the About System also shows NVIDIA Corporation under Graphics section without model description. nvidia-bug-report.log.gz (330.2 KB)
To wix my wifi AX211 module I upgraded to 5.14.16 through the mainline installer. And the new info looks like this.
nsimonov@work:~/Downloads$ sudo ubuntu-drivers devices
[sudo] password for nsimonov:
== /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0 ==
modalias : pci:v000010DEd00002420sv00001043sd00001B2Cbc03sc00i00
vendor : NVIDIA Corporation
driver : nvidia-driver-510 - distro non-free recommended
driver : xserver-xorg-video-nouveau - distro free builtin
nsimonov@work:~/Downloads$ dkms status
backport-iwlwifi, 9340, 5.13.0-35-generic, x86_64: installed
nvidia, 510.47.03, 5.13.0-35-generic, x86_64: installed
nvidia, 510.47.03, 5.14.16-051416-generic, x86_64: installed
nsimonov@work:~/Downloads$ nvidia-smi
Sun Mar 13 22:12:32 2022
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 510.47.03 Driver Version: 510.47.03 CUDA Version: 11.6 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 NVIDIA GeForce ... Off | 00000000:01:00.0 On | N/A |
| N/A 59C P8 18W / N/A | 481MiB / 16384MiB | 0% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 2071 G /usr/lib/xorg/Xorg 237MiB |
| 0 N/A N/A 2242 G /usr/bin/gnome-shell 94MiB |
| 0 N/A N/A 2932 G ...159419727132108099,131072 147MiB |
+-----------------------------------------------------------------------------+
nsimonov@work:~/Downloads$
I didn’t change anything else and seems like on the startup my laptop screen shows some lines from kernel boot and then hagns and external monitor start working.
The latest one which is advised to upgrade is 5.16-18ubuntu1~impish, is my nvidia-510 driver will run fine with this kernel, just don’t want to break something?
Even 3080Ti shows in the system info. The one thing that in The NVIDIA Prime the option Intel is grayed out but it not bother me. Do you know if 18.04 support this kernel and all this hardware? just 18.04 will be better for my work project because qemu works unstable and laggy? The thread can be closed
Maybe it will be usefull to someone the steps to upgrade 1. sudo add-apt-repository ppa:damentz/liquorix && sudo apt-get update 2. sudo apt-get install linux-image-liquorix-amd64 linux-headers-liquorix-amd64 3 reboot -n