Contribute
Register

Intel i5-8400 using UHD 630 Graphics

Joined
Oct 30, 2018
Messages
259
Motherboard
GIGABYTE Z370 AORUS Gaming 7
CPU
i7-8700K
Graphics
RX 580
Mac
iMac, MacBook, MacBook Pro, Mac mini, Mac Pro
Classic Mac
eMac, iMac, Performa
Mobile Phone
Android, iOS
Here's a more complete reply:
  • As mentioned in previous post, FakeSMC and VirtualSMC are currently installed in /Library/Extensions. Only one is allowed at a time. VirtualSMC should be deleted (with Finder) and kernel cache should be rebuilt (simply running Kext Utility will rebuild caches).
  • In CLOVER/drivers64UEFI there are two memory fix drivers: (a) OsxAptioFix2Drv-free2000 and (b) AptioMemoryFix-64. Only one is allowed at a time. AptioMemoryFix-64 should be deleted.
  • USB port limit patch does not seem to work when USBInjectAll is used. USBInjectAll injects all ports, but MacOS subsequently truncates the list to the first 15. So the attached image shows the result where only the USB 2.0 ports are activated. For the time being, we can manually disable a few of the unused USB 2.0 ports to allow SSxx (USB 3.0) ports to come through, but your best solution is to create a custom USB SSDT (I know this sends shivers of fright)! Temporarily disabling some ports can be done easily by adding this argument to the Boot section of config.plist using Clover Configurator:
    • -uia_exclude=HS01,HS02,HS10,HS11,HS12
    • This will allow 5 other ports to come through (USB 3.0 SSxx ports will come through).
  • I've also modified your config.plist to better handle USB ports, SATA ports, and CPU power management for sleep/wake. Feel free to try it (backing up existing file first).
I certainly don't want to add any unnecessary frustration -- I know how painful this has been. So please create a full backup of your system as @jb007 very wisely suggested. This will be your restore point and it should provide peace of mind before undertaking further changes.

View attachment 378872
I wonder where all of these USB ports are. I count only seven external and three internal. I saw a map somewhere of the HSxx for this board. i need to find it again. The SSDT is slightly less of a mystery. But, yes, a bit intimidating.

Thank You for the edits and the explanation. I suspected my kexts and drivers were a bit messy after all the trial and error. It will take a while to remove the dross one-at-a-time. As I know removing all of them at once will render me unbootable again.

Will make those USB changes ASAP... which will likely be after work tomorrow.
It either works or it doesn't at this point. I'm expecting a Z370N and other parts on Tuesday. If this one just won't work, I'll replace the board in MiniZee with the Z370N. Thanks to @jb007 , I'm pretty sure I already have a fairly working EFI for that one.
 
Joined
Jan 8, 2019
Messages
20
Motherboard
ASRock DESKMINI 310W
CPU
i5-8400
Graphics
UHD630
I'm having your exact same issue with my i5 8400 with UHD630 on a deskmini 310. No acceleration with any combination of ig-platform-id/fake id's, dozens of other suggested configs. Have mojave 10.14.2, starting to lose hope.
 
Joined
Oct 30, 2018
Messages
259
Motherboard
GIGABYTE Z370 AORUS Gaming 7
CPU
i7-8700K
Graphics
RX 580
Mac
iMac, MacBook, MacBook Pro, Mac mini, Mac Pro
Classic Mac
eMac, iMac, Performa
Mobile Phone
Android, iOS
I'm having your exact same issue with my i5 8400 with UHD630 on a deskmini 310. No acceleration with any combination of ig-platform-id/fake id's, dozens of other suggested configs. Have mojave 10.14.2, starting to lose hope.
Don't lose hope! We are making progress here.
I hope to be able to post some results within the next few hours from my experimentation based on the combined advice of @jb007 ,@CaseySJ and @jaymonkey ... Could be tomorrow though... It's slow going.

I am going through the settings one-by-one, seeing what boots, and what hangs us up. Someone has to ride the bleeding edge. it might as well be us. Rock on Garth! :headbang:
 

jaymonkey

Moderator
Joined
Aug 27, 2011
Messages
3,650
Motherboard
ASRock-Z97 EX6
CPU
i7-4790K OC @ 4.8GHz
Graphics
Vega 64LC + HD4600
Mac
MacBook Air, MacBook Pro
Mobile Phone
Android, iOS
I'm having your exact same issue with my i5 8400 with UHD630 on a deskmini 310. No acceleration with any combination of ig-platform-id/fake id's, dozens of other suggested configs. Have mojave 10.14.2, starting to lose hope.

@aloominium,

Yes it does seem a lot of users are struggling to get CFL UHD 630 IGPU working as IGPU only system. However I have read a few success stories so I think it's possible.

Unfortunately I don't have CFL system so it's not possible for me to test it.

Have you tried using MacMini 8,1 SMBIOS, Installing Lilu and WhatEverGreen and using the following PlatformID Device properties :-

