Contribute
Register

[SUCCESS] Big Sur on Gigabyte Z590 VISION D + 11700K + RX580

Status
Not open for further replies.
Joined
Dec 9, 2017
Messages
134
Motherboard
Gigabyte Z590 VISION D
CPU
i7-11700K
Graphics
RX 6600 XT
Mac
  1. MacBook Pro
Mobile Phone
  1. Android
  2. iOS
Hello everyone,

I've decided to upgrade my old configuration based on Kaby Lake (7700K) and now my new setup based on Z590 is almost ready. It works stable for 1 week so I want to share my progress with you.

Hardware

Motherboard: Gigabyte GA-Z590 VISION D
CPU: Intel Core i7-11700K
GPU: Gigabyte Radeon RX580 4GB
RAM: 4x16GB Corsair LPX 3200 MHz DDR4
Storage 1: Samsung 970Evo Plus PCIe 3.0 500GB
Storage 2: Corsair MP600 PCIe 4.0 1TB
Storage 3: LSI SAS MegaRAID 9261-8i SAS2108 Hardware RAID Storage card
PCIe card 1: Fresco Logic FL1100 4-port USB 3.0 card
Ethernet: 2 x Intel I225V
BT + WiFi: Broadcom BCM94360NG 802.11ac NGFF WiFi Card
OS: macOS Big Sur 11.6 + Windows 10 20H2 dual boot
Bootloader: OpenCore 0.7.4

Used kexts

AppleALC.kext
BlueToolFixup.kext
CPUFriend.kext
CPUFriendDataProvider.kext
Lilu.kext
NVMeFix.kext
RestrictEvents.kext
SASMegaRAID.kext
SMCProcessor.kext
SMCSuperIO.kext
USBMap.kext
USBWakeFixup.kext
VirtualSMC.kext
WhateverGreen.kext

BIOS settings

Version F6

Disabled CSM
Disabled Fast Boot mode

Enabled VT-d
Enabled Intel PTT (TMP 2.0)
Enabled iGPU (switched off in macOS)
Enabled Thunderbolt 4
Enabled XMP1
Enabled CPU Gear Mode 2 (XMP related)
Enabled Windows 8/10 UEFI boot
Enabled XHCI Hand-Off
Enabled Legacy USB Support

210929120714.jpg
210929120732.jpg
210929120743.jpg
210929120754.jpg
210929120759.jpg
210929120858.jpg
210929120907.jpg



USB Port Map

This is my custom USB port map. Feel free to use it or create yours.

gigabyte-z590-vision-d.jpg

gigabyte-z590-vision-d-inside.jpg


System definition

iMacPro1,1 with iGPU disabled.

What works

1. USB - Custom USB port mapping
2. Sound is native
3. iMessage
4. The onboard Intel AX210 WiFi+BT card is removed and changed with BCM94360NG. So we have native WiFi and Bluetooth with Handoff and AirDrop
5. Thunderbolt is working thanks to the provided DMAR in the community, but no hot plug. I have tested an Apple Thunderbolt to Ethernet Adapter and it connects on cold boot or restart only. However the hot plug does not work in Windows. I think it is MB firmware issue.

What does NOT work

So far everything is working correctly, no thunderbolt hot plug.

EFI

Full EFI attached. Please use your own platform info. The resource files are removed from the EFI archive.

Troubleshooting

1. XMP1 Profile works with Gear2 option enabled only.
2. TB4 controller supports USB Hub hot plugging, but hot plugging a TB device seems to has issues (both Windows and macOS)

Screenshot 2021-09-29 at 15.39.06.png
Screenshot 2021-09-29 at 15.39.54.png
Screenshot 2021-09-29 at 15.40.06.png
Screenshot 2021-09-29 at 15.38.39.png
Screenshot 2021-09-26 at 20.24.06.png
 

Attachments

  • Screenshot 2021-09-29 at 15.39.54.png
    Screenshot 2021-09-29 at 15.39.54.png
    231 KB · Views: 1,057
  • EFI_0.0.3.zip
    7 MB · Views: 2,490
Last edited:
Nice work. I use the BCM94360NG without any kexts and find that it is recognized by macOS natively in Catalina and Big Sur. What made you decide to use Brcm kexts?

EDIT: I only reviewed your listed kexts and didn't examine your posted EFI.
 
The board is flashed with the latest BIOS file provided (F6). So far everything is working as before, no Thunderbolt hot plug, long POST times...

A new EFI version (0.0.2) uploaded, cleaned from all the kexts not used. OC updated to 0.7.4, kexts are also updated to the latest versions.
 
@tsanko.dimitrov I see that you have removed the Brcm kexts. Glad that worked for you.

You have a very interesting software coding style in your SSDT-GPRW.aml patch:
Code:
        While (One)
        {

         /* Do stuff */

            Break
        }


Why the While loop?

Also, what you are perceiving as "long post times" may be because you are loading AudioDxe.efi driver at startup (for boot chime). To test, try disabling AudioDxe.efi (UEFI > Drivers > Item 1) in your config.plist and change UEFI > Audio > AudioSupport to false. Does that shorten your boot time?
 
@deeveedee thanks for you reply. Actually it's used for fixing instant wake when the system goes to sleep. Unfortunately I can't test sleep because my system has a hardware RAID controller which driver does not support sleep. That's why I've disabled sleep. Maybe someone else can test it or delete the patch and the SSDT if there are issues.

The long POST is not connected with OC, macOS or whatever OS. It's a mainboard firmware (BIOS) issue. I've talked with gigabyte about that, but nothing useful :(
 
@tsanko.dimitrov The SSDT-GPRW patch is used for fixing instant wake. I"m referring to your use of "While (one) / break." If you look at the code, the outer While loop does nothing. Even if the board itself causes a POST delay, try without the Audio driver. You might be surprised.
 
@deeveedee yes, you have right. The SSDT-GPRW is an old one, I have it from my previous machine. Dortania's version is a different one:
Code:
If (_OSI ("Darwin"))
        {
            If ((0x6D == Arg0))
            {
                Return (Package (0x02)
                {
                    0x6D,
                    Zero
                })
            }

            If ((0x0D == Arg0))
            {
                Return (Package (0x02)
                {
                    0x0D,
                    Zero
                })
            }
        }

        Return (XPRW (Arg0, Arg1))

This is the right one I need.

I think the POST delay is a mobo problem. I tried with and without the audio driver, no change.
 
Thanks for your harding working. You are the man!
However, the Front USB-C(F_U320G on the mother board diagram) port is not working.
 
Hi @kaixuan my PC case is a Fractal Design Define R6 and the front panel USB is a normal USB 3.0 (2 port) for connector F_U32. That's why I'm using this port on the motherboard and the other you mention is disabled. If your case have front USB-C feel free to disable the F_U32 port and use the F_U320G port, but you should map the ports in the USBMap kext.
 
Hi @ tsanko.dimitrov, I am on Fractal Design Define R6c which is exactly the same case with usb-c on the front panel. I also have the same gigabyte z590 vision d motherboard and 11th gen cpu. the difference is I don't have add-in cards and my graphic is gtx 760. I tried your usb mapping, it works! However, I want to add the front usb-c into the usb kext. Can you please shed me some light?
 
Status
Not open for further replies.
Back
Top