Attention amd vfio users do not update your bios

Best hope is a dual bios board or AFUWin capsule mode

Taichi x470 latest BIOS.

I wish i read this or that yellow text better before updating my bios. I didnt run into any major issues stopping me from using my PC.

However… I cannot run qemu getting vfio error for the RX 580 which is the Guest card for my VM - Windows dedicated.

Error: VFIO: Unable to power on device, stuck in D3

Anyone know how to solve that yet?

Obviously this is a bios issue, with ASRock.

If i felt adventurous could switch on the solder station and take off the bios chip then erase it with older bios.

Decided to give my first kernel hacking a try.

It’s compiling now but i noticed a bunch of other people having the same issues as I did above, https://www.reddit.com/r/VFIO/comments/b7249z/asrock_ab350_pro4_downgradevfio_issues/en0jm04/?context=3

Incase this might help anyone else.

Aiber put out a new patch iirc

got a link?

https://clbin.com/VCiYJ

3 Likes

So im prob too pleb, Errors in formatting or something maybe. - problem fixed, I wasn’t doing it anywhere near right. Figured it out.

@tkoham was this posted in IRC? or you got actual source where this was spoken/posted?

I also had this issue with my ASUS x370-F when I upgraded to the latest BIOS. I was able to revert to my previous BIOS though.

Latest link by tkoham solves problem for me.

Yep problem has still some issues with some AMD gpus spoke to Aiber about it, he doesnt have any to play with so not sure what it would be. However patch does work. Restarting windows while in VM for amd gpus is kinda wierd and can crash the vm at least for my build.

@pantato that happen to you too ?

Might have to wait for bios fix from asrock to be fully functional but this will do!

gotta love it when you bought into a platform because you distrusted the industry leader and then the little guys break the biggest feature you wanted on it 3 times over the product lifecycle with months or years inbetween fixes

2 Likes

nope, VM is fully functional for me. We have the exact same hardware. Maybe try the other method of kernel compile?

edit: maybe try updating windows drivers?

This looks like a version of Geoff’s patch lol it’s just a misinterpretation of the pcie spec with who/what is responsible for save/restore config… Intel does it at a lower level outside the os iirc

yep, he tried it on a hunch and it worked.

which means they re-broke the same thing somehow.

I’m on it ™

2 Likes

good to know man keep us posted.

Sorry to bump this but with Ryzen 3000 coming out I was wondering if there had been any official communication from AMD on this, or is AMD now a dead platform for vfio users?

I am happy to report that x570 is generally better than it’s ever been on the AMD platform. It does vary from board to board. Check out the Linux channel video.

For older boards you should wait. The engineering time is focused on newest boards first seems like because newer boards have some other quirks

In a week or two check back here but I’d say things will be fine.

3 Likes

Thanks for the quick update.

Just to confirm the latest Gigabyte BIOS for the AX-370 Gaming 5 based on AGESA 1.0.0.3 AB doesn’t work.