Score:-1

NVidia driver Ubuntu 22.04

ax flag

I'm currently trying to set nvidia driver on Ubuntu 22.04 5.19.0-41-generic RTX 3080

And I'm struggling with NVidia drivers installation(probably as every linux user))

First, I've removed all previous nvidia packages and have installed nvidia-driver-470

$ dkms status
nvidia/470.182.03, 5.19.0-41-generic, x86_64: installed
r8168/8.049.02, 5.15.0-71-generic, x86_64: installed
r8168/8.049.02, 5.19.0-40-generic, x86_64: installed
r8168/8.049.02, 5.19.0-41-generic, x86_64: installed
$ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation CometLake-H GT2 [UHD Graphics] (rev 05)
01:00.0 VGA compatible controller: NVIDIA Corporation GA104M [GeForce RTX 3080 Mobile / Max-Q 8GB/16GB] (rev a1)
$ 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-driver
ii  nvidia-driver-470                                           470.182.03-0ubuntu0.22.04.1             amd64        NVIDIA driver metapackage

I've also tried nvidia-driver-525, nvidia-driver-530, nvidia-driver-530-open, behavior was the same.

Does anyone know what is the problem?

Nmath avatar
ng flag
*"Does anyone know what is the problem"* - I'm not certain that anyone will, because you didn't tell us what is the problem...
Hannu avatar
ca flag
I have yet to try 22.04, so based on experience with earlier Ubuntu versions: Make sure to remove ALL nvidia related software when attempting to swap driver. `dpkg --list | grep -E ^ii.*nvidia` (`ii` for' installed' and without `-driver`) might be a start
Hannu avatar
ca flag
@Nmath - what you're commenting may well be a translation-caused issue, i.e. not being fluent in English
Nmath avatar
ng flag
@Hannu Perhaps, but there are not many details about the problem. Nvidia drivers are generally configured when the system is installed. It's not clear when or how they became misconfigured, or if they were ever set up correctly to begin with. It's also not very clear what methods are being attempted to install drivers and so there are also no details about the results of those attempts, like error messages or logs that could help identify the problem well enough to know the solution.
Hannu avatar
ca flag
Yes, and: your comment now is more constructive ;-)
Score:0
in flag
MNa

i my case, the booted kernel was not the kernel, dkms build the modules, so after looking at 'uname -r' showed an oem kernel. In this case i needed to boot into the right kernel (hint grub_default) and then deinstalled the oem kernel. After this, nvidia-smi worked.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.