Jump to content

Intel Framebuffer patching using WhateverGreen


headkaze
486 posts in this topic

Recommended Posts

With the release of WhateverGreen 1.2.1 and Lilu 1.2.6 I have experienced a strange behave on one of my setups:

 

After updating the two drivers my Monitor a MSI 2560x1440 27" screen capable of 144Hz (only able to select up to 60Hz) Curved display was NO LONGER recognised as a 2560 pixels monitor and in the System Preferences under Monitor I could only select up to 1920x1080.

 

Reverting back to the previous version of both WhateverGreen 1.2.0 and Lilu 1.2.5 corrected the problem and the monitor is now seen as a 2560 screen.

 

Is there a reason for this?

Thanks

Link to comment
Share on other sites

I'm learning how this work, I need a little help to understand.

 

I'm on a i3-8100 Gigabyte B360

high Sierra 10.13.6 17G65

 

- I ditched all the kext injections patches as suggested all good

BUT

- I still need AAPL,ig-platform-id TO BE SET to 00001259 and device-id 12590000

to have hardware acceleration

and within this I still need 3 infamous KextToPatch entries to modify the framebuffer and make work this type of motherboard.

 

Anyone any comment?

Thanks

Link to comment
Share on other sites

  • 2 weeks later...
On 8/21/2018 at 12:56 PM, zzmadd said:

With the release of WhateverGreen 1.2.1 and Lilu 1.2.6 I have experienced a strange behave on one of my setups:

 

After updating the two drivers my Monitor a MSI 2560x1440 27" screen capable of 144Hz (only able to select up to 60Hz) Curved display was NO LONGER recognised as a 2560 pixels monitor and in the System Preferences under Monitor I could only select up to 1920x1080.

 

Reverting back to the previous version of both WhateverGreen 1.2.0 and Lilu 1.2.5 corrected the problem and the monitor is now seen as a 2560 screen.

 

Is there a reason for this?

Thanks

From WhateverGreen v1.2.1 release notes:

  • Disabled HDMI 2.0 by default, use -cdfon boot-arg or enable-hdmi20 IGPU/GFX0 property to enable
  • Like 1
Link to comment
Share on other sites

3 hours ago, ben9923 said:

From WhateverGreen v1.2.1 release notes:

  • Disabled HDMI 2.0 by default, use -cdfon boot-arg or enable-hdmi20 IGPU/GFX0 property to enable

 

But that board has HDMI 1.4b. 2560x1440 @60Hz is still within HDMI 1.4.

 

Link to comment
Share on other sites

8 hours ago, zzmadd said:

But that board has HDMI 1.4b. 2560x1440 @60Hz is still within HDMI 1.4.

 

If you used to use CoreDisplayFixup you will need to use -cdfon boot-arg or enable-hdmi20 IGPU/GFX0 property as mentioned by ben9923. This was previously enabled by default which may explain why earlier versions worked for you.

  • Like 1
Link to comment
Share on other sites

For the CoreDisplayFixup integration, is -cdfon enough to enable the patches or do I also need to add "enable-hdmi20" property too ?

In the case of adding "enable-hdmi20" property, I don't need "framebuffer-patch-enable" or anything, do I ?

Edited by vusun123
Typo
Link to comment
Share on other sites

2 hours ago, ic005k said:

Try this configuration file.

 

config.plist.zip

Thanks for this. But no matter what, my machine locks at IOScreenLockState if i use deviceID 59160000 "16590000". The only ID that will boot is 59120000 but it boots with QE/CI to my external monitor via HDMI port. Blank screen on my internal. 

Link to comment
Share on other sites

19 minutes ago, tikizondo94 said:

Thanks for this. But no matter what, my machine locks at IOScreenLockState if i use deviceID 59160000 "16590000". The only ID that will boot is 59120000 but it boots with QE/CI to my external monitor via HDMI port. Blank screen on my internal. 

Have you tried booting without your external screen attached?

Link to comment
Share on other sites

35 minutes ago, headkaze said:

Have you tried booting without your external screen attached?

Yes sir. Since i seem to only to be able to get 59120000 working with QE/CI. Even though its external only, ive been messing with the Ports and Connector types in FBPatcher. So far ive still been unsuccessful. Atleast i know QE/CI works and the the UHD620 works, and without and DVMT related patches. But still i can only get a black screen on my internal monitor. 

Link to comment
Share on other sites

Hi folks,

 

Is it possible to test if I am making the best / correct use of WhateverGreen (And Lilu of course)?

 

I haven't updated things in a while and when I went to update Shiki it wasn't there so hence the move.

 

Using a USB stick I have replaced the old files with freshly compiled kexts (WhateverGreen, Lilu & AppleALC) also deleting Shiki.

 

I deleted the entire "Scope (\_SB.PCI0.IGPU)" section from my SSDT-1.aml and also removed the -shikifps argument from my Config.plist.

 

Audio is working ok so I assume AppleALC.kext is ok.

 

I am using the hardware in my signature below (Old, yes, but still works great).

 

The test for Shiki used to be if iTunes could playback trailers ok which is working fine so does that mean WhateverGreen is at least doing something?

 

 

Rebooting using the USB stick everything seems ok but I have yet to add anything more to my Config.plist so I am doubtful it is correctly configured?

 

 

Kexts seem to be loading ok:

