I myself have had difficulties for months using macinabox with a graphics card after a motherboard change.
I even recently updated to the latest Unraid version, although it's a beta, but without success.
Apparently, the issue lies with the selected QEMU version. With all the new versions, despite correct IDs and multifunction=1 for the graphics card, I was never able to boot the VM successfully with the graphics card.
The VM would get stuck at the Apple logo.
In the meantime, I also had trouble passing through a dedicated USB-PCI card correctly.
Over VNC, there were never any issues.
I am using a 6800XT and not a 6900 like you (here, the card may need to be spoofed).
What works for me now is QEMU version 6.0; unfortunately, anything above that doesn’t work and causes the VM to hang at the Apple logo again.
Maybe this helps someone.
Can someone explain why it works with QEMU v6.0 and why other QEMU versions cause this issue?
I’m just glad to have GPU passthrough working again under Unraid and macOS, and I’m happy, but I'm still curious about the root cause.
Of course, I have updated OpenCore. I was about to give up since this issue has been frustrating me for months, and without graphics acceleration, macOS wasn’t really usable for my purposes.