Enclosure & Hardware Discussions
Help: MBP13” 2018 freezes when connected to Gigabyte Gaming Box RX580
 

Help: MBP13” 2018 freezes when connected to Gigabyte Gaming Box RX580  

  RSS

Svare
(@svare)
New Member
Joined: 11 months ago
 

I bought a Gigabyte RX 580 Gaming Box and it worked great right out of the box - for a few hours. The issues started after I rebooted my MBP.

Setup


Details

The first incident was blue square-ish pixels all over my external display while watching a video. My mouse cursor started lagging, and it went completely unresponsive after a minute. There was nothing I could do short of powering off the eGPU, or unplug it. So I unplugged the eGPU from my MBP and everything went back to normal. Plugged it back in, and that's where the issues started happening: the same behavior over and over again. Sometimes it works for awhile (<5minutes everytime), but starts crapping out as described. Other times, the MBP freezes the moment it's plugged in. In some cases there was also a kernel panic right after I unplugged the eGPU after it freezes. I've also noticed the fans on my MBP whirling up (making a woosh sound) right when this happens.

This happens with both internal and external displays. Although there weren't any random bunch of pixels on the internal display, and it tends to work longer when I don't connect it to an external display. As far as I can tell, this always happens a few minutes after/when the eGPU comes under load.

There are a bunch of relevant console log messages, e.g.:

fault 08:36:46.463184 +0800 kernel  void IOAccelFenceMachine::fence_timeout(IOTimerEventSource *): AMDRadeonAccelerator prodding blockFenceInterrupt

^ seems to occur the most. There are a few other interesting ones:

default 08:36:53.047064 +0800 kernel [196:0:0] ** AMDRadeonX4000_AMDEllesmereGraphicsAccelerator Device in slot: SLOT--1 **

default 08:36:53.048326 +0800 kernel Trying to restart GPU (Radeon RX 580)...

default 08:36:53.050704 +0800 kernel AMD Error:

default 08:36:53.050708 +0800 kernel CAILPerEngineReset failed

default 08:36:53.051301 +0800 kernel AMD Cail: CAIL detects hungBlocks: 0x00028007

default 08:36:53.051707 +0800 kernel AMD Cail: soft reset done - blockResetResult=0x00008000

fault 08:37:20.582377 +0800 kernel virtual void IOAccelEventMachineFast2::checkGPUProgress() - Signaling hardware error on channel 0..

fault 08:37:20.582398 +0800 kernel void IOAccelEventMachine2::signalHardwareError(eRestartRequest, int32_t): GPURestartSignaled stampIdx=0 type=2 prevType=0 numStamps=20

fault 08:37:20.582399 +0800 kernel void IOAccelEventMachine2::signalHardwareError(eRestartRequest, int32_t): GPURestartEnqueued stampIdx=0 type=2

fault 08:37:20.582419 +0800 kernel virtual void IOAccelEventMachineFast2::checkGPUProgress() - Signaling hardware error on channel 5..

fault 08:37:20.582422 +0800 kernel void IOAccelEventMachine2::signalHardwareError(eRestartRequest, int32_t): GPURestartSignaled stampIdx=5 type=2 prevType=0 numStamps=20

fault 08:37:20.582423 +0800 kernel void IOAccelEventMachine2::signalHardwareError(eRestartRequest, int32_t): GPURestartEnqueued stampIdx=5 type=2

fault 08:37:20.582424 +0800 kernel virtual void IOAccelEventMachineFast2::checkGPUProgress() - Signaling hardware error on channel 6..

fault 08:37:20.582426 +0800 kernel void IOAccelEventMachine2::signalHardwareError(eRestartRequest, int32_t): GPURestartSignaled stampIdx=6 type=2 prevType=0 numStamps=20

fault 08:37:20.582428 +0800 kernel void IOAccelEventMachine2::signalHardwareError(eRestartRequest, int32_t): GPURestartEnqueued stampIdx=6 type=2

