Contribute
Register

ASUS X299-A Opencore issues (sleep, memory modules, wake from BT)

Status
Not open for further replies.
Joined
Dec 9, 2018
Messages
242
Motherboard
Asus Prime X299-A
CPU
7960X
Graphics
6900 XT
Mac
  1. MacBook Pro
  2. Mac Pro
Mobile Phone
  1. iOS
Partially Solved

EDIT: Sleep is solved by setting all usb's as internal. Waking up from sleep still maintains bluetooth connection as well as mounted disks, (i guess that's because usb disks never sleeps now). My thunderbolt devices also comes back when waking up from sleep.
The wake process is very long though, 20 seconds before display comes on and login screen appears. A speed up advise on this, would be highly appreciated

Below is still not solved, so feel free to help


So i still can't wake my hack by my bluetooth keyboard, this would be very handy since i am planning on not having any usb-keyboard connected. Wake by bluetooth-devices is enabled in settings. I got WOL from outside my network by replacing intelmausi with the kext from this repo https://github.com/maaeps/IntelMausiEthernet-WOL/releases
as well as enabling 'wake for network access' in energy saver. The problem is, now my hack wakes up randomly and reentering sleep again. see log here:
Code:
2020-05-31 16:47:52 +0200 Sleep                   Entering Sleep state due to 'Software Sleep pid=224': Using AC (Charge:0%) 49 secs  
2020-05-31 16:49:25 +0200 Sleep                   Entering Sleep state due to 'Maintenance Sleep': Using AC (Charge:0%) 74 secs  
2020-05-31 16:51:23 +0200 Sleep                   Entering Sleep state due to 'Maintenance Sleep': Using AC (Charge:0%) 40 secs  
2020-05-31 16:52:47 +0200 Sleep                   Entering Sleep state due to 'Maintenance Sleep': Using AC (Charge:0%) 72 secs  
2020-05-31 16:54:43 +0200 Sleep                   Entering Sleep state due to 'Maintenance Sleep': Using AC (Charge:0%) 274 secs
2020-05-31 17:00:02 +0200 Sleep                   Entering Sleep state due to 'Maintenance Sleep': Using AC (Charge:0%) 72 secs  
2020-05-31 17:01:58 +0200 Sleep                   Entering Sleep state due to 'Maintenance Sleep': Using AC (Charge:0%) 158 secs
2020-05-31 17:05:21 +0200 Sleep                   Entering Sleep state due to 'Maintenance Sleep': Using AC (Charge:0%) 133 secs
2020-05-31 17:08:19 +0200 Sleep                   Entering Sleep state due to 'Maintenance Sleep': Using AC (Charge:0%) 96 secs  
2020-05-31 17:10:40 +0200 Sleep                   Entering Sleep state due to 'Maintenance Sleep': Using AC (Charge:0%) 63 secs  
2020-05-31 17:12:26 +0200 Sleep                   Entering Sleep state due to 'Maintenance Sleep': Using AC (Charge:0%) 170 secs
2020-05-31 17:16:01 +0200 Sleep                   Entering Sleep state due to 'Maintenance Sleep': Using AC (Charge:0%) 274 secs
2020-05-31 17:21:20 +0200 Sleep                   Entering Sleep state due to 'Maintenance Sleep': Using AC (Charge:0%) 40 secs  
2020-05-31 17:22:44 +0200 Sleep                   Entering Sleep state due to 'Maintenance Sleep': Using AC (Charge:0%) 59 secs  
2020-05-31 17:24:28 +0200 Sleep                   Entering Sleep state due to 'Maintenance Sleep': Using AC (Charge:0%) 41 secs  
2020-05-31 17:25:54 +0200 Sleep                   Entering Sleep state due to 'Maintenance Sleep': Using AC (Charge:0%) 317 secs
2020-05-31 17:31:56 +0200 Sleep                   Entering Sleep state due to 'Maintenance Sleep': Using AC (Charge:0%) 30 secs

If i disable "wake on network access", i can still wake it up from my local network, but not remotely while on the road.


Since the removal of Whatevergreen.kext, the MacProMemoryNotificationDisabler.kext is creating a KP whenever i open "About this mac". And the popup with misconfigured memory modules is quite disturbing. My hack runs very smooth without WEG since i am on MacPro7,1 and have a AMD Navi card. Any hints on this?

IOIIIO on github have a new release ready soon that solves this.

I might add more problems/wishes as i find them.

Cheers!
 
Last edited:
sleep solved:
changing all my USB to internal in Hackintool might have solved to sleep problem. And added the SSDT-UIAC.aml to ACPI folder. Since system report still states my usb3.1(usb-c) disk has a speed "up to 5gbps", i guess this doesn't affect the transfer speeds. But correct me if i'm wrong.

