Prevent GPU from using the physical display

May 16, 2020
271
16
38
51
Antwerp, Belgium
commandline.be
Hey,


Restarting with a test for GPU passthrough I find myself unable to prevent the VM from capturing the physical display.

The GPU is not mapped and is passed through to a single VM.

/etc/modprobe.d/vfio.conf contains options vfio-pci disable_vga=1 enable_sriov=0

I've tried adding on or more of the below as boot parameters to no avail, i check with cat /proc/cmdline if they're loading and they do.

nomodeset
initcall_blacklist=sysfb_init
nofb nomodeset text video=efifb:off

I'm sure it is possible but i've yet to find again how.

Cheers,

JL