Setup & Software Discussions
GPU sometimes Hangs/Crashes while gaming
 

GPU sometimes Hangs/Crashes while gaming  

  RSS

oneplane
(@oneplane)
New Member
Joined: 1 year ago
Posts: 4
May 26, 2019 12:30 am  

I'm running into an issue where the GPU seems to hang/crash during StarCraft 2 games and once during a particularly busy Safari multi-window multi-video multi-animation webpage multitasking bonanza.

When this happens, the mousepointer still moves, but without smoothness/acceleration. When SSH'ing into the mac from another system I can see in dmesg the GPU appears to have crashed.
Sometimes it recovers, but most of the time it just keeps crashing until I power cycle it.


: 0x20010001 : 0x20010001 : 0x20010001 : 0x20010001 : 0x20010001 : 0x20010001 : 0x20010001 : 0x20010001 <br />
: 0xc0026900 : 0x00000003 : 0x00000000 : 0x00000080 : 0xc0036900 : 0x00000201 : 0x00301101 : 0x00cc0010 <br />
: 0x00000000 : 0xc0026900 : 0x000002db : 0x00000000 : 0x00000000 : 0xc0016900 : 0x00000207 : 0x00000000 <br />
: 0xc0016900 : 0x000002f8 : 0x00000000 : 0xc0026900 : 0x0000030e : 0xffffffff : 0xffffffff : 0xc0016900 <br />
: 0x000001b1 : 0x00000000 : 0xc0046900 : 0x000001b3 : 0x00000000 : 0x00000000 : 0x0000246a : 0x00000000 <br />
: 0xc0016900 : 0x000001b8 : 0x00000000 : 0xc0004600 : 0x0000040f : 0xc0004600 : 0x00000410 : 0xc0016900 <br />
: 0x000001ba : 0x00000000 : 0xc0036900 : 0x000001c3 : 0x00000000 : 0x00000000 : 0x00000000 : 0xc0016900 <br />
: 0x000002a1 : 0x00000000 : 0xc0016900 : 0x000002ad : 0x00000000 : 0xc0026900 : 0x00000286 : 0x00000000 <br />
: 0x00000000 : 0xc0036900 : 0x000002d4 : 0x10080808 : 0x00000100 : 0x00000000 : 0xc0206900 : 0x00000191 <br />
: 0x00000000 : 0x00000000 : 0x00000000 : 0x00000000 : 0x00000000 : 0x00000000 : 0x00000000 : 0x00000000 <br />
: 0x00000000 : 0x00000000 : 0x00000000 : 0x00000000 : 0x00000000 : 0x00000000 : 0x00000000 : 0x00000000 <br />
: 0x00000000 : 0x00000000 : 0x00000000 : 0x00000000 : 0x00000000 : 0x00000000 : 0x00000000 : 0x00000000 <br />
: 0x00000000 : 0x00000000 : 0x00000000 : 0x00000000 : 0x00000000 : 0x00000000 : 0x00000000 : 0x00000000 <br />
: 0xc0012800 : 0x80000002 : 0x80000000 : 0xc0012800 : 0x80000000 : 0x80000000 : 0xc0002a00 : 0x00000000 <br />
: 0xc0017900 : 0x0000024d : 0x00000000 : 0xc0017900 : 0x10000242 : 0x00000000 : 0xc0026900 : 0x00000081 <br />
: 0x8a780e48 : 0x0ad6123e : 0xc0026900 : 0x0000008e : 0x0000000f : 0x0000000f : 0xc0086900 : 0x000001e0 <br />
: 0x65010501 : 0x20010001 : 0x20010001 : 0x20010001 : 0x20010001 : 0x20010001 : 0x20010001 : 0x20010001 <br />
: 0xc0026900 : 0x00000003 <br />
: ** GPU Debug Info End **</p>
<p>Trying to restart GPU (Radeon <a title="Buy Link" class="aalmanual" target="_blank"  href="/go/amdrx570">RX 570</a>)...<br />
AMD Recovery Display.<br />
virtual IOReturn IOAccelEventMachine2::waitForStamp(int32_t, stamp_t, stamp_t *): a graphics error occurred, exitting..<br />
virtual IOReturn IOAccelEventMachine2::waitForStamp(int32_t, stamp_t, stamp_t *): a graphics error occurred, exitting..<br />
AMD Recovery Display.<br />
void IOAccelEventMachine2::restart_channel(): GPURestartEnd stampIdx=7 type=2<br />
virtual IOReturn IOAccelEventMachine2::waitForStamp(int32_t, stamp_t, stamp_t *): initial wait for 1 second expired. Continue wait for 4 seconds. stamp 1770 (gpu_stamp=1769)<br />
virtual IOReturn IOAccelEventMachine2::waitForStamp(int32_t, stamp_t, stamp_t *): initial wait for 1 second expired. Continue wait for 4 seconds. stamp 1775 (gpu_stamp=1769)<br />
Sandbox: DumpGPURestart(4256) deny(1) mach-lookup com.apple.CrashReporterSupportHelper<br />
AMD Recovery Display.<br />
void IOAccelEventMachine2::restart_channel(): GPURestartEnd stampIdx=7 type=2<br />

