Contribute
Register

X299 Big Sur Support

Joined
Feb 26, 2011
Messages
125
Motherboard
ASUS PRIME X299-A II
CPU
i9 10940X
Graphics
AMD RX 560 | Nvidia RTX 3070
Mac
  1. MacBook
  2. MacBook Pro
Mobile Phone
  1. iOS
Well it was a little more work than the previous MSI board but I would consider this ASUS PRIME X299-A II pretty much a "golden build" now with everything I've been able to test working:
  • Native NVRAM
  • Startup/Shutdown/Sleep/Wake
  • USB ports all mapped and working even after sleep/wake
  • Airdrop, handoff, iMessage all working perfectly

Screenshot 2021-04-28 at 12.47.31.png

Screenshot 2021-04-27 at 17.36.37.png

I've attached the EFI below, Platform Info and serials stripped of course, if you wanted to use this there are a few things to note:
  • I have both AMD and Nvidia GPU's, you would need to remove SSDT-GPU-DISABLE and associated config.plist entries if not using a GPU that requires disabling.
  • Also remove SSDT-GPU-RTX3070 and SSDT-GPU-RX560 these are just workarounds for displaying the correct device names in Big Sur when Device Properties method doesn't work
  • You will need to adapt the Device Properties section of config.plist to correctly reflect your NVME drives, they will be different to mine
  • Pay close attention to the SSDT-RHUB-Reset, SSDT-GPRW and the associated ACPI patch in the config.plist - without these I had issues with sleep and disappearing ASmedia USB controllers. They seem inter-related and I wasn't sure if the ASmedia USB was preventing sleep or sleep was breaking USB but further investigation led to this fix and it has since behaved perfectly.
  • Modify TSCAdjustReset.kext to suit your actual CPU and number of cores, this EFI is set for the 14 core i9 10940X.
  • Custom USB map (edit: now tested and working fine with 11.3 update) includes maps for every port on the board with the exception of one of the USB3.0 headers taking the Intel XCHI to the maximum 15 ports - it means that in my fractal case all of the external motherboard ports and front panel ports are all mapped with USB3 and USB2 personalities and no need for FakePCIID and re-routing USB2 ports to fake controllers. You may need to modify the map if using the internal USB2 headers for actual front panel Type A ports - I am using these for the NZXT AIO and Broadcom 94360CD bluetooth header. The map looks like so:

Screenshot 2021-04-25 at 11.03.18.png

Screenshot 2021-04-25 at 11.04.03.png


This is based around the latest UEFI BIOS version v1004 dated 19/4/21, where a setting isn't specified below, I've left it as default or its a specific setting for my system which you may need your own settings, (storage config or fan curves etc):

Ai Tweaker
  • Ai Clock Tuner: XMP
Advanced
  • CPU Config
    • All Enabled, except;
    • Max CPUID: Disabled
    • Boot Performance: Max Performance
    • MSR Lock Control: Disabled
    • CPU Power Management Config
      • EIST: Enabled
      • Turbo Boost: Enabled
      • Autonomous Core C-State: Enabled
      • Enhanced Halt (C1E): Enabled
      • CPU C6 Report: Enabled
      • Package C-state: C6 (non retention)
      • MFC Mode: OS Native
  • Platform Misc. Config
    • All: Disabled
  • System Agent Config
    • VT-d: Enabled (this will be disabled with the OpenCore config for MacOS so can be left on)
  • PCH Storage Config
    • SATA Mode selection: AHCI
  • PCI Subsystem Config
    • Above 4G Decoding: Enabled
    • Re-size BAR: Disabled (MacOS will not boot with this enabled at this time)
  • Onboard Devices
    • Serial Port: Disabled
  • USB Config
    • Legacy USB Support: Enabled
    • USB Mass Storage Support: Enabled
Boot
  • Fast Boot: Enabled
  • Above 4G Decoding: On
    • First VGA 4G Decode: Auto
  • CSM (Compatibility Support Module)
    • Launch CSM: Disabled
  • Boot Option #1: Opencore (you can set this after you're installed and the EFI is copied onto your NVME drive)


I still think there's life left in the X299 platform - even if it isn't anywhere near the performance of the latest Ryzen's and doesn't feature PCI-e 4, its still a very good multi-core platform if you need MacOS and Windows or Linux and for some people (although very niche of course) it might still be the ideal build and this is definitely a nice board with great features and compatibility.

Hope this is useful for somebody at least, and if you are an Asus user with sleep or strange USB issues, check out the Dortania guide on fixing sleep and GPRW patches, its what moved this into the prefect working category for me. :thumbup:
 

Attachments

  • EFI OC 6_8 Asus PRIME X299-A II.zip
    8.8 MB · Views: 55