AAPL,ig-platform-id = 3E9B0007 (07009B3E in reverse byte order for Clover Configurator)
device-id = 3E9B0000 (9B3E0000 in reverse byte order for Clover Configurator)

Code:
ID: 3E9B0007, STOLEN: 57 MB, FBMEM: 0 bytes, VRAM: 1536 MB, Flags: 0x00801302
TOTAL STOLEN: 58 MB, TOTAL CURSOR: 1 MB (1572864 bytes), MAX STOLEN: 172 MB, MAX OVERALL: 173 MB (181940224 bytes)
GPU Name: Intel UHD Graphics 630
Model Name(s):
Camelia: Disabled
Mobile: 0, PipeCount: 3, PortCount: 3, FBMemoryCount: 3
[1] busId: 0x05, pipe: 9, type: 0x00000400, flags: 0x000003C7 - DP
[2] busId: 0x04, pipe: 10, type: 0x00000400, flags: 0x000003C7 - DP
[3] busId: 0x06, pipe: 8, type: 0x00000400, flags: 0x000003C7 - DP
01050900 00040000 C7030000
02040A00 00040000 C7030000
03060800 00040000 C7030000

As far as I can tell this is the only valid PlatformID for CFL UHD 630 IGPU on Desktop Class Mac, all other desktop UHD 630 PlatformID's are headless or are for MacBook (Laptop Class) systems or other IGPU. Also note the link I posted above (Post #42) which may help with the above config.

As you can see from above PlatformID data dump all three ports are DP, so if your using HDMI then you will need to manually patch the frame buffer connector info.

For help with Lilu + Plug-in's see this guide :-

https://www.tonymacx86.com/threads/an-idiots-guide-to-lilu-and-its-plug-ins.260063/

Be sure to follow the guide carefully, install kexts in the correct location, remove ALL clover IGPU values and flags ..etc
As detailed in that guide use CaseySJ guide for patching the framebuffer ports and connectors :-

https://www.tonymacx86.com/threads/...hdmi-black-screen-problem.269149/post-1885420

Cheers
Jay
 
Last edited:

jaymonkey

Moderator
Joined
Aug 27, 2011
Messages
3,650
Motherboard
ASRock-Z97 EX6
CPU
i7-4790K OC @ 4.8GHz
Graphics
Vega 64LC + HD4600
Mac
MacBook Air, MacBook Pro
Mobile Phone
Android, iOS
Thought I would refer to you this update from @aloominium!! :)

@CaseySJ, @HackinMax,

Nice to see that some progress is being made ...

I also found out that some UHD 630 users have to use the AGDP Patch (Apple Graphics Display Policy) which can be applied by using WhatEverGreen and the boot argument agdpmod= (see WEG Readme for values), seems to be needed for 4K displays and/or multi-monitor support on UHD 630.

Cheers
Jay
 
Joined
Oct 30, 2018
Messages
259
Motherboard
GIGABYTE Z370 AORUS Gaming 7
CPU
i7-8700K
Graphics
RX 580
Mac
iMac, MacBook, MacBook Pro, Mac mini, Mac Pro
Classic Mac
eMac, iMac, Performa
Mobile Phone
Android, iOS
I have worked for several hours with the config.plist offered by @CaseySJ as well as the FB patch offered by @jaymonkey

Thanks to ALL of you for your support thus far. I am determined to see this through. We need this information for future 'toshers. So, I will learn as I go and, help as much as I can.

Progress report...

Initially, the system would not boot with the config provided by @CaseySJ . So, I determined to find out exactly what setting was causing it to freeze. I started with my base config.plist and, added each setting one-at-a-time and rebooted. There were times when one setting would cause a freeze. But, when used in conjunction with a known "white hat" setting, it worked fine. So, based on this tedious methodology. We found a "black hat" in the bunch.

Aaaaand the winner is ->Acpi -> "Plugin Type". When checked, the system freezes just as IGPU should be initialized. And, right after Ethernet initializes.

All other settings get 'er booted up. So, Just for kicks, I restored the setting again. I can confirm that this is the check that soils the bed. (Although, I have no idea what it really does.)

I have attached that config.plist in the EFI.zip attached. I still have some cleanup to do with unneeded drivers and kext files in /L/E/ also per @CaseySJ. That will be job #1 tomorrow. But, getting this far has used up all available time for today. It is (again) midnight here.

This EFI has been successfully booted MANY, many times. So, I know it gets me into a working system.

What's improved?
GUI now loads in full UHD4K
Intel Gbe is working fully now.

What doesn't work?
Of course, full video features/acceleration
QuickView and Preview (which did work before)
Shut Down and Restart
Many USB Ports (Another job for tomorrow per the dreaded SSDT learning curve)

I have tried to boot off of the MacMini8,1 SMB several times. It's just not happening ATM. Perhaps when I get better with the FB stuff, I can comprehend what @jaymonkey has shared with us. For now, iMac18,3 is the only one that works for this system.

