I just have a question about framebuffer allocation right now. I'll continue testing the other the other things you mentioned to try.
I have been following the guide
https://www.tonymacx86.com/threads/...lensize-patch-with-32mb-dvmt-prealloc.221506/
As a result, this is what I created:
Comment: 0x19160000/etc, 128MB BIOS, 83MB framebuffer 34MB cursor bytes (credit RehabMan)
Name: AppleIntelBDWGraphicsFramebuffer
Find: 00002002 00005001
Replace: 00000005 00000002
But this causes my system to reboot, as well as trying 00000001 instead of 00000002. I've also tried the default (found at
https://github.com/RehabMan/OS-X-Clover-Laptop-Config/blob/master/config_HD515_520_530_540.plist):
Comment: 0x19160006, 32MB BIOS, 19MB framebuffer, 9MB cursor bytes (credit RehabMan)
Name: AppleIntelBDWGraphicsFramebuffer
Find: 00002002 00005001
Replace: 00003001 00009000
But this causes my system to hang, which makes sense this wouldn't work as the 4K display requires the system to have 64MB or more of DVMT allocated memory.
I also tried:
Comment: 0x19160006, 128MB BIOS, 83MB framebuffer, 34MB cursor bytes (credit RehabMan)
Name: AppleIntelBDWGraphicsFramebuffer
Find: 01030303 00002002 00005001
Replace: 01030303 00000005 00000002
But it didn't seem to make a difference, and my device rebooted as well.