Mac Pro 5.1 turns off when is put to sleep

slamjack

macrumors member
Original poster
Jul 22, 2011
62
11
Moscow
Model Name: Mac Pro
Model Identifier: MacPro5,1
Processor Name: 6-Core Intel Xeon
Processor Speed: 3,46 GHz
Number of Processors: 2
Total Number of Cores: 12
L2 Cache (per Core): 256 KB
L3 Cache (per Processor): 12 MB
Memory: 96 GB
Boot ROM Version: 138.0.0.0.0
SMC Version (system): 1.39f11
SMC Version (processor tray): 1.39f11
Mojave GM

The problem appeared on one of the last updates of High Sierra — when Mac pro goes to sleep, it turns off completely. Other time it functions properly, it can be turned on for a couple of days and it is ok, even under heavy load (rendering). In safe mode it is the same, sleeping turns Mac Pro off. Installing Mojave did not help.

I reset SMC, NVRAM.

i did "log show --predicate 'eventMessage contains "Previous shutdown cause"' --last 24h" in Terminal, it says:

Code:
Timestamp                       Thread     Type        Activity             PID    TTL
2018-09-21 10:33:07.108876+0300 0xeb       Default     0x0                  0      0    kernel: (AppleSMC) Previous shutdown cause: 0
2018-09-21 22:12:18.036527+0300 0xeb       Default     0x0                  0      0    kernel: (AppleSMC) Previous shutdown cause: 0
2018-09-22 01:05:54.061565+0300 0xeb       Default     0x0                  0      0    kernel: (AppleSMC) Previous shutdown cause: 0
2018-09-22 01:10:41.134169+0300 0xeb       Default     0x0                  0      0    kernel: (AppleSMC) Previous shutdown cause: 0
where 0 is "Power disconnected".

Etrecheck report is attached.

What it can be? I don't think that it is power supply issue, it seems to work well.
Should i check the memory?
 

Attachments


Freakshow69

macrumors newbie
Aug 22, 2016
6
0
I'm in the same boat, sometimes it stays asleep, but most times it shuts itself down...

Sierra 10.12.6
Mac Pro 5,1 (mid 2012)
2x 3.46 6 core intel xeon
64GB memory
running two ASUS monitors with nvidia geoforce gtx 980 ti 6143mb
 

slamjack

macrumors member
Original poster
Jul 22, 2011
62
11
Moscow
sometimes it stays asleep but most times it shuts itself down...
Yes, from time to time it can wake up (it happens totally random) but usually it does not. I have stopped trying and turned auto sleep off, but it is not a solution at all.
 

tsialex

macrumors 603
Jun 13, 2016
5,301
6,019
Brazil
Model Name: Mac Pro
Model Identifier: MacPro5,1
Processor Name: 6-Core Intel Xeon
Processor Speed: 3,46 GHz
Number of Processors: 2
Total Number of Cores: 12
L2 Cache (per Core): 256 KB
L3 Cache (per Processor): 12 MB
Memory: 96 GB
Boot ROM Version: 138.0.0.0.0
SMC Version (system): 1.39f11
SMC Version (processor tray): 1.39f11
Mojave GM

The problem appeared on one of the last updates of High Sierra — when Mac pro goes to sleep, it turns off completely. Other time it functions properly, it can be turned on for a couple of days and it is ok, even under heavy load (rendering). In safe mode it is the same, sleeping turns Mac Pro off. Installing Mojave did not help.

I reset SMC, NVRAM.

i did "log show --predicate 'eventMessage contains "Previous shutdown cause"' --last 24h" in Terminal, it says:

Code:
Timestamp                       Thread     Type        Activity             PID    TTL
2018-09-21 10:33:07.108876+0300 0xeb       Default     0x0                  0      0    kernel: (AppleSMC) Previous shutdown cause: 0
2018-09-21 22:12:18.036527+0300 0xeb       Default     0x0                  0      0    kernel: (AppleSMC) Previous shutdown cause: 0
2018-09-22 01:05:54.061565+0300 0xeb       Default     0x0                  0      0    kernel: (AppleSMC) Previous shutdown cause: 0
2018-09-22 01:10:41.134169+0300 0xeb       Default     0x0                  0      0    kernel: (AppleSMC) Previous shutdown cause: 0
where 0 is "Power disconnected".

Etrecheck report is attached.

What it can be? I don't think that it is power supply issue, it seems to work well.
Should i check the memory?
Longshot, but did you installed MP51.0087.B00 Firmware? Did you have trouble booting sometimes?
 
  • Like
Reactions: handheldgames

crjackson2134

macrumors 601
Mar 6, 2013
4,486
1,618
Charlotte, NC
Is your current macOS installed from an upgraded previous version? Is it a clean install with Apps pulled over from TM or Migration Assistent?

I had similar problems that wouldn’t go away until a clean install onto a fresh partition, and each app installed as new. Nothing migrated from a previous install (don’t copy your old home folders over to new install).

