Contribute
Register

[Guide] Intel Framebuffer patching using WhateverGreen

hey guys I'm trying to get my second monitor up and running can't seem to get it to go. I've tried hot plugging - no go. I can boot with both into clover and then apple logo but once progress bar start I lose the DVI monitor. I can boot with one monitor at a time HDMI or dvi and both connections work I just can't them to work together.
By the grace of God I got my system near perfect I don't even know how I did it but I have everything working except my 2nd monitor. you can see my specs on my system build I'm connected to display through HDMI port and DVI port (dvi to HDMI adapter. my monitor only have VGA DVI and HDMI.
 

Attachments

  • M’s.ioreg
    10.6 MB · Views: 75
  • config.plist
    9.4 KB · Views: 147
Hi guys, thank you for all the work.

I have iMac17,1
Devices/FakeID/IntelGFX=0x59128086
Graphics/Inject/Intel=true
Graphics/id-platform-id=0x59120000
working fine in Mojave 10.14.1. Have no kernel patches, not sure what framebuffer patches are as well.
Do I need to switch to the new approach described in this post#1?
I just wanted more hidpi 4k options (I have only 1080p HIDPI), as described here, e.g. 2560x1440 hidpi

Update: the new approach does give more scaling options. Plist is attached.
 

Attachments

  • config.plist
    7.7 KB · Views: 163
Last edited:
hi @headkaze
Superseded by WhateverGreen, equivalent to setting FBAlternatePWMIncrement1/2 bit in flags.
upload_2018-11-4_11-49-54.png


I set FBAlternatePWMIncrement1 and FBAlternatePWMIncrement2, but patches can not be generated except kextsToPatch (Hex)
upload_2018-11-4_11-54-56.png




The generated patches are not effective.
The generated patches can't be searched in kext anymore.
Please tell me how to create a patch.
upload_2018-11-4_11-55-31.png
 
It seems I can't get audio working. I did everything as per guide (anyway I didn't have any DSDT fixes like FixDisplay, AddIMEI, etc, or IGPU/HDMI entries or GFX0 renamings, or framebuffer patches in config.plist) but I get these results:

Prior with IntelGraphicsFixup:
1. AppleALC 1.2.7 + IntelGraphicsFixup = Everything works (internal audio and external DP audio)
2. AppleALC 1.2.8 or above + IntelGraphicsFixup = Only external DP audio works

After with WhateverGreen:
1. AppleALC 1.2.7 + WhateverGreen = only internal audio works.
2. AppleALC 1.3.3 + WhateverGreen = only external DP audio works.

I tried DP > HDMI, Spoof SKL Audio, Enable HDMI20 - no effect at all.

Where could be the problem? I attach ioreg with different AppleALC versions and WhateverGreen. Thank You.
 
I set FBAlternatePWMIncrement1 and FBAlternatePWMIncrement2, but patches can not be generated except kextsToPatch (Hex)
In my first WEG PR you could patch fb flags but it was removed. In fact you could patch almost everything. Now Im thinking I may need to add flag patching back. If you can wait a bit l can see if vit is okay with it or perhaps @RehabMan can implement support since he has direct access to the repo now?
 
As for the problem in post:

https://www.tonymacx86.com/threads/...ing-whatevergreen.256490/page-45#post-1844885

I see in Ioreg that there is no alc-layout-id. What am I doing wrong?

Kexts installed into L/E/
Kexts gets loaded:
2 0xffffff7f80a90000 0x22000 0x22000 as.vit9696.Lilu (1.2.8) 54014689-C8DA-318B-84F4-944BBA7AD2AC <7 5 4 3 2 1>
0 0xffffff7f81060000 0xdf000 0xdf000 as.vit9696.AppleALC (1.3.3) B60FCBAF-6BC2-36EF-A1E6-D5BE2863C35B <15 12 7 5 4 3 2 1>
0 0xffffff7f80ab2000 0x60000 0x60000 as.vit9696.WhateverGreen (1.2.4) 25D369F5-0FD8-3264-9060-3FDB014904BC <15 12 7 5 4 3 2 1>

Attaching also config.plist and dsdt and ioreg
 
When I run the gfxutil, I get:

Last login: Mon Nov 5 12:33:27 on console
Mac:~ user$ /Users/user/Downloads/1.77b.RELEASE/gfxutil ; exit;
Insuffient arguments!

I don't have iGPU enabled in BIOS yet, could this be why I'm getting "Insuffient arguments!" error?
 
When I run the gfxutil, I get:

Last login: Mon Nov 5 12:33:27 on console
Mac:~ user$ /Users/user/Downloads/1.77b.RELEASE/gfxutil ; exit;
Insuffient arguments!

I don't have iGPU enabled in BIOS yet, could this be why I'm getting "Insuffient arguments!" error?

Drag gfxutil into terminal window, don't press anything and type -f IGPU and then press enter.
 
Back
Top