Contribute
Register

Wake/Sleep problem on Z370-A Prime + GTX 1070 Ti

Status
Not open for further replies.
Joined
Feb 8, 2018
Messages
17
Motherboard
Asus Z370-A Prime
CPU
i7-8700K
Graphics
Vega 56
Mac
  1. iMac
  2. MacBook Pro
  3. Mac mini
Mobile Phone
  1. iOS
Hello everybody,
same author of this post, but gave up eventually and dismissed the Thunderbolt card from the build (for now) and got a GTX 1070 Ti instead of cracking my head over a iGPU UHD 630 only build: got it to work, but realised afterward it couldn't drive a 4k monitor at QHD resolution (2560x1440) with HiDPI.

CONFIG
I am now writing from a successful build based on the following hardware:
  • Intel i7 8700K
  • Asus Z370-A Prime
  • Corsair LPX-Vengeance DDR4 2x16GB
  • Asus Strix GTX 1070 Ti
  • Seasonic PRIME Ultra 650 Titanium
  • 2x 1 TB Samsung nVME 960 EVO
  • PCI-E WiFi Broadcom BCM943602CS
This is a dual boot machine, with Windows 10 on one SSD and macOS on the other one.

SIDENOTE: Funny thing is I managed to enable hardware-based (TPM) Bitlocker on Windows 10 and I can dual boot flawlessly, without the need to disable Secure Boot in order to boot up macOS (must be enabled for Bitlocker to work in Windows). Basically I use the same BIOS configuration to boot both macOS and Windows 10: I just choose the right drive at boot with F8 (for booting Windows, default is macOS).

