Contribute
Register

[GUIDE] General Framebuffer Patching Guide (HDMI Black Screen Problem)

br6

Joined
Jul 25, 2018
Messages
8
Motherboard
Intel B360
CPU
Intel Core i5-8400
Graphics
intel UHD 630
Hi there, I am having some trouble figuring this out alone.
Usually, I'd avoid asking for help but I really don't know what to do anymore :)

Hardware: i5 9600k (Coffe Lake Refresh) on an ASUS ROG STRIX H370-I.

plaftorm-id: 0x3E9B0007 (But I've tried them all!)
Not spoofing device-id as suggested on WEG's README (But I tried anyway!)
If I set an invalid platform-id then I get HDMI output, but no HW acceleration.

I have tried patching manually by changing the properties in alldata form. I tried every BusID (00 to 06) on every Index (conn0 to conn2). Setting to HDMI (00080000) the one I was testing and DP (00040000) on the other two and rebooting. That's 18 reboots for this test alone, but I think now I'm over 200 reboots just to get this working :D

Then I tried to copy somebody's else configuration (from users with my same mobo), and they all seemed to disable conn1/2 and setting BusID 4 on conn0. First of all, I don't understand how is it possible that copying the framebuffer patches from another user with the same mobo and with same platform-id does not work (Please if somebody can help me to understand this I'd appreciate it!)

The only thing I haven't tried to manually change is pipe values.
I manage to run Hackintool by using TeamViewer and I can see the iGPU is correctly recognized.

At, first I had this configuration:
Index: 1 - BusID: 0x05 - Pipe: 9 - Type 00040000
Index: 2 - BusID: 0x04 - Pipe: 10 - Type 00040000
Index: 3 - BusID: 0x06 - Pipe: 8 - Type 00040000


Then after switching SMBIOS (from iMac19,1 to Macmini8,1) I now get all the Pipe values set on 18 (weird).

How can I proceed? I'm willing to invest more time into this, I just don't know what to do next.
Should I try all possible pipe values? Go through all the BusIDs from 0 to 6 again?

I'll attach my EFI for reference. Thanks in advance people! :)
I have the same issue, I have seen its an issue with a combo of WEG and Catalina 15.5.5, I have supplemented update also, VNC works, the updates were done via vnc
 

br6

Joined
Jul 25, 2018
Messages
8
Motherboard
Intel B360
CPU
Intel Core i5-8400
Graphics
intel UHD 630
EDIT: After first applying the 10.15.5.02 supplemental update, Catalina booted to a single display (additional displays did not work). After a few reboots, displays are back to normal.

--------------------------------------------

I just installed the Catalina 10.15.5.02 supplemental update on my HP EliteDesk 800 G4 Mini and am now limited to a single display. I did not have this problem with 10.15.5.01.
How did you rollback? thanks
 
Joined
Jun 2, 2020
Messages
10
Motherboard
Asus ROG STRIX H370-I GAMING
CPU
Intel i5 9600k
Graphics
Intel UHD Graphics 630
So today I've done the whole pathing from scratch again.

I went from:
01010900 00080000 C7030000 to 01060900 00080000 C7030000 (Pipe: 9)
01011200 00080000 C7030000 to 01061200 00080000 C7030000 (Pipe: 18)
On every conn.
Setting
00080000 (HDMI) on the one I was testing, and 00040000 (Type) and 00 (BusID) on the other two.

I've done this for every conn, trying both 18 (0x12) and the "original" Pipe values, which are:
90x09 for conn0
10
0x0A for conn1
8
0x08 for conn2

That's 6 (BusID) * 2 (Pipe) * 3 (Index) = 36 possible combinations, rebooting after changes.

And NO LUCK!

These are the starting values:
Schermata 2020-06-03 alle 14.29.11.png

And this is at the end:
Schermata 2020-06-03 alle 14.26.21.png


Latest WEG and Lilu (built from sources yesterday, but tried also with Release ZIPs).

I am also on 10.15.5.
Shall we downgrade? I think this is a no-go.
 
Joined
Sep 22, 2011
Messages
589
Motherboard
HP EliteDesk 800 G4 Mini
CPU
I7-8700T
Graphics
UHD 630
Mac
Mac mini
Mobile Phone
iOS
How did you rollback? thanks
I didn't roll anything back. My displays started working properly after a few reboots. My HP EliteDesk 800 G4 Mini is now running fine with 10.15.5.02. I don't understand why the problem happened or why it resolved itself.
 
Joined
May 4, 2020
Messages
34
Motherboard
HP 8537
CPU
i5-8265U
Graphics
UHD 620
So today I've done the whole pathing from scratch again.

I went from:
01010900 00080000 C7030000 to 01060900 00080000 C7030000 (Pipe: 9)
01011200 00080000 C7030000 to 01061200 00080000 C7030000 (Pipe: 18)
On every conn.
Setting
00080000 (HDMI) on the one I was testing, and 00040000 (Type) and 00 (BusID) on the other two.

I've done this for every conn, trying both 18 (0x12) and the "original" Pipe values, which are:
90x09 for conn0
10
0x0A for conn1
8
0x08 for conn2

That's 6 (BusID) * 2 (Pipe) * 3 (Index) = 36 possible combinations, rebooting after changes.

And NO LUCK!

These are the starting values:
View attachment 473463
And this is at the end:
View attachment 473464

Latest WEG and Lilu (built from sources yesterday, but tried also with Release ZIPs).

I am also on 10.15.5.
Shall we downgrade? I think this is a no-go.
try updating whatevergreen kext and all the others kexts to the latest releases
they state that
Code:
Fixed framebuffer-conX-alldata patching regression
Maybe it'll help
I'm a newbie so please be cautious following my advises )
 
Joined
Sep 22, 2011
Messages
589
Motherboard
HP EliteDesk 800 G4 Mini
CPU
I7-8700T
Graphics
UHD 630
Mac
Mac mini
Mobile Phone
iOS
I am also on 10.15.5.
Shall we downgrade? I think this is a no-go.
EDIT: Try @e285ne 's suggestion here first if you're not using the latest Lilu.kext and WhateverGreen.kext. If that doesn't work...

When you tried spoofing device-id = 0x00003E92 (reverse byte order: device-id 0x923E0000), did you also try the associated 3E92XXXX framebuffer values
  • 0x3E920000 (Reverse byte order: 0x0000923E)
  • 0x3E920009 (Reverse byte order: 0x0900923E)
 
Joined
Jun 2, 2020
Messages
10
Motherboard
Asus ROG STRIX H370-I GAMING
CPU
Intel i5 9600k
Graphics
Intel UHD Graphics 630
Hey guys thanks for the replies, yeah I'm on latest WEG and Lilu.
Tried all the framebuffers (platform-id), and also spoofing the device-id :'(
 
Joined
May 4, 2020
Messages
34
Motherboard
HP 8537
CPU
i5-8265U
Graphics
UHD 620
Actually I was the one who rolled back :)
But I have a different CPU/GPU i5-8265u with UHD620

@ffs-whatever
I looked into your EFI and you seem to be using WEG 1.3.9

I have i5 9400 / Asus Prime Z390-P and I'm running 0x3e9b0000 on 10.15.5 (DP Port)
But I still haven't fixed HDMI port
Try it out maybe this helps

You don't need to spoof device-id afaik
If you are using a 9th generation Coffee Lake Refresh processor, it is necessary to fake device-id 923E0000 for IGPU. Starting with macOS 10.14.4 the fake is not necessary.
The say Apple did changes to AppleIntelCFLGraficsFramebuffer.kext and AppleIntelCFLGraphicsVAME.bundle which has broken the patch. Maybe these are rumors but rollback to previous(actually I don't know, I haven't checked it, I downloaded the files from the net) version helped me (core i5-8265u) and fixed my HDMI.
I'm not sure this is good idea, but I checked it, it worked for me
Then I had security patch installed which has overwritten these files back to 10.15.5 apparently and I left them alone as I have HDMI hub and actually making the HDMI port work was primarily kind of a challenge :)
 
Joined
Jun 2, 2020
Messages
10
Motherboard
Asus ROG STRIX H370-I GAMING
CPU
Intel i5 9600k
Graphics
Intel UHD Graphics 630
@ffs-whatever
I looked into your EFI and you seem to be using WEG 1.3.9
Yeah, that was before updating now, I'm 200% sure I'm on the latest.

So, how does one simply downgrade? :D I am trying everything so why not!
Do I need to do a full reinstall starting from an older installer?
 
Joined
May 4, 2020
Messages
34
Motherboard
HP 8537
CPU
i5-8265U
Graphics
UHD 620
I use clonezilla
Where did you get the WEG file?
Look in you EFI/OC/kexts/WhateverGreen.kext/Contents/Info.plist
I see 1.3.9 there

Ok if you're sure that it's latest, try the FB @deeveedee has offered
Then you could try the one that worked for me (see above) but it seems to be for mobile afaik
I'm also using force-online but you should be able to go without it
 

Attachments

Last edited:
Top