This totally fixed all sleep an power management issues for me.
 

slamjack

macrumors member
Original poster
Jul 22, 2011
62
11
Moscow
but did you installed MP51.0087.B00 Firmware? Did you have trouble booting sometimes?
Hi, i did not have any troubles with booting. I think that 0087 firmware was installed (then 0089 and then mojave
138.0.0.0.0) because i remember how i changed RX580 for EFI card for firmware update on High Sierra.
[doublepost=1537654838][/doublepost]
Is your current macOS installed from an upgraded previous version? Is it a clean install with Apps pulled over from TM or Migration Assistent?.
High Sierra was clean installation, and then upgraded to Mojave some days ago. Problems appeared on one of the last updates of High Sierra.
 

tsialex

macrumors 603
Jun 13, 2016
5,301
6,019
Brazil
Hi, i did not have any troubles with booting. I think that 0087 firmware was installed (then 0089 and then mojave
138.0.0.0.0) because i remember how i changed RX580 for EFI card for firmware update on High Sierra.
[doublepost=1537654838][/doublepost]
High Sierra was clean installation, and then upgraded to Mojave some days ago. Problems appeared on one of the last updates of High Sierra.
You can check two things before starting to search a hardware fault.

1) Check your BootROM for corruption, it’s common for people that had MP51.0087.B00 installed.

Dump your BootROM with ROMTool, I'll check it for you.

First boot Recovery, open Terminal and disable SIP:
Code:
csrutil disable
Then download ROMTool.zip and dump your ROM. Compress and PM me it.

2) Do a clean install of 10.13.6 on a empty drive and check if you stil have sleep problems.
 

slamjack

macrumors member
Original poster
Jul 22, 2011
62
11
Moscow
Things gone worse today, because Mac Pro starts switching off while it works. Three times today i started working in FCPX and it switched off completely.
I have never seen such behaviour for a year of using Mac Pro.

Logs:

Code:
Sep 24 15:15:08 Dmitrys-Mac-Pro Final Cut Pro[322]: BUG in libdispatch client: mach_recv, monitored resource vanished before the source cancel handler was invoked { 0x60000177ee00[source], ident: 184483 / 0x2d0a3, handler: 0x1064a5100 }
Sep 24 15:15:21 Dmitrys-Mac-Pro Final Cut Pro[322]: DEPRECATED USE in libdispatch client: Clearing handler after the source has been activated; set a breakpoint on _dispatch_bug_deprecated to debug
Sep 24 15:15:24 Dmitrys-Mac-Pro com.apple.xpc.launchd[1] (com.apple.bsd.dirhelper[1220]): Endpoint has been activated through legacy launch(3) APIs. Please switch to XPC or bootstrap_check_in(): com.apple.bsd.dirhelper
Sep 24 15:16:13 Dmitrys-Mac-Pro com.apple.xpc.launchd[1] (com.apple.imfoundation.IMRemoteURLConnectionAgent): Unknown key for integer: _DirtyJetsamMemoryLimit
Sep 24 15:19:17 localhost bootlog[0]: BOOT_TIME 1537791557 0
Code:
Sep 24 15:38:23 Dmitrys-Mac-Pro Final Cut Pro[939]: DEPRECATED USE in libdispatch client: Clearing handler after the source has been activated; set a breakpoint on _dispatch_bug_deprecated to debug
Sep 24 15:38:25 Dmitrys-Mac-Pro VTEncoderXPCService[957]: DEPRECATED USE in libdispatch client: Changing the target of a source after it has been activated; set a breakpoint on _dispatch_bug_deprecated to debug
Sep 24 15:38:25 Dmitrys-Mac-Pro VTEncoderXPCService[957]: DEPRECATED USE in libdispatch client: Changing target queue hierarchy after xpc connection was activated; set a breakpoint on _dispatch_bug_deprecated to debug
Sep 24 15:38:28 Dmitrys-Mac-Pro VTEncoderXPCService[957]: DEPRECATED USE in libdispatch client: Changing the target of a source after it has been activated; set a breakpoint on _dispatch_bug_deprecated to debug
Sep 24 15:38:28 Dmitrys-Mac-Pro VTEncoderXPCService[957]: DEPRECATED USE in libdispatch client: Changing target queue hierarchy after xpc connection was activated; set a breakpoint on _dispatch_bug_deprecated to debug
Sep 24 15:38:28 Dmitrys-Mac-Pro VTEncoderXPCService[957]: DEPRECATED USE in libdispatch client: Changing the target of a source after it has been activated; set a breakpoint on _dispatch_bug_deprecated to debug
Sep 24 15:38:28 Dmitrys-Mac-Pro VTEncoderXPCService[957]: DEPRECATED USE in libdispatch client: Changing target queue hierarchy after xpc connection was activated; set a breakpoint on _dispatch_bug_deprecated to debug
Sep 24 15:40:06 Dmitrys-Mac-Pro syslogd[44]: ASL Sender Statistics
Sep 24 15:40:08 Dmitrys-Mac-Pro com.apple.xpc.launchd[1] (com.apple.imfoundation.IMRemoteURLConnectionAgent): Unknown key for integer: _DirtyJetsamMemoryLimit
Sep 24 15:43:09 localhost bootlog[0]: BOOT_TIME 1537792989 0
Code:
2018-09-24 14:23:07.021546+0300  localhost kernel[0]: (AppleSMC) Previous shutdown cause: 0
2018-09-24 15:19:19.079335+0300  localhost kernel[0]: (AppleSMC) Previous shutdown cause: 0
2018-09-24 15:43:11.083011+0300  localhost kernel[0]: (AppleSMC) Previous shutdown cause: 0
 
