Jump to content
headkaze

Intel Framebuffer patching using WhateverGreen

296 posts in this topic

Recommended Posts

Thank you for the answer, but I need your patient a little bit more because I never used Xcode in my 3 years of Hacknitoshing.
So, I found WhateverGreen.xcodeproj in the Source code (ZIP) of WhateverGreen which is a folder after I downloaded it.
Then I downloaded the debug of Lilu.kext and placed it in the same folder Source code of WhateverGreen
I ran WhateverGreen.xcodeproj then Xcode opened in a window, now how to compile and export to kext/s ?

At the top left will be a folder icon click that. Then in the left pane scroll down to the bottom where it says products or something and highlight Whatevergreen.kext then right click and open with finder.


Sent from my iPhone using Tapatalk

Share this post


Link to post
Share on other sites
Advertisement
14 minutes ago, STLVNUB said:

Use this

A lot easier

Looks easy but the App created Lilu_Suite folder in the desktop with tow empty folders inside, Release and Debug.

Im lost again :blush: 

Share this post


Link to post
Share on other sites
Looks easy but the App created Lilu_Suite folder in the desktop with tow empty folders inside, Release and Debug.
Im lost again :blush: 

On the Lilu suite builder thread the first post has a fix for that. Near the bottom.


Sent from my iPhone using Tapatalk

Share this post


Link to post
Share on other sites

desktop hd4600, smbios 14,2. 

The external display shown as built-in,how to correct it?

 

Edited by bluemaP1E

Share this post


Link to post
Share on other sites
8 hours ago, bronxteck said:

try removing PNLF patch if you have it in config or DSDT/SSDT

I only put lilu whatevergreen to the kext folder and add "AAPL,ig-platform-id=0300220D disable-external-gpu=01000000 ".
no dsdt ssdt,no other graphics fixes.

Share this post


Link to post
Share on other sites

I'm trying to run my internal Intel HD4600 and I only get 2560 x 1440, never get 4k, I'm try with HDMI and DP wire, when I try with whatever frame frame I get reboots or black screen before login.

What may be happening?

I have copied their options on devices, without any results.

with "injectIntel" and ig-platform-id I get it to work in 2560x1440, but nothing more than resolution.

Thanks for your time.

 

upload my config.plist

 

 

UPDATED.....ç

 

After many attempts, I have framebuffer Intel HD4600 running with 2048mb.

but I have no higher resolution than 2560 x 1440, which is missing to obtain said resolution.

Connected by HDMI or DisplayPort I do not get more resolution

 

 

Edited by Macbellota

Share this post


Link to post
Share on other sites

Can somebody please tell me what values should I use for i9-9900k? I can't get them right, either acceleration is not working, or there is no HDMI output.

Share this post


Link to post
Share on other sites
Can somebody please tell me what values should I use for i9-9900k? I can't get them right, either acceleration is not working, or there is no HDMI output.

You mean intel UHD Graphics 630?

The recommended ig-platform-Id is 0x3E9B0007 so you would enter 07009B3E in your AAPL,ig-platform-id field.

What is the output of

./gfxutil -f IGPU

Are you using latest Whatevergreen and Lilu?

 

 

Sent from my iPhone using Tapatalk

 

Share this post


Link to post
Share on other sites
16 minutes ago, SavageAUS said:

You mean intel UHD Graphics 630?

The recommended ig-platform-Id is 0x3E9B0007 so you would enter 07009B3E in your AAPL,ig-platform-id field.

What is the output of

 


./gfxutil -f IGPU
 

 

Are you using latest Whatevergreen and Lilu?

 

 

Sent from my iPhone using Tapatalk

 

Yes, this is UHD 630.
I have latest Lilu and Whatevergreen, just downloaded them today.

gfxutil gives:

DevicePath = PciRoot(0x0)/Pci(0x2,0x0)
I did use this in clover already.

With various values I tested for ig-platform-Id and device-id I usually can get acceleration, but HDMI output is turning the screen off. Although system recognizes monitor name in settings.

platform-id itself doesn't change anything, only when I add device ID (for example 913e0300) I get acceleration, and screen is off. What value should I use for device id?

