Contribute
Register

[SUCCESS] Gigabyte Designare Z390 (Thunderbolt 3) + i7-9700K + AMD RX 580

Joined
Mar 19, 2019
Messages
1
Motherboard
designare z390
CPU
i9-9900
Graphics
rx580
Mac
  1. Mac mini
  2. Mac Pro
Mobile Phone
  1. Android
@CaseySJ

I am new to this hackitosh stuff i have the same setup as you but with the i9 9900k. Is it possible to get your full efi folder, TIA
 

Feartech

Moderator
Joined
Aug 3, 2013
Messages
24,793
Motherboard
Asus N752VX-OpenCore
CPU
i7-6700HQ / HM170
Graphics
HD 530 1920 x 1080
Mac
  1. iMac
Mobile Phone
  1. iOS
Thank you for your reply. Really appreciate it.

I wonder if the cooling needs to be upgraded, or the water cooler in the build will be just fine?
@CaseySJ

I am new to this hackitosh stuff i have the same setup as you but with the i9 9900k. Is it possible to get your full efi folder, TIA
You need to have your hardware profile filled out as per rules (the ones you agreed to when signing up here)
 

trs96

Moderator
Joined
Jul 31, 2012
Messages
21,266
Motherboard
GA-Z97X-UD3H-BK
CPU
i5-4690K
Graphics
HD4600 / RX 570
Mac
  1. MacBook Pro
  2. Mac mini
Mobile Phone
  1. Android
Is it possible to get your full efi folder, TIA
Why would Casey bother writing this lengthy, detailed guide if he wanted people to copy and paste his EFI folder ?
Probably because he wants you to learn and understand how to do this yourself is my guess.
 
Joined
Aug 22, 2017
Messages
407
Motherboard
Z390 Designare
CPU
i9-9900k
Graphics
RX 580
Mac
  1. iMac
Mobile Phone
  1. iOS

CaseySJ

Moderator
Joined
Nov 11, 2018
Messages
17,887
Motherboard
Asus Z690 ProArt Creator
CPU
i7-12700K
Graphics
RX 6800 XT
Mac
  1. MacBook Air
  2. MacBook Pro
  3. Mac Pro
Classic Mac
  1. Quadra
Mobile Phone
  1. iOS
Do you mind posting a more detailed write up on the steps you took? The GitHub link here seems to skip over a few important steps.
Have you seen this?

I think I will add the final steps to this guide tonight or tomorrow (to install the special version of grub and use setup_var_3 to make the change). Will have to include a clear and stern warning.
 

CaseySJ

Moderator
Joined
Nov 11, 2018
Messages
17,887
Motherboard
Asus Z690 ProArt Creator
CPU
i7-12700K
Graphics
RX 6800 XT
Mac
  1. MacBook Air
  2. MacBook Pro
  3. Mac Pro
Classic Mac
  1. Quadra
Mobile Phone
  1. iOS
Hi, newbie to this mackintosh stuff and actually had someone help me install it so not totally familiar with the whole process.
Overall, the setup has been working. But, after I did migration assistant to move over some files and applications, I now have sound that will drop out after prolonged sleep; i.e., overnight. I get sound working normally with short periods of sleep--put it to sleep for 5s, 5 min, etc. It comes back normally after I reboot. It doesn't seem to do this in Windows.

Anyone else with similar problem or suggestion? Should try the fix suggested in post 4,319?
Thanks.
Can you provide some additional details?
  • Are you using on-board sound ports?
    • If so, which one? (Rear green port, front panel port, etc.)
    • If not, which audio device are you using (make/model)?
  • What is meant by "sound that will drop out"?
    • Does it mean sound will completely stop working after wake-from-sleep?
    • Does it mean sound will be choppy after wake-from-sleep?
  • Are you using darkwake in Boot Arguments?
    • If so, what value of darkwake?
    • Have you tried omitting darkwake entirely (and pressing 2 keys to wake)?
 

CaseySJ

Moderator
Joined
Nov 11, 2018
Messages
17,887
Motherboard
Asus Z690 ProArt Creator
CPU
i7-12700K
Graphics
RX 6800 XT
Mac
  1. MacBook Air
  2. MacBook Pro
  3. Mac Pro
Classic Mac
  1. Quadra
Mobile Phone
  1. iOS
OK cool I got it
deleted the Vega64 fan and power
however...
Im confused about the platform IDs specified under the 'Going the extra mile' chapter.
if i keep my iMac 19,1 SMBIOS and want iGPU in headless mode
where do i input that configuration under the 'devices' tab of config.plist?
am i missing a PciRoot under 'devices'?

I've attached screenshot

thank you Sir!
Answers are in the screenshot:

Screenshot 2019-05-20 at 08.45.00.png
 
Joined
Aug 22, 2017
Messages
407
Motherboard
Z390 Designare
CPU
i9-9900k
Graphics
RX 580
Mac
  1. iMac
Mobile Phone
  1. iOS
Have you seen this?

I think I will add the final steps to this guide tonight or tomorrow (to install the special version of grub and use setup_var_3 to make the change). Will have to include a clear and stern warning.
Thanks, somehow I missed this.
 

CaseySJ

Moderator
Joined
Nov 11, 2018
Messages
17,887
Motherboard
Asus Z690 ProArt Creator
CPU
i7-12700K
Graphics
RX 6800 XT
Mac
  1. MacBook Air
  2. MacBook Pro
  3. Mac Pro
Classic Mac
  1. Quadra
Mobile Phone
  1. iOS
