Jump to content

[GUIDE] X99 Xeon V3 Haswell-EP Mojave 10.14.x (2019)


e97
 Share

50 posts in this topic

Recommended Posts

HackPro X99 System

Until Apple blesses us with the MacPro7,1 – this is for those that require tools to do their work.

An appropriate bicycle for the mind.

 

 

IMG_9378-cpu.thumb.JPG.435f498e7fc3af86f8ed0582af44a666.JPG

 

IMG_9382-back.thumb.JPG.dc06ebf3e2a5bfa14986d132a0d3512a.JPG

 

IMG_9385-gpu.thumb.JPG.29f93b0142125b8cc76a5372a5402680.JPG

 

Specs:

 

CPU: Intel Xeon E5-2678 v3 (12 core, 2.5 GHz / 3.3 GHz Boost)

Motherboard: SZMZ X99-8D3

RAM: 16GB DDR3-14900R 1866Mhz ECC RDIMM modules

GPU: Radeon RX Vega 64 8GB

Storage: Phison E12 m.2 NVMe PCI-E 3.0 x4 SSD

Water blocks: BARROW CPU + GPU

Radiator: 360mm x 25mm slim

Pump: DDC

 

Case dimensions: 431 mm x 342 mm x 177 mm

 

 

BIOS

Reset to Defaults
 

Clover

 
Install Clover_v2.5k_r5066 (tested).
 
If you try a newer version, post your experience.
 
 

UEFI

  • ApfsDriverLoader.efi
  • HFSPlus.efi
  • AptioMemoryFix.efi
  • SMCHelper.efi
  • AudioDxe.efi
 

Kexts

  • Lilu
  • WhateverGreen
  • FakeSMC
  • AppleALC
  • RealtekRTL8111-V2.2.2
  • USBInjectAll

 

 

config.plist

 
ACPI > DSDT > Patches > "change AZAL to HDEF"
 
Boot > Arguments =
        Debug: -v dart=0 npci=0x2000 keepsyms=1 debug=0x100
        Production: dart=0 npci=0x2000
CPU > Type = 0x0A01

 

KernelAndKextPatches > KernelToPatch

 

xcpm_pkg_scope_msrs © Pike R. Alpha

find <31d2e8b4 fcffff>

replace <31d29090 909090>

 

_xcpm_ performance_patch © Pike R. Alpha

find <c1e30848 63d389d0 48c1ea20>

replace <c1e308b8 00ff0000 31d29090>

 

_xcpm_SMT_scope_msrs 1 © Pike R. Alpha

find <be0b0000 005de908 000000>

replace <be0b0000 005dc390 909090>

 

_xcpm_SMT_scope_msrs 2 © Pike R. Alpha

find: <31d2e87e fcffff>

replace: <31d29090 909090>

 

KernelAndKextPatches > KextsToPatch

 

IOPCIFamilyPatch ©PMHeart

find: <483d0000 0040>

InfoPlistPatch: NO

name: IOPCIFamily

replace: <483d0000 0080>

 

RtVariables

BooterConfig: 0x28

CsrActiveConfig: 0x67

ROM: UseMacAddr0

 

************************** [ IMPORTANT ] **************************

 

Must specify:  SMBIOS > Memory > Modules

 

Otherwise, system will not boot past / get stuck at / freeze at :

 

End RandomSeed

+++++++++++++++++++++++++++++++++

 

******************************************************************

 

 

Set SMBIOS for iMacPro1,1

 

Benchmarks

 

MacPro 6,1

macpro.jpg.b8ce4bd8a2619dcdccf6daf0957a130e.jpg

 

 

XCPM OFF

 

977995465_macpro61-no_xcpm.thumb.jpg.fe33b005fe1bce226851810a9871cdae.jpg

 

XCPM ON

 

488501452_macpro61-with-xcpm.thumb.jpg.69050ecd0a8cb329b015ba8ed2ca9fc7.jpg

 

OpenCL

 