Last edited:

slamjack

macrumors member
Original poster
Jul 22, 2011
62
11
Moscow
The further investigation of the problem, and steps i have made:

I flashed BootRom with the Rom kindly checked for me by @tsialex — it didn not help (my BootRom didn't have trash or the usual corruption).

I did clean Mojave installation, fresh system that had the same problems with sleep and switching off while working.

I did stress tests on fresh system — LuxMark Gpu and LuxMark CPU. MacPro switched off while performing CPU test.

I thought that temperature of North bridge can be too high and it forces system to shutdown. I replaced thermal paste on CPUs and NorthBridge.

It did not help, system shuts down under CPU load, on start of Geekbench 3, for example.

So, my conclusion is power supply replacing. Random shutdowns in sleep mode — shutdown EVERY time in sleep mode, — shutdowns under CPU load lead to it.
 

pianoman88

macrumors regular
Aug 20, 2010
197
35
Something similar happened to me. It was the power supply. Took it to "genius" two times who found nothing wrong with it. Talked to the manager on the third time and was immediately told that it was the power supply.
 
  • Like
Reactions: slamjack

monoton

macrumors member
Aug 15, 2006
44
42
Oslo / Tokyo
My Mac Pro 4,1 converted to 5,1 also has issues with sleep with the official release of Mojave. It will reboot and the grey error screen appears, when waking from sleep.

Should a reset of NVRAM or SMC solve it ? However I guess that has no meaning as when I boot into High Sierra 10.13.6 from another drive the issue is not there at all.

It was upgraded from High Sierra 10.13.6 to Mojave 18A389 (issue started), and then upgraded again to 18A391 public release. . Issue still there and same behaviour. Firmware is 138.0.0.0.0 as found in the 18A389 full download installer.

A Nvidia 1050Ti card is also installed in addition to a HD7970, the Nvidia card has no driver loaded in Mojave as Nvidia has not released it yet..

EDIT: I removed the Nvidia card that has no driver loaded in Mojave and problem solved.
 
Last edited:

MIKX

macrumors 65816
Dec 16, 2004
1,176
445
Japan
If this happened to me I would backup - format the drive and do a complete re-install.

Incidentally, have you run Disk First Aid on your boot drive ? Might help.
 

slamjack

macrumors member
Original poster
Jul 22, 2011
62
11
Moscow
A Nvidia 1050Ti card is also installed in addition to a HD7970, the Nvidia card has no driver loaded in Mojave as Nvidia has not released it yet..
Try to boot only with one card, HD7970 if it supports Metal in Mojave. I had some issues with two cards installed in High sierra at once (Rx580 and EFI OEM card).
 

Jayson A

macrumors 68000
Sep 16, 2014
1,796
1,101
My Mac Pro 5,1 is having the same problem. Sometimes it will sleep, other times it simply shuts off immediately. It happens in both macOS Sierra and Windows 10 (they’re on different drives).

How likely is it that we all have bad power supplies.

I also have an RX 580 in this thing. Maybe that’s doing it.

I didn’t have any problems when I first put the 580 in, but now my computer simply shuts off when putting it to sleep maybe 2 times out of 10.
 

slamjack

macrumors member
Original poster
Jul 22, 2011
62
11
Moscow
My Mac Pro 5,1 is having the same problem. Sometimes it will sleep, other times it simply shuts off immediately. It happens in both macOS Sierra and Windows 10 (they’re on different drives).

How likely is it that we all have bad power supplies.

I also have an RX 580 in this thing. Maybe that’s doing it.

I didn’t have any problems when I first put the 580 in, but now my computer simply shuts off when putting it to sleep maybe 2 times out of 10.
I have worked with RX 580 installed almost a year without any issues. What RX model do you have? Pulse, Nitro? Does it have native support? Try to switch GPU and test sleeping again.
 

Jayson A

macrumors 68000
Sep 16, 2014
1,796
1,101
I have worked with RX 580 installed almost a year without any issues. What RX model do you have? Pulse, Nitro? Does it have native support? Try to switch GPU and test sleeping again.
Sapphire PULSE RX 580 8GB
 

Jayson A

macrumors 68000
Sep 16, 2014
1,796
1,101
Hi all! I replaced my power supply and now all is well. I had the same problem as the OP and his solution solved mine too.