...
I can confirm 0x5C1 for Z390 Aorus Xtreme on BIOS Version F5, too. Nice that you made a tutorial, a little late for me, but I appreciate someone helping the newer generations. We have to apply that trick on every BIOS-Update, I suppose (unless settings are not reset, but I suppose that almost never happens).
Do you remember which version of setup_var you used?
  • setup_var
  • setup_var2
  • setup_var_3
The first two return two Setup variables (one 5000+ bytes, the other just a few bytes) with the second one being followed by the warning error: offset is out of range.

The third version (setup_var_3) handles this issue by ignoring the variable that returns fewer bytes, and applies the change to the larger Setup variable.

For me both options work fine (and have worked fine even before CFG-Unlock), so I dumped the other memory fix quite early and turned to AptioMemoryFix. But without EmuVariableUefi sleep and shutdown get...let's say funny
That's what the AptioMemoryFix README promises.

Screen Shot 2019-05-20 at 12.55.18 PM.png

Even on the Designare Z390, AptioMemoryFix tends to work until we install a PCIe card other than the GPU. For example, as soon as the Fenvi FV-T919 WiFi/BT card is installed, AptioMemoryFix fails, but OsxAptioFix2Drv-free2000 continues to work.

Do you have a WiFi/BT PCIe card installed in your system?
 
Joined
Aug 22, 2017
Messages
407
Motherboard
Z390 Designare
CPU
i9-9900k
Graphics
RX 580
Mac
  1. iMac
Mobile Phone
  1. iOS
*** Mini Guide: Using UEFITool and ifrextract to View Firmware Settings ***

Background:
The term 'BIOS' is not the technically correct term for the firmware that runs on UEFI motherboards. The proper term is simply firmware. On most motherboards, pressing DEL key during startup will launch the Firmware Setup GUI. These GUIs have evolved appreciably over the years, and they offer a rich graphical experience. Likewise, the firmware itself has evolved in response to new on-board technologies such as USB 3, integrated GPUs, built-in Thunderbolt, 10Gig Ethernet, RGB controllers, etc.

However, not all of the configuration parameters available to the firmware are available to the user via the Setup GUI. The CFG Lock parameter is probably the most well-known example. This parameter is set to 0x01 (enabled) in the Designare Z390 firmware and it is not available to view or change in the Setup GUI. It triggers a write-once lock on the 0xE2 MSR register, which interferes with AppleIntelCPUPowerManagement.kext, thereby requiring Clover patches (Plugin Type and KernelPM) that prevent this kernel extension from touching the 0xE2 MSR register.

This mini guide is based on the AptioFixPkg README file.

Purpose of Guide:
The purpose of this guide is to demonstrate how to view the CFG Lock and other firmware parameters, but not how to modify them. Modifying the firmware is very risky and should only be done in extreme situations when no other viable solution exists for a problem you are experiencing. If this applies to you, then hopefully this mini guide will give you a head start and you can complete the task by following the final steps described in the link above.

Preparation:
Create a folder in your Documents or Downloads directory called UEFI-Check. Then download all of the following files into the UEFI-Check directory:
  • UEFI Tool
    • The only file needed is UEFITool_NE_A55_mac.zip as shown.
    • This is a GUI that we'll run directly from Finder.
      View attachment 407009
  • ifrextract
    • The only file needed is ifrextract_v0.3.6.osx.zip as shown.
    • We will run this from Terminal. It is a command-line executable.
      View attachment 407010
  • Gigabyte Designare Z390 Firmware from Gigabyte Website
    • Make sure that you download the correct version. If your motherboard is running F6, download the F6 firmware, etc.

Procedure:
  1. After downloading the three files above into the UEFI-Check folder in either the Documents or Downloads directory, start Terminal and 'cd' into that directory. If you chose the Downloads folder you would type cd ~/Downloads/UEFI-Check. If you chose the Documents folder you would type cd ~/Documents/UEFI-Check.
  2. Rename the Gigabyte firmware file.
    • If you downloaded the F6 version, the default filename will be Z390DESI.F6.
    • We need to give the file a ".bin" extension by typing mv Z390DESI.F6 Z390DESI.F6.bin.
  3. Double-click to run UEFI-Tool.
  4. Go back to the Terminal window. We're ready to convert the Setup.bin file into a readable text file.
    • Ensure you are in the UEFI-Check directory in Terminal.
    • Type ./ifrextact Setup.bin Setup.text.
    • And it's done.
  5. Now let's have a look at the result. You may open the Setup.txt file in TextEdit, BBEdit, or even "vi" or "emacs", etc. and search for "CFG Lock". If we do this directly in Terminal by using "vi" we see CFG Lock on line 7039 as shown.
    View attachment 407048
    • The text in blue tells us that this parameter is at offset 0x5C1 and has a value of 0x1. If we look immediately below that, the green box tells us that the Disabled value is 0x0 and the Enabled value is 0x1 (default).
    • So by default the CFG Lock is Enabled.
    • To disable the CFG Lock, we would need to write the value 0x0 to offset 0x5C1.
    • This is for firmware version F6 on Gigabyte Designare Z390 motherboard only.
    • If you have a different motherboard or a different firmware version, you should follow this guide to identify the correct offset value and the correct enable/disable value.

Final Comments:
This procedure is only for users who cannot install a certain device driver because of the locked 0xE2 MSR register. If your system is running properly you should not make any changes to its firmware. One careless mistake can corrupt the firmware. For this reason, the procedure to modify the firmware is excluded from this mini guide.
Reading through this guide - It would be helpful if at the end of it you included a recap of the steps newbs would need to take especially with respect NVRAM, removal of RC scripts and EmuVariableUefi. Assuming, of course, that the next logical step is to enable native VRAM (NVRAM) which now seems like a reality with Clover_v2.4k_r4919
 
Top