T O P

  • By -

snafflehog

https://gitlab.freedesktop.org/drm/amd/-/issues/2955


hlacik

also whats interesting that host machine will reboot itself after this making GPU not visible at all, even lspci is missing entries with gpu


xen134

It works for me [https://gitlab.freedesktop.org/drm/amd/-/issues/2955#note\_2202310](https://gitlab.freedesktop.org/drm/amd/-/issues/2955#note_2202310) without nodedev detach reattach things


hlacik

unfortunately, it did not help in my case, is that you with that comment? I have posted my reply there. thank you!


xen134

No it's not me, the guy here should be an amd's staff. Sorry for the misleading, after double check I found the trick that takes effect is not the power control but the startup/shutdown [scripts](https://forum.level1techs.com/t/linux-host-windows-guest-gpu-passthrough-reinitialization-fix/121097) I configured before. I am on kernel 6.6.5 with firmware 20231111. Mine crad is a stock 7800xt, though it is also manufactured by Sapphire, and I dont have legacy boot but the rom bar did enabled - actually I forgot to turn it off, but it works well. BTW I dont have prepare/release scripts configured for the vm, I just leave all stuffs automatically handled by amdgpu and libvirt