AMD Ryzen 5600G iGPU code 43 error

Yes, like I said without vendor-reset qemu will refuse to start because of "pci_hp_register failed with error -16" when you start it the second time, which is the reset bug. And for me it never worked the first time in the first place without vendor-reset it was 100% broken.

Like I said I can now restart Qemu however often I need because of adding 5600G iGPU product ID (0x1638) to vendor reset.

I said this right in the first post I made.

On the other hand to get rid of Code 43, use Niemez driver with mentioned options/versions + Qemu UEFI + VBIOS file (+ other mentioned stuff?)

Then to get rid of possible host crash bug only when Qemu starts, use Virtual-Display-Driver instead of plugging in physical display / dummy cable.

= works 100%

(One detail that doesn't work but that of course is to be expected: when I suspend the host PC to memory while VM is running, the iGPU will no longer work after I wake the host PC up. And this persists even after I restart Qemu. I had mixed success fixing this with a combo of PCIe reset while the amdgpu driver was loaded & rebound, which requires you to power off VM of course - not totally sure about this yet - Naturally it only makes sense to solve this problem, by blocking suspend when VM is active. So you don't need a script that fixes broken state like this, because either way you can't suspend host PC while VM is running. It would be pointless.)
 
Last edited:
I don't know what I've done differently except for the entries in grub. But it seems to work now. I am thrilled.

Thanks a lot!
 

Attachments

  • 1733695012823.png
    1733695012823.png
    598.3 KB · Views: 7
  • Like
Reactions: ballerburg9005

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!