Did you already check if the gpu works correctly in a bare metal setup? Ruling out that your not trying to use a dead gpu…
In case the nvidia module can’t be found, it’s likely the driver compilation failed, please run nvidia-bug-report.sh as root and attach the resulting nvidia-bug-report.log.gz file to your post.
Hello. My gpu works correctly in bare metal and also inside a vm that I’ve created under linux with qemu + kvm. First of all I’ve found what’s the working configuration on Linux and then I’ve used it on Freebsd with bhyve and I’ve seen that it does not work. In addition today I’ve removed the GTX 1060 totally from the PC and it’s place has been taken by the RTX 2080 ti. Now I have one only graphic card on my system. And it does not work the same. It didn’t matter that I’ve moved the RTX 2080 ti on the slot 2.
ok. options nvidia NVreg_ResmanDebugLevel=0 NVreg_RegistryDwords=“OverrideMaxPerf=0x1” has been accepted…but I’m using the driver 470,not the 460. The 460 does not work as I’ve shown above. I will try again to reinstall 460.
I tried with Debian 10 and Debian 11,the following procedure,but it never worked. I don’t know why : (under Linux,with qemu + kvm). Instead,it worked with debian 11 + cuda 11 and nvidia driver 470,as u have probably seen the messages that I’ve posted before this.
Instead,the instructions below worked like a charm on debian 11. I’m so sure that there is a bug on the cuda packages 11.2.2 when they are installed on debian 10 and even 11.
wget https://developer.download.nvidia.com/compute/cuda/11.4.1/local_installers/cuda-repo-debian10-11-4-local_11.4.1-470.57.02-1_amd64.deb
sudo dpkg -i cuda-repo-debian10-11-4-local_11.4.1-470.57.02-1_amd64.deb
sudo apt-key add /var/cuda-repo-debian10-11-4-local/7fa2af80.pub
sudo add-apt-repository contrib
apt-get update
apt-get cuda
apt-get install cuda
cuda 11.2 also contains driver 460, if it doesn’t install, I’dd guess the kernel is too new so it doesn’t compile.
The option OverrideMaxPerf is broken/ignored by drivers 470 and up.
nope. I’ve installed cuda 11.2 and the driver 460 on debian 10 and 11. It does not work in both cases. Cuda 11.2 and driver 460 have been created for debian 10 and I’ve used debian 10. They don’t work. I don’t remember if I have added the OverrideMaxPerf on Debian 10 + cuda 11.2 + driver 460,but I can do it now.
wait a moment. I’d thought to do that,but I’m not sure that it will be accepted if I use the debian packages,do u agree ? nvidia takes care only of the official .run installers. do u agree ? If I use deb packages they could easily tell me to ask to the debian developers.
point 3 of the rules :
In case of NVIDIA Linux graphics driver installation problems (when using one of the official .run installers), please attach the NVIDIA installer log file, /var/log/nvidia-installer.log .
ohhh ok. now I understand…ok…I’m going to attach it here…I wil send you a personal message,since maybe inside the file there are personal informations…done. check your personal messages.
yes. it runs on top of qemu and kvm. No,I forgot to hide the hypervisor. BUT,if this cares,why,installing : cuda-repo-debian10-11-4-local_11.4.1-470.57.02-1_amd64.deb,the problem is not present ? I should see the same error,since I keep the hypervisor not hidden in both cases.
Like you mentioned in your early posts, consumer gpu passthrough regulations have changed beginning with v465. Whether this applies to the linux driver or only to the windows driver, is not known to me, infos are scarce.
This problem is fixed. Hiding the hypervisor worked. Now can we come back where we started ? to the earlier problem ? to bhyve. I will go under FreeBSD and I will try if this working vm runs even there.