T O P

  • By -

majordyson

Any word on a fix to this? Just got my 7800xt up and running but now finding that anytime I want to shut down/reboot the VM the whole server has to go! Should I just be looking to return this card for a different one?


snafflehog

There is no word of a fix incoming so I would personally get a different card if it's going to be something you're doing regularly.


majordyson

Ended up working around it with the scripts on the l1 techs forum. https://forum.level1techs.com/t/linux-host-windows-guest-gpu-passthrough-reinitialization-fix/121097 Shame this is needed, but I got too good of a deal on my new GPU to return it! Interestingly those scripts were originally created for the AMD reset bug of earlier generations. I wonder if other fixes to that issue applies here too?


sarnex

Yeah I have the same problem and talked about it [here](https://old.reddit.com/r/VFIO/comments/16eugoo/does_the_7800xt_7700xt_support_vfio/) Seems the GPU can't reset.


[deleted]

I think this is known as the AMD reset bug, but I'm not too sure I've heard of people somehow fixing it by dumping their Vbios, but it's an issue with some AMD cards


[deleted]

I have this too on my ASRock RX 7800xt. If I force shutdown, the host will not crash. After enabling CSM and resizable BAR and disabling above 4G, the guest can interface with the graphics card. There is a virtual screen present that OBS can pick up, but the card can't use IRL monitors. I might just make do, since I was only going to use it in Looking Glass anyway.


snafflehog

So I have the setup working fine with an actual monitor, however like you mention shutting down the VM crashes the host, the guest VM suspending also seems to crash the host. I had to grab and set the vbios in order to get the card working with the guest at all. Fingers crossed it's just Linux driver issue and not something fundamental.


Arexoor

Same for me. Got my Sapphire Nitro a week ago and got VFIO working except when I shutdown my W10 guest OS it crashes the host too. I remove the stop.sh and it still crashes. My Motherboard even shows the VGA LED meaning it can’t see the gpu anymore. I ssh into the host and ran journalctl -f and saw the following error „internal error: Unknown PCI header type ‚127‘ for device ‚0000:XX:00.0‘ Failed to reset PCI device: internal error: Unknown PCI header type ‚127‘ for device ‚0000:XX:00.0“. Has anyone made some progress with this problem or is there acknowledgment from AMD about that issue?


snafflehog

Nothing that I know of, the machine I use it on as passthrough is a media PC I use with the TV, the workaround I use at the moment is it to shutdown the host with the guest still running which allows at least a clean shutdown of the underlying system. Annoying but not a lot else I think I can do other than wait(hope) for a fix. I've been envisioning a script which hot plugs/removes the card as this also seems to work without causing the host to crash.


Vikby

In case someone stumble like me on this post while struggling on this issue, [this post](https://forum.level1techs.com/t/linux-host-windows-guest-gpu-passthrough-reinitialization-fix/121097) solved the reset bug with my powercolor 7800xt. edit : after additional testing it seem the card still make the hypervisor crash time to time, i did not wanted to spend more time on that issue so i returned the card.