Contribute
Register

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

I've been experiencing two issues lately with this build, figured I would post here in case anybody else has run into them and might have some advice. I can't seem to find a search function for this thread, so maybe the answer is somewhere in these 1,442 pages lol. I'm running Mojave 10.14.6

1.) This happens consistently after a few days of uptime, usually about 2. I'll open an app, any app, and it will be completely frozen. After force quitting the app or ending the process in activity monitor, the process appears to die but the app is still displayed graphically. Force quit menu, activity monitor, and ps aux | grep <process> all show nothing. Once this happens, any app that I open from that point on will behave the same way. If I then try to relaunch finder, it will kill the process but never re-open. $ open -a Finder gives an error: "LSOpenURLsWithRole() failed for the application /System/Library/CoreServices/Finder.app with error -600." The only way to bring things back to normal that I've found is a reboot. Maybe worth noting that in everyway, the stuck apps behave as if they're just a part of my wallpaper, but I am still able to move them from space to space in mission control, but in no other way can I interact with them. Has this happened to anybody before? It might just be a Mojave thing.

2.) If I have the screen saver enabled, sometimes it will get stuck. I'm unable to get the password prompt to show up and will have to restart. I just have the screensaver disabled now, but it would be nice to have that working.

I've noticed these problems with both AptioMemoryFix and
OCQuirks + FwRuntimeServices. I can't remember if this happened with OsxAptioFix2Drv-free2000. I can't seem to find any google results for these, which makes me think they're likely hackintosh issues. Any advice is appreciated! I've attached my clover folder just in case.
Several thoughts / suggestions:
  • This suggests that macOS might have become corrupted -- i.e. one file or .plist in the "system" folder might have been accidentally damaged, whether due to hard reboot, forced power shutdown, misbehaving application or drivers, etc.
  • Step 1:
    • Boot from your backup disk and see whether the system is stable.
    • If it's stable and the backup is not too old, try recovering from the backup (i.e. clone the backup back to the main disk).
      • As you may know from reading the first part of Going the Extra Mile in Post #1, I separate my Home folder from the main system disk. This allows me to backup and restore just the System folder. It has helped on numerous occasions to fix these kinds of macOS anomalies.
  • Step 2:
    • This is a more drastic step.
    • If the backup also suffers from this problem, then install macOS from scratch on a spare SSD -- a cheap SATA SSD attached to an external USB 3 enclosure. When installation is complete, do not install any of your third-party applications -- only use the apps that come bundled with macOS.
    • Then check whether system is stable. If so, start installing your apps one by one until the problem resurfaces -- or hopefully the problem will not resurface at all. In this latter case (if problem does not resurface) then you'll have to continue installing your apps on the new disk and then make it the primary one by cloning it to the main SSD.
 

Attachments

  • config.plist
    10.6 KB · Views: 91
@CaseySJ @Elias64Fr, for pure shits and giggles I want to see if my Firmware Utility in windows will (for whatever lucky reason) accept a modified file. I see where the version number is at 03FF0 in the Mac Firmware (22) but I cant seem to find the version in the Asus. Can you help me find it?
Thunderbolt firmware version appears in byte offset 0x0A (decimal 10) from the start of the "active partition", which in this case is at 0x4000. So byte 0x400A is the firmware version -- "18" as shown.

Screen Shot 2020-02-09 at 5.09.16 AM.png
 
Last edited:
I have a minor issue, hopefully someone has an answer to. I used the mini guide for the fresh install of Catalina(clover), no issues everything's working great.

I have a Lacie Big 2 thunderbolt 3 external drive, When its connected I can access all files(read and write) no issues, But I do not get a desktop icon(I do on my MBP). The other odd thing is the eject button is not showing next to it in finder, I can right click and eject.

Also how do I see if it is using thunderbolt 3 or USB? I looked under System Info>PCI and I see the thunderbolt controller but not sure how to check if anything is connected. Unfortunately I do not have another thunderbolt 3 device to check against.
This is another reason we're trying to enable Thunderbolt Local Node and Thunderbolt Bus. Some devices (such as the LaCie you mentioned) will work fully only when TNODE/TBUS are enabled.
 
Hi @CaseySJ I tried to search the whole forum and despite finding some people with the same issue I couldn't find any of them with a solution.

I am still having only one issue on my setup which I wasn't able to fix, maybe I can track it down somehow with your help.

