Contribute
Register

[SUCCESS] Gigabyte Z590 VISION D + 11700K + RX 6600 XT

Hi Tsanko. Hi community,

With your EFI 075 build, the Intel i225-v does not work.
They are listed in the system preferences, and there are 2 active system configurations within the system network settings. But, whatever settings i use (manual, dhcp, dhcp with manual adress) as well as the specific handshake settings for the speed of the line (1Gbs), it does not connect to the network.

I have deleted your kexts about the RAID controller and the USB 3.0 PCIe addon-card from config.plist as well as changed your USB-port mapping to delete the USB 3.0 PCI-express card.
I added the AappleALC.kext and changed in SMBIOS your radeon 580 to my vega56 (HDMI audio and the normal graphics listed). No audio so far from the integrated audio, only DispayPort audio is working (monitor is connected by DispayPort).

A problem: with this fresh installed Monterey without network connection, nothing does works; e.g. ProperTree.
After some minutes of update, I now get a kernel panic from com.apple.kec.pthread
"fault cr2" with instant reboot. This was not present the first 5 to 10 reboots?
How can I get ProperTree to run without internet connection?
 

Attachments

  • EFI.zip
    13.7 MB · Views: 119
Last edited:
I have found a fix for an issue discussed here and here

So the problem is compatibility issue between Z590 and Gigabyte Gaming RX580. I have encountered some strange behaviors: using 1 monitor connected the GPU clock is always at stock about 300MHz, but when using 2 or more monitors the GPU clock fluctuated between idle at 300MHz and boost clock (1340MHz). When fluctuating I'm experiencing this terrible audio crackling when listening to music (VLC, YouTube, etc.). When I put load to the GPU the crackling goes away and the GPU clock is always at boost (1340 MHz). So the question now is how to solve this? The only way I have found is to inject a custom PowerPlay table through OC so macOS can clock the GPU higher.

To inject our custom PowerPlay table we need the following:
  • GPU-Z to backup our GPU VBIOS
  • ATOMBIOSReader to find out the PowerPlay table offset and length
  • Red BIOS Editor to tune the PowerPlay table
  • HxD to extract the PowerPlay table
  • Inject the PowerPlay data into OC
1. Backup our GPU VBIOS
Boot into Windows and backup your VBIOS using the GPU-Z - there is an extract button near the BIOS version label.

2. Tune the PowerPlay table
Open the Red BIOS Editor and tune the power play data.

From
Screenshot 2021-12-21 235512.png


To
Screenshot 2021-12-21 235534.png


As you can see I have tuned the GPU clock to be the max boost clock and the voltage as well.
Save the changes and close the window.

3. Finding the PowerPlay table offset and length
Run the ATOMBIOSReader and point to the edited BIOS file from the previous step. As a result you will find a text file with all the data we need. Open the file and search for PowerPlayInfo. You will see a row with the following data:
000f: 9be0 Len 0341

So the PowerPlay table is at offset 9be0 with length 0341.

4. Extract the PowerPlay table
Open the HxD app and load the edited BIOS file from step 2. Copy all the data from offset 9be0 with length 0341 (not more not less)

5. Inject the PowerPlay data into OC
Open your OC EFI folder and inject two properties to your GPU:

name: PP_PhmSoftPowerPlayTable
type: DATA
value: the PowerPlay table from step 4

name: PP_PowerPlayEnabled
type: DATA
value: 01000000

Save your config and reboot the machine. Using this method you can even overclock or downclock you GPU and it's macOS only. Other OSes are not affected.

After injecting the new PowerPlay table the GPU clock is always at boost and thre is no more fluctuating between the idle and the boost clock and no more audio crackling. Perfect...... but, the negative thing is the higher power consumption. As for now I have no other options... the GPU prices are crazy and this is the only way to keep my GPU and save bucks. I'm start to think for selling this GPU as soon as posible and buy a 6600XT in the near future.
 

Attachments

  • ATOMBIOSReader.zip
    75.2 KB · Views: 80
  • HxDPortableSetup.zip
    3.2 MB · Views: 95
  • RBE_Setup.zip
    2.8 MB · Views: 97
22. Dec. 2021