Also @CaseySJ i wonder if adding the UIAC.aml will cause any conflict on the usb ports in the TB3.aml since they both calls them.
(i'll attach both of them including screenshot)
Screenshot 2020-05-30 at 09.12.44.png
 

Attachments

  • SSDT-TB3.aml
    2.2 KB · Views: 114
  • SSDT-UIAC.aml
    1 KB · Views: 102
Last edited:
sleep solved:
changing all my USB to internal in Hackintool might have solved to sleep problem. And added the SSDT-UIAC.aml to ACPI folder. Since system report still states my usb3.1(usb-c) disk has a speed "up to 5gbps", i guess this doesn't affect the transfer speeds. But correct me if i'm wrong.
Was the system previously unable to enter sleep or unable to exit sleep?
Also @CaseySJ i wonder if adding the UIAC.aml will cause any conflict on the usb ports in the TB3.aml since they both calls them.
(i'll attach both of them including screenshot)
View attachment 472542
Because each USB (XHC) controller is independent, there won't be a conflict if the same port name is used in one or both, or if a port is disabled on one or the other.
 
Was the system previously unable to enter sleep or unable to exit sleep?

Because each USB (XHC) controller is independent, there won't be a conflict if the same port name is used in one or both, or if a port is disabled on one or the other.

Previously the system was unable to enter sleep, with bt header cable plugged into internal port on mobo.
Without the cable it wouldn't exit sleep without KP.

Noticed now that when it had been sleeping for a longer period (aprox 1 hour), bluetooth was broken on wake (i have the bluetooth icon in status bar but cant connect my devices, not even after resetting the bluetooth module through debug menu) and my usb-c external drive was disconnected multiple times.

found another thread with same issue, and same wifi+bt card:

Screenshot 2020-05-30 at 13.20.42.png
 
Another update of my progress.

Now it sleeps like it should, bluetooth doesn't break anymore. I can wake it up on lan, but not from outside my network, and also not from Plex when i'm gonna watch a movie. That is however low priority since i have a script i can run that wakes it up "locally" from my cellphone.

I still can't wake it up by bluetooth keyboard, but i haven't found anyone else with the same type of wifi/bluetooth card that have that thing solved either, so i guess it is what it is.

What i did find though while navigating through console, was a message about my TSC being Unsynchronized. This is weird cause i have a proper TSCAdjust. I haven't gotten any kernel panics either. This was in the process of wakingup from sleep as well, so maybe it was just a one time situation?

Also not all threads. Here is log:

Code:
default    14:08:18.168853+0200    powerd    Process powerd.140 TimedOut InternalPreventSleep "com.apple.powermanagement.darkwakelinger" age:00:00:15  id:55834608512 [System: PrevIdle DeclUser SRPrevSleep kCPU kDisp]
default    14:08:35.808135+0200    kernel    Unsynchronized  TSC for cpu 26: 0x00000006e9b52756, delta 0x7301439b
default    14:08:35.808136+0200    kernel    Started cpu 26 (lapic id 0000001a)
default    14:08:35.812566+0200    kernel    Unsynchronized  TSC for cpu 27: 0x00000006ea730f25, delta 0x73014393
default    14:08:35.812567+0200    kernel    Started cpu 27 (lapic id 0000001b)
default    14:08:35.819998+0200    kernel    Unsynchronized  TSC for cpu 28: 0x00000006ebb166aa, delta 0x730143b6
default    14:08:35.819998+0200    kernel    Started cpu 28 (lapic id 0000001c)
default    14:08:35.824429+0200    kernel    Unsynchronized  TSC for cpu 29: 0x00000006ec6f583b, delta 0x730143b4
default    14:08:35.824430+0200    kernel    Started cpu 29 (lapic id 0000001d)
default    14:08:35.831661+0200    kernel    Unsynchronized  TSC for cpu 30: 0x00000006eda53017, delta 0x7301439f
default    14:08:35.831662+0200    kernel    Started cpu 30 (lapic id 0000001e)
default    14:08:35.836493+0200    kernel    Unsynchronized  TSC for cpu 31: 0x00000006ee7448c0, delta 0x730143bc
default    14:08:35.836496+0200    kernel    Started cpu 31 (lapic id 0000001f)
default    14:09:33.726761+0200    powerd    Process mDNSResponder.287 Created MaintenanceWake "mDNSResponder:maintenance" age:00:00:00  id:55834608537 [System: PrevIdle DeclUser BGTask SRPrevSleep kCPU kDisp]
default    14:09:35.328011+0200    com.apple.WebKit.WebContent    0x501cec320 - PerformanceMonitor::measureCPUUsageInActivityState: Process is using 0.0% CPU in state: NonVisible

But one last disturbing thing, that i would love some help with, if possible.
When waking up, through keyboard or power button. My monitor still has no signal until i push the keyboard AGAIN after 5-6 seconds. It doesn't wakes up automatically.

It does however if i wake it up by VNC or Screen sharing.

Any clues? @CaseySJ
 
Regarding Disk not Ejected Properly, in many cases we can solve this by down clocking memory to either 2666MHz or 2933MHz. This is done in BIOS by setting memory multiplier to 26.66 for 2666MHz or 29.33 for 2933MHz.

Regarding One key Wake from Sleep, in many cases setting darkwake=0 resolves this, but in other cases a different value may be needed. The proper solution is to use Osy86's SSDT-USBW.aml in combination with USBWakeFixup.kext. Details are located here. Again, this may work on some systems and not others. As with all things Hackintosh, your mileage may vary.
 
Regarding Disk not Ejected Properly, in many cases we can solve this by down clocking memory to either 2666MHz or 2933MHz. This is done in BIOS by setting memory multiplier to 26.66 for 2666MHz or 29.33 for 2933MHz.

Regarding One key Wake from Sleep, in many cases setting darkwake=0 resolves this, but in other cases a different value may be needed. The proper solution is to use Osy86's SSDT-USBW.aml in combination with USBWakeFixup.kext. Details are located here. Again, this may work on some systems and not others. As with all things Hackintosh, your mileage may vary.

Huh, didn't know memory clock speeds could affect sleep issues. Not willing to sacrifice my 3200mhz ram speeds for that though xD

Thanks so much again for all the advices, gonna check that SSDT's and try to implement it.
 
I can wake it up on lan, but not from outside my network, and also not from Plex when i'm gonna watch a movie. That is however low priority since i have a script i can run that wakes it up "locally" from my cellphone.

@Junologue Reviving this old thread to ask about this script of yours. How does that work? Can you share? Would be great to wake up the mac from the couch for accessing Plex!
 
Status
Not open for further replies.
Back
Top