I tried this Video patch offered by @jaymonkey . Which resulted in a lock/freeze at the "GIOsomething??? This is usually a sign that the GPU has initialized. And, usually, I get the GUI a few seconds later... But, It did not proceed any further on several attempts.
Removing the HDMI connection and replacing it after a few seconds did not change anything. (But, the verbose display DID restore after reconnecting. THAT hasn't happened before. Usually, it just stays dark after a disconnect/reconnect.
I also tried this patch with DP with identical results.

Again, I will be back on this tomorrow as time permits. I have a feeling that the Video is the hardest part of this build. Maybe, just maybe... ACPI will cooperate and USB can be relatively easy to sort.

-----------------------_fb-patch attempted ----------------------

Code:
<key>Properties</key>
        <dict>
            <key>PciRoot(0x0)/Pci(0x2, 0x0)</key>
            <dict>
                <key>AAPL,ig-platform-id</key>
                <data>
                BwCbPg==
                </data>
                <key>device-id</key>
                <data>
                mz4AAA==
                </data>
                <key>enable-hdmi20</key>
                <data>
                AQAAAA==
                </data>
                <key>framebuffer-con0-busid</key>
                <data>
                AQAAAA==
                </data>
                <key>framebuffer-con0-enable</key>
                <data>
                AQAAAA==
                </data>
                <key>framebuffer-con0-pipe</key>
                <data>
                EgAAAA==
                </data>
                <key>framebuffer-con0-type</key>
                <data>
                AAgAAA==
                </data>
                <key>framebuffer-con1-busid</key>
                <data>
                AgAAAA==
                </data>
                <key>framebuffer-con1-enable</key>
                <data>
                AQAAAA==
                </data>
                <key>framebuffer-con1-index</key>
                <data>
                /////w==
                </data>
                <key>framebuffer-con1-pipe</key>
                <data>
                EgAAAA==
                </data>
                <key>framebuffer-con1-type</key>
                <data>
                BAAAAA==
                </data>
                <key>framebuffer-con2-enable</key>
                <data>
                AQAAAA==
                </data>
                <key>framebuffer-con2-pipe</key>
                <data>
                EgAAAA==
                </data>
                <key>framebuffer-patch-enable</key>
                <data>
                AQAAAA==
                </data>
                <key>framebuffer-pipecount</key>
                <data>
                AgAAAA==
                </data>
            </dict>
        </dict>
 

Attachments

Last edited:

CaseySJ

Moderator
Joined
Nov 11, 2018
Messages
8,769
Motherboard
Gigabyte Designare Z390
CPU
i7-9700K
Graphics
RX 5700 XT
Mac
MacBook Air, MacBook Pro, Mac Pro
Classic Mac
Quadra
Mobile Phone
iOS
I have worked for several hours with the config.plist offered by @CaseySJ.

Initially, the system would not boot with that config. So, I determined to find out what setting was causing it to freeze.
Aaaaand the winner is ->Acpi -> "Plugin Type". When checked, the system freezes just as IGPU should be initialized.

All other settings get 'er booted up.
I would not have guessed that, so this is good information! Will add it to the build guide.

What doesn't work?
Of course, full video features/acceleration
QuickView and Preview (which did work before)
Shut Down and Restart
Many USB Ports (Another job for tomorrow per the dreaded SSDT learning curve)
Once framebuffer configuration is applied to enable acceleration on the UHD 630, then Quick Look and Preview should come alive automatically. They are dependent on the AppleIntelFramebuffer.

I have tried to boot off of the MacMini8,1 SMB several times. It's just not happening ATM. Perhaps when I get better with the FB stuff, I can comprehend what @jaymonkey has shared with us.
I think you're installing 10.14.2, but just in case you happen to be installing 10.14 note that Macmini8,1 is not supported by that version of Mojave.
 
Joined
Oct 30, 2018
Messages
259
Motherboard
GIGABYTE Z370 AORUS Gaming 7
CPU
i7-8700K
Graphics
RX 580
Mac
iMac, MacBook, MacBook Pro, Mac mini, Mac Pro
Classic Mac
eMac, iMac, Performa
Mobile Phone
Android, iOS
I would not have guessed that, so this is good information! Will add it to the build guide.
I hope it helps somehow. Those hundred or so reboots were a LOT of fun. :lol:

Once framebuffer configuration is applied to enable acceleration on the UHD 630, then Quick Look and Preview should come alive automatically. They are dependent on the AppleIntelFramebuffer.
That's what I suspected. There was one config I had at the beginning where it worked... even though the display was all 'skippy' and 'jumpy'.

I think you're installing 10.14.2, but just in case you happen to be installing 10.14 note that Macmini8,1 is not supported by that version of Mojave.
You are correct. I am running 10.14.2

Thanks again for all the support. I will be running through the rest of it tomorrow. Hopefully, tomorrow will be the day we nail down the framebuffer for good.

@aloominium seems to have gotten things working (temporarily) with @jaymonkey 's help. Hopefully, he can continue with helping with the testing so we can make some actual conclusions. I'll be trying the FB-Patch route again with the edited preflight instructions. hopefully the system will boot and cooperate with the analysis.

Good night from Japan.
 
Top