Contribute
Register

Intel HD Graphics Framebuffer Edits - Desktop

Status
Not open for further replies.
HD4600+/HD4000/HD3000 Framebuffer Edits

I'm using PlistEdit Pro because installing Xcode would take a lot of time. I'm not sure if the data conversion is correct. This is what I have now on my config.plist:
Code:
<dict>
  <key>Comment</key>
  <string>DVI experiment</string>
  <key>Find</key>
  <data>
  AwYIAAAIAAARAAAA
  </data>
  <key>Name</key>
  <string>AppleIntelFramebufferAzul</string>
  <key>Replace</key>
  <data>
  AwYSAAAIAAARAAAA
  </data>
</dict>

Code:
Speedy-OSX:~ RehabMan$ echo AwYIAAAIAAARAAAA|base64 --decode|xxd 
0000000: 0306 0800 0008 0000 1100 0000            ............
Speedy-OSX:~ RehabMan$ echo AwYSAAAIAAARAAAA|base64 --decode|xxd
0000000: 0306 1200 0008 0000 1100 0000            ............
 
HD4600+/HD4000/HD3000 Framebuffer Edits

Thank you. Now the encoding is correct and only display on DP1 port is working.
 
HD4600+/HD4000/HD3000 Framebuffer Edits

Thank you. Now the encoding is correct and only display on DP1 port is working.

What do you mean by "Now the encoding is correct"?

Is your kext vanilla?

Try other values for the various framebuffer data. You can simply modify the patch with each experiment.
 
HD4600+/HD4000/HD3000 Framebuffer Edits

What do you mean by "Now the encoding is correct"?
I encoded
0306 0800 0008 0000 1100 0000 instead of
0306 0800 0004 0000 1100 0000
as the data to find. Now I search for the right data in the patch.


Is your kext vanilla?
I was using a kext patched with graphics_intel_hd5k-azil-g-90. I restored original kext. (Note: with original kext Framebuffer@2 has port number 0).

Try other values for the various framebuffer data. You can simply modify the patch with each experiment.
I'll read bcc9 topic.
 
HD4600+/HD4000/HD3000 Framebuffer Edits

I encoded
0306 0800 0008 0000 1100 0000 instead of
0306 0800 0004 0000 1100 0000
as the data to find. Now I search for the right data in the patch.

Post #177 intention was:
repl: 0306 1200 0008 0000 1100 0000

I was using a kext patched with graphics_intel_hd5k-azil-g-90. I restored original kext. (Note: with original kext Framebuffer@2 has port number 0).

No. Original is 7.
 
HD4600+/HD4000/HD3000 Framebuffer Edits

Post #177 intention was:
repl: 0306 1200 0008 0000 1100 0000

Yes, I have:
find: 0306 0800 0004 0000 1100 0000
repl: 0306 1200 0008 0000 1100 0000

This is what I have in IOJones with vanilla AppleIntelFramebufferAzul.kext
Screen Shot 2015-07-03 at 18.14.58.png
 
HD4600+/HD4000/HD3000 Framebuffer Edits

Yes, I have:
find: 0306 0800 0004 0000 1100 0000
repl: 0306 1200 0008 0000 1100 0000

This is what I have in IOJones with vanilla AppleIntelFramebufferAzul.kext
View attachment 142911

Post ioreg: http://www.tonymacx86.com/audio/58368-guide-how-make-copy-ioreg.html. Please, use the IORegistryExplorer v2.1 attached to the post! DO NOT reply with an ioreg from any other version of IORegistryExplorer.app.

I find information easier to find in ioreg with v2.1 IORegistryExplorer vs. any other version and vs. IOJones. The RHS properties are alpha sorted.

Specify vanila with patch vs. vanilla.

Vanilla framebuffer data 0x0d220003:
Code:
00048360: 0300 220d 0003 0303 0000 0002 0000 3001 (32 MB BIOS-allocated memory, 19 MB frame buffer memory)
00048370: 0000 0000 0000 0060 9914 0000 9914 0000 (0 MB cursor bytes, 1536 MB VRAM, BCL freq. 5273 Hz, max. BCL PWM 5273 Hz)
00048380: 0000 0000 0000 0000 0105 0900 0004 0000 (port 5, DisplayPort connector)
00048390: 8700 0000 0204 0a00 0004 0000 8700 0000 (port 6, DisplayPort connector)
000483a0: [B]0306[/B] 0800 0004 0000 1100 0000 ff00 0000 ([B]port 7[/B], DisplayPort connector / port unused ...
000483b0: 0100 0000 4000 0000 0204 0000 0101 0000  VGA connector)
000483c0: 0400 0000 0000 0000 0e00 0000 0000 0000

Before working via Clover KextsToPatch method, verify md5 of kext.

This is for 10.10.4:
Code:
Speedy-OSX:~ RehabMan$ md5 /System/Library/Extensions/AppleIntelFramebufferAzul.kext/Contents/MacOS/AppleIntelFramebufferAzul 
MD5 (/System/Library/Extensions/AppleIntelFramebufferAzul.kext/Contents/MacOS/AppleIntelFramebufferAzul) = 7c646f5dd6013d22acd7946329bd23e2

Also, you may want to apply patches with the scripts (didn't you mention using toleda's .command scripts -- don't remember the details), then examine the changes with AppleIntelFramebufferAzul.sh. Compare with AppleIntelFramebufferAzu.sh output with vanilla kext. Then you'll understand what the scripts change (I have to admit I've never used them, as I prefer the transparency of Clover config.plist patches).
 
HD4600+/HD4000/HD3000 Framebuffer Edits

See Clover/Azul patches, config-hdmi_hd4600-100.plist.zip
Use config-hdmi_hd4600-100.plist/KernelAndKextPatches/KextsToPatch/Item 4 (10.10-Azul-Port_0x7-DP2HDMI)
Xcode or PlistEdit Pro/Copy Item 4, Paste to EFI/CLOVER/config.plist
HDMI/DVI connectors are the same
Screen Shot 2015-07-03 at 5.37.49 PM.png
 
HD4600+/HD4000/HD3000 Framebuffer Edits

See Clover/Azul patches, config-hdmi_hd4600-100.plist.zip
Use config-hdmi_hd4600-100.plist/KernelAndKextPatches/KextsToPatch/Item 4 (10.10-Azul-Port_0x7-DP2HDMI)
Xcode or PlistEdit Pro/Copy Item 4, Paste to EFI/CLOVER/config.plist
HDMI/DVI connectors are the same
View attachment 142967

Hey toleda, do you know the meaning of changing '11' -> '06' as shown in your image?

I've seen that on the laptop side too, but so far have not confirmed the change is necessary, nor what it's purpose is.

Note: Patch you recommend may have already been tried (although it is unclear).
 
Status
Not open for further replies.
Back
Top