Please use a dedicated installation method on Ubuntu instead of autoinstall. It is very likely that the kernel module compilation did not work correctly or some similar issue.
Please remove any currently installed NVIDIA drivers and kernel modules and install either through apt or through the “Software & Updates->Additional Dirvers” tab, using one of the proprietary NVIDIA drivers. NOT Open and NOT Server.
Thanks for the tip, I used apt install nvidia-driver-515 on baremetal ubuntu desktop 22.04 and I got nvidia-smi to actually work! This is great, first time I feel like I got somewhere, and at least I feel like my card isn’t dead.
So I tried to go back to the actual application I needed which was passthrough to esxi, tried installing the exact same distro, used the exact same install command and no devices were found
I realize there seems to be an issue with passthrough for virtualization and I got it working a few years ago, but recently i updated something and it broke and I’ve just been trying to to get it working again. nvidia-bug-report.log (1.4 MB)
I’ve tried going through this thread but still get stuck with the same issue
Alright, so I tried to spin up a popos, I ran sudo apt-get install nvidia-driver-515 and it installed 535. I tried to download the .run directly but couldn’t get it installed due to this error: Unable to load the kernel module ‘nvidia.ko’ 535bugreport.log (1.9 MB)
I was able to install 470 but still get the same issue no devices were found 470bugreport.log (1.5 MB)
When this was last working for me, I used sudo apt install --no-install-recommends nvidia-cuda-toolkit nvidia-headless-460 nvidia-utils-460 libnvidia-encode-460
Now when I use this, it installs 470 automatically and nvidia-smi does not work…