Dans-Mac-mini:~ dan$ kextstat -l | egrep -v "com.apple"
   25    2 0xffffff7f83238000 0x1f000    0x1f000    as.vit9696.Lilu (1.2.7) C73EA70E-DE02-314D-8547-0CC9684B7499 <7 5 4 3 2 1>
   26    0 0xffffff7f83257000 0x5f000    0x5f000    as.vit9696.WhateverGreen (1.2.3) C1EC5F59-981C-3F31-A387-FC08E9A91D2B <25 12 7 5 4 3 2 1>
   27    2 0xffffff7f832b6000 0x19000    0x19000    org.netkas.driver.FakeSMC (1464) D25AB052-E015-38E9-B8B7-68DB499DCB4A <11 7 5 4 3 1>
   28    0 0xffffff7f832cf000 0xd3000    0xd3000    as.vit9696.AppleALC (1.3.2) CF0BE50F-E679-36E0-9517-8C750D05297C <25 12 7 5 4 3 2 1>
   29    0 0xffffff7f833a2000 0x5000     0x5000     org.hwsensors.driver.CPUSensors (1464) DF5614D6-72C3-31E6-8AE3-6732DB8DC242 <27 7 5 4 3>
   44    0 0xffffff7f833aa000 0x5000     0x5000     org.rehabman.driver.FakePCIID (1.2.0) DEB64F79-A945-3AC3-84E2-8A8A5D4FCF20 <12 7 5 4 3 1>
   46    0 0xffffff7f833b3000 0x14000    0x14000    com.insanelymac.IntelMausiEthernet (2.3.0) 7664CC46-C3FE-3D04-93EE-FC1E4EFBBFB7 <45 12 5 4 3 1>
   53    0 0xffffff7f833cb000 0x13000    0x13000    org.hwsensors.driver.LPCSensors (1464) 9FD2D2AB-B4A2-3493-A3D7-988D7003A2FD <27 12 11 7 5 4 3>
   58    0 0xffffff7f833de000 0x8000     0x8000     com.insanelymac.AtherosE2200Ethernet (2.2.1) 1B49827A-5F10-3D29-9FE4-8C2D80F91AE3 <45 12 5 4 3 1>
  140    0 0xffffff7f833e6000 0x5000     0x5000     net.sf.tuntaposx.tap (1) AA13DE34-83EB-3A07-A845-11B5841905BB <5 4 1>
  141    0 0xffffff7f833eb000 0x5000     0x5000     net.sf.tuntaposx.tun (1) 56286E58-CD9F-3166-86BD-4D7E1856E0A5 <5 4 1>

 

I also removed IntelGraphicsFixup.kext which leaves this extra Kexts (In the FakeSMC.kext plugin folder):

1695463534_ScreenShot2018-09-24at17_57_50.png.e693c296ecfc9d52fda89f931acc93a6.png

 

This is basically my Config.plist (All the important bits shown I think):

1744930494_ScreenShot2018-09-24at21_19_38.thumb.png.047394ea9dcebf2e3ee13b6465cbd232.png

Link to comment
Share on other sites

Been trying to figure things out and my Config.plist now looks like this but as bluemaP1E says above, do I need any more (I am going to create a small partition on here later to try and install Mojave on)?

126827876_ScreenShot2018-09-25at14_05_42.thumb.png.e9ecf9ec8c93f6394fee26ff45d9287e.png

 

EDIT: I have to just say Mojave installed first time with no issues at all using the above settings.

Edited by D-an-W
Link to comment
Share on other sites

Hi,

This guide is a awesome post and I got almost everything I need from this. Thank you for your  dedicated work :)

I followed the instructions in this post and got 2048MB VRAM of UHD630 (i7-8750H Coffe Lake). And the code I used as follow,

framebuffer-patch-enable Data <01000000>
framebuffer-stolenmem Data <00003001>
framebuffer-fbmem Data <0009000>
framebuffer-unfiedmem Data <00000080>
AAPL,ig-platform-id Data <0900a53e>
framebuffer-con1-enable Data <01000000>
framebuffer-con1-type Data <00080000>
framebuffer-pipecount Data <02000000>
framebuffer-portcount Data <02000000>
framebuffer-con2-enable Data <01000000>
framebuffer-con2-index Data <ffffffff>

Now, the problem is my HDMI port has no video signal. So I got my internal monitor work, but without my external one working.  How can I fix it? Please give me any pieces of advice.  Thank you :)

Link to comment
Share on other sites

Hi,
This guide is a awesome post and I got almost everything I need from this. Thank you for your  dedicated work :)
I followed the instructions in this post and got 2048MB VRAM of UHD630 (i7-8750H Coffe Lake). And the code I used as follow,
framebuffer-patch-enable Data framebuffer-stolenmem Data framebuffer-fbmem Data framebuffer-unfiedmem Data AAPL,ig-platform-id Data framebuffer-con1-enable Data framebuffer-con1-type Data framebuffer-pipecount Data framebuffer-portcount Data framebuffer-con2-enable Data framebuffer-con2-index Data 

Now, the problem is my HDMI port has no video signal. So I got my internal monitor work, but without my external one working.  How can I fix it? Please give me any pieces of advice.  Thank you :)

what is your smbios?

나의 LG-F800S 의 Tapatalk에서 보냄

Link to comment
Share on other sites

×
×
  • Create New...