Set passthrough graphics card as primary graphics card in VM

floe-de

Cadet
Joined
Sep 23, 2023
Messages
1
I installed TrueNAS-SCALE-22.12.3.3 and created a virtual machine for Manjaro Linux. To the virtual machine I passed my 2nd graphics card Nvidia GT1030.
My goal is to output the image of the virtual machine on the tv screen via the HDMI port of the graphics card.

The graphics output via the VNC Display in a browser works, but no image comes via HDMI.

With the command inxi -G --display in the virtual machine, i.e. Manjaro Linux, I see that two graphics card drivers are loaded. "QXL" for the virtual graphics card and "nvidia" for the real graphics card. However, the virtual graphics card with the QXL driver is used as the primary graphics card, not the real graphics card. I also notice this in the Gnome settings, which does not recognize and offer the HDMI audio output of the real graphics card.

I had already tried to delete the qxl driver or prevent the loading, but then nothing works. The virtual machine doesn't start anymore and I don't get any display at all.

Can anyone help me with this problem.
 
Top