Edited by oneghost

Share this post


Link to post
Share on other sites
Yes, this is UHD 630.
I have latest Lilu and Whatevergreen, just downloaded them today.
gfxutil gives:
DevicePath = PciRoot(0x0)/Pci(0x2,0x0)
I did use this in clover already.

With various values I tested for ig-platform-Id and device-id I usually can get acceleration, but HDMI output is turning the screen off. Although system recognizes monitor name in settings.

platform-id itself doesn't change anything, only when I add device ID (for example 913e0300) I get acceleration, and screen is off. What value should I use for device id?

Have you tried using the intel fbpatcher app? You may need more that just the ig-platform-id and other patches for hdmi.
Also make sure you have read the first post properly.


Preliminary
1. Remove:
- FakePCIID_Intel_HD_Graphics
- IntelGraphicsFixup
- NvidiaGraphicsFixup
- CoreDisplayFixup
- Shiki
2. Turn off all graphics injections in Clover:
- config.plist/Graphics/Inject/ATI=NO
- config.plist/Graphics/Inject/Intel=NO
- config.plist/Graphics/Inject/NVidia=NO
- config.plist/Graphics/ig-platform-id=
- config.plist/Devices/FakeID/IntelGFX=
Hj02qx9.png
3. Disable DSDT Clover fixes:
- AddHDMI
- FixDisplay
- FixIntelGfx
- AddIMEI
4. Disable UseIntelHDMI
5. Remove boot argument: -disablegfxfirmware
6. Remove any IGPU and HDMI entries from:
- config.plist/Devices/Arbitrary
- config.plist/Devices/Properties
- config.plist/Devices/AddProperties
7. Remove any IGPU and HDMI related SSDT and DSDT from:
- CLOVER/ACPI/patched
8. Renaming GFX0 -> IGPU
- WhateverGreen will do this automatically (see caveat below)
- Be aware that WhateverGreen does not rename all instances of GFX0 -> IGPU but should be okay in most cases
- You may need to include Clover GFX0 -> IGPU rename for other kexts or ACPI patching that require it




Sent from my iPhone using Tapatalk

Share this post


Link to post
Share on other sites
I have read and tried all from this post, but nothing helped with HDMI.

So your monitor is connected via hdmi? I can’t see signatures on Tapatalk so I don’t know your specs. Laptop or desktop? Can you upload your clover folder minus serials and themes. Do you have any kexts installed to L/E or S/L/E?


Sent from my iPhone using Tapatalk

Share this post


Link to post
Share on other sites
36 minutes ago, SavageAUS said:


So your monitor is connected via hdmi? I can’t see signatures on Tapatalk so I don’t know your specs. Laptop or desktop? Can you upload your clover folder minus serials and themes. Do you have any kexts installed to L/E or S/L/E?


Sent from my iPhone using Tapatalk

It's Gigabyte z390 Aorus Master with i9-9900K - Desktop. No eGPU. Im connected over HDMI to 1080p monitor. I don't have DP on this board.

CloverContent.zip

Edited by oneghost

Share this post


Link to post
Share on other sites
10 hours ago, oneghost said:

It's Gigabyte z390 Aorus Master with i9-9900K - Desktop. No eGPU. Im connected over HDMI to 1080p monitor. I don't have DP on this board.

CloverContent.zip

Have you tried changing your smbios? To iMac18,3 or iMacPro1,1 <--- unsure about that one.

Share this post


Link to post
Share on other sites
8 hours ago, SavageAUS said:

Have you tried changing your smbios? To iMac18,3 or iMacPro1,1 <--- unsure about that one.

I tried both, and some other too.

Share this post


Link to post
Share on other sites

Anyone know if there is any way to get i9-9900K (UHD630) acceleration with HDMI? Every time I am able to get acceleration, there is no output over HDMI, screen just goes off. MOBO: Gigabyte z390 Aorus Master

Edited by oneghost

Share this post


Link to post
Share on other sites
On 12/10/2018 at 10:31 PM, oneghost said:

