I am trying to set up a way to use my Linux normally and then on demand fire up an OSX VM with GPU passthrough.

Arch Linux
Gigabyte RX6600xt
macos 13 Ventura VM

I’ve been fucking around with it for two days, getting a bit further each time, but now I am stuck.

I can boot up the vm just fine with OpenCore-Boot.sh

Here is my script:

https://pastebin.com/McyHyMk4

What I see, the screen goes black, then I see the TianoCore boot logo, then some errors and nothing more happens. https://imgur.com/JdTkXG2

I ran info pci via telnet and it showed the GPU.

I have agdpmod=pikera in the config.plist and rebuilt the OpenCore.qcow2 according to the official instructions.

When I add a vnc option and vnc into it from another computer, I can see the proper boot menu and select an entry and boot into macos. It even seems to recognize an AMD gpu, but not fully.

Please tell me any debugging / info providing steps, as I am quite new to this.

Thank you very much for your time and effort.