Last edited:
Joined
Jul 29, 2011
Messages
43
Motherboard
ASUS WS X299 SAGE /10G
CPU
i9-7960X
Graphics
Radeon VII
Mac
  1. MacBook Pro
  2. Mac Pro
Mobile Phone
  1. iOS
Hi guys!

I have X299 SAGE 10G and Radeon VII. I use this configuration for a long time. It worked with Catalina without problems. After upgrading to Big Sur I am having problems with my 10gbe. Only thing changed is OS upgrade and I added second Radeon VII card.

Everyhing looks like it works fine, but when I copy some pretty big files over 10gbe to my NAS, kernel panic happens. Not right away, but after some time, and this is how it looks like:

Code:
panic(cpu 6 caller 0xffffff801e6bf5a4): "Zone element 0xffffff93ddc0d800 was modified after free for zone kext.kalloc.512: " "Expected element to be cleared"@/AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Sources/xnu/xnu-7195.81.3/osfmk/kern/zalloc.c:1963
Backtrace (CPU 6), Frame : Return Address
0xffffffc1bad5b020 : 0xffffff801debab4d
0xffffffc1bad5b070 : 0xffffff801dffd7e3
0xffffffc1bad5b0b0 : 0xffffff801dfede1a
0xffffffc1bad5b100 : 0xffffff801de5fa2f
0xffffffc1bad5b120 : 0xffffff801deba3ed
0xffffffc1bad5b240 : 0xffffff801deba6d8
0xffffffc1bad5b2b0 : 0xffffff801e6bef9a
0xffffffc1bad5b320 : 0xffffff801e6bf5a4
0xffffffc1bad5b330 : 0xffffff801df163aa
0xffffffc1bad5b360 : 0xffffff801df175d2
0xffffffc1bad5b3e0 : 0xffffff801dec8fc4
0xffffffc1bad5b430 : 0xffffff801e4444d3
0xffffffc1bad5b450 : 0xffffff7fbf0aa0ed
0xffffffc1bad5b4e0 : 0xffffff7fbf0b3f28
0xffffffc1bad5b580 : 0xffffff7fbf0b43c3
0xffffffc1bad5b5e0 : 0xffffff7fbf0b238c
0xffffffc1bad5bc00 : 0xffffff7fbf0b3e83
0xffffffc1bad5bc60 : 0xffffff7fbf0b4207
0xffffffc1bad5bcb0 : 0xffffff7fbf08c508
0xffffffc1bad5bd40 : 0xffffff801e17bf08
0xffffffc1bad5bdc0 : 0xffffff801e16cffd
0xffffffc1bad5be30 : 0xffffff801e4774e5
0xffffffc1bad5bee0 : 0xffffff801e477311
0xffffffc1bad5bf40 : 0xffffff801e5698cb
0xffffffc1bad5bfa0 : 0xffffff801de601f6
      Kernel Extensions in backtrace:
         com.apple.filesystems.smbfs(3.4.1)[25B4D36D-9E80-3737-A383-5C00EC04C221]@0xffffff7fbf066000->0xffffff7fbf0cffff
            dependency: com.apple.kec.corecrypto(11.1)[E009770B-BAFB-3BF9-B176-D6B4CC96DF5F]@0xffffff8021006000->0xffffff8021096fff
            dependency: com.apple.kext.triggers(1.0)[D4AC084E-97BE-37BC-BEB5-BE9A4BD1705D]@0xffffff7fbf0d4000->0xffffff7fbf0d6fff


Process name corresponding to current thread: YoYotta
Boot args: alcid=1 chunklist-security-epoch=0 -chunklist-no-rev2-dev


Mac OS version:
20D91


Kernel version:
Darwin Kernel Version 20.3.0: Thu Jan 21 00:07:06 PST 2021; root:xnu-7195.81.3~1/RELEASE_X86_64
Kernel UUID: C86236B2-4976-3542-80CA-74A6B8B4BA03
KernelCache slide: 0x000000001dc00000
KernelCache base:  0xffffff801de00000
Kernel slide:      0x000000001dc10000
Kernel text base:  0xffffff801de10000
__HIB  text base: 0xffffff801dd00000
System model name: MacPro7,1 (Mac-27AD2F918AE68F61)
System shutdown begun: NO
Panic diags file available: YES (0x0)
Hibernation exit count: 0


System uptime in nanoseconds: 103505388501548
Last Sleep:           absolute           base_tsc          base_nano
  Uptime  : 0x00005e2339e9fd3c
  Sleep   : 0x0000000000000000 0x0000000000000000 0x0000000000000000
  Wake    : 0x0000000000000000 0x0000001d81ba7a36 0x0000000000000000

