Screen freezes for a few seconds

Hello,


a few days ago, I began to notice my mac is getting issues with completely freezing up for a few seconds. The screen is completely stationary, the cursor isn't moving and the clock's seconds do not count forwards. Audio is still continuing to run fine. No particular action on my part is prompting this behavior, it just completely randomly freezes up.


I ran the console in the background to see if there are consistent messages that appear whenever these freeze-ups occur. I finally found them, apparently there is some issue with the intel integrated graphics:


fault 10:14:07.579724 +0200 kernel virtual IOReturn IOAccelEventMachine2::waitForStamp(int32_t, stamp_t, stamp_t *): initial wait for 1 second expired. Continue wait for 4 seconds. stamp 804926 (gpu_stamp=804925)
fault 10:14:11.580622 +0200 kernel virtual IOReturn IOAccelEventMachine2::waitForStamp(int32_t, stamp_t, stamp_t *): timeout waiting for IntelAccelerator stamp 804926 (gpu_stamp=804925)
fault 10:14:11.580639 +0200 kernel void IOAccelEventMachine2::handleFinishChannelRestart(IOReturn, int32_t, uint32_t) - Setting restart type to 4
fault 10:14:11.580643 +0200 kernel void IOAccelEventMachine2::handleFinishChannelRestart(IOReturn, int32_t, uint32_t): GPURestartDequeued stampIdx=4 type=4 fromWhere=1 waitingOnIdx=4
fault 10:14:11.580692 +0200 kernel void IOAccelEventMachine2::restart_channel(): GPURestartSkipped stampIdx=4 type=4
fault 10:14:11.580695 +0200 kernel void IOAccelEventMachine2::restart_channel(): no channel associated with stamp_idx 4 (type 4)
fault 10:14:12.642643 +0200 kernel virtual IOReturn IOAccelEventMachine2::waitForStamp(int32_t, stamp_t, stamp_t *): initial wait for 1 second expired. Continue wait for 4 seconds. stamp 804927 (gpu_stamp=804926)
fault 10:14:16.642803 +0200 kernel virtual IOReturn IOAccelEventMachine2::waitForStamp(int32_t, stamp_t, stamp_t *): timeout waiting for IntelAccelerator stamp 804927 (gpu_stamp=804926)
fault 10:14:16.642817 +0200 kernel void IOAccelEventMachine2::handleFinishChannelRestart(IOReturn, int32_t, uint32_t) - Setting restart type to 4
fault 10:14:16.642821 +0200 kernel void IOAccelEventMachine2::handleFinishChannelRestart(IOReturn, int32_t, uint32_t): GPURestartDequeued stampIdx=4 type=4 fromWhere=1 waitingOnIdx=4
fault 10:14:16.642869 +0200 kernel void IOAccelEventMachine2::restart_channel(): GPURestartSkipped stampIdx=4 type=4
fault 10:14:16.642872 +0200 kernel void IOAccelEventMachine2::restart_channel(): no channel associated with stamp_idx 4 (type 4)


Model Name:MacBook Pro
Model Identifier:MacBookPro11,4
Processor Name:Intel Core i7
Processor Speed:2.2 GHz
Number of Processors:1
Total Number of Cores:4
L2 Cache (per Core):256 KB
L3 Cache:6 MB
Memory:16 GB
Boot ROM Version:MBP114.0183.B00


System Version:macOS 10.13.5 (17F77)
Kernel Version:Darwin 17.6.0


I was wondering if someone else has similar issues and if there are potential fixes out there. These hangs are very annoying and completely random. Also, I don't remember installing some particular piece of software before this issue started occurring, so I'm stumped as to what has changed. Could this be a hardware issue?

MacBook Pro with Retina display, macOS High Sierra (10.13.5)

Posted on Jul 13, 2018 1:27 AM

Reply
Question marked as Top-ranking reply

Posted on Jun 17, 2019 11:16 AM

Hey have you tried turning 'automatic graphics switching' off in the energy panel of settings? The thinking being it will force use of the GPU rather than the integrated intel graphics chip and hopefully stop the kernel fault.

257 replies

Dec 3, 2019 10:53 AM in response to robogobo

Hi robogobo,


Apple introduced this bug with High Sierra (10.13) and has yet to fix it on any update through the current version of Catalina. I gave up and went back to Sierra (10.12.6) and haven't had the "IOReturn IOAccelEventMachine2" error since on similar hardware:

 

Model Name: MacBook Pro

  Model Identifier: MacBookPro11,4

  Processor Name: Intel Core i7

  Processor Speed: 2.2 GHz

  Number of Processors: 1

  Total Number of Cores: 4

  L2 Cache (per Core): 256 KB

  L3 Cache: 6 MB

  Memory: 16 GB

  Boot ROM Version: 194.0.0.0.0

  SMC Version (system): 2.29f24


Apple does know about the issue as many posters to these community pages have uploaded full bug/crash reports. However, it does appear that they will not or cannot fix the issue for whatever reason. If you submit a bug/crash report they eventually come back to you saying it's a "duplicate report" and never answer your follow ups. Very frustrating!!!

Jan 8, 2019 2:46 PM in response to vamzi

I have observed that this error is more likely to occur when my processor is under strain. It happens with or without my browser running, but it is more likely to happen when my browser is running, and to happen more often when my browser is running. It is more likely still to happen if I have a video window -- Netflix, Amazon Video, or Hulu -- open somewhere in my browser tabs, or if I have a movie paused on iTunes, running in the background.


I mostly use my Mac to write in Word. If I just run Word, with other applications closed (rather than running in the background) I can go for days or weeks without having this error pop up in my console.


Other threads talk about UI freezes in response to HDMI peripherals, with a similar error code.


I really think it's some kind of glitch in the load balancing for the graphics, and I think it's endemic to 15" Mid-2015 models.

Mar 17, 2019 5:42 PM in response to ravensburger2010

Just to possibly awake someone at Apple, I too believe Safari is the issue. After a reboot and only using Chrome for days/weeks I have not experienced the "IOAccelEventMachine2" freeze. I also 1000% agree that not using Safari is NOT a fix but a workaround. I am so frustrated that what seems to be an easy fix from Apple has not happened in the multiple OS updates starting with High Sierra (when the issue seems to have started) through multiple iterations of Mojave. I have been using Apple MBP's/PowerBooks for literally 28 years (since the PowerBook 170) and this issue (plus the $2k plus starting costs) is strongly discouraging me from buying another Apple laptop of any kind. Please Apple, any official response to the multiple postings of the same DOCUMENTED issue would be the professional thing to do!

Jun 11, 2019 12:38 PM in response to printhead

I just received feedback from Apple through Feedback Assistant asking to gather "new sysdiagnose captured in macOS 10.14.5 18F132 within three days from the most recent crash. Old logs are missing gpu restart log." I let them know that I'm now running 10.14.6b1 trying to give feedback that way, and pointed to multiple sysdiagnose through the Feedback Assistant w/ the other feedback issue numbers. I'm hoping someone's seriously looking into this now.


Hopefully others here can also provide reports of the issue and sysdiagnose through https://feedbackassistant.apple.com/

Jun 17, 2019 3:05 PM in response to NachbarsKatze

After days without the problem, I launched Safari again with a minimal number of tabs open. This also ran for several days without a problem.


After opening a few tabs with WWDC session videos, the problem occurred again within minutes. I don't actually start any of the videos playing, and I have videos set to never auto-play, but they do still load some of the stream and show a player (presumably quicktime). The pause under these conditions seems to occur more often when I switch workspaces to a full screen app.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Screen freezes for a few seconds

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.