Contribute
Register

[Guide] Intel Framebuffer patching using WhateverGreen

@RehabMan
I have a problem that's driving me crazy. The monitor connected to the miniDP port goes off and on all the time (video below)! In Windows, it works perfectly.

Basically it is a Lenovo L440 notebook with i5-4300M and HD4600. I get graphics acceleration, the only problem is the external monitor blinking.

Help me?

Video of the issue:
Important! I just move the window between screens. I don't click anything.
 

Attachments

  • debug_5119.zip
    2 MB · Views: 85
@RehabMan
I have a problem that's driving me crazy. The monitor connected to the miniDP port goes off and on all the time (video below)! In Windows, it works perfectly.

Eek! I had the same behaviour. On DP connectors 1 and 3 i get this issue. On DP connector 2 i do not. So strange.
 
You can do the same thing in Hackintool. Under General->Display click the "Add" button and it will add a bunch of default resolutions. Then click on the "Export" button and it will add the override folders to your desktop which you can then copy to /System/Library/Displays/Contents/Resources/Overrides
View attachment 379870
Thanks for your reply, I have tried your method(Hackintool 1.7.7 -> Display Overrides), but the SysPref->Displays remains this(without Retina, just add Scaled selections).
Screen Shot 2019-01-19 at 10.38.40 AM.png
But when I use one-key-hidpi, it brings me a Built-in Retina Display(which is different in Scaled, and my build-in display monitor is 1080p)
1547864354222.png
There is something different in the same files(Icons.plist & DisplayVectorID-30e4/DisplayVectorID-46f) generated by Hackintool and one-key-hidpi, but I don't know what the data's meaning.

I wonder which EDID should I choose? The Display (16:9) as default or Apple Mackbook Air Display (16:9)?
Thanks.
 
I don't know how to reverse bytes.....could somebody help me?
 
@fred99,

Treat the 8 digit hex number as 4 x 2 digit numbers and reverse the order of them.

For example :-

01020304 becomes 04030201

If you want a bit more detail see the Lilu + Plug-ins guide which has a few PlatformID specific examples :-

https://www.tonymacx86.com/threads/an-idiots-guide-to-lilu-and-its-plug-ins.260063/

Cheers
Jay
Thanks! now I feel so stupid! it was that easy! ...now I booted with the right platformID, everything is ok but I have problem with blurs, an example is the background in launchpad, there are some strange lines...it is horrible, I think I have to change other values but I really don't know which one. (I've injected EDID)
 
I booted with the right platformID, everything is ok but I have problem with blurs, an example is the background in launchpad, there are some strange lines...it is horrible, I think I have to change other values but I really don't know which one.


@fred99,

Valid PlatformID's for HD 5500 IGPU are 0x16160000 or 0x16160002

Code:
ID: 16160000, STOLEN: 16 MB, FBMEM: 15 MB, VRAM: 1024 MB, Flags: 0x00000B06
TOTAL STOLEN: 32 MB, TOTAL CURSOR: 1 MB (1572864 bytes), MAX STOLEN: 64 MB, MAX OVERALL: 65 MB (68694016 bytes)
GPU Name: Intel HD Graphics 5500
Model Name(s):
Camelia: Disabled, Freq: 5273 Hz, FreqMax: 5273 Hz
Mobile: 0, PipeCount: 3, PortCount: 3, FBMemoryCount: 3
[0] busId: 0x00, pipe: 8, type: 0x00000002, flags: 0x00000230 - LVDS
[1] busId: 0x05, pipe: 9, type: 0x00000004, flags: 0x00000004 - DigitalDVI
[2] busId: 0x04, pipe: 9, type: 0x00000800, flags: 0x00000082 - HDMI
00000800 02000000 30020000
01050900 04000000 04000000
02040900 00080000 82000000


ID: 16160002, STOLEN: 34 MB, FBMEM: 21 MB, VRAM: 1536 MB, Flags: 0x00004B02
TOTAL STOLEN: 35 MB, TOTAL CURSOR: 1 MB (1572864 bytes), MAX STOLEN: 124 MB, MAX OVERALL: 125 MB (131608576 bytes)
GPU Name: Intel HD Graphics 5500
Model Name(s):
Camelia: V2, Freq: 1388 Hz, FreqMax: 1388 Hz
Mobile: 1, PipeCount: 3, PortCount: 3, FBMemoryCount: 3
[0] busId: 0x00, pipe: 8, type: 0x00000002, flags: 0x00000230 - LVDS
[1] busId: 0x05, pipe: 9, type: 0x00000400, flags: 0x00000507 - DP
[2] busId: 0x04, pipe: 10, type: 0x00000400, flags: 0x00000507 - DP
00000800 02000000 30020000
01050900 00040000 07050000
02040A00 00040000 07050000


