Hello all, I am a very green linux/home NAS user and am having a reset issue on windows 10 VM on Proxmox 9.1.9 with my 5700 XT. I am running my system with a single GPU headless and want the ability to access my NAS (contained within the same physical system) to stream from Jellyfin/Immich/etc. and windows is the only solution my wife agreed to use. I have tried what feels the kitchen sink to get the GPU passthrough initially (which now works... relaibly?) and then device reset to work. I have followed around a dozen guides and forum posts for fixes but nothing seems to work. Currently, this is my VM setup from vmconfig:
For some reason q35-6.2 is the only machine version that will result in a display output reliably. 6.0 worked a couple of times but then stopped.
This is my /etc/default/grub:
I have installed
from github and made a bunch of other changes based on forum suggestions I can't even remember. From dmesg I do get the following:
which referrs to 0000:28:00.0 being the 5700 XT.
Without a host reboot if I try to shut down and then start the VM I get the following error:
Thank you in advance. If you need any more information, please include instructions on how I would generate/access it as I am on around day 3 of working with Linux and, as I said, have no clue what I am doing! I am, however, open to roasting and learning.
Code:
agent: 1
bios: ovmf
boot: order=scsi0;net0
cores: 6
cpu: host
efidisk0: local-lvm:vm-169-disk-0,efitype=4m,ms-cert=2023k,pre-enrolled-keys=1,size=4M
hostpci0: 0000:28:00,pcie=1,rombar=0
ide0: local:iso/virtio-win-0.1.285.iso,media=cdrom,size=771138K
ide2: local:iso/Windows.iso,media=cdrom,size=4779200K
machine: pc-q35-6.2
memory: 8192
meta: creation-qemu=10.1.2,ctime=1777839856
name: windowsVM
net0: rtl8139=BC:24:11:32:90:93,bridge=vmbr0,firewall=1
numa: 0
ostype: win10
scsi0: local-lvm:vm-169-disk-1,iothread=1,size=250G
scsihw: virtio-scsi-single
smbios1: uuid=80088a79-4793-4ef4-b942-69b009fc8cc2
sockets: 1
usb0: host=1-9
vga: none
vmgenid: f7404ec1-3457-437b-a94a-2d7a142b6a4c
For some reason q35-6.2 is the only machine version that will result in a display output reliably. 6.0 worked a couple of times but then stopped.
This is my /etc/default/grub:
Code:
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=`( . /etc/os-release && echo ${NAME} )`
GRUB_CMDLINE_LINUX_DEFAULT="quiet iommu=pt pcie_acs_override=downstream,multifunction nofb nomodeset video=vesafb:off,efifb:off"
GRUB_CMDLINE_LINUX=""
I have installed
Code:
vendor-reset
Code:
[ 117.590893] vfio-pci 0000:28:00.0: resetting
[ 117.591058] vfio-pci 0000:28:00.0: reset done
[ 117.617389] vfio-pci 0000:28:00.0: resetting
[ 117.617467] vfio-pci 0000:28:00.1: resetting
[ 117.744717] vfio-pci 0000:28:00.0: reset done
[ 117.744770] vfio-pci 0000:28:00.1: reset done
[ 123.801122] usb 1-9: reset full-speed USB device number 2 using xhci_hcd
which referrs to 0000:28:00.0 being the 5700 XT.
Without a host reboot if I try to shut down and then start the VM I get the following error:
Code:
error writing '1' to '/sys/bus/pci/devices/0000:28:00.0/reset': Inappropriate ioctl for device
failed to reset PCI device '0000:28:00.0', but trying to continue as not all devices need a reset
kvm: ../hw/pci/pci.c:1815: pci_irq_handler: Assertion `0 <= irq_num && irq_num < PCI_NUM_PINS' failed.
TASK ERROR: start failed: QEMU exited with code 1
Thank you in advance. If you need any more information, please include instructions on how I would generate/access it as I am on around day 3 of working with Linux and, as I said, have no clue what I am doing! I am, however, open to roasting and learning.