256k VBIOS dumps (like that of my XFX R9 280X) do not work for the time being! It has something to do with Python's
bytearray()
, not sure what yet. And it doesn't really help that I don't know how to program in Python.
In my particular case, the GOP starts at 128k (0x10000), so maybe deleting everything from then on and concatenating the patched Mac EFI code + header to the now empty space would fix the issue?
I'll have to test whether netkas' original script can handle this...
EDIT: 256k dumps shouldn't exist :v
Maybe
amdvbflash
is a bit wonky... well, if all else fails - as in, you get a 256k VBIOS instead of 64k or 128k - just use GPU-Z on Windows, I guess.
EDIT: For posterity, I wasn't able to get the boot picker working with my XFX card's stock VBIOS, so I turned to other brands' VBIOS.
ASUS(?) and HIS didn't show the boot picker, but worked fine in macOS.
MSI showed the boot picker, but was buggy in macOS. Graphical artifacts, freezing, etc.
VisionTek is what eventually worked for me, specifically this VBIOS:
https://www.techpowerup.com/vgabios/152045/visiontek-r9280x-3072-131024
I haven't tested all the ports; I just needed one DVI port, and the black one works fine.