Contribute
Register

Gigabyte Z390 M Gaming build with working NVRAM

I don't notice any obvious problems... Is the system stable when running Windows and/or Linux?
Yep. I have only Win10 as second system.
Could it be because of Samsung 970 EVO M2? I've read that it not so good for Hackintosh.

I'll try to check the disk from Disk Util.
How can I do system diagnostic (cmd + D or D on startup, but when?).
What else? How can I check and fix this?
I can try to work without RX580 for a while - problem starts after plugging it in.

P.S. look at the report, is it correct for RX580?
@kext.AMDRadeonX4000HWLibs 1.0
@kext.AMDRadeonX4000HWServices 3.1.0
@kext.AMDSupport 3.1.0
 
Last edited:
Yep. I have only Win10 as second system.
Could it be because of Samsung 970 EVO M2? I've read that it not so good for Hackintosh.

I'll try to check the disk from Disk Util.
How can I do system diagnostic (cmd + D or D on startup, but when?).
What else? How can I check and fix this?
I can try to work without RX580 for a while - problem starts after plugging it in.

P.S. look at the report, is it correct for RX580?
@kext.AMDRadeonX4000HWLibs 1.0
@kext.AMDRadeonX4000HWServices 3.1.0
@kext.AMDSupport 3.1.0

As far as I know, the Samsung SSDs only affect boot time. Once booted, you should be fine.

I don't know if system diagnostic works on non-Apple hardware. I've never even considered trying.

If your problems only happen when the RX 580 is installed, I think you have your answer.
 
As far as I know, the Samsung SSDs only affect boot time. Once booted, you should be fine.

I don't know if system diagnostic works on non-Apple hardware. I've never even considered trying.

If your problems only happen when the RX 580 is installed, I think you have your answer.
Just booted with internal graphic, everything is ok.
So problem is with RX580 Sapphire Nitro+, how could I solve it?

Googling, no 100% answer. Most of builds are with no graphic acceleration, but my is with kernel panic.
https://www.tonymacx86.com/threads/success-gigabyte-z390-m-gaming-i7-9700kf-sapphire-rx-580.282975/ - working build but without explanations.

Is attached BIOS setting correct? I've booted with initial display output: internal. And RX580 is powered off. System stable, connected via HDMI.

Also I've attached /Library/Extensions. Should I have something for AMD Radeon here?
Also I've attached /Volumes/EFI/EFI/CLOVER/kexts/Other. Lilu and WhateverGreen should be for graphics, anyshing else?

P.S. Booted with IGFX, but powered on RX580, here is system info.
I can get GeekBench test for Metal for AMD Radeon RX580. Monitor is connected via DP on RX580 to miniDP on monitor, HDMI-HDMI from mobo to display. miniDP works like external display, but system is working for now. Don't know what graphic acceleration will it get and what will be with sleep
Screenshot 2022-06-19 at 23.49.31.png
 

Attachments

  • tempImageFioARX.png
    tempImageFioARX.png
    14.6 MB · Views: 36
  • Screenshot 2022-06-19 at 23.35.30.png
    Screenshot 2022-06-19 at 23.35.30.png
    59.6 KB · Views: 34
  • Screenshot 2022-06-19 at 23.37.51.png
    Screenshot 2022-06-19 at 23.37.51.png
    47.6 KB · Views: 26
Last edited:
Please enter the following in Terminal and post the output:
log show --style syslog | fgrep "Wake reason"

and:
pmset -g assertions


Please see post #3 for instructions on how to populate System Info. It's just cosmetic and doesn't affect performance or functionality.
Ok, just tested sleep with powered on RX580 but initial display: IGFX, DP is in mirror mode, HDMI now plugged out.
Display is DELL with USB hub connected to rear USB3.0. There is apple USB keyboard and Genius mouse connected in my display. Turning it off with sleep command didn't help - it's just woke up immediately.

2022-06-19 23:56:34.732138+0400 localhost powerd[102]: [powerd:sleepWake] Wake reason: "<private>" identity: "<private>"


2022-06-19 23:57:01.780383+0400 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: XDCI CNVW USBW (User)


2022-06-19 23:57:01.780384+0400 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: XDCI CNVW USBW (User)

And pmset
2022-06-20 00:07:15 +0400


Assertion status system-wide:


BackgroundTask 1


ApplePushServiceTask 0


UserIsActive 1


PreventUserIdleDisplaySleep 1


PreventSystemSleep 0


ExternalMedia 0


InternalPreventDisplaySleep 1


PreventUserIdleSystemSleep 1