OC updated to the latest 0.7.6 and all the kexts (full EFI attached to post #1). Do NOT forget to insert your private Platform info.
 
update from my side.
LAN
does need the boot-args, after 2 reboots and manual handshake, 1000baseT without flow control or power mgt. does work, I dont have a 2.5gig lan connection for the moment, as soon I'm able to test the 2.5gbs i give a feedback
dk.e1000=0

Audio
following
and the description under
# Checking if AppleALC is patching correctly
I see that I dont have the correct patching in place:
  • AppleHDAController attached meaning Apple's audio kext attached successfully
Bildschirmfoto 2021-12-22 um 14.09.49.png

with AppleALC.kext and various boot-args
alcid=xxx
I'm not able to resolve this issue.
can ayone point me to the right solution for full hda patching?
or is the actual solution the only possible audio connection to ALC4080.
my system preferences look the following with correct 2.0 stereo analog sound output at the mainboard IO
Bildschirmfoto 2021-12-22 um 14.07.28.png


everthing else works fine
- sleep
- usb stable
- etc.

what i cannot test
- wifi+bt (broadcom is not bought yet)

next
- dualboot

thanks for the various input and your efi share @tsanko
 
update from my side.
LAN
does need the boot-args, after 2 reboots and manual handshake, 1000baseT without flow control or power mgt. does work, I dont have a 2.5gig lan connection for the moment, as soon I'm able to test the 2.5gbs i give a feedback


Audio
following
and the description under
# Checking if AppleALC is patching correctly
I see that I dont have the correct patching in place:
  • AppleHDAController attached meaning Apple's audio kext attached successfully
View attachment 537686
with AppleALC.kext and various boot-args

I'm not able to resolve this issue.
can ayone point me to the right solution for full hda patching?
or is the actual solution the only possible audio connection to ALC4080.
my system preferences look the following with correct 2.0 stereo analog sound output at the mainboard IO
View attachment 537687

everthing else works fine
- sleep
- usb stable
- etc.

what i cannot test
- wifi+bt (broadcom is not bought yet)

next
- dualboot

thanks for the various input and your efi share @tsanko
Hi @Multisaft ,
LAN is working without any patches or boot args as long as you have AppleVTD enabled. In order to enable it you must drop the original DMAR table and inject the changed one from my EFI folder. Please enable the Intel VT-d inside the BIOS. The onboard Audio is working natively because it's a USB Audio. You must keep the AppleALC.kext for the digital audio (HDMI or DP) and delete the alcid boot args.
 
Hi @Multisaft ,
LAN is working without any patches or boot args as long as you have AppleVTD enabled. In order to enable it you must drop the original DMAR table and inject the changed one from my EFI folder. Please enable the Intel VT-d inside the BIOS. The onboard Audio is working natively because it's a USB Audio. You must keep the AppleALC.kext for the digital audio (HDMI or DP) and delete the alcid boot args.
Hi @Tsanko,
To be honest I have not gone into that detail, but I'll try my best to reply.

1) How can i check if AppleVTD is enabled?
Found this post
To check if AppleVTD is active, simply download and run IORegistryExplorer and check the device tree on the left side. It should be there in the first 15 lines.
No AppleVTD present on my device tree.

2) How do I drop original DMAR table?
Regarding #2, when i use maciasl to file -> new from acpi -> DMAR (DMAR remapping table), I get the following file attached,
this DMAR is line to line the same as your SSDT-DMAR.aml in your EFI-075
what else to do?
3) Intela VT-d is enabled from BIOS
4) audio: so is it correct that we only get the system audio settings present in my last screenshot where one has the 2.0 stereo output?
 

Attachments

  • system_DMAR_maciasl.aml
    104 bytes · Views: 74
Last edited:
@Multisaft you can install Mac OS with the preinstalled WiFi/BT chip.
If you connect the correct kext files you can use Bluetooth and wifi with the preinstalled wifi card.
But in my experience the preinstalled chip was not very stable for wifi connection, and I can't use handoff with the preinstalled chip - that's why I have replaced it with the BCM94360NG card.

For choosing which SMBIOS you need have a look at the Dortania guide:

I think for you the correct one is iMacPro1,1. All graphic processes can handled by your Vega 56.
So you can disable the IGPU.
But with iMacPro1,1 you can't use Sidecar if you need it.

If you select iMac20,2 you can use Sidecar via IGPU but you can't use streaming Netflix etc.
 
@tsanko.dimitrov

