Allan Posted August 6, 2018 Share Posted August 6, 2018 On 7/31/2018 at 8:53 PM, Andrey1970 said: Please move this topic to forum WhateverGreen. Please rename this topic in "Intel Framebuffer patching by means of WhateverGreen.kext". It is not only for Mojave. Got it. 1 hour ago, Andrey1970 said: Please correct the word Framebuffer in the topic name. Fraymebuffer it is not correct. Done, lol 1 Link to comment Share on other sites More sharing options...
tikizondo94 Posted August 6, 2018 Share Posted August 6, 2018 What would be the correct properties for the MinStolenSize patch for 0x59160000? In Device Properties? AppleIntelFramebuffer_9_18.0 Link to comment Share on other sites More sharing options...
JHeartyP Posted August 7, 2018 Share Posted August 7, 2018 (edited) 16 hours ago, tikizondo94 said: What would be the correct properties for the MinStolenSize patch for 0x59160000? In Device Properties? AppleIntelFramebuffer_9_18.0 <key>framebuffer-patch0-enable</key> <data>AQAAAA==</data> <key>framebuffer-patch0-find</key> <data>Bf9IRnY=</data> <key>framebuffer-patch0-replace</key> <data>Bf9IRus=</data> I'm having the same problem as you. My laptop has a KBL HD 620 and an eDP connector and no matter what I try I can't get the internal display working with the kaby lake framebuffer driver. Only brightness works and turning off cnconnectoralwaysenabled doesn't help in any way. What if I fake coffee lake ig-platform-id and fakeid intelgfx? Which id's to use? Edited August 7, 2018 by JHeartyP Link to comment Share on other sites More sharing options...
tikizondo94 Posted August 7, 2018 Share Posted August 7, 2018 framebuffer-patch0-enableAQAAAA==framebuffer-patch0-findBf9IRnY= framebuffer-patch0-replaceBf9IRus= I'm having the same problem as you. My laptop has a KBL HD 620 and an eDP connector and no matter what I try I can't get the internal display working with the kaby lake framebuffer driver. Only brightness works and turning off cnconnectoralwaysenabled doesn't help in any way. What if I fake coffee lake ig-platform-id and fakeid intelgfx? Which id's to use?I've tried faking as coffee lake and it did me no good. I tried 5-6 different coffee lake platform IDs and still just booted without QE/CI. Mine is the device ID issue. No matter what it will not allow me to take a different device ID. Mine is 59178086. And I need 59168086 for the uhd620. Anytime I add a device ID to clover/properties it locks at IOScreenLockStateSent from my ONEPLUS A5010 using Tapatalk Link to comment Share on other sites More sharing options...
Noir0SX Posted August 13, 2018 Share Posted August 13, 2018 On 7/25/2018 at 10:50 AM, bkm said: I have an i5-8250U UHD620 with your @headkaze config.plist currently running The debug output from WEG is the following Timestamp (process)[PID] 2018-07-25 10:32:14.727777+0200 localhost kernel[0]: calling mpo_policy_init for Lilu 2018-07-25 10:32:14.739522+0200 localhost kernel[0]: Security policy loaded: Lilu Kernel Extension 1.2.6 (Lilu) 2018-07-25 10:32:14.762010+0200 localhost kernel[0]: (kernel) WhateverGreen: rad @ (DBG) not enabling CAIL_DisableDrmdmaPowerGating 2018-07-25 10:32:14.766769+0200 localhost kernel[0]: (kernel) WhateverGreen: rad @ (DBG) not enabling CAIL_DisableGfxCGPowerGating 2018-07-25 10:32:14.768826+0200 localhost kernel[0]: (kernel) WhateverGreen: rad @ (DBG) not enabling CAIL_DisableUVDPowerGating 2018-07-25 10:32:14.785631+0200 localhost kernel[0]: (kernel) WhateverGreen: rad @ (DBG) not enabling CAIL_DisableVCEPowerGating 2018-07-25 10:32:14.787634+0200 localhost kernel[0]: (kernel) WhateverGreen: rad @ (DBG) not enabling CAIL_DisableDynamicGfxMGPowerGating 2018-07-25 10:32:14.804720+0200 localhost kernel[0]: (kernel) WhateverGreen: rad @ (DBG) not enabling CAIL_DisableGmcPowerGating 2018-07-25 10:32:14.806725+0200 localhost kernel[0]: (kernel) WhateverGreen: rad @ (DBG) not enabling CAIL_DisableAcpPowerGating 2018-07-25 10:32:14.808726+0200 localhost kernel[0]: (kernel) WhateverGreen: rad @ (DBG) not enabling CAIL_DisableSAMUPowerGating 2018-07-25 10:32:14.826388+0200 localhost kernel[0]: (kernel) WhateverGreen: shiki @ (DBG) will autodetect autodetect GPU 0 whitelist 0 2018-07-25 10:32:14.828531+0200 localhost kernel[0]: (kernel) WhateverGreen: shiki @ (DBG) pre-config: online 0, bgra 0, compat 0, whitelist 0, id 0, stream 0 2018-07-25 10:32:17.901911+0200 localhost kernel[0]: (kernel) WhateverGreen: iokit @ (DBG) getOSData device-id has 5917 value 2018-07-25 10:32:17.914884+0200 localhost kernel[0]: (kernel) WhateverGreen: weg @ (DBG) IGPU has real 5917 acpi 5917 fake 5916 and model Intel UHD Graphics 620 2018-07-25 10:32:17.928887+0200 localhost kernel[0]: (kernel) WhateverGreen: weg @ (DBG) adding missing model Intel UHD Graphics 620 from autotodetect 2018-07-25 10:32:17.942638+0200 localhost kernel[0]: (kernel) WhateverGreen: weg @ IGPU device (00:02.00) has device-id 0x5917, you should change it to 0x5916 2018-07-25 10:32:17.956653+0200 localhost kernel[0]: (kernel) WhateverGreen: weg @ (DBG) hooked configRead read methods! 2018-07-25 10:32:17.956878+0200 localhost kernel[0]: (kernel) WhateverGreen: weg @ (DBG) found existing built-in 2018-07-25 10:32:17.957329+0200 localhost kernel[0]: (kernel) WhateverGreen: iokit @ (DBG) getOSData framebuffer-patch-enable has 1 value 2018-07-25 10:32:17.957552+0200 localhost kernel[0]: (kernel) WhateverGreen: igfx @ (DBG) framebuffer-patch-enable 1 2018-07-25 10:32:17.957779+0200 localhost kernel[0]: (kernel) WhateverGreen: iokit @ (DBG) getOSData framebuffer-framebufferid was not found 2018-07-25 10:32:17.958454+0200 localhost kernel[0]: (kernel) WhateverGreen: iokit @ (DBG) getOSData framebuffer-mobile was not found 2018-07-25 10:32:17.958678+0200 localhost kernel[0]: (kernel) WhateverGreen: iokit @ (DBG) getOSData framebuffer-pipecount was not found 2018-07-25 10:32:17.960027+0200 localhost kernel[0]: (kernel) WhateverGreen: iokit @ (DBG) getOSData framebuffer-portcount was not found 2018-07-25 10:32:17.960253+0200 localhost kernel[0]: (kernel) WhateverGreen: iokit @ (DBG) getOSData framebuffer-memorycount was not found 2018-07-25 10:32:17.960477+0200 localhost kernel[0]: (kernel) WhateverGreen: iokit @ (DBG) getOSData framebuffer-stolenmem was not found 2018-07-25 10:32:18.104171+0200 localhost kernel[0]: (kernel) WhateverGreen: iokit @ (DBG) getOSData framebuffer-fbmem was not found 2018-07-25 10:32:18.116986+0200 localhost kernel[0]: (kernel) WhateverGreen: iokit @ (DBG) getOSData framebuffer-unifiedmem was not found 2018-07-25 10:32:18.129677+0200 localhost kernel[0]: (kernel) WhateverGreen: iokit @ (DBG) getOSData framebuffer-con0-enable has 1 value 2018-07-25 10:32:18.142253+0200 localhost kernel[0]: (kernel) WhateverGreen: igfx @ (DBG) framebuffer-con0-enable 1 2018-07-25 10:32:18.154298+0200 localhost kernel[0]: (kernel) WhateverGreen: iokit @ (DBG) getOSData framebuffer-con0-index was not found 2018-07-25 10:32:18.166929+0200 localhost kernel[0]: (kernel) WhateverGreen: iokit @ (DBG) getOSData framebuffer-con0-busid was not found 2018-07-25 10:32:18.179438+0200 localhost kernel[0]: (kernel) WhateverGreen: iokit @ (DBG) getOSData framebuffer-con0-pipe was not found 2018-07-25 10:32:18.191781+0200 localhost kernel[0]: (kernel) WhateverGreen: iokit @ (DBG) getOSData framebuffer-con0-type was not found 2018-07-25 10:32:18.203833+0200 localhost kernel[0]: (kernel) WhateverGreen: iokit @ (DBG) getOSData framebuffer-con0-flags has 90 value 2018-07-25 10:32:18.215613+0200 localhost kernel[0]: (kernel) WhateverGreen: iokit @ (DBG) getOSData framebuffer-con1-enable was not found 2018-07-25 10:32:18.227361+0200 localhost kernel[0]: (kernel) WhateverGreen: iokit @ (DBG) getOSData framebuffer-con2-enable was not found 2018-07-25 10:32:18.238827+0200 localhost kernel[0]: (kernel) WhateverGreen: iokit @ (DBG) getOSData framebuffer-con3-enable was not found 2018-07-25 10:32:18.250273+0200 localhost kernel[0]: (kernel) WhateverGreen: iokit @ (DBG) getOSData framebuffer-patch0-enable was not found 2018-07-25 10:32:18.261897+0200 localhost kernel[0]: (kernel) WhateverGreen: weg @ (DBG) vinfo 1: 1080:1920 32:7680:1 2018-07-25 10:32:18.262055+0200 localhost kernel[0]: (kernel) WhateverGreen: weg @ (DBG) vinfo 2: 67:240 7680:1:0 2018-07-25 10:32:21.667776+0200 localhost kernel[0]: (kernel) WhateverGreen: weg @ (DBG) configRead16 IGPU 0x00001000 at off 0x02, result = 0x5917 2018-07-25 10:32:21.668870+0200 localhost kernel[0]: (kernel) WhateverGreen: iokit @ (DBG) getOSData device-id has 5917 value 2018-07-25 10:32:21.700836+0200 localhost kernel[0]: (kernel) WhateverGreen: weg @ (DBG) configRead32 IGPU 0x00001000 at off 0x00, result = 0x59178086 2018-07-25 10:32:21.701096+0200 localhost kernel[0]: (kernel) WhateverGreen: iokit @ (DBG) getOSData device-id has 5917 value 2018-07-25 10:32:21.701382+0200 localhost kernel[0]: (kernel) WhateverGreen: weg @ (DBG) configRead32 reported 0x59178086 instead of 0x59178086 Can you please help me that it works @headkaze Thanks It works perfect now Link to comment Share on other sites More sharing options...
tikizondo94 Posted August 13, 2018 Share Posted August 13, 2018 [mention=1364628]headkaze[/mention] Thanks It works perfect now What did you do to get the QE/CI working?Sent from my ONEPLUS A5010 using Tapatalk Link to comment Share on other sites More sharing options...
headkaze Posted August 14, 2018 Author Share Posted August 14, 2018 On 8/6/2018 at 2:31 PM, tikizondo94 said: What would be the correct properties for the MinStolenSize patch for 0x59160000? In Device Properties? I don't recommend you use the find/replace patch. Check out the latest version of Intel FB-Patcher it has some new auto patching options (check out DVMT-prealloc 32 MB) .You can File->Open your AppleIntelFramebuffer_9_18.0 file then File->Export->Clover config.plist. 1 Link to comment Share on other sites More sharing options...
tikizondo94 Posted August 14, 2018 Share Posted August 14, 2018 I don't recommend you use the find/replace patch. Check out the latest version of Intel FB-Patcher it has some new auto patching options (check out DVMT-prealloc 32 MB) .You can File->Open your AppleIntelFramebuffer_9_18.0 file then File->Export->Clover config.plist.No kidding? Direct config list integration? That's awesome! I still haven't given up yet. Still havent made any headway, but I make sure to check for lilu and whatevergreen updates daily. Sent from my ONEPLUS A5010 using Tapatalk Link to comment Share on other sites More sharing options...
tikizondo94 Posted August 14, 2018 Share Posted August 14, 2018 7 hours ago, headkaze said: I don't recommend you use the find/replace patch. Check out the latest version of Intel FB-Patcher it has some new auto patching options (check out DVMT-prealloc 32 MB) .You can File->Open your AppleIntelFramebuffer_9_18.0 file then File->Export->Clover config.plist. I gave the new FBpatcher a whirl. Awesome application. But when in add my Framebuffer_9_18.0 file and go to dvmt32 patching and allow for auto generate. It only creates a platformID, Device ID and a Connector Patch. Thats it. AppleIntelFramebuffer_9_18.0 Link to comment Share on other sites More sharing options...
headkaze Posted August 15, 2018 Author Share Posted August 15, 2018 4 hours ago, tikizondo94 said: I gave the new FBpatcher a whirl. Awesome application. But when in add my Framebuffer_9_18.0 file and go to dvmt32 patching and allow for auto generate. It only creates a platformID, Device ID and a Connector Patch. Thats it. AppleIntelFramebuffer_9_18.0 Do you have VRAM ticked under Patch->General? Link to comment Share on other sites More sharing options...
13parsecs Posted August 15, 2018 Share Posted August 15, 2018 Thanks for the tool headkaze/Vit et al. I'm about to start my (very first hack) 8700k/TitanXp build. Z370. Would this tool be useful in getting iGPU recognized as well as the Pascal gpu? Specifically, so I can use Premiere Pro's new "Quicksync" h.264/265 acceleration. http://www.focuspulling.com/cc2018/ I am a "noob" - But I'm not asking you to do The Work for me, if there is ancillary info to explore, can you point me in the right direction - I'm not scared to do some homework. Link to comment Share on other sites More sharing options...
Noir0SX Posted August 15, 2018 Share Posted August 15, 2018 On 8/13/2018 at 6:32 PM, tikizondo94 said: What did you do to get the QE/CI working? Sent from my ONEPLUS A5010 using Tapatalk @tikizondo94 Normal settings as the predecessor Kext has done DVMT-prealloc device-Id. Clover and WEG do the rest. I've raised the VRam, but you do not have to. Sorry for my english Link to comment Share on other sites More sharing options...
tikizondo94 Posted August 15, 2018 Share Posted August 15, 2018 [mention=1420666]tikizondo94[/mention] Normal settings as the predecessor Kext has done DVMT-prealloc device-Id. Clover and WEG do the rest. I've raised the VRam, but you do not have to. Sorry for my englishNo matter what I cannot get kbl drivers to load. Ive got dvmt32 set and device ID and platformID set and still lock at IOScreenLockState. DeviceID does it Everytime. If I remove deviceID I can boot without QE/CI. I'm using device ID 16590000. Sent from my ONEPLUS A5010 using Tapatalk Do you have VRAM ticked under Patch->General?I figured it out. Had a brain fart lol. Still doesn't seem to make a difference for my igpu. Still no QE/CI Sent from my ONEPLUS A5010 using Tapatalk Link to comment Share on other sites More sharing options...
headkaze Posted August 15, 2018 Author Share Posted August 15, 2018 4 hours ago, tikizondo94 said: No matter what I cannot get kbl drivers to load. Your CPU it technically Coffee Lake (That's 8th gen as in 8850u). Perhaps you could try the new Lilu option to force Kaby Lake CPU (lilucpu=7)? Link to comment Share on other sites More sharing options...
tikizondo94 Posted August 15, 2018 Share Posted August 15, 2018 Your CPU it technically Coffee Lake (That's 8th gen as in 8850u). Perhaps you could try the new Lilu option to force Kaby Lake CPU (lilucpu=7)?I can try. Cpuz shows it as an i7-8550u KabyLake-R "Refresh". So using lilucpu=7 is kinda like using fakecpuID in clover? Sent from my ONEPLUS A5010 using Tapatalk Link to comment Share on other sites More sharing options...
headkaze Posted August 16, 2018 Author Share Posted August 16, 2018 On 7/31/2018 at 4:53 PM, Andrey1970 said: Please rename this topic in "Intel Framebuffer patching by means of WhateverGreen.kext" I added some info and a link from your guide on applelife.ru, thanks. Link to comment Share on other sites More sharing options...
WeBeRiO Posted August 16, 2018 Share Posted August 16, 2018 On 6/8/2018 at 4:29, bronxteck said: Sí, el escritorio Skylake HD530 no inicializa la pantalla cuando te levantas del sueño. Probé en mojave. ¿Tiene alguna idea para una solución? I too i'm want know if is possible wake up the iGPU in macOS, thk.- Link to comment Share on other sites More sharing options...
headkaze Posted August 16, 2018 Author Share Posted August 16, 2018 18 hours ago, tikizondo94 said: So using lilucpu=7 is kinda like using fakecpuID in clover? Please check out the WhateverGreen Support Topic Link to comment Share on other sites More sharing options...
Noir0SX Posted August 16, 2018 Share Posted August 16, 2018 19 hours ago, headkaze said: Your CPU it technically Coffee Lake (That's 8th gen as in 8850u). Perhaps you could try the new Lilu option to force Kaby Lake CPU (lilucpu=7)? Can not really be the solution, I have one i5-8250U and it works there. Link to comment Share on other sites More sharing options...
tikizondo94 Posted August 16, 2018 Share Posted August 16, 2018 Can not really be the solution, I have one i5-8250U and it works there.What device properties are you currently using? Sent from my ONEPLUS A5010 using Tapatalk Link to comment Share on other sites More sharing options...
onemanOSX Posted August 19, 2018 Share Posted August 19, 2018 On 7/18/2018 at 5:04 AM, headkaze said: Intel HD Graphics 2000/3000 (Sandy Bridge) - Support started with Mac OS X 10.7.x and ended with macOS 10.13.6 I didnt know HD 2000 is even supported in High Sierra! Gotta try this! Link to comment Share on other sites More sharing options...
Andrey1970 Posted August 19, 2018 Share Posted August 19, 2018 1 hour ago, onemanOSX said: I didnt know HD 2000 is even supported in High Sierra! Gotta try this! For IQSV only. Link to comment Share on other sites More sharing options...
MacVideoPro Posted August 19, 2018 Share Posted August 19, 2018 (edited) Hello headkaze et al., I have a Lenovo M93p mini-tower with an i5-4460 Haswell processor a monitor attached to the display port connector build from scratch with High Sierra and Clover. If I boot without graphics acceleration (for instance with a dummy ig-platform-id), then my screen is detected and works properly but without acceleration (AppleIntelFramebufferAzul.kext and AppleIntelHD5000Graphics.kext not loaded) But if I don't prevent these kexts from loading, then I have the following error messages: - busy timeout, (60s) 'IGPU' 4 times -gIOScreenLockState 3, hs 0, bs 0, now 0, sm 0x0 5 times and the system ends-up booting with the screen remaining in text log mode, but I can Screen Share into the system and see that AppleIntelFramebufferAzul.kext and AppleIntelHD5000Graphics.kext are loaded and the video has the expected 1536 MB of memory. When I let the system boot all the way (waiting over 5') and connect via screen sharing, the system doesn't have any EDID data (ioreg -l | grep "IODisplayEDID" returns… nothing - not even an error.) I am attaching my IOreg output as well as my config.plist (without SNs and UUIDs) and the glog.txtw. Here are also the details of my configuration: - Lenovo M93p mini tower with Intel Q87 chipset- i5-4460 processor- using onboard graphics, with Dell monitor connected to the display port- Clover, macOS 10.13.6 post install with ##### 10.4.0 - debug versions of Lilu + WhateverGreen (built with your script) both in L/E and in EFI/Clover/kexts/Other Obviously, everything works fine under Windows 10 and Ubuntu 16.04. My guess at this stage is that Lenovo is using a non standard mapping of its connectors and that my DisplayPort connected screen is not "seen" by the Apple driver (I also tried with two screens on on each DisplayPort of the system: non detected). I would be grateful for any help to make the screens work because everything else is functional under macOS and this would be a neat system. MacVideoPro PS Note that I have tried without any improvement to inject EDID with the following addition to config.plist (data extracted under Win 10 - full config.plist attached - serials removed): <key>Graphics</key> <dict> <key>Inject</key> <dict> <key>ATI</key> <false/> <key>Intel</key> <true/> <key>NVidia</key> <false/> </dict> <key>ig-platform-id</key> <string>0x0D220003</string> <key>EDID</key> <dict> <key>Custom</key> <data>AP///////wAQrJZATDA0Ny8YAQOALBh46o3VoldSoScOUFSlSwBxT4GAqcABAQEBAQEBAQEBLyZAoGCEGjAwIDUAsuwQAAAaAAAA/wA4SFJQQzRCSTc0MEwKAAAA/ABERUxMIFAyMDE0SAogAAAA/QA4TB5TEQAKICAgICAgAHo=</data> <key>Inject</key> <true/> <key>ProductID</key> <string>0x4096</string> <key>VendorID</key> <string>0xAC10</string> </dict> </dict> ThinkCentre IOreg.ioreg config.plist wglog 2.txt Edited August 19, 2018 by MacVideoPro Link to comment Share on other sites More sharing options...
headkaze Posted August 20, 2018 Author Share Posted August 20, 2018 (edited) 22 hours ago, MacVideoPro said: <key>Intel</key> <true/> I can tell from this alone you have not read the first post. Edited August 20, 2018 by headkaze 1 Link to comment Share on other sites More sharing options...
onemanOSX Posted August 20, 2018 Share Posted August 20, 2018 I am testing in 10.13.6. Video patch works great! I can get 4k functionality and it is something I am not aware of from my HD530 laptop! I am still getting around HDMI and DP audio, tho. Any write-up on audio yet? Thanks in advance and awesome work! Link to comment Share on other sites More sharing options...
Recommended Posts