Software side, I am running latest High Sierra version (10.13.5) with every other piece of software up to date.
Eveyrthing is working so far on the macOS side, including:
  • Bluetooth
  • WiFi
  • FileVault 2 (woooo!!)
  • Handoff
  • Continuity
  • GPU HW acceleration
  • HiDPI Resolutions (2560x1440 HiDPI on Dell P2415Q 24" 4K)
  • Airplay
  • Universal Clipboard
  • Unlock with Apple Watch
  • Siri
  • Messages
  • Facetime
DESCRIPTION
The only thing that doesn't work properly so far is sleep/wake.
  1. Sometimes, when I leave the computer for a few hours and later come back, I find it's awake but with a black screen (the signal is present in the monitor, backlight and LED are on, but the screen stays black). If I press the power button, nothing happens and I have to keep it pressed to shut it down manually (only way to get out of this situation).
  2. Some other times I find it awake (pc lights on) but no signal to the monitor (monitor LED glowing). In this situation, if I press the power button, the PC shuts down immediately. If I press it back, computer boots and macOS warns me it did not shut down properly.
  3. If I manually put it to sleep, it shuts down properly and computer LED starts blinking. If I wake it up shortly after, it boots back again to the login screen flawlessly. But if I leave it sleeping for longer, then 1 or 2 happens.
I also found out that Energy Saver settings have no effects whatsoever.
I set "Turn off display after" to Never and checked "Prevent computer to sleep automatically blah blah..." and, even though I had partial success with just keeping it up (and manually switching the monitor off when away), I also experienced 1 or 2 situations.

I also checked my EDID profile (as per this post recommended in the @RehabMan thread Common Problems in 10.13 High Sierra), and found out it's perfect: VendorID and ProductID are correct, my 20th byte is B5 as it should be and all is fine.

So I am actually out of options, and before putting my (almost...) perfectly working build at risk, I would like to ask the community for some help.

PROBLEM REPORTING FILES
I enclosed the (hopefully) correct reporting files, output by @black.dragon74 script (you can find it here) after pressing F2 and F4 at Clover boot. I also enclosed EDID data with a zip dumped with DarwinDumper.

(missing commands means no/blank output)
kextstat|grep -y acpiplat
Code:
14    2 0xffffff7f831fa000 0x9c000    0x9c000    com.apple.driver.AppleACPIPlatform (6.1) 577DDA65-E8D0-3357-8FBB-20E69AB66086 <13 12 11 7 6 5 4 3 1>

kextstat|grep -y applehda
Code:
  107    1 0xffffff7f82e17000 0x1d000    0x1d000    com.apple.driver.AppleHDAController (281.52) 0CEE0F18-1D22-3D90-9FD5-ECCD63F81428 <106 105 102 12 7 6 5 4 3 1>
  121    0 0xffffff7f82f9b000 0xb7000    0xb7000    com.apple.driver.AppleHDA (281.52) 119A5EAE-5FD8-3CF3-A0CA-73EDDDC23DBE <120 107 106 105 103 102 6 5 4 3 1>
  131    0 0xffffff7f82e36000 0x2000     0x2000     com.apple.driver.AppleHDAHardwareConfigDriver (281.52) C9B1CF26-EB20-3D27-BE9E-6BD79F7F8C85 <4 3>

pmset -g assertions
Code:
2018-07-02 04:07:52 +0200
Assertion status system-wide:
   BackgroundTask                 0
   ApplePushServiceTask           0
   UserIsActive                   1
   PreventUserIdleDisplaySleep    0
   PreventSystemSleep             0
   ExternalMedia                  0
   PreventUserIdleSystemSleep     1
   NetworkClientActive            0
Listed by owning process:
   pid 411(sharingd): [0x0000614600018cea] 00:17:11 PreventUserIdleSystemSleep named: "Handoff"
   pid 416(useractivityd): [0x0000654c00018d63] 00:00:02 PreventUserIdleSystemSleep named: "BTLEAdvertisement"
    Timeout will fire in 58 secs Action=TimeoutActionTurnOff
   pid 101(hidd): [0x0000003100098007] 00:00:00 UserIsActive named: "com.apple.iohideventsystem.queue.tickle.4294969295.3"
No kernel assertions.
Idle sleep preventers: IODisplayWrangler

pmset -g
Code:
System-wide power settings:
Currently in use:
standby              1
Sleep On Power Button 1
womp                 0
autorestart          0
hibernatefile        /var/vm/sleepimage
powernap             1
networkoversleep     0
disksleep            0
sleep                0 (sleep prevented by sharingd, useractivityd)
autopoweroffdelay    28800
hibernatemode        0
autopoweroff         1
ttyskeepawake        1
displaysleep         0
standbydelay         10800

sudo kextcache -i /
Code:
KernelCache ID: 8AE9AD9A8084CAE5013845D906F81AD7

If you need more details just ask and I will report back.
Thanks for reading!

EDIT:
  1. added more reporting
  2. formatting
  3. added sudo kextcache -i / output
  4. hardware name correction
  5. post structure
 

Attachments

  • debug_21243.zip
    2.8 MB · Views: 147
  • DarwinDumper_3.0.4_02.07_03.46.18_iMac18,2_AMI_X64_4558_High Sierra_17F77_boss.zip
    3.2 KB · Views: 90
Last edited:
If you change standby to 0 (sudo pmset -a standby 0) then sleep should work - it just won't go into the lower power standby state.
 
Similar problem here.

Came to wake my new system last week, couldn't get it to show on screen, so manually shut it down and then it didn't recognise my external HDD for a few days and still has a resolution issue, stretching my VGA display to fit the screen, the dimensions of which it is detected incorrectly in "About my mac" (which I believe is part of the problem).

As mentioned, I still can't wake from sleep as normal, but have to force shutdown.

Hope someone can assist.
 
@RehabMan sorry to bother, I am sure you can help me solve this issue.
I made sure to generate correct reporting files to avoid wasting your time.
thanks for all the guides I have run into while on my quest!
 
If you change standby to 0 (sudo pmset -a standby 0) then sleep should work - it just won't go into the lower power standby state.
thank you for this, but before giving up (and completely disable it) I would like to investigate the issue, hence the detailed description and complete reporting files. Hope someone can spot what I am missing in my config.
 
Did you try this?
sudo pmset -a autopoweroff 0
 
I'm not sure if this is a config problem, but maybe a graphics card issue. I managed to get my system running perfectly, heres how:

I booted via CPU graphics because NVIDIA was failing.

I then started messing with resolutions because although CPU graphics was working, my res was way out. Then I took my monitor out of range when troubleshooting which wasn't good, so I connected it to my TV, which has a much higher res.

It then dawned on me that I should connect my TV to the display port on my graphics card and so I booted my system using NVDIA driver as normal and my VGA monitor went out of range as expected. Then I plugged the DisplayPort from my TV in to my graphics card and for some strange reason weird reason it activated the driver and my monitor display was working again, even after I pulled the TV link out. So I had a temp fix to activate the monitor.

Then weeks later, I left my system for a while and it went to sleep, I went to wake it and it didn't work. So I plugged my DisplayPort from the TV and the monitor still didn't wake but the TV worked fine, at which point I shut down properly using the TV display and now the system is in perfect state again. I'll just have to connect and shutdown via my TV next time it sleeps. I tried almost everything to do with configs and mods in the midst of all this and nothing worked from what I could see.
 
Last edited:
Any solution for this please? My display only goes into sleep, but the system remains awakw (LEDs and fans). The machine does not come out of this state till I switched it off and then on again.

I'm using Mojave 10.14.2 and the components in my profile.
 
Status
Not open for further replies.
Back
Top