When playing content, audio, youtube, Spotify or whatever navigating back and forth I get a very very loud audio click, almost like a static spark, wouldn't define it as a pop but you may get the idea.

Tried the XMP profile thing, disabling onboard audio and stuff like that, it happens both on the usb sound card and the thunderbolt card.

It didn't bother me at first but when I drive the volume really loud, I fear it can damage my loudspeakers as the click sounds more of a kext problem maybe with AppleALC?

Here's the problem, it also happens when launching (not always) audio applications:

 
Last edited:
Sorry you can Help Me i dont find the file post installation for Gigabyte Z390 the name
  • SSDT-UIAC-DESIGNARE-Z390-V6.aml ?
Please use V7. it is located in 2 places:
  • In the Catalina Mini-Guide ZIP file.
  • In Post-Install Files.zip at the bottom of Post #1.
 
Hi @CaseySJ I tried to search the whole forum and despite finding some people with the same issue I couldn't find any of them with a solution.

I am still having only one issue on my setup which I wasn't able to fix, maybe I can track it down somehow with your help.

When playing content, audio, youtube, Spotify or whatever navigating back and forth I get a very very loud audio click, almost like a static spark, wouldn't define it as a pop but you may get the idea.

Tried the XMP profile thing, disabling onboard audio and stuff like that, it happens both on the usb sound card and the thunderbolt card.

It didn't bother me at first but when I drive the volume really loud, I fear it can damage my loudspeakers as the click sounds more of a kext problem maybe with AppleALC?

Here's the problem:

@xanderevo,

Let's see if the community can help. It seems you've already tried some of the suggestions that have worked in the past:
  • Disable XMP or reduce memory speed to 2666 MHz or 2933 MHz
  • Disable on-board audio
Some questions so others can also help:
  • If you've turned off on-board audio, through which device are you playing audio?
    • HDMI or DisplayPort audio through your monitor?
    • Sound card? If so:
      • Which make/model?
      • How are speakers connected to the sound card?
        • RCA, XLR, ?
  • If you remove the sound card and use on-board audio, do the pops/clicks still occur?
 
OK, so I have set up a water cooler for my CPU.. I picked up a Kraken X72.
I got liquidctl set up and at @CaseySJ recommendation I also checked out Yoda.

I am trying to get Yoda to run as a service, similar to the instructions for setting up liquidctl to launch at boot.
I am having a heck of a time getting it to run this way though.
If I run my script manually, it launches OK.
however, if I run it with a LaunchAgent via launchctrl I get a weird error. IT just cant seem to parse the script correctly.
I suspect there is weirdness with variations in Python libraries between my user account and the root user.
Maybe something else is going on.

Has anyone else used Yoda (and maybe launching it at boot?) to manage their cpu cooler? I

I might be able to help with this.
Initially I also ran into this problem because by design, Yoda has to be running continuously given that it has to check for changes in temperature to adjust the fan and pump speeds.
This is in contrast to liquidctl, which dispatches its fan and pump profiles to the actual device, hence the script can quit once the data has been written. Of course that makes it very simple to run as a launch agent since it only has to run once and then quit.

With yoda, we have to take a slightly more advanced approach to run it as some kind of background service.
As a preface, I'm not an expert on how macOS operates and while my solution may work, it might not be optimal. Nevertheless, here we go.

Overall, I ran into two problems while trying to get Yoda to run as a background service:
1. Yoda has to run continuously
2. liquidctl may raise an OSError: Failed to open if we access the Kraken or the Smart Device too quickly

To circumvent 1. I made use a of a very useful little utility from Linux: screen
This command-line tool will allow us to create multiple "headless" terminal sessions in which we can run commands programmatically without having to bother with i.e. Terminal.app. I'm using this to dispatch my yoda commands into their individual shell environments where they can keep running indefinitely.
An added bonus is that we can attach to any of these sessions later on to check the output of the script, for example.

Tackling 2. is rather simple: We use the sleep command to wait a little between each command we issue to our cooling devices to prevent hammering the tiny embedded processors in them too much.

