r/VFIO • • Sep 13 '26

Support How do those of you running AMD cards deal with thermal management when the VM is off?

I’ve finally gotten GPU pass through working with my 7800xt (vfio-pci grabs the device on boot, I had to install vendor-reset, and I needed to disable resizable bar), but whenever the VM is powered off, the card’s fans run at full speed (or at least close to it).

One of the common solutions I’ve seen for this is to just run a minimal VM to hand the GPU over to when it’s not in use. Does anyone deal with this in a less janky way?

If I try and let amdgpu grab the card first, it seems like some part of the stack does try and rebind the GPU to the vfio-pci driver before starting, but then that puts the GPU in a weird state and the VM has no video out over the card.

I was also hoping if I tried turning on ASPM, that would fix the issues, but nothing changed on that front either.

Is there an obvious solution I’m missing, or is a dummy VM the only feasible option for these cards?

Edit: I have also tried manually unbinding from radeon to vfio-pci, following the guide in the wiki minus the kernel patch mentioned, and it doesn't work, and rebinding on the host causes "PSP load kdb failed" to print in dmesg (Notably the same message I'd get on the guest when the card wasn't resetting properly).

3 Upvotes

3 comments sorted by

2

u/nicman24 Sep 13 '26

I rebind it to amdgpu.

Thought sometimes shutdown won't work after, even with reisub.. 

1

u/looncraz Sep 13 '26

Leave the VM that meeds it running and hibernate it?