I have installed Mac OS Monterey 12.0.1 with Open Core 0.7.6.
The installation of Mac OS Monterey is completed an I have successfully added my own USB port Mapping for my Mainboard and SMBIOS (Gigabyte Z590 Vision D - SMBIOS: iMacPro 1,1). The USB mapping was created with „usbmap.command“
For Mac OS compatibility reasons I have replaced the onboard WiFi/BT chip with a Fenvi BCM94360NG WiFi/BT chip.

Now I'm into some trouble shooting because the sleep and wake process.

If I start the sleep mode manually the PC goes into the sleep mode - until all fans turned off.
At that moment the fans turned off the PC directly wake up from sleep mode. (I'm also logged in into Mac OS - I'm not sure if this is correct). By these scenario I can use mouse and keyboard after wake up.

If the sleep mode was started from the system the Monitors are black but the fans run and never turned off.
Now I'm able to wake up the system by clicking the on/off button on my case - I can't wake up the system by pressing any keys on my mouse/ keyboard. If I have woken up the PC via the button on my case, I can't use my mouse and keyboard anymore. (Logitech MX Keys and Logitech MX Master 2 connected via Logitech USB Receiver)

I also have installed a Corsair Commander Pro. Therefore, I have added the commanderprofix.kext.

I Hope you have any idea and can help me by fixing this issue.

Dear Regards
 
Hi @Tsanko,
To be honest I have not gone into that detail, but I'll try my best to reply.

1) How can i check if AppleVTD is enabled?
Found this post

No AppleVTD present on my device tree.

2) How do I drop original DMAR table?
Regarding #2, when i use maciasl to file -> new from acpi -> DMAR (DMAR remapping table), I get the following file attached,
this DMAR is line to line the same as your SSDT-DMAR.aml in your EFI-075
what else to do?
3) Intela VT-d is enabled from BIOS
4) audio: so is it correct that we only get the system audio settings present in my last screenshot where one has the 2.0 stereo output?
I'm stuck.

Following @CaseySJ description of how to drop DMAR tables
from his post in Z490 build:
I've
  • Uncheck ACPI --> Add --> SSDT-DMAR.aml in config.plist
    Bildschirmfoto 2021-12-23 um 14.16.18.png
  • Uncheck ACPI --> Delete --> DMAR in config.plist
    Bildschirmfoto 2021-12-23 um 14.17.06.png
  • Reboot
  • MaciASL does not give me the option to drop DMAR tables:
    Bildschirmfoto 2021-12-23 um 14.17.34.png
  • As soon as I revert back the 2 changes in config.plist, DMA drop is present again, but that does just drop the SSDT DMAR in my EFI/OC/ACPI which is from your EFI_075 correct?
    Bildschirmfoto 2021-12-23 um 14.22.38.png
@CrazyHeinke thanks for your reply, but I'm already done with SMBIOS and graphics - as you stated with Vega56 no bootargs needed, imacpro1,1 gives a clean boot process with everything working except the WiFi/Bluetooth card which I will replace like mentioned from you, do you have a good source where to buy the Broadcom adapter?
 
Last edited:
@tsanko.dimitrov

I have installed Mac OS Monterey 12.0.1 with Open Core 0.7.6.
The installation of Mac OS Monterey is completed an I have successfully added my own USB port Mapping for my Mainboard and SMBIOS (Gigabyte Z590 Vision D - SMBIOS: iMacPro 1,1). The usb mapping was created with „usbmap.command“
For Mac OS compatibility reasons I have replaced the onboard wifi/bt chip with a FENVI BCM94360NG wifi/bt chip.

Now Im into some trouble shooting because the sleep and wake process.

If I start the sleep mode manually the PC goes into the sleep mode - until all fans turned off.
At that moment the fans turned off the pc directly wake up from sleep mode. (I'm also logged in into Mac OS - im not sure if this is correct). By these szenario i can use mouse and keyboard after wake up.

If the sleep mode was started from the system the Monitors are black but the fans run and never turned off.
Now im able to wake up the system by clicking the on/off button on my case - I can't wake up the system by pressing any keys on my mouse/ keyboard. If I have waked up the pc via the button on my case I can't use my mouse and keyboard anymore. (Logitech MX Keys and Logitech MX Master 2 connected via Logitech USB Receiver)

I also have installed a corsair Commander pro therefor i have added the commanderprofix.kext.

I Hope you have any idea and can help me by fixing this issue.

Dear Regards
Please try this in Terminal:
Bash:
log show --last boot | head -1500 > ~/Documents/bootlog.txt
This will generate a file in Documents folder called bootlog.txt. Please post that file.
 
Back
Top