Windows 11 Gaming VM (GPU Passthrough) Shows No Output

agamkohli9

New Member
Nov 28, 2024
1
0
1
My Windows 11 VM for some reason no longer showed any output through console or GPU. Moonlight is showing it as offline. I tried everything but couldn't get an output.

I even set up a new Windows 11 VM and was able to see the console through SPICE, but after installing Windows, Apollo (streaming service), Steam, NVIDIA drivers, and rebooting, I am getting the same issue.

Console is showing noVNC saying "Guest has not initialized the display (yet).". After a few minutes, the screen turns black.

This has been racking my brain for hours. Please help.

My configurations:
Code:
root@pve:~# cat /etc/modprobe.d/iommu_unsafe_interrupts.conf
options vfio_iommu_type1 allow_unsafe_interrupts=1
root@pve:~# cat /etc/modprobe.d/kvm.conf
options kvm ignore_msrs=1
root@pve:~# cat /etc/modprobe.d/blacklist.conf
blacklist radeon
blacklist nouveau
blacklist nvidia
root@pve:~# cat /etc/modules
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
# Parameters can be specified after the module name.

vfio
vfio_iommu_type1
vfio_pci
vfio_virqfd
root@pve:~# cat /etc/default/grub
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet amd_iommu=on iommu=pt pcie_acs_override=downstream,multifunction nofb nomodeset video=vesafb:off,efifb:off isolcpus=4-7,12-15"
GRUB_CMDLINE_LINUX=""

# If your computer has multiple operating systems installed, then you
# probably want to run os-prober. However, if your computer is a host
# for guest OSes installed via LVM or raw disk devices, running
# os-prober can cause damage to those guest OSes as it mounts
# filesystems to look for things.
#GRUB_DISABLE_OS_PROBER=false

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
root@pve:~# cat /etc/modprobe.d/vfio.conf
options vfio-pci ids=10de:2484,10de:228b disable_vga=1
root@pve:~# cat /etc/pve/qemu-server/107.conf
affinity: 4-7,12-15
args: -cpu 'host,+kvm_pv_unhalt,+kvm_pv_eoi,hv_vendor_id=NV43FIX,kvm=off'
bios: ovmf
boot: order=scsi0;ide2;ide0;net0
cores: 8
cpu: host,hidden=1,flags=+pcid
efidisk0: local-btrfs:107/vm-107-disk-0.raw,efitype=4m,pre-enrolled-keys=1,size=528K
hostpci0: 0000:09:00,pcie=1,x-vga=1
ide0: local-btrfs:iso/virtio-win.iso,media=cdrom,size=708140K
ide2: local-btrfs:iso/Win11_24H2_English_x64.iso,media=cdrom,size=5683090K
machine: q35
memory: 16384
meta: creation-qemu=9.0.2,ctime=1757932335
name: windows11
net0: virtio=BC:24:11:93:39:CE,bridge=vmbr0,firewall=1
numa: 0
ostype: win11
scsi0: local-btrfs:107/vm-107-disk-1.raw,discard=on,iothread=1,size=64G
scsihw: virtio-scsi-single
smbios1: uuid=c7a17940-eec2-404d-9076-d9e2b15e33bb
sockets: 1
tpmstate0: local-btrfs:107/vm-107-disk-2.raw,size=4M,version=v2.0
vga: qxl
vmgenid: 752d88a4-4a82-4c55-801e-c5ba7d1780e2
root@pve:~# pveversion
pve-manager/8.4.13/5b08ebc2823dd9cb (running kernel: 6.8.12-15-pve)
root@pve:~#