Anyone know if there is any way to get i9-9900K (UHD630) acceleration with HDMI? Every time I am able to get acceleration, there is no output over HDMI, screen just goes off. MOBO: Gigabyte z390 Aorus Master

Hmm, for me, i7-9700k (ok, no HT as 9900k) with UHD630 is working with acceleration with HDMI (and also with DP) [output from VDADecoderChecker].

Board: Asus Prime Z370-A.

 

From your EFI, try to disable some more DSDT-Patches (HECI to IMEI and GFX0 to IGPU).

I'm using same device-id / platform-id as you mentioned.

 

Cheers

Edited by skinmunster

Share this post


Link to post
Share on other sites
On 12/16/2018 at 11:13 PM, skinmunster said:

Hmm, for me, i7-9700k (ok, no HT as 9900k) with UHD630 is working with acceleration with HDMI (and also with DP) [output from VDADecoderChecker].

Board: Asus Prime Z370-A.

 

From your EFI, try to disable some more DSDT-Patches (HECI to IMEI and GFX0 to IGPU).

I'm using same device-id / platform-id as you mentioned.

 

Cheers

 

Can you share your config and what Kexts u used to get signal thru hdmi ?

Share this post


Link to post
Share on other sites

i have a Dell M4800 with "switchable" graphics - HD 4600 + AMD 5100.

with the IGPU HD 4600, the laptop works great but i cant use the HDMI (only LCD)

and with AMD - the reverse is true. 

 

i was wondering if anyone has figured out a way to use both. say use IGPU - single buffer to power LCD and then have AMD power the external ports?

 

anyway just looking for ideas. thanks.

Share this post


Link to post
Share on other sites
It's Gigabyte z390 Aorus Master with i9-9900K - Desktop. No eGPU. Im connected over HDMI to 1080p monitor. I don't have DP on this board.
CloverContent.zip
You better ask to DSDT patch

https://r.tapatalk.com/shareLink?url=https://www.insanelymac.com/forum/topic/321872-guide-sierra-high-sierra-mojave-on-mobos-serie-100-200-300-skylake-kabylake-coffeelake-dsdt/&share_tid=321872&share_fid=30100&share_type=t

Sented by Tapatalk in my Android SM-G930S

Share this post


Link to post
Share on other sites
Posted (edited)

My laptop sometimes can’t boot and shows this occasionally.

I use hdmi20 to patch 4K pixel lock but it have no problem past.
IMG_6493.thumb.jpg.34f1865e771539d5ad331fc4c93524fb.jpg

Edited by gujiangjiang

Share this post


Link to post
Share on other sites

Guys I am also struggling to make UHD 620 work on my machine. The Graphics drivers load correctly and System Info also shows graphics as: UHD 620 1536 MB

 

But I am facing too much glitches. I will try to describe it in the best way possible.

 

So the system boots up pretty fast till first stage Apple Logo, At the second stage, when the screen flickers for a tiny bit of second, progress bar always seems to get stuck. After waiting for a couple of seconds, the mouse pointer comes, stating the login screen has loaded.

Then I can type in the password and hit enter to login, I'll just see a spinning bar overlapping the Apple Logo and then, we can see a very faded out desktop.

As the desktop fades in to screen normally, in my case, it get's stuck at the initial fade state. At this point if I plugin in HDMI cable, the screen becomes normal and I get display both on HDMI and internal display.

Then, I get stutters and lags like, If I delete a file from desktop, it would be deleted but the icon still stays there until I relaunch Finder or Navigate the same location from the Finder window.

The launchpad opening and closing is very smooth, like it is when the graphics is working normally. The lags can be more specifically said to be rendering delays. As in, the actual stuff is happening only it is not being visually updated.

When we open System Prefs any of the sub prefs will not load or it will load and the title would say "Loading General, Loading Displays or Loading XYZ"

But we can access the prefpane if we open it directly by right clicking on System Pref icon and choosing the appropriate option.

If I type something in 'Terminal' a few letters will be (visually) shown while in the background, everything is working, If I minimize terminal or resize it's window, the text get's rendered/updated.

I have also tried with Skylake spoofing with both on HS and Mojave, The issue is the same.