fault 08:37:20.582433 +0800 kernel void IOAccelEventMachine2::hardwareErrorEvent(): setting restart type to 2 (channel 0)

fault 08:37:20.582434 +0800 kernel void IOAccelEventMachine2::hardwareErrorEvent(): GPURestartDequeued stampIdx=0 type=2


Logs

 


I've tried resetting the SMC/PRAM, using different TB3 ports on my MBP, rebooting with eGPU connected (instead of hotplugging it). I've yet to try a new TB3 cable, or reinstalling macOS - I plan to do both soon, but from the looks of it, it sounds like a hardware issue to me.

I would really appreciate it if anyone could chime in on this, thanks!

This topic was modified 11 months ago

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


ReplyQuote
Svare
(@svare)
New Member
Joined: 11 months ago
 

Update: I've reinstalled macOS, and managed to get a brand new TB3 cable. Neither works - same behaviour of freezing and subsequent kernel panic when disconnecting. Does anyone have any ideas?

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


Pechente liked
ReplyQuote
david9991
(@david9991)
New Member
Joined: 1 year ago
 

My MacBook Pro 2017 + Razer Core v2 + RX 580.
Exactly same issue here while playing Aerofly FS 2 with Metal backend used. And I have communicated with the game developer for a month. we suspect it's AMD driver's or hardware issue and no way to fix it. I am considering to buy a GTX 1080 card instead.

This post was modified 10 months ago

Mac Mini 2012
MacBook Pro 2014
MacBook Pro 2017
MacBook Pro 2019
Razer Core v2
AMD Radeon™ RX 580


ReplyQuote
david9991
(@david9991)
New Member
Joined: 1 year ago
 

I've reported it to Apple, that I think it's their driver's issue. I am waiting for the fix.

Mac Mini 2012
MacBook Pro 2014
MacBook Pro 2017
MacBook Pro 2019
Razer Core v2
AMD Radeon™ RX 580


ReplyQuote
WillyC
(@willyc)
Active Member
Joined: 3 months ago
 

@david9991

I’m experiencing this now (months later) - did this ever resolve for you?  I can find this error reported in a few places online but I haven’t been able to find someone who returned to their post with a follow up.  Any luck for you?

Mac Mini 2018 (64 GB, 1TB)
Asus XG Station Pro
Red Devil 5700XT


ReplyQuote
david9991
(@david9991)
New Member
Joined: 1 year ago
 

@willyc

No, seems even worse in Catalina, Os won’t boot up with RX580 eGPU plugged in, and eGPU keep restarting while playing heavy games. Apple just keep saying they can’t reproduce it with 570x what... but I have reproduced it on 17, 19 MBPs. 🙁

This post was modified 1 month ago

Mac Mini 2012
MacBook Pro 2014
MacBook Pro 2017
MacBook Pro 2019
Razer Core v2
AMD Radeon™ RX 580


ReplyQuote
dakeyras7
(@dakeyras7)
Active Member
Joined: 1 year ago
 

Similar problem here: Sometimes (I'm suspecting any sort of video playback) makes macOS freeze in a certain pattern: 5 seconds freeze, then 1 second unfreeze and so on and this repeats for 5 minutes or so until the MacBook shuts off. The mouse stays unfrozen the whole time but any other rendering is frozen. For example I can type something on my keyboard and don't see anything first, and then see it appear 5 seconds later.

This problem only started to occur when I upgraded my gpu from an RX Vega 56 to a RX 5700 XT.

I'm suspecting early driver problems in macOS Catalina 10.15.1

The only workaround for me so far: As soon as this problem starts happening I pull out the TB3 cable from the MacBook which will give me the "egpu incorrectly ejected" error but everything recovers after a minute or so and I then reconnect the TB3 cable and everything works as expected.

MacBook Pro 15" 2018 - Sapphire Nitro+ Radeon RX 5700 XT - Sonnet Breakaway Box 550


ReplyQuote