Wrapping this knowledge up in a script nets us something like this:
Bash:
#!/bin/bash
# Init the Smart Device
liquidctl initialize -d 0
sleep 1
# Init the Kraken
liquidctl initialize -d 1
sleep 1
# Configure lighting (all off in this case)
liquidctl -d 0 set led color off
liquidctl -d 1 set ring color off
liquidctl -d 1 set logo color off
sleep 1
# Start Yoda for Kraken
screen -d -m -S yoda-kraken bash -c 'yoda --match "Kraken" control pump with "(60,40),(90,90)" on istats.cpu and fan with "(60,20),(90,50)" on istats.cpu'
sleep 1
# Start Yoda for Smart Device
screen -d -m -S yoda-smart-device bash -c 'yoda --match "Smart Device" control fan2 with "(60,30),(90,85)" on istats.cpu and fan3 with "(60,30),(90,50)" on istats.cpu'

Please take care to adjust the CPU temperatures and fan values to your system!
The ones shown here are exemplary and will likely only work well with my specific cooling setup and ambient temperature.

Save this script somewhere, i.e. in /Users/Shared/yodactl.sh, similar to what was done with the original liquidctl script.
Please note that this script will supersede liquidctl.sh as it handles the initialisation as well as the fan control!

We can now register a new LaunchAgent in /Library/LaunchAgents/.
Before doing this, please remove the original LaunchAgent for liquidtcl.sh, we won't need it anymore.
After this is done, we can register the new agent as follows:
XML:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>Label</key>
    <string>liquidctl.sh</string>
    <key>ProgramArguments</key>
    <array>
        <string>/Users/Shared/yodactl.sh</string>
    </array>
    <key>RunAtLoad</key>
    <true/>
    <key>KeepAlive</key>
    <false/>
    <key>EnvironmentVariables</key>
    <dict>
        <key>PATH</key>
        <string>/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin</string>
    </dict>
</dict>
</plist>

Note that I add the PATH environment variable to point to my Python installation. By default this should not be necessary, however if you have installed multiple versions of Python, i.e. using Homebrew, Pyenv, Conda or what have you, then you should tweak this path to primarily point to the location of the installation that actually has liquidctl installed.
In my case I am using Conda, so my path would have the first component: /usr/local/Caskroom/miniconda/base/envs/<conda_evironment_name>/bin

After setting everything up as described above, your cooling devices should be initialized a few seconds after login and yoda should be running and handling fan control.
You can verify this with two methods:
- Open Terminal.app and run: screen -ls
This should show you two screens with the names from the script and the status Detached
- Run a benchmarking tool like Cinebench to load the system and listen for the fans spinning up.
If they do, everything is working. If they don't, immediately abort the program to avoid overheating.

As a general note, the timing of the sleep calls could probably be shortened with some trial and error, but I find that these values work alright in most cases, so I didn't bother tuning them down to the minimum delay possible. Given that it's likely to differ from system to system, sticking with slightly higher sleep values seems the safer choice in my eyes.
 
In your case the value is "18". In Hex Fiend - goto views - untick Hide Null bytes.

Oh wow no wonder it's hard to find these offsets, my top bar is missing. Any idea how to get that to show? Thanks.

Thunderbolt firmware version appears in byte offset 0x0A (decimal 10) from the start of the "active partition", which in this case is at 0x4000. So byte 0x400A is the firmware version -- "18" as shown.

Yeah! So it can't be as simple as copying the active partition and down right?
 
As a side note plugging the loudspeakers direct into the headphone out of the computer, or the line out in the back panel and moving the mouse gives me the classic "static 64kbps modem sound" but the click isn't happening.




Some questions so others can also help:
  • If you've turned off on-board audio, through which device are you playing audio?
    • HDMI or DisplayPort audio through your monitor?
    • Sound card? If so:
      • Which make/model?
      • How are speakers connected to the sound card?
        • RCA, XLR, ?
  • If you remove the sound card and use on-board audio, do the pops/clicks still occur?

Both external audio cards, Tascam US16x08 (USB2.0) and Apollo Twin MK2 (TB)
the speakers are connected with balanced xlrs to the soundcards, !there are HUBs between them and the computer!

So Displayport Audio has no clicks, so as the onboard audio (with the static noise)

I have a spare usb Focusrite Soundcard in my basement, I can try that too.

I also muted everything unnecessary in Audio Midi setup.


Need more testing will report later, changed the USB port (was using the yellow one on the back) and removed the hubs, the USB card seems fine.

Clicks are still there
 
Last edited:
2. liquidctl may raise an OSError: Failed to open if we access the Kraken or the Smart Device too quickly

That is exactly the error I was encountering!
Thank you SO much for posting such a detailed explanation for how to get this running.
I will give it a shot and let you know how it goes!
 
Back
Top