Also, If I adjust the graphics brightness from the prefpane, If I directly click at the point that I want, the display behaves normally whereas if I slide gradually, entire window crashes and I am sent back to the login screen.

Same crash happens when I use the brightness keys to adjust the brightness.

One thing to note: In any case, when some freeze happens, I can connect or disconnect HDMI to get the screen back to normal.

I am being this vague as I seriously can't understand what is happening in this case.

Tried with fixing EDID, changing color depth, and what not. The issue prevails. Please have a look and guide me on what to do next.

I am attaching the full PR files for the review along with a AGDCDiagnose report.

 

NOTE: I have also tried with the HDMI after disconnecting the internal display (clamshell mode) and the similar lags happen and hence I am sure that it is not related to connector type being eDP. Also, removing AlwaysConnected flag leads to a black screen but the similar lags happen (tested via screen sharing)

 

Hope someone can help fix my what-can-be-termed-as rendering lags on this machine.

Also, here is a video in case my explanation was not quite clear: (Please watch the video till the end as lags are sadly mostly visible towards the end, 1080p resolution is recommended)
https://www.youtube.com/watch?v=UYaJbJhl8kU

debug_12516.zip

diag.txt

Edited by black.dragon74

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By glasgood
      CLOVER DUAL BOOT MOJAVE & WINDOWS 10 GUIDE 
       

       
       
      INCLUDES  MBR / LEGACY BIOS  TO  GPT / EFI CONVERSION
      USING MBR2GPT TOOL
       
       
      PREREQUISITE: Two physical discs ( SSD’s or HDD’s )
       
       
       
       
       
      STEP 1 - Clover dual boot configuration 
       
      Open config.plist with Clover Configurator
       
      Boot
       Legacy = PBR Timeout = True ( will remove the Timeout countdown, from Clover boot menu)  

       
      GUI 
      Scan / Custom
       Entries = True  Tool = True  Legacy = False ( removes extra Windows 10 entries )  
      Hide Volume
      - Preboot ( macOS Preboot )
      - Recovery ( macOS Recovery )
       

       
      So at boot you will have two options: boot macOS Mojave or Windows 10 
       
       
       
       
       
       
       
      ————————————————————
       
       
      STEP 2 - Using a drive without Windows 10 installed
       
      Disconnect system drive that contains your macOS Mojave install from computer ( This is so that Windows does not overwrite existing macOS Mojave boot loader )
       
      Proceed with a Windows 10 UEFI install.  
      After installation reconnect macOS Mojave Drive, the Windows installation should now be detected and usable in Clover. 
      If Windows 10 is not detected or able to boot,  then verify you installed Windows 10 as UEFI and not MBR ---->  ( Read step 2 - For a drive with Windows 10 installed )
       
       
      OR
       
       
       
      STEP 2 - Using a drive with Windows 10 already installed
       
      Verify your Windows install is  GPT / UEFI or MBR / Legacy BIOS.   
      If Windows install is GPT UEFI then Windows 10 install is ready to use at Clover boot menu, you should be able to boot into Windows directly from Clover boot screen. 
       

       
       
      But if  Windows drive is detected at Clover boot screen, but when booting Windows you get a black screen with a cursor on the top left,
      then this is most likely because Windows drive is MBR ( Legacy BIOS ).  You can easily convert MBR to GPT using  Windows MBR2GPT tool ( this saves hours work having to reinstall Windows 10 and setting up all your applications again  ) 
       
      If Windows 10 install is MBR / Legacy BIOS  then simply convert to GPT / UEFI  following instructions below ( read video summary and view video )
       
       
      ** To use Windows 10  MBR2GPT tool  you must have Windows 10 version 1703 ( creators update  ) or later and less than 3 partitions on 
      the Windows 10 drive **
       
      Video summary:
       
      Confirm Windows 10 drive is MBR Legacy BIOS ( in Windows Disk Management ) Reboot into Windows PE ( Advanced Startup ) Convert from MBR Legacy BIOS to GPT UEFI ( using commands below ) mbr2gpt /validate mbr2gpt /convert Restart Verify Windows 10 drive has changed to GPT UEFI ( in Windows Disk Management )  
       
       
       
      After conversion Windows 10 is ready to use at the Clover boot menu 
       
       
       
      STEP 3 - Stop Windows Boot manager from overriding Clover boot manager
       
      How to stop Windows boot manager from overriding your Hackintosh Clover boot manager when using dual booting between macOS and Windows
       
       
       
       
       
       
    • By fantomas1
      macOS Mojave 10.14.6 beta (18G29g)
    • By fusion71au
      Making a High Sierra USB Installer Entirely From Scratch in Windows
      This is a proof of concept tutorial, to show it's possible to create a vanilla High Sierra installer, entirely from scratch, in Windows (even without App Store downloaded "Install macOS High Sierra.app" from a real Mac ).  @PikeRAlpha's link to Apple's Software Catalog provides us with all the URLs necessary to download the needed files directly from Apple instead of some dubious source from the internet...
       

      Pre-Requisites
      8GB or larger USB drive Boot Disk Utility v2.1.2017rev021b from @CVAD TransMac (free 15 day trial) Paragon Hard Disk Manager Free Download Installer Files Directly from Apple
      1)  Browse Apple's Regular Software Catalog and find the URLs to download the following 6 installer files...
      BaseSystem.dmg BaseSystem.chunklist InstallInfo.plist InstallESDDmg.pkg AppleDiagnostics.dmg AppleDiagnostics.chunklist (Hint - search page for "InstallESD" to find its URL and others nearby)

      to a folder named "SharedSupport" on your Windows NTFS drive.  A browser download manager (eg Chrono for Chrome, dTA for FireFox) is handy since InstallESD is >4GB ---> allows you to pause/resume interrupted download...

      2)  Rename InstallESDDmg.pkg to InstallESD.dmg
      3)  Edit InstallInfo.plist with WordPad/text editor to remove the chunklistURL and chunklistid keys for InstallESD, and renaming it from InstallESDDmg.pkg to InstallESD.dmg (example of edited file attached to this post)...
      Note:  You can verify the SHA1 checksum of your InstallESD.dmg and BaseSystem.dmg with the correct ones at this website.
      Boot Disk Utility to format the Installer USB and Restore OS X Base System HFS partition
      1.  Format USB with BDU & latest Clover ---> creates boot files in CLOVER partition + second FAT partition
      2.  Extract 4.hfs from \SharedSupport\BaseSystem.dmg with BDU --> save to it's local folder
      3.  Restore 4.hfs to USB second partition with BDU --->  2nd partition becomes bootable "OS X Base System"
      Paragon Hard Disk Manager to extend HFS Partition to its Full Extent
      Open Paragon Partition Manager Free and resize the second partition of the USB drive to the full size allowed.  Don't forget to apply the changes at the end...
      Transmac to Copy "SharedSupport" folder to OS X Base System
      1.  Open the TransMac program and navigate to the HFS+ Volume/Install macOS High Sierra.app/Contents folder.  Right click anywhere in the empty space on the RHS pane and select "Copy Here"...
      2.  In the next stage, select the "SharedSupport" folder we created above as the "Files and Folders to be copied to the Mac Volume"...
      Clover Settings
      Clover configuration is required now.  The default config.plist (in the Clover FAT32 partition of the USB) maybe sufficient to boot your machine if you’re lucky.  If not, look at the Clover Wiki, Clover Instructions and Clover Configuration Thread for pointers and edit /EFI/Clover/config.plist accordingly with Wordpad or Notepad.
      The location of the important configuration files for Clover are summarized below
      config.plist--->EFI/CLOVER folder DSDT.aml with or without SSDT.aml--->EFI/CLOVER/ACPI/patched (don't need one if your DSDT is auto patched by Clover in config.plist) Kexts eg FakeSMC, NullCPUPowerManagement --->EFI/CLOVER/kexts/<osx version> or /Other. NB BootDiskUtility by default already has FakeSMC.kext installed here.  You may need to add VoodooPS2Controller for your laptop keyboard/trackpad to work. If UEFI booting, you will most likely need one of the OsxAptioFixDrv-64 drivers copied from /EFI/CLOVER/drivers-off/drivers64UEFI to /EFI/CLOVER/drivers64UEFI. If you want to use the installer to run High Sierra in Windows on VMware, you can follow my guide to set up the Virtual Machine and replace Clover's default config with EFI_Clover for VMware (which is compatible to run in VMware).  In the screenshots below, I have attached the USB Installer (in this case PhysicalDrive7) to my macOS Virtual Machine.  Reboot the system to the USB installer to install High Sierra ...
      What happens if we don't have access to TransMac or Paragon Hard Disk Manager?
      Not a problem, as long as we get "OS X Base System" bootable, we can launch terminal from the Utilities Menu to copy the SharedSupport folder over to the Installer app.  In essence, we will build the full installer app = 5GB+ on the target HD eg "Macintosh HD", by copying both the "small" installer app = 15MB (on "OS X Base System") and the SharedSupport folder from the NTFS volume (mounted in this example on /Volumes/DATA)...
      -bash-3.2# cd / -bash-3.2# cp -R Install\ macOS\ High\ Sierra.app /Volumes/Macintosh\ HD/ -bash-3.2# cp -R /Volumes/DATA/SharedSupport /Volumes/Macintosh\ HD/Install\ macOS\ High\ Sierra.app/Contents/  
      ...then start installation with the startosinstall utility...
      -bash-3.2# /Volumes/Macintosh\ HD/Install\ macOS\ High\ Sierra.app/Contents/Resources/startosinstall --volume /Volumes/Macintosh\ HD --converttoapfs NO --applicationpath /Volumes/Macintosh\ HD/Install\ macOS\ High\ Sierra.app  
      The above steps can be automated with the attached "startosinstall.command" script, which will assemble "Install macOS High Sierra.app" on "Macintosh HD" and launch the startosinstall utility targeting the "Macintosh HD" volume.  Copy/download to "Macintosh HD", then run in terminal (after attaching DATA USB with /Shared Support folder)...
      cd "/Volumes/Macintosh HD" chmod +x startosinstall.command ./startosinstall.command Updated Download Links for macOS Mojave 10.14.5_18F132
      Browse Apple's Regular Software Catalog and find the URLs to download the following 6 installer files...
      BaseSystem.dmg BaseSystem.chunklist InstallInfo.plist InstallESDDmg.pkg AppleDiagnostics.dmg AppleDiagnostics.chunklist  
      Note: In Mojave, Apple has removed the --converttoapfs NO and --applicationpath arguments from the startosinstall utility....
       
      eg to use startosinstall for the above section "What happens if we don't have access to TransMac or Paragon Hard Disk Manager?", the syntax is now
      -bash-3.2# /Volumes/Macintosh\ HD/Install\ macOS\ Mojave.app/Contents/Resources/startosinstall --volume /Volumes/Macintosh\ HD  
      This basically means that for Mojave, the default installation will always convert the target volume to the apfs file system.
       
       
      startosinstall.command.zip
      InstallInfo.plist_edited_10.13.6.zip
      InstallInfo.plist_edited_10.14.5.zip
       
       
    • By fantomas1
      This update:
      • Adds AirPlay 2 support for sharing videos, photos, music and more from your Mac directly to your AirPlay 2-enabled smart TV
      • Adds the ability to follow a magazine from the Apple News+ catalog browsing view
      • Includes support for the Reiwa (令和) era of the Japanese calendar
      • Improves audio latency on MacBook Pro models introduced in 2018
      • Fixes an issue that prevented certain very large OmniOutliner and OmniPlan documents from rendering properly
       
      Update
      Combo

      View full article
    • By fantomas1
      This update:
      • Adds AirPlay 2 support for sharing videos, photos, music and more from your Mac directly to your AirPlay 2-enabled smart TV
      • Adds the ability to follow a magazine from the Apple News+ catalog browsing view
      • Includes support for the Reiwa (令和) era of the Japanese calendar
      • Improves audio latency on MacBook Pro models introduced in 2018
      • Fixes an issue that prevented certain very large OmniOutliner and OmniPlan documents from rendering properly
       
      Update
      Combo
×