NetworkClientActive 0


Listed by owning process:


pid 416(sharingd): [0x000004cd00018544] 00:02:46 PreventUserIdleSystemSleep named: "Handoff"


pid 199(coreaudiod): [0x000004cd00018496] 00:02:46 PreventUserIdleSystemSleep named: "com.apple.audio.AppleHDAEngineOutput:1F,3,0,1,3:1.context.preventuseridlesleep"


Created for PID: 797.


pid 144(hidd): [0x0000001000098109] 00:00:00 UserIsActive named: "com.apple.iohideventsystem.queue.tickle serviceID:1000014fb name:AppleHIDKeyboardEve product:Apple Keyboard eventType:3"


Timeout will fire in 1800 secs Action=TimeoutActionRelease


pid 764(Safari): [0x000004cd00058545] 00:02:46 PreventUserIdleDisplaySleep named: "com.apple.WebCore: HTMLMediaElement playback"


pid 102(powerd): [0x0000046700108003] 00:03:27 InternalPreventDisplaySleep named: "com.apple.powermanagement.delayDisplayOff"


Timeout will fire in 92 secs Action=TimeoutActionTurnOff


pid 341(UserEventAgent): [0x00000058000b821e] 00:21:53 BackgroundTask named: "com.apple.coreduet.sync.update-source-device-identifiers"


Created for PID: 344.


pid 290(mds_stores): [0x00000573000b8564] 00:00:00 BackgroundTask named: "com.apple.metadata.mds_stores.power"


Kernel Assertions: 0x10c=USB,BT-HID,MAGICWAKE


id=508 level=255 0x100=MAGICWAKE mod=20.06.2022, 00:10 description=llw0 owner=IOSkywalkNetworkBSDClient


id=510 level=255 0x100=MAGICWAKE mod=20.06.2022, 00:05 description=en1 owner=en1


id=512 level=255 0x4=USB mod=01.01.1970, 04:00 description=com.apple.usb.externaldevice.14300000 owner=IOUSBHostDevice


id=514 level=255 0x4=USB mod=01.01.1970, 04:00 description=com.apple.usb.externaldevice.14c00000 owner=IOUSBHostDevice


id=516 level=255 0x4=USB mod=01.01.1970, 04:00 description=com.apple.usb.externaldevice.14330000 owner=Keyboard Hub


id=518 level=255 0x4=USB mod=01.01.1970, 04:00 description=com.apple.usb.externaldevice.14331000 owner=Optical Mouse


id=519 level=255 0x8=BT-HID mod=01.01.1970, 04:00 description=com.apple.driver.IOBluetoothHIDDriver owner=BNBMouseDevice


Idle sleep preventers: IODisplayWrangler

Handoff is now on. Without it sleep doesn't work
 
Just booted with internal graphic, everything is ok.
So problem is with RX580 Sapphire Nitro+, how could I solve it?

Googling, no 100% answer. Most of builds are with no graphic acceleration, but my is with kernel panic.
https://www.tonymacx86.com/threads/success-gigabyte-z390-m-gaming-i7-9700kf-sapphire-rx-580.282975/ - working build but without explanations.

Is attached BIOS setting correct? I've booted with initial display output: internal. And RX580 is powered off. System stable, connected via HDMI.

Also I've attached /Library/Extensions. Should I have something for AMD Radeon here?
Also I've attached /Volumes/EFI/EFI/CLOVER/kexts/Other. Lilu and WhateverGreen should be for graphics, anyshing else?

P.S. Booted with IGFX, but powered on RX580, here is system info.
I can get GeekBench test for Metal for AMD Radeon RX580. Monitor is connected via DP on RX580 to miniDP on monitor, HDMI-HDMI from mobo to display. miniDP works like external display, but system is working for now. Don't know what graphic acceleration will it get and what will be with sleep
View attachment 549893

What system definition are you using? If you are using iMacPro1,1, you should disable IGPU. If you are using iMac18,x or iMac19,x, you can enable IGPU.

The only thing that looks out of place in /Library/Extensions/ is ufsd_NTFS.kext.
 
Last edited:
Ok, just tested sleep with powered on RX580 but initial display: IGFX, DP is in mirror mode, HDMI now plugged out.
Display is DELL with USB hub connected to rear USB3.0. There is apple USB keyboard and Genius mouse connected in my display. Turning it off with sleep command didn't help - it's just woke up immediately.

2022-06-19 23:56:34.732138+0400 localhost powerd[102]: [powerd:sleepWake] Wake reason: "<private>" identity: "<private>"