1412055071_macpro61-vega64-wc-opencl.thumb.jpg.67f8f8740ed34f594798c332b2bff173.jpg

 

 

 

iMacPro1,1

 

imacpro.jpg.1b0c5737ab235a2ee2bc9f23b0f8a8ba.jpg

 

 

483041726_imacpro11.thumb.jpg.71e230b09f88b105e383c2887a9ec70e.jpg

 

OpenCL

 

220673216_imacpro11-vega64-wc-opencl.thumb.jpg.f942e543017700812bb809bf800f6473.jpg

 

 

NVMe

 

nvme-bnechmark.thumb.jpg.1cda73757631a2ca044a6b672b7f068e.jpg

 

 

Win 10 x64 v1809

 

AIDA64 - Cache & Memory

 

cachemem.jpg.aa426f47abe8005e7210d61a9034e594.jpg

 
Geekbench 5 benchmarks
current: https://browser.geekbench.com/v5/cpu/207919
Single-Core Score: 757
Multi-Core Score: 4681
 
(Possible) all core unlocked : https://browser.geekbench.com/v5/cpu/213050
Single-Core Score: 776
Multi-Core Score: 7589
 
Reference
iMacPro1,1 / Intel Xeon W-2195 2300 MHz (18 cores) https://browser.geekbench.com/v5/cpu/241767
Single-Core Score:  1149
Multi-Core Score:  13586
 

iMacPro1,1 / Intel Core i9-7920X 2904 MHz (12 cores)  https://browser.geekbench.com/v5/cpu/241618
Single-Core Score:   1160
Multi-Core Score:  13030

 

 

Download:  https://github.com/e97/X99-8D3-Clover

 

Whats working:

+ Nearly everything

 

 

TODO:

+ USB SSDT

+ FileVault 2
+ Boost 3.3 GHz

          Memory read

                     Win 10 x64 ~ 55,204 MB/s (3.3GHz)

                     macOS 10.14 ~ 34,000 MB/s (3.0 GHz)

+ All core 3.3GHz boost

+ Resume from sleep not instant, takes ~ 20s
+ Overclock

+ OpenCore

+ coreboot

 

 

Change log:

 

2019-11-13            fix audio (5.1 + SPDIF / optical)

2019-11-12            fix USB 3.0 + USB power

2019-11-08            verified File Vault 2; fix NVMe icon, external to internal

2019-09-25            add geekbench 5 benchmarks

2019-09-19            initial guide

 

 

 

Thank you:

 

Apple

뉴해킨

sixflow

ZISQO

Clover developers

acidanthera

Diego

 

 

Anyone else I forgot

 

 

Edited by e97
  • Like 1
Link to comment
Share on other sites

  • 1 month later...

Hi there, i was following this on another forum talking about voltageshift. Anyway, i got the setup working, tomorrow also arriving is the Vega 7. I'm tryn to figure auto layout id for audio, inject 1 just hangs the system at boot. I did patch azal as in the guide and installed appleALC also in S/L/E , did you get internal audio working or just using HDMI audio?
ALso USB 3 is goign at usb 1 speed at the moment
Score cinebench r15 on my build with 2669 v3 and 4 16gb ddr3l 1600 dimms is 1565 with a -60 undervolt , xcpm enabled. Awesome!

Edited by WhenMusicAttacks
Link to comment
Share on other sites

On 11/5/2019 at 9:42 PM, WhenMusicAttacks said:

Hi there, i was following this on another forum talking about voltageshift. Anyway, i got the setup working, tomorrow also arriving is the Vega 7. I'm tryn to figure auto layout id for audio, inject 1 just hangs the system at boot. I did patch azal as in the guide and installed appleALC also in S/L/E , did you get internal audio working or just using HDMI audio?
ALso USB 3 is goign at usb 1 speed at the moment
Score cinebench r15 on my build with 2669 v3 and 4 16gb ddr3l 1600 dimms is 1565 with a -60 undervolt , xcpm enabled. Awesome!

 