YoYotta software mentioned in KP is just copy application... But it is the same when using other copy software (sometimes SMB share just unmounts, sometimes KP happens).

Anybody has any idea what could be the problem? @djlild7hina I am using your latest EFI (DJ7-OC068-WS X299 Sage 10G), just without two SSDTs that are GPU specific, and with RestrictEvents, like this:

Screen Shot 2021-04-26 at 14.47.52.jpg


Aaaand I was using your EFI for Catalina, and for few latest version. Thank you for your continuous help over the years :)
 
Joined
Jul 15, 2012
Messages
75
Motherboard
Asus WS X299 SAGE/10G
CPU
i9-7980XE
Graphics
AMD Radeon™ RX 6900 XT
Mac
  1. iMac
Mobile Phone
  1. iOS
I hoped my EFI and bios settings would solve your problems. I am running Beta4 and had no problems although it wasn't a clean install but an upgrade from Beta 3.


View attachment 516285

Thank you for support. Problem has been solved.

It was the bios version 3405 that caused the KP. Loaded version 3302 and finally installation without problems of 11.4 beta 1.

Mac pro 7.1, no WEG, no string agdpmod = in boot args. Some first tests:
 

Attachments

  • Schermata 2021-04-26 alle 15.14.25.png
    Schermata 2021-04-26 alle 15.14.25.png
    66 KB · Views: 24
  • Schermata 2021-04-26 alle 15.15.19.png
    Schermata 2021-04-26 alle 15.15.19.png
    77.1 KB · Views: 18
  • Schermata 2021-04-26 alle 15.16.24.png
    Schermata 2021-04-26 alle 15.16.24.png
    68.2 KB · Views: 19
  • Schermata 2021-04-26 alle 15.19.01.png
    Schermata 2021-04-26 alle 15.19.01.png
    283.1 KB · Views: 24

NorthAmTransAm

Moderator
Joined
Jul 26, 2018
Messages
1,228
Motherboard
Asus Z370-A Prime II
CPU
i9-9900K
Graphics
RX 580
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
Well it was a little more work than the previous MSI board but I would consider this ASUS PRIME X299-A II pretty much a "golden build" now with everything I've been able to test working:
  • Native NVRAM
  • Startup/Shutdown/Sleep/Wake
  • USB ports all mapped and working even after sleep/wake
  • Airdrop, handoff, iMessage all working perfectly

View attachment 516382
View attachment 516383

I've attached the EFI below, Platform Info and serials stripped of course, if you wanted to use this there are a few things to note:
  • I have both AMD and Nvidia GPU's, you would need to remove SSDT-GPU-DISABLE and associated config.plist entries if not using a GPU that requires disabling
  • You will need to adapt the Device Properties section of config.plist to correctly reflect your NVME drives, they will be different to mine
  • Pay close attention to the SSDT-RHUB-Reset, SSDT-GPRW and the associated ACPI patch in the config.plist - without these I had issues with sleep and disappearing ASmedia USB controllers. They seem inter-related and I wasn't sure if the ASmedia USB was preventing sleep or sleep was breaking USB but further investigation led to this fix and it has since behaved perfectly.
  • Modify TSCAdjustReset.kext to suit your actual CPU and number of cores, this EFI is set for the 14 core i9 10940X.
  • Custom USB map includes maps for every port on the board with the exception of one of the USB3.0 headers taking the Intel XCHI to the maximum 15 ports - it means that in my fractal case all of the external motherboard ports and front panel ports are all mapped with USB3 and USB2 personalities and no need for FakePCIID and re-routing USB2 ports to fake controllers. You may need to modify the map if using the internal USB2 headers for actual front panel Type A ports - I am using these for the NZXT AIO and Broadcom 94360CD bluetooth header. The map looks like so:

View attachment 516384
View attachment 516385

I still think there's life left in the X299 platform - even if it isn't anywhere near the performance of the latest Ryzen's and doesn't feature PCI-e 4, its still a very good multi-core platform if you need MacOS and Windows or Linux and for some people (although very niche of course) it might still be the ideal build and this is definitely a nice board with great features and compatibility.

Hope this is useful for somebody at least, and if you are an Asus user with sleep or strange USB issues, check out the Dortania guide on fixing sleep and GPRW patches, its what moved this into the prefect working category for me. :thumbup:

Bravo!

If things ever get hairy in Big Sur check the ASMEDIA ports. I found on my board that Big Sur identified it wrong and it would cause a panic on restart which in turn caused the driver to fail to load on the start. Here's the fix.

I didn't come up with it but I think all users should know about it.
 

Attachments

  • ASMedia.kext.zip
    2.1 KB · Views: 13