Supported Mobile SMBIOS's for Broadwell CPU's are :-
  • MacBookPro 12,1
  • MacBookAir 7,1
  • MacBookAir 7,2
Make sure your using a supported SMBIOS and PlatformID.

Note: As far as I can tell Apple never released a i3 Broadwell based MAC, the HD 5500 in the i3 has 23 EU's where as the HD 5500 in the i5 and i7 Broadwell CPU's use 24 EU's ... not sure if this may cause issues or not .. just something to keep in mind.

Cheers
Jay
 
Last edited:
@fred99,

Valid PlatformID's for HD 5500 IGPU are 0x16160000 or 0x16160002

Code:
ID: 16160000, STOLEN: 16 MB, FBMEM: 15 MB, VRAM: 1024 MB, Flags: 0x00000B06
TOTAL STOLEN: 32 MB, TOTAL CURSOR: 1 MB (1572864 bytes), MAX STOLEN: 64 MB, MAX OVERALL: 65 MB (68694016 bytes)
GPU Name: Intel HD Graphics 5500
Model Name(s):
Camelia: Disabled, Freq: 5273 Hz, FreqMax: 5273 Hz
Mobile: 0, PipeCount: 3, PortCount: 3, FBMemoryCount: 3
[0] busId: 0x00, pipe: 8, type: 0x00000002, flags: 0x00000230 - LVDS
[1] busId: 0x05, pipe: 9, type: 0x00000004, flags: 0x00000004 - DigitalDVI
[2] busId: 0x04, pipe: 9, type: 0x00000800, flags: 0x00000082 - HDMI
00000800 02000000 30020000
01050900 04000000 04000000
02040900 00080000 82000000


ID: 16160002, STOLEN: 34 MB, FBMEM: 21 MB, VRAM: 1536 MB, Flags: 0x00004B02
TOTAL STOLEN: 35 MB, TOTAL CURSOR: 1 MB (1572864 bytes), MAX STOLEN: 124 MB, MAX OVERALL: 125 MB (131608576 bytes)
GPU Name: Intel HD Graphics 5500
Model Name(s):
Camelia: V2, Freq: 1388 Hz, FreqMax: 1388 Hz
Mobile: 1, PipeCount: 3, PortCount: 3, FBMemoryCount: 3
[0] busId: 0x00, pipe: 8, type: 0x00000002, flags: 0x00000230 - LVDS
[1] busId: 0x05, pipe: 9, type: 0x00000400, flags: 0x00000507 - DP
[2] busId: 0x04, pipe: 10, type: 0x00000400, flags: 0x00000507 - DP
00000800 02000000 30020000
01050900 00040000 07050000
02040A00 00040000 07050000


Supported Mobile SMBIOS's for Broadwell CPU's are :-
  • MacBookPro 12,1
  • MacBookAir 7,1
  • MacBookAir 7,2
Make sure your using a supported SMBIOS and PlatformID.

Note: As far as I can tell Apple never released a i3 Broadwell based MAC, the HD 5500 in the i3 has 23 EU's where as the HD 5500 in the i5 and i7 Broadwell CPU's use 24 EU's ... not sure if this may cause issues or not .. just something to keep in mind.

Cheers
Jay
I've tried both and the only visible change is in system informations, it changes vram as above, I connected my laptop with HDMI cable to a full HD tv, no graphics issues, even if I duplicate: perfect images on the tv and on the internal monitor still ugly, I am sure EDID is loaded correctly, I checked with switchresx. I've discovered that if I boot with -igfxvesa the blur problems in launchpad and other apps disappears. I didn't try to change smbios, I use MacBook Air 7,1 that is the less powerful
 

Attachments

  • CLOVER.zip
    20 MB · Views: 73
I just installed 10.03.6 to HP8470p (Ivy) with HD+ (1600x900) display. Everything works fine, BUT NO video/audio on DisplayPort output ! I installed to clover/kext: lilu+WhateverGreen kexts, but no success...
Please help me what should I do to fix this problem, because that feature is very important for me ....
THANK YOU in advance... If needed I can send my config.plist or IOreg... files.
try AppleALC.kext and then try different audio layout id in clover, check resetHDA. (you could find the layout with hackintool)
 
Back
Top