Setup: 

- 2015 rMBP 13"
- Apple TB2-TB3 adapter
- AkiTiO Node
- RX570 4GB
- macOS 10.14.6 Beta (18G29g) (but this has been an issue since 10.14.0)

Interestingly, no GPU crashes on Windows 10 on the same setup (running off of a USB3 SSD). I'm not sure how to dig deeper to understand why this is happening, at this point I'm inclined to start from the ground up and to external power and temperature monitoring on the eGPU hardware, the GPU and the power supply to start with...

rMBP 2015 13", AkiTiO Node, RX 570 4GB, 10.14 + Win10, Apple TB2-TB3


ReplyQuote
beppedessi
(@beppedessi)
Active Member
Joined: 2 years ago
Posts: 11
May 28, 2019 9:16 am  

I know that is not the point but, how well does it handle StarCraft 2? FPS?

Pending: Add my system information and expected eGPU configuration to my signature to give context to my posts


ReplyQuote
oneplane
(@oneplane)
New Member
Joined: 1 year ago
Posts: 4
Jun 2, 2019 3:11 pm  
Posted by: beppedessi

I know that is not the point but, how well does it handle StarCraft 2? FPS?

Sorry for the delay, I seem to not get any notifications 🙁

It handles SC2 very well, especially considering it's running on an older mobile i5 with only 8GB RAM. I'm playing on a 4K monitor set to FHD, I can mix and match to not load the CPU to hard and reduce the TB2 bandwidth needed to get reasonably high settings with about 60FPS. If you have a lot of textures, particles etc. that require the CPU to push something to the GPU you'll run into the CPU and TB2 limits, but that mostly happens with about 200 units in view and having a lot of activity; i.e. not something that happens a lot in normal cases. If you do play a lot of custom games you should probably reduce some settings. When you put every thing on low and run on HD, you get over 100FPS all the time. I'm having one additional issue that I'm too lazy to debug; when CalendarSyncAgent starts up in the background it uses 150% CPU which is something SC2 can't spare when playing, so I have a SSH session to my mac from my linux workstation monitoring processes with top and another one with sudo killall CalendarSyncAgent prepared. It's one of my calendar accounts causing that, but why fix it if you can kill it when you are too busy 😉

Interestingly, I do see some differences between ranked games vs. the rest; it's almost like ranked games tax the system more, perhaps due to higher sampling/battle.net checks to prevent cheating on the ranking? I also only seem to get crashed when ranked playing.

Other games work well too, i.e. Titanfall 2, Apex Legends, PUBG. Depending on what you want, you can get 1440 with 60FPS and medium to high settings. But then the bottleneck becomes the CPU and not the GPU. A lot of newer games allow setting a Texture Streaming Budget which takes your GPU memory into account to prevent unneeded swapping and to prepare transfers so you don't tax PCIe so much.

 

This post was modified 3 weeks ago

rMBP 2015 13", AkiTiO Node, RX 570 4GB, 10.14 + Win10, Apple TB2-TB3


ReplyQuote