Got this working for a Red Devil 9070, with some help from the Proxmox forums!
I didn’t do anything on Proxmox itself, other than commenting out the amdgpu
line in the '/etc/modprobe.d/blacklist.conf
file.
I did update the kernel and mesa on the VM that I passed the GPU through to, to their 6.13 and 25 versions, respectively.
We made a script similar to the one posted here, but edited for the 9070:
#!/bin/bash
echo "0000:03:00.0" > /sys/bus/pci/drivers/vfio-pci/unbind
sleep 2
echo "0000:03:00.0" > /sys/bus/pci/drivers/amdgpu/bind
sleep 2
As long as I run this after VM shutdown and/or before starting the VM again, I can (so far) reliably restart the VM without having to restart the Proxmox host.
I did save the output of journalctl -f
when I start the VM, not sure where to post that, or if it’s helpful for anyone at all, but as of now – it’s working (although the VM doesn’t display the card name correctly, it definitely works)