Joined
Jan 29, 2011
Messages
97
Motherboard
Asus WS X299 Sage 10G
CPU
i9-7980XE
Graphics
RX 580
Mac
  1. Mac mini
Mobile Phone
  1. iOS
Thank you for support. Problem has been solved.

It was the bios version 3405 that caused the KP. Loaded version 3302 and finally installation without problems of 11.4 beta 1.

Mac pro 7.1, no WEG, no string agdpmod = in boot args. Some first tests:
Glad you got it sorted - thought it was the bios. Are you using the modded one I sent (@izo1) with the Apple logo?

If not it is a nice authentic GUI if that appeals!
 
Joined
Apr 18, 2011
Messages
1,264
Motherboard
ASUS Pro WS X299 Sage II
CPU
i9-10980XE
Graphics
W5500
Mac
  1. MacBook Air
  2. Mac Pro
Mobile Phone
  1. iOS
Bravo!

If things ever get hairy in Big Sur check the ASMEDIA ports. I found on my board that Big Sur identified it wrong and it would cause a panic on restart which in turn caused the driver to fail to load on the start. Here's the fix.

I didn't come up with it but I think all users should know about it.

I believe it's not needed anymore in 11.3? I havent used the ASMedia kext in a while but maybe i'm wrong haha
 
Joined
Feb 26, 2011
Messages
125
Motherboard
ASUS PRIME X299-A II
CPU
i9 10940X
Graphics
AMD RX 560 | Nvidia RTX 3070
Mac
  1. MacBook
  2. MacBook Pro
Mobile Phone
  1. iOS
I believe it's not needed anymore in 11.3? I havent used the ASMedia kext in a while but maybe i'm wrong haha

I'm not using it at the moment either but the potential problem @NorthAmTransAm described does kind of match what I was seeing - cold boot the ASmedia controllers were nearly always there, restart and one or both would have disappeared, same after a failed sleep or wake attempt.

I didn't spend ages debugging it though, just tried to fix sleep first and it happened to fix the strange USB behaviour too. As soon as I added the SSDT-GPRW and ACPI patch its all behaved perfectly. I'll keep an eye on it, at least its there if needed :)
 
Joined
Apr 18, 2011
Messages
1,264
Motherboard
ASUS Pro WS X299 Sage II
CPU
i9-10980XE
Graphics
W5500
Mac
  1. MacBook Air
  2. Mac Pro
Mobile Phone
  1. iOS
I'm not using it at the moment either but the potential problem @NorthAmTransAm described does kind of match what I was seeing - cold boot the ASmedia controllers were nearly always there, restart and one or both would have disappeared, same after a failed sleep or wake attempt.

I didn't spend ages debugging it though, just tried to fix sleep first and it happened to fix the strange USB behaviour too. As soon as I added the SSDT-GPRW and ACPI patch its all behaved perfectly. I'll keep an eye on it, at least its there if needed :)

Sounds good :) Btw I think GPRW disables wake from usb devices. Not a deal breaker for some people but it's nice to just press a button on the bt keyboard to wake up :)

If you really wanted you could edit your GPU-DISABLE SSDT and device properties to have the name of the RTX card and fix the slot number. See my Rampage VI Extreme Encore EFI for an example

 
Joined
Apr 18, 2011
Messages
1,264
Motherboard
ASUS Pro WS X299 Sage II
CPU
i9-10980XE
Graphics
W5500
Mac
  1. MacBook Air
  2. Mac Pro
Mobile Phone
  1. iOS
@NorthAmTransAm and @CaseySJ my Thunderbolt EX4 card is coming in today so I'll be doing some tests. Are the commands to read/flash the chip are different than the Titan Ridge cards?
 

NorthAmTransAm

Moderator
Joined
Jul 26, 2018
Messages
1,228
Motherboard
Asus Z370-A Prime II
CPU
i9-9900K
Graphics
RX 580
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
I'm not using it at the moment either but the potential problem @NorthAmTransAm described does kind of match what I was seeing - cold boot the ASmedia controllers were nearly always there, restart and one or both would have disappeared, same after a failed sleep or wake attempt.

I didn't spend ages debugging it though, just tried to fix sleep first and it happened to fix the strange USB behaviour too. As soon as I added the SSDT-GPRW and ACPI patch its all behaved perfectly. I'll keep an eye on it, at least its there if needed :)

It was driving me nuts!

I see now however that my 3.1 bus has the standard AppleUSBXHCIPCI loaded. However, I've read that despite that being loaded, without the ASMEDIA.kext they still get the crash. I'm going to experiment with a min/max version for the kext and see if it can load.

Here's the original post I got it from.
#969

And here is a bit of the confusion.

#47
 
Top