Hello, nice to see you again.

 

I deleted my content from tonymacx86 because they deleted my posts for mentioning PCPartPicker, a site for finding parts, which they consider a "price comparison" site. They banned it because price comparison sites make money from affiliate links.

 

A hypocritical policy because tonymacx86 makes money from affiliate links.. The only reason they are able to do so is because of the user generated content on the site which drives traffic.

 

If they censor me because they can't stand losing a few clicks, then they don't get to profit off of my hard researched content.

 

 

AUDIO:

 

Thanks for sharing Inject 1 does not work. Should test the other layout values for AppleALC, see: https://github.com/acidanthera/AppleALC/wiki/Supported-codecs

 

Patch AZAL may not be needed..

 

My audio goes through my Vega 64 DisplayPort to my monitor and headphones on the audio output / front panel. I have not tested the 7.1 speaker output..

 

USB3:

 

My USB3 port using a USB3.1 thumb drive works as expected.

 

1) Is USB handoff enabled in BIOS?

 

2) Verified USB3 speeds on another system?

3) Tested a verified USB3 device on the same port? On other ports?

4) Whats speeds do the other USB3 ports give you?

5) What speeds do the USB2 ports give you?

 

Depending on those answers we can debug.

 

Nice! Thanks for sharing your Cinebench r15 score + undervolt settings! I'll add Cinebench r15 to my benchmark list and update when I can.

         
Edited by e97
Link to comment
Share on other sites

1 hour ago, e97 said:

 

Hello, nice to see you again.

 

I deleted my content from tonymacx86 because they deleted my posts for mentioning PCPartPicker, a site for finding parts, which they consider a "price comparison" site. They banned it because price comparison sites make money from affiliate links.

 

A hypocritical policy because tonymacx86 makes money from affiliate links.. The only reason they are able to do so is because of the user generated content on the site which drives traffic.

 

If they censor me because they can't stand losing a few clicks, then they don't get to profit off of my hard researched content.

 

 

AUDIO:

 

Thanks for sharing Inject 1 does not work. Should test the other layout values for AppleALC, see: https://github.com/acidanthera/AppleALC/wiki/Supported-codecs

 

Patch AZAL may not be needed..

 

My audio goes through my Vega 64 DisplayPort to my monitor and headphones on the audio output / front panel. I have not tested the 7.1 speaker output..

 

USB3:

 

My USB3 port using a USB3.1 thumb drive works as expected.

 

1) Is USB handoff enabled in BIOS?

 

2) Verified USB3 speeds on another system?

3) Tested a verified USB3 device on the same port? On other ports?

4) Whats speeds do the other USB3 ports give you?

5) What speeds do the USB2 ports give you?

 

Depending on those answers we can debug.

 

Nice! Thanks for sharing your Cinebench r15 score + undervolt settings! I'll add Cinebench r15 to my benchmark list and update when I can.

         

 

Hi, so you did test the speed ? Do you have any USB kexts in S/L/E ? I use blackmagic speed test and the usb ssd (wich is UASP capable) goes around 35mb s , while on proper usb 3 uasp can go up to 380.
The audio chip in those mobos is usually alc892 . I will try my best to find the correct layout ID, i have latest appleALC and codec commander. AZAL patch is the default for x99 i think.
I will come back to the build tomorrow. Thanks again for the great share my friend. I owe you a lot!

Link to comment
Share on other sites

On 11/8/2019 at 4:42 PM, WhenMusicAttacks said:

 

Hi, so you did test the speed ? Do you have any USB kexts in S/L/E ? I use blackmagic speed test and the usb ssd (wich is UASP capable) goes around 35mb s , while on proper usb 3 uasp can go up to 380.
The audio chip in those mobos is usually alc892 . I will try my best to find the correct layout ID, i have latest appleALC and codec commander. AZAL patch is the default for x99 i think.
I will come back to the build tomorrow. Thanks again for the great share my friend. I owe you a lot!

 