2022-06-19 23:57:01.780383+0400 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: XDCI CNVW USBW (User)


2022-06-19 23:57:01.780384+0400 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: XDCI CNVW USBW (User)

And pmset
2022-06-20 00:07:15 +0400


Assertion status system-wide:


BackgroundTask 1


ApplePushServiceTask 0


UserIsActive 1


PreventUserIdleDisplaySleep 1


PreventSystemSleep 0


ExternalMedia 0


InternalPreventDisplaySleep 1


PreventUserIdleSystemSleep 1


NetworkClientActive 0


Listed by owning process:


pid 416(sharingd): [0x000004cd00018544] 00:02:46 PreventUserIdleSystemSleep named: "Handoff"


pid 199(coreaudiod): [0x000004cd00018496] 00:02:46 PreventUserIdleSystemSleep named: "com.apple.audio.AppleHDAEngineOutput:1F,3,0,1,3:1.context.preventuseridlesleep"


Created for PID: 797.


pid 144(hidd): [0x0000001000098109] 00:00:00 UserIsActive named: "com.apple.iohideventsystem.queue.tickle serviceID:1000014fb name:AppleHIDKeyboardEve product:Apple Keyboard eventType:3"


Timeout will fire in 1800 secs Action=TimeoutActionRelease


pid 764(Safari): [0x000004cd00058545] 00:02:46 PreventUserIdleDisplaySleep named: "com.apple.WebCore: HTMLMediaElement playback"


pid 102(powerd): [0x0000046700108003] 00:03:27 InternalPreventDisplaySleep named: "com.apple.powermanagement.delayDisplayOff"


Timeout will fire in 92 secs Action=TimeoutActionTurnOff


pid 341(UserEventAgent): [0x00000058000b821e] 00:21:53 BackgroundTask named: "com.apple.coreduet.sync.update-source-device-identifiers"


Created for PID: 344.


pid 290(mds_stores): [0x00000573000b8564] 00:00:00 BackgroundTask named: "com.apple.metadata.mds_stores.power"


Kernel Assertions: 0x10c=USB,BT-HID,MAGICWAKE


id=508 level=255 0x100=MAGICWAKE mod=20.06.2022, 00:10 description=llw0 owner=IOSkywalkNetworkBSDClient


id=510 level=255 0x100=MAGICWAKE mod=20.06.2022, 00:05 description=en1 owner=en1


id=512 level=255 0x4=USB mod=01.01.1970, 04:00 description=com.apple.usb.externaldevice.14300000 owner=IOUSBHostDevice


id=514 level=255 0x4=USB mod=01.01.1970, 04:00 description=com.apple.usb.externaldevice.14c00000 owner=IOUSBHostDevice


id=516 level=255 0x4=USB mod=01.01.1970, 04:00 description=com.apple.usb.externaldevice.14330000 owner=Keyboard Hub


id=518 level=255 0x4=USB mod=01.01.1970, 04:00 description=com.apple.usb.externaldevice.14331000 owner=Optical Mouse


id=519 level=255 0x8=BT-HID mod=01.01.1970, 04:00 description=com.apple.driver.IOBluetoothHIDDriver owner=BNBMouseDevice


Idle sleep preventers: IODisplayWrangler

Handoff is now on. Without it sleep doesn't work

Either you have a CNVi card preventing sleep or a video playing in a browser is preventing sleep. Make sure you disable the USB port attached to the CNVi port.
 
What system definition are you using? If you are using iMacPro1,1, you should disable IGPU. If you are using iMac18,x or iMac19,x, you can enable IGPU.

The only thing that looks out of place in /Library/Extensions/ is used_NTFS.kext.
Yes, I'm using iMacPro 1,1. EFI with working iGPU was from you (and it's very helped me, i appreciate it!). So I've upgraded my video, so should I just disable IGPU in BIOS, EFI is same? I'll test tomorrow.

BTW, I have a black screen issue on iPad with SideCar, is it because of definition?

Either you have a CNVi card preventing sleep or a video playing in a browser is preventing sleep. Make sure you disable the USB port attached to the CNVi port.
What is CNVi? M2 card? I have PCI-E card and it's connected to F_USB1 port on mobo for BT.
No video on browser, one time was no opened browser, but sleep wont work. What could I do?
Снимок экрана 2022-06-20 в 1.37.36.png
 
Yes, I'm using iMacPro 1,1. EFI with working iGPU was from you (and it's very helped me, i appreciate it!). So I've upgraded my video, so should I just disable IGPU in BIOS, EFI is same? I'll test tomorrow.

