GPU passthrough only works partially

noami

New Member
Nov 28, 2024
3
0
1
Hi!
Would really be thankful for any help.
My system with GPU reboots every two hours of usage.
After much effort I was able to get the GPU windows passthrough on my mini-pc (HX99G). But now it reboots all the time.

Hardware
AMD Ryzen 9 6900HX
AMD Radeon RX 6600M

Configuration:
Code:
agent: enabled=1
args: -D /var/log/qemu-server/200.log -d guest_errors
bios: ovmf
boot: order=scsi0
cores: 7
cpu: host
efidisk0: local-lvm:vm-200-disk-0,efitype=4m,pre-enrolled-keys=1,size=4M
hostpci0: 03:00.0,pcie=1,x-vga=1,romfile=vbios_clean.rom
# hostpci0: 03:00.0,pcie=1,x-vga=1,romfile=vbios.rom
hostpci1: 03:00.1,pcie=1
hugepages: 1024
machine: pc-q35-8.1
memory: 24576
meta: creation-qemu=8.1.5,ctime=1730879746
name: win11-gaming
net0: virtio=BC:24:11:EF:C0:AF,bridge=vmbr0,firewall=1
numa: 1
ostype: win11
scsi0: local-lvm:vm-200-disk-1,discard=on,iothread=1,size=82G
scsi1: local-lvm:vm-200-disk-3,backup=0,iothread=1,size=400G
scsihw: virtio-scsi-single
serial0: socket
smbios1: uuid=c10597...
sockets: 1
tpmstate0: local-lvm:vm-200-disk-2,size=4M,version=v2.0
vga: none
vmgenid: af5dc79c-e3...

Hints
  • In windows events manager I'm seeing BugcheckCode 239 . That's the only indication of something gone wrong in windows. I've checkd and there's nothing scheduled that could cause that.
  • I've tried playing with x-vga. It doesn't have any effect.
  • Removed audio component passthrough - didn't resolve issues
  • Enabled QEMU debugging.
  • Checked for schedule services in windows and PVE that could trigger every two hours.
  • Checked IOMMU grouping - appears correct
  • When the VM boots I'm seeing :
Code:
Invalid read at addr 0xE0100000, size 4, region '(null)', reason: rejected
Invalid read at addr 0xE0100004, size 4, region '(null)', reason: rejected
Invalid read at addr 0xE0100008, size 4, region '(null)', reason: rejected
Invalid read at addr 0xE010000C, size 4, region '(null)', reason: rejected
Invalid read at addr 0xE0100010, size 4, region '(null)', reason: rejected
Still everything works as expected (for two hours).



I'm about to give up on having a working gpu passthrough. Any help would be greatly appreciated!
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!