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

Nov 8, 2018 8:30 AM in response to BDAqua

It's not. The freeze happens even when the processor and memory are being used at extremely low levels and my fan is off. My laptop's up on a raised, ventilated metal platform and I type on it with a peripheral keyboard, so it's about as well ventilated as it could be. It's a periodic kernel panic from some kind of glitch in the graphics. If you scroll through this thread, you'll see that a half dozen of us, all with the same model of Mac, are having the same problem. Some of us have it in spite of having done clean re-installs. Some of us also noticed it cropped up after we updated to High Sierra. It seems probable to me that there's a software glitch in the OS, starting with High Sierra, that has a bad interaction with some of the computers in this batch; something about how the OS interacts with the hardware. It also seems likely that Apple will ignore the problem, because there aren't enough of us who have the problem (or maybe just not enough of us who notice it, and know enough to check the console for error messages) for it to be worth them devoting resources to it.


I found this post by someone who seemed to run into a similar problem, but with a different hardware configuration, who did a pretty thorough backtrace on the process:


https://objective-see.com/blog/blog_0x27.html


I am, alas, not computer literate enough to pick all that apart. But it seems related.

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.

Jul 18, 2018 3:18 PM in response to jeremy_v

Thank you for the reply!


First of all, simply re-booting (which I hadn't done for over a week) solved the issue temporarily for about two days, but it re-appeared again today. This is odd, I am used to only needing to re-boot for a system update. Speaking of which, I'll update to 10.13.6, maybe this is a known issue that has silently been fixed...

Searching for my issue online suggested that this could have something to do with kernel extensions from VirtualBox, so I unloaded them, but that didn't solve anything.

Sep 28, 2018 11:29 AM in response to NachbarsKatze

Adding my confirmation of the same symptoms -- everything freezes for a couple of seconds. Macbook Pro Retina 15" mid 2015. Been going on for a while -- just updated to Mojave but same symptoms. As far as I can tell, it doesn't happen when I disconnect from wifi (no wired network as well). I can't reproduce the error or freezing with wifi off. Anybody else able to confirm that? Obviously not a workaround, just trying to better understand what is happening when I talk to Apple support.


fault14:23:09.049561 -0400kernelvirtual IOReturn IOAccelEventMachine2::waitForStamp(int32_t, stamp_t, stamp_t *): initial wait for 1 second expired. Continue wait for 4 seconds. stamp 698351 (gpu_stamp=698350)
fault14:23:13.050501 -0400kernelvirtual IOReturn IOAccelEventMachine2::waitForStamp(int32_t, stamp_t, stamp_t *): timeout waiting for IntelAccelerator stamp 698351 (gpu_stamp=698350)
fault14:23:13.050519 -0400kernelvoid IOAccelEventMachine2::handleFinishChannelRestart(IOReturn, int32_t, uint32_t) - Setting restart type to 4
fault14:23:13.050523 -0400kernelvoid IOAccelEventMachine2::handleFinishChannelRestart(IOReturn, int32_t, uint32_t): GPURestartDequeued stampIdx=4 type=4 fromWhere=1 waitingOnIdx=4
fault14:23:13.050586 -0400kernelvoid IOAccelEventMachine2::restart_channel(): GPURestartSkipped stampIdx=4 type=4
fault14:23:13.050589 -0400kernelvoid 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.0184.B00
SMC Version (system):2.29f24

Model Name: MacBook P

Nov 13, 2018 5:40 PM in response to OstapBender

Unfortunately I just experienced back to back "virtual IOReturn IOAccelEventMachine2::waitForStamp" freezes while on battery power. There is a fundamental and inherent operating system software flaw with our particular 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:187.0.0.0.0
SMC Version (system):2.29f24

I believe there is a fix as this issue didn't seem to exist under Sierra. It feels a bit irresponsible to me that Apple continues to not officially respond to this issue in any way whatsoever. At least offer to look into the issue. I guess that would mean acknowledgment of an issue.

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.