Nope.. only Enable E/XHCI in BIOS and USBInjectAll.kext

We may need:

SSDT-EC (fixes power issues) and SSDT-EHCx_OFF (shouldn't be necessary if Enabled in BIOS)

I installed Mojave from a USB3.0 drive, initial load took 4 minutes and finalizing install took 12 minutes. Can't happen at USB 2.0 speeds

 

Modify TODO: SSDT_UIAC ; add SSDT-EC (done) and SSDT-EHCx_OFF if necessary

 

Audo chipset is ALC892 like you said. No need for CodecCommander since AppleALC includes that fix.

ALC892 > 0x100302, layout 1, 2, 3, 4, 5, 7, 12, 15, 16, 17, 18, 28, 31, 90, 92, 97, 99

 

hackintool and IORegisteryExplorer suggest layout-id=7

edit: its not 1, 2, 7

 

Add TODO: Audio needs to be fixed

 

COMPLETE: verified FileVault2 today!

 

Add TODO: Fix NVMe icon to be internal drive, not external -- DONE

 

Will test all core turbo soon after fixing these things.

 

TODO: Make sleep/resume faster

 

Edited by e97
Link to comment
Share on other sites

On 11/11/2019 at 2:54 AM, e97 said:

 

Nope.. only Enable E/XHCI in BIOS and USBInjectAll.kext

We may need:

SSDT-EC (fixes power issues) and SSDT-EHCx_OFF (shouldn't be necessary if Enabled in BIOS)

I installed Mojave from a USB3.0 drive, initial load took 4 minutes and finalizing install took 12 minutes. Can't happen at USB 2.0 speeds

 

Modify TODO: SSDT_UIAC ; add SSDT-EC (done) and SSDT-EHCx_OFF if necessary

 

Audo chipset is ALC892 like you said. No need for CodecCommander since AppleALC includes that fix.

ALC892 > 0x100302, layout 1, 2, 3, 4, 5, 7, 12, 15, 16, 17, 18, 28, 31, 90, 92, 97, 99

 

hackintool and IORegisteryExplorer suggest layout-id=7

edit: its not 1, 2, 7

 

Add TODO: Audio needs to be fixed

 

COMPLETE: verified FileVault2 today!

 

Add TODO: Fix NVMe icon to be internal drive, not external -- DONE

 

Will test all core turbo soon after fixing these things.

 

TODO: Make sleep/resume faster

 

Man, i got 4 32gb 1866 mhz ddr3l sticks, but i cant seem to boot with them, i tried to change 32768 to memory size and 1866 AND 1867 for the speed no luck. Also tried to set them at 1600 in both bios & config.
I can boot with eiter 4 or 8 sticks of 16gb ddr3l 10600 overclocked to 1600 and properly set in the manual slot config. 
Also, for external icons, INNIE kext is a solution, if you have a patch working its btter

For USB, i modified your config to include injection and ownership fix, otherwise my system was not booting, stuck at appleusblegacyroot init.
I did enable both handoff (even though i think hackintosh needed just xhci ) .
I now lost all the usb 3 ports in my system. I have usbinjectall installed both in clover kext other and S/L/E . booting with injection and ownership enabled , xhci and ehci handoff in bios

Edited by WhenMusicAttacks
Link to comment
Share on other sites

17 hours ago, WhenMusicAttacks said:

Man, i got 4 32gb 1866 mhz ddr3l sticks, but i cant seem to boot with them, i tried to change 32768 to memory size and 1866 AND 1867 for the speed no luck. Also tried to set them at 1600 in both bios & config.
I can boot with eiter 4 or 8 sticks of 16gb ddr3l 10600 overclocked to 1600 and properly set in the manual slot config. 
Also, for external icons, INNIE kext is a solution, if you have a patch working its btter

For USB, i modified your config to include injection and ownership fix, otherwise my system was not booting, stuck at appleusblegacyroot init.
I did enable both handoff (even though i think hackintosh needed just xhci ) .
I now lost all the usb 3 ports in my system. I have usbinjectall installed both in clover kext other and S/L/E . booting with injection and ownership enabled , xhci and ehci handoff in bios

 

7 hours ago, WhenMusicAttacks said:

After removing all usb kext except for injectall ann with the 10.14.6 usb port limit patch, usb 3 ports do not even show devices attached :( i will post my config when i get wifi in the box (maybe you can also look at mmy config for 32gb dimms)

 

A small patch fixed Internal icon, no kext needed =)

 

I don't know of any mfg (Samsung, Micron, Hynix) that makes the chips for 32GB 1866 MHz 1.35V DDR3L, not to mention the modules. Whats the model # or picture of the modules?

 

If you have the same motherboard, using my EFI folder should work with 10.14.5 and 10.14.6 (latest)

 

Not sure why you need Injection or port limit patch, that what USBInjectAll kext is for.

 

Please upload your EFI folder and BIOS version and settings that differ from default

 

Edited by e97
Link to comment
Share on other sites

I do not have the system with me atm, just the disk i was using to test it. I have AppleAlc, FakeSMC, Lilu, Whatevergreen, UsbInjectAll and RTL8111 in both kexts / other and L/E
I changed EHCI handoff to enabled, XHCI i think was already enabled

I messed with the config because i was getting sysctl -n machdep.xcpm.mode 0 so scores way worst than windows (now its doing slightly better )

I did not test sysctl -n machdep.xcpm.vectors_loaded_count  result though

 

Also attached the 32gb ram sticks config file to check - modules are M386B4G70DM0 - CMA3Q E , I tried to downclock them to 1600 and match the config accordingly no luck, and manually edit the Clover default 1866 frequency to 1867 to mach what was shown in the bios.


To finish the build i added a pci express sonnet card with usb 3 and firewire 800, p&p under macos, and used voodoohda for audio

Used an original apple wifi card, Vega 7 Gpu, 128gb ddr3l t 1600mhz (during test i just had 64)

 

I wonder how much difference between 2669 and 2678 there is - gonna find out because i have the latter comin here :) did you run cinebench yet?

 

config.plist

config32gb.plist

Edited by WhenMusicAttacks
Link to comment
Share on other sites

6 minutes ago, WhenMusicAttacks said:

I have AppleAlc, FakeSMC, Lilu, Whatevergreen, UsbInjectAll and RTL8111 in both kexts / other and L/E
I changed EHCI handoff to enabled, XHCI i think was already enabled

I messed with the config because i was getting sysctl -n machdep.xcpm.mode 0


I do not have the system with me atm, just the dsk i was using to test it

 

Also attached the 32gb file

 

modules are M386B4G70DM0 - CMA3Q E

 

I tried to downclock them to 1600 and match the config accordingly no luck

 

config.plist

config32gb.plist

 

M386B4G70DM0 is LRDIMM. Compatibility likely requires vendor support and testing to tweak the memory controller, I don't have any LRDIMMs to here to test but the BIOS has options for it. Try to test with 1 stick and work up from there.

 

For your config:

delete all patches

only: X99 motherboards (ALZA > HDEF) (TODO: update patch)

notes:

    our DSDT does not have AZAL

    HECI -> IMEI  is for Skylake

     if using whatever green so PGEP->GFX0 is conflict

 

ACPI > SSDT > Generate

Yes for ALL until custom SSDT is made

 

Remove USB FixOwnership

SSDT-EC  fixes USB 3.0 power (coming soon)

 

dont need FakeCPUID because Haswell is supported natively.

Only need 1 xcpm patches _xcpm_ performance_patch © Pike R. Alpha

 check MSR protection in BIOS is disabled.

 

 

 

Your USB patches are conflicting with USBInjectAll, delete all and only use USBInjectAll or make a custom SSDT-UIAC.aml  ( usb guide

or wait for one here

Link to comment
Share on other sites

16 hours ago, WhenMusicAttacks said:

Windows is booting fine with the 32gb sticks, no issues

Ill test everything else now

 

Glad to hear LRDIMM work

 

Fixed and tested USB3.0

 

not sure whats going on with audio

 

edit: fixed audio

 

Edited by e97
Link to comment
Share on other sites

LRDIMMS are working on windows, macOs does not boot, stuck at the plus signs
i'm traveling to Australia now, ill have my hands on the build again only next month sadly, with the shiny Radeon 7 installed it looked super cool even though Geekbench score is actually lower than yours with vega 64

Edited by WhenMusicAttacks
Link to comment
Share on other sites

On 11/17/2019 at 11:08 PM, WhenMusicAttacks said:

LRDIMMS are working on windows, macOs does not boot, stuck at the plus signs
i'm traveling to Australia now, ill have my hands on the build again only next month sadly, with the shiny Radeon 7 installed it looked super cool even though Geekbench score is actually lower than yours with vega 64

 

Likely memory map issue. Maybe SSDT / DSDT patch could fix it.. trying something similar for OpenCore.

 

Thats strange. Make sure you're using iMacPro1,1 SMBIOS with Radeon VII - for some reason it performs much better (see @ 14:49)

 

Edited by e97
Link to comment
Share on other sites

  • 4 weeks later...

Did you try the voltage reduction mod w Voltageshift?

guide:

settings i found stable on both the v3 i had (2669 v3 and 2673 v3) : sudo ./voltageshift buildlaunchd -60 -0 -70 -60 -60 -60 20

offset of 60 on core and 70 on cache , i tested all my benchmark suite on windows and maOs at -70 core and -80 cache with no errors so i feel safe with those values for production work

power consumption dropped about 15w from 107w to 91w at full load , from 25 to 20 idle

each CPU should have different tolerance to voltages but i suspect Xeons are strictly binned and in my experience undervolting aroun 70 / 80mv on haswell is always stable, chips without Hyper Threading can usually undervolt a bit more around 100, the most accurate test i found for the system stablity (AKA the test that crush more often) is intel XTU memory test on windows and thats how you should test your own undervolt values to be 100% safe

Edited by WhenMusicAttacks
more details,
Link to comment
Share on other sites

On 12/16/2019 at 12:01 AM, WhenMusicAttacks said:

Did you try the voltage reduction mod w Voltageshift?

guide:

settings i found stable on both the v3 i had (2669 v3 and 2673 v3) : sudo ./voltageshift buildlaunchd -60 -0 -70 -60 -60 -60 20

offset of 60 on core and 70 on cache , i tested all my benchmark suite on windows and maOs at -70 core and -80 cache with no errors so i feel safe with those values for production work

power consumption dropped about 15w from 107w to 91w at full load , from 25 to 20 idle

each CPU should have different tolerance to voltages but i suspect Xeons are strictly binned and in my experience undervolting aroun 70 / 80mv on haswell is always stable, chips without Hyper Threading can usually undervolt a bit more around 100, the most accurate test i found for the system stablity (AKA the test that crush more often) is intel XTU memory test on windows and thats how you should test your own undervolt values to be 100% safe

 

https://github.com/sicreative/VoltageShift

thats a neat tool, thanks for sharing the link and post

 

I'm doing the BIOS mod version of undervolt to enable all core boost unlock at the same time. This is an easier way to determine optimal voltage and stability without having to reboot.

 

Also don't forget to undervolt Vega 64 as they run power hungry. You get more performance and less power usage.

 

edit: did new build fix your USB 3.0 issues?

 

TODO:

- interrupt timer on file vault 2 unlock screen slow (https://www.insanelymac.com/forum/topic/317290-filevault-2/?page=19)

- micro-stutter every few minutes in full screen games

- USB 3.0 extra power

- USB 3.0 devices connected during boot sometimes show as USB 2.0, unless disconnected and reconnected

 

please report any other issues you run into

Edited by e97
Link to comment
Share on other sites

 Share

×
×
  • Create New...