Contribute
Register

[Guide] Intel Framebuffer patching using WhateverGreen

Does this WEG log explain why I can't get 4k on my HDMI monitor. I note that -cdfon wasn't setting enable-hdmi2k either. Note that my monitor is only 30fps so it is really only HDMI 1.4

Code:
 WhateverGreen:    igfx @ (DBG) patching framebufferId 0x3E9B0007 connector [1] busId: 0x01, pipe: 9, type: 0x00000800, flags: 0x000003C7
 WhateverGreen:    igfx @ (DBG) patching framebufferId 0x3E9B0007 connector [2] busId: 0x02, pipe: 10, type: 0x00000800, flags: 0x000003C7
 WhateverGreen:    igfx @ (DBG) patching framebufferId 0x3E9B0007 connector [3] busId: 0x05, pipe: 8, type: 0x00000010, flags: 0x000001C7
 WhateverGreen:    igfx @ (DBG) Patching framebufferId 0x3E9B0007 successful
 WhateverGreen:     weg @ (DBG) failed to obtain display mode
 WhateverGreen:     weg @ (DBG) failed to obtain display mode
 WhateverGreen:     weg @ (DBG) failed to obtain display mode
 WhateverGreen:     weg @ (DBG) fb info 1: -2147479552:0 7680:0:32
 WhateverGreen:     weg @ (DBG) fb info 2: 3:8 --------RRRRRRRRGGGGGGGGBBBBBBBB 0:1920:1080
 WhateverGreen:     weg @ (DBG) this display has different mode
 WhateverGreen:    igfx @ (DBG) computeLaneCount: bpp = 24, available = 10
 WhateverGreen:     weg @ (DBG) fb info 1: -2147479552:1 7168:0:32
 WhateverGreen:     weg @ (DBG) fb info 2: 3:10 --RRRRRRRRRRGGGGGGGGGGBBBBBBBBBB 0:1680:1050
 WhateverGreen:     weg @ (DBG) this display has different mode
 WhateverGreen:     weg @ (DBG) fb info 1: -2147479552:1 7168:0:32
 WhateverGreen:     weg @ (DBG) fb info 2: 3:10 --RRRRRRRRRRGGGGGGGGGGBBBBBBBBBB 0:1680:1050
 WhateverGreen:     weg @ (DBG) this display has different mode
 WhateverGreen:    igfx @ (DBG) computeLaneCount: bpp = 24, available = 10
 WhateverGreen:     weg @ (DBG) fb info 1: -2147479552:1 7168:0:32
 WhateverGreen:     weg @ (DBG) fb info 2: 3:10 --RRRRRRRRRRGGGGGGGGGGBBBBBBBBBB 0:1680:1050
 WhateverGreen:     weg @ (DBG) this display has different mode

Is there something I can do to help WEG obtain 2160p? The boot log shows it correctly at 3840x2160 before the res change to 1080p

Martin
 
Hello everyone, I am not able to use the FBPatcher. Whenever I run the patcher, it shows me the intel gen i.e kaby lake but platform Id is blank. So all the tabs show nothing, no information. Do, I need to import something? Can anyone guide me how to use the patcher ? I have intel HD 630 GPU with Z270 HD3 motherboard. On high sierra everything was working fine but as soon as I updated to mojave, everything on the screen became pink tinted.

Thanks

You can use the Framebuffer menu to use FB-Patcher's built in data which should suffice. If you only need to inject ig-platform-id then you could just use Xcode or a plist editor to add the values to your config.plist as explained in the first post.
 
Hey @headkaze , thanks for the reply. I did what you told. Generated the patch. Now how do I apply it ? Check the attached screenshot
 

Attachments

  • Screenshot 2018-10-19 at 10.43.33 AM.png
    Screenshot 2018-10-19 at 10.43.33 AM.png
    60 KB · Views: 220
Hi vyiciu,

I am also new to Hackintosh and here is what I can help you:

(1) There is no need to compile Lilu/Whatevergreen kexts yourself. Just use the release version on Github and put it into your /Volumes/EFI/EFI/CLOVER/kexts/Other

(2) In Clover Configurator, after you load the config.plist, click "Devices" in "Sections", then click "Properties" in "Arbitrary/Properties" tabs group. Add "PciRoot(0x0)/Pci(0x2,0x0)" in "Devices" table, then you can add all other parameters in "Properties" table.

Make sure you update to latest Clover Configurator.

Thanks kunluncat, I've redone all the steps and in Clover Configurator added to Devices->Properties as in the screenshot below. However I must still be doing something wrong, since when I reboot back Night Shift doesn't work (I have Night Shift permanently turned on), Chrome is completely glitched up, audio over HDMI/DP is missing, and the computer is sluggish and seems to have a hard time drawing anything on screen, so I'm guessing I didn't make Whatevergreen work. I know that my computer has Intel HD Graphics 4400, so I've tried all of the values suggested under Haswell (0x0D220003, 0x0A16000, 0x0A260005, and if I read the instructions correctly, when inputing the Properties Value column I should reverse these and type 300022D0, 000061A0 and 500062A0), but none of these work. I've reverted back to the old InjectIntel method I had been using before, since that still works save for audio over HDMI/DP.
 

Attachments

  • Screen Shot 2018-10-19 at 22.08.17.png
    Screen Shot 2018-10-19 at 22.08.17.png
    160.3 KB · Views: 160
Thanks kunluncat, I've redone all the steps and in Clover Configurator added to Devices->Properties as in the screenshot below. However I must still be doing something wrong, since when I reboot back Night Shift doesn't work (I have Night Shift permanently turned on), Chrome is completely glitched up, audio over HDMI/DP is missing, and the computer is sluggish and seems to have a hard time drawing anything on screen, so I'm guessing I didn't make Whatevergreen work. I know that my computer has Intel HD Graphics 4400, so I've tried all of the values suggested under Haswell (0x0D220003, 0x0A16000, 0x0A260005, and if I read the instructions correctly, when inputing the Properties Value column I should reverse these and type 300022D0, 000061A0 and 500062A0), but none of these work. I've reverted back to the old InjectIntel method I had been using before, since that still works save for audio over HDMI/DP.
You are reversing the values incorrectly. Should be 0300220D. It is reversed as a hex value not a straight reverse.
 
You are reversing the values incorrectly. Should be 0300220D. It is reversed as a hex value not a straight reverse.

Ah I see. Sorry to ask another noob question, so how should I correctly reverse as a hex value? I'm confused. (I'm asking this because I think I'll need to try all three of the Haswell values)
 
They are reversed in pairs of 2 characters. So “0D 22 00 03” is what you need and if you reverse the nibbles it becomes “03 00 22 0D”. You have 30 00 22 D0 which is incorrect. I am using the same fix for my intel HD 4400 IGPU and it does indeed work correctly.
 
They are reversed in pairs of 2 characters. So “0D 22 00 03” is what you need and if you reverse the nibbles it becomes “03 00 22 0D”. You have 30 00 22 D0 which is incorrect. I am using the same fix for my intel HD 4400 IGPU and it does indeed work correctly.

Ah I see, thanks! (I really should have known this considering I don't regard myself as hex-illiterate)
 
Hey @headkaze , thanks for the reply. I did what you told. Generated the patch. Now how do I apply it ? Check the attached screenshot

Backup your config.plist then use File->Export->Clover config.plist
 
Back
Top