AMD GPU Passthrough Reset Issue

2Stoned

New Member
Feb 6, 2020
24
1
3
33
Hi there

I'm passing through an RX580 AMD GPU to an Ubuntu 20.04 VM. I can restart the VM from within the VM, but not from the host. When I shut down the VM I cannot restart it from the host. I won't get graphic output anymore. I read about this issue a lot, but I did not come across a solution yet. Is there no solution to it besides waiting for a new kernel that addresses this issue?

Code:
agent: 1

args: -machine type=q35,kernel_irqchip=on

audio0: device=ich9-intel-hda,driver=spice

balloon: 8192

bios: ovmf

bootdisk: scsi0

cores: 12

cpu: host

efidisk0: VMstorage:vm-102-disk-1,size=1M

hostpci0: 0a:00,pcie=1

machine: q35

memory: 60000

name: Ubuntu

net0: virtio=B2:5E:C6:CA:A0:A5,bridge=vmbr0,firewall=1

numa: 1

ostype: l26

scsi0: VMstorage:vm-102-disk-0,cache=writeback,discard=on,size=32G,ssd=1

scsihw: virtio-scsi-pci

shares: 5000

smbios1: uuid=bd85f4fe-370e-4299-9ce2-a39f2f997fe9

sockets: 1

usb0: host=046d:c52b,usb3=1

usb1: host=1af3:0001,usb3=1

usb2: host=04d9:0169,usb3=1

usb3: host=046d:0819,usb3=1

usb4: host=048d:8297,usb3=1

vga: none

vmgenid: fdfa3441-a8f0-48f5-8063-2d633183ffa4

Thank you very much for any hints. :)
 
this sounds very much like the 'AMD Reset Bug', just search via your favourite search engine there you can find more information
(sadly its a combo of hardware and driver problem, and it seems to not be easily fixable)