No video output after installing Nvidia 470xx drivers on QEMU Virtual Machine

Hi all,

First of all, this happens to be with both EndeavourOS and Manjaro. I’ve been using Manjaro for a while but tried EndeavourOS due to this issue and so far I like it better and will likely stay! But unfortunately I’m still having the same issue here.

I have a QEMU virtual machine hosted on unRAID that I’m trying to set up with EndeavourOS. I’m passing through a GTX 650 TI to the virtual machine. The Nouveau drivers work fine, but unfortunately I can’t get hardware acceleration working with them enough to please Moonlight which is what I’m trying to run on this VM to stream games from my gaming PC. So I decided to go for the proprietary Nvidia drivers for my card.

I already confirmed that 470xx is the right version for this card, and I installed them with ‘yay -S nvidia-470xx-dkms nvidia-470xx-settings nvidia-470xx-utils’ they install fine. Then when I reboot the VM, I get absolutely no video output at all. No a black screen where I can use Ctrl Alt F2 to try to get to TTY2 or something, I mean the monitors are OFF because they are getting no video signal.

Now, I can SSH into the machine just fine and run commands. So far I ran ‘inxi -Ga’ and confirmed that the nvidia 470xx drivers ARE loaded for the GPU. But clearly they are not working for some reason.

Does anyone have any suggestions for me on what to try here? Like I said, it happens with Manjaro as well. I haven’t tried regular old Arch because I have no clue where to even begin with that, but it’s interesting that both Arch-based distros I’ve tried have the same behavior even though they have two different methods for installing the driver.

Thanks in advance for any help!

I tried running ‘journalctl | grep nvidia’ to see if anything there might be helpful. Here’s the result of that from the last bootup:

3e34701f1fd systemd.machine_id=a1559137f3b5455796f574ed4aca73ee
Dec 21 10:49:54 unVM-EndeavourOS kernel: Kernel command line: initrd=\a1559137f3b5455796f574ed4aca73ee\6.6.7-arch1-1\initrd nvidia-drm.modeset=1 nvme_load=YES nowatchdog rw root=UUID=7a82df80-554d-4183
-b1d6-e3e34701f1fd systemd.machine_id=a1559137f3b5455796f574ed4aca73ee
Dec 21 10:49:54 unVM-EndeavourOS dracut-cmdline[188]: Using kernel command line parameters:    initrd=\a1559137f3b5455796f574ed4aca73ee\6.6.7-arch1-1\initrd nvidia-drm.modeset=1 nvme_load=YES nowatchdo
g rw root=UUID=7a82df80-554d-4183-b1d6-e3e34701f1fd systemd.machine_id=a1559137f3b5455796f574ed4aca73ee
Dec 21 10:49:54 unVM-EndeavourOS kernel: nvidia: loading out-of-tree module taints kernel.
Dec 21 10:49:54 unVM-EndeavourOS kernel: nvidia: module license 'NVIDIA' taints kernel.
Dec 21 10:49:54 unVM-EndeavourOS kernel: nvidia: module verification failed: signature and/or required key missing - tainting kernel
Dec 21 10:49:54 unVM-EndeavourOS kernel: nvidia: module license taints kernel.
Dec 21 10:49:54 unVM-EndeavourOS kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number 237
Dec 21 10:49:54 unVM-EndeavourOS kernel: nvidia 0000:04:00.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=none:owns=none
Dec 21 10:49:56 unVM-EndeavourOS kernel: nvidia_uvm: module uses symbols nvUvmInterfaceDisableAccessCntr from proprietary module nvidia, inheriting taint.
Dec 21 10:49:56 unVM-EndeavourOS kernel: nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  470.223.02  Sat Oct  7 15:32:36 UTC 2023
Dec 21 10:49:56 unVM-EndeavourOS systemd-modules-load[181]: Inserted module 'nvidia_uvm'
Dec 21 10:49:56 unVM-EndeavourOS kernel: [drm] [nvidia-drm] [GPU ID 0x00000400] Loading driver
Dec 21 10:49:56 unVM-EndeavourOS kernel: nvidia-uvm: Loaded the UVM driver, major device number 235.
Dec 21 10:49:56 unVM-EndeavourOS kernel: [drm:nv_drm_load [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000400] Failed to allocate NvKmsKapiDevice
Dec 21 10:49:56 unVM-EndeavourOS kernel: [drm:nv_drm_probe_devices [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000400] Failed to register device```