BTW, I have a black screen issue on iPad with SideCar, is it because of definition?


What is CNVi? M2 card? I have PCI-E card and it's connected to F_USB1 port on mobo for BT.
No video on browser, one time was no opened browser, but sleep wont work. What could I do?
View attachment 549897

If you use iMacPro1,1, I suggest disabling IGPU.

Sidecar will only work with IGPU enabled. If you need Sidecar, use iMac19,1 system definition and enable IGPU.

Btw, all this info is available on post #3 of this thread.

CNVi is the Wi-Fi/Bluetooth that was designed for Z390 chipsets. Your card is not CNVi.

Something was using audio and preventing sleep...

Screen Shot 2022-06-19 at 5.55.44 PM.png
 
If you use iMacPro1,1, I suggest disabling IGPU.

Sidecar will only work with IGPU enabled. If you need Sidecar, use iMac19,1 system definition and enable IGPU.

Btw, all this info is available on post #3 of this thread.

CNVi is the Wi-Fi/Bluetooth that was designed for Z390 chipsets. Your card is not CNVi.

Something was using audio and preventing sleep...

View attachment 549899
Disabling IGPU in BIOS helped, thank you! System now working.

I will try to rebuild system to iMac 19.1, need to get new serial numbers for new definition to iServices. And will try to make system info look good. Yep, post #3 :crazy:

Something was using audio and preventing sleep...
Don't know. Last time I've unplug usb hub and tap sleep on apple menu. Same situation - falling sleep and wake up immediately. Safari, Apple music was not opened. No music playing.
Log:
2022-06-20 20:24:31.989647+0400 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: XDCI CNVW USBW (User)


2022-06-20 20:24:31.989647+0400 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: XDCI CNVW USBW (User)



2022-06-20 20:25:04 +0400


Assertion status system-wide:


BackgroundTask 1


ApplePushServiceTask 0


UserIsActive 1


PreventUserIdleDisplaySleep 0


PreventSystemSleep 0


ExternalMedia 0


InternalPreventDisplaySleep 1


PreventUserIdleSystemSleep 0


NetworkClientActive 0


InternalPreventSleep 1


Listed by owning process:


pid 144(hidd): [0x0000000c000980e7] 00:00:00 UserIsActive named: "com.apple.iohideventsystem.queue.tickle serviceID:10000088b name:AppleHIDKeyboardEve product:Apple Keyboard eventType:3"


Timeout will fire in 1800 secs Action=TimeoutActionRelease


pid 102(powerd): [0x0000008e000d82cf] 00:00:17 InternalPreventSleep named: "com.apple.powermanagement.acwakelinger"


Timeout will fire in 28 secs Action=TimeoutActionRelease


pid 102(powerd): [0x0000000300108003] 00:00:14 InternalPreventDisplaySleep named: "com.apple.powermanagement.delayDisplayOff"


Timeout will fire in 285 secs Action=TimeoutActionTurnOff


pid 344(UserEventAgent): [0x0000002c000b823f] 00:02:05 BackgroundTask named: "com.apple.coreduet.sync.update-source-device-identifiers"


Created for PID: 348.


Kernel Assertions: 0x10c=USB,BT-HID,MAGICWAKE


id=507 level=255 0x100=MAGICWAKE mod=20.06.2022, 20:40 description=en0 owner=en0


id=508 level=255 0x100=MAGICWAKE mod=20.06.2022, 20:31 description=llw0 owner=IOSkywalkNetworkBSDClient


id=509 level=255 0x100=MAGICWAKE mod=01.01.1970, 04:00 description=en1 owner=en1


id=512 level=255 0x4=USB mod=01.01.1970, 04:00 description=com.apple.usb.externaldevice.14300000 owner=IOUSBHostDevice


id=514 level=255 0x4=USB mod=01.01.1970, 04:00 description=com.apple.usb.externaldevice.14310000 owner=Scarlett 2i2 USB


id=515 level=255 0x4=USB mod=01.01.1970, 04:00 description=com.apple.usb.externaldevice.14330000 owner=Keyboard Hub


id=517 level=255 0x4=USB mod=01.01.1970, 04:00 description=com.apple.usb.externaldevice.14331000 owner=Optical Mouse


id=518 level=255 0x8=BT-HID mod=01.01.1970, 04:00 description=com.apple.driver.IOBluetoothHIDDriver owner=BNBMouseDevice


Idle sleep preventers: IODisplayWrangler

