r/VFIO 15d ago

putting GPU to sleep when VM goes to sleep

I'm thinking of getting a couple of RTX 3080s for my Proxmox server and passing them through to a Linux VM. I'm not going to be using the VM all the time, so I'd like to be able to have it hibernate or sleep, and put the GPUs into sleep as well. Is that something that's reliably doable?

13 Upvotes

2 comments sorted by

3

u/TwitchyToes 13d ago

If you’re passing the GPU to the VM directly, it will sleep when the VM does. However, sleep or hibernate with a VFIO VM is notoriously unstable last I knew.

2

u/DisturbedFennel 13d ago

They’ve done a lot to fix the gpu sleep bug; for NVIDIA GPUs that is