Googled 'XDCI CNVW USBW (User)' and found out not correct SSDT or "bad" USB device.
So my BT card plugged in F_USB1 on mobo, maybe because of it?
BT working weird, mouse near keyboard have lags, BT+wifi antennas are on the rear side of my computer. It's left bottom side of table.

BTW, Hardware - USB in system info.

BT USB host controller look like:
Bluetooth USB Host Controller:

Product ID: 0x828d


Vendor ID: 0x05ac (Apple Inc.)


Version: 1.50


Manufacturer: Apple Inc.


Location ID: 0x14730000


Screenshot 2022-06-20 at 21.20.00.png


EFI is what you did for me
 
Disabling IGPU in BIOS helped, thank you! System now working.

I will try to rebuild system to iMac 19.1, need to get new serial numbers for new definition to iServices. And will try to make system info look good. Yep, post #3 :crazy:


Don't know. Last time I've unplug usb hub and tap sleep on apple menu. Same situation - falling sleep and wake up immediately. Safari, Apple music was not opened. No music playing.
Log:
2022-06-20 20:24:31.989647+0400 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: XDCI CNVW USBW (User)


2022-06-20 20:24:31.989647+0400 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: XDCI CNVW USBW (User)



2022-06-20 20:25:04 +0400


Assertion status system-wide:


BackgroundTask 1


ApplePushServiceTask 0


UserIsActive 1


PreventUserIdleDisplaySleep 0


PreventSystemSleep 0


ExternalMedia 0


InternalPreventDisplaySleep 1


PreventUserIdleSystemSleep 0


NetworkClientActive 0


InternalPreventSleep 1


Listed by owning process:


pid 144(hidd): [0x0000000c000980e7] 00:00:00 UserIsActive named: "com.apple.iohideventsystem.queue.tickle serviceID:10000088b name:AppleHIDKeyboardEve product:Apple Keyboard eventType:3"


Timeout will fire in 1800 secs Action=TimeoutActionRelease


pid 102(powerd): [0x0000008e000d82cf] 00:00:17 InternalPreventSleep named: "com.apple.powermanagement.acwakelinger"


Timeout will fire in 28 secs Action=TimeoutActionRelease


pid 102(powerd): [0x0000000300108003] 00:00:14 InternalPreventDisplaySleep named: "com.apple.powermanagement.delayDisplayOff"


Timeout will fire in 285 secs Action=TimeoutActionTurnOff


pid 344(UserEventAgent): [0x0000002c000b823f] 00:02:05 BackgroundTask named: "com.apple.coreduet.sync.update-source-device-identifiers"


Created for PID: 348.


Kernel Assertions: 0x10c=USB,BT-HID,MAGICWAKE


id=507 level=255 0x100=MAGICWAKE mod=20.06.2022, 20:40 description=en0 owner=en0


id=508 level=255 0x100=MAGICWAKE mod=20.06.2022, 20:31 description=llw0 owner=IOSkywalkNetworkBSDClient


id=509 level=255 0x100=MAGICWAKE mod=01.01.1970, 04:00 description=en1 owner=en1


id=512 level=255 0x4=USB mod=01.01.1970, 04:00 description=com.apple.usb.externaldevice.14300000 owner=IOUSBHostDevice


id=514 level=255 0x4=USB mod=01.01.1970, 04:00 description=com.apple.usb.externaldevice.14310000 owner=Scarlett 2i2 USB


id=515 level=255 0x4=USB mod=01.01.1970, 04:00 description=com.apple.usb.externaldevice.14330000 owner=Keyboard Hub


id=517 level=255 0x4=USB mod=01.01.1970, 04:00 description=com.apple.usb.externaldevice.14331000 owner=Optical Mouse


id=518 level=255 0x8=BT-HID mod=01.01.1970, 04:00 description=com.apple.driver.IOBluetoothHIDDriver owner=BNBMouseDevice


Idle sleep preventers: IODisplayWrangler

Googled 'XDCI CNVW USBW (User)' and found out not correct SSDT or "bad" USB device.
So my BT card plugged in F_USB1 on mobo, maybe because of it?
BT working weird, mouse near keyboard have lags, BT+wifi antennas are on the rear side of my computer. It's left bottom side of table.

BTW, Hardware - USB in system info.

BT USB host controller look like:
Bluetooth USB Host Controller:

Product ID: 0x828d


Vendor ID: 0x05ac (Apple Inc.)


Version: 1.50


Manufacturer: Apple Inc.


Location ID: 0x14730000


View attachment 549948

EFI is what you did for me

Yup. It looks like some USB device is causing your sleep problems.
 
Back
Top