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

Jun 14, 2019 3:00 PM in response to NachbarsKatze

I ended up taking it in to the Apple Store in the Scottsdale Fashion Square mall on Monday. The genius bar ran a couple of hardware tests that all came back clean. They then sent it somewhere telling me that they would run more extensive tests and replace parts if needed. I was very skeptical to say the least. I was sure they would say nothing was wrong with it and just give it back. I picked it up this morning and they ended up replacing the logic board. I have been on it now for about 4 hours and it hasn't had a freeze yet.

Feb 25, 2019 10:19 AM in response to Gentleman69

It has been more than a month since I stopped using Safari, and I can report that I have not had the freeze issue since then. Not sure if anyone else has had luck with that solution, but for my it seemed to be clearly a Safari issue.


One note, Safari didn't have to be the active window or even open. It just had to have been opened at some point since my previous restart.

May 10, 2019 6:59 AM in response to NachbarsKatze

Hello guys, I have the same problems with freezing, especially in the games like (Elder Scroll Online and Dota 2)

FPS indicator show the low fps about 10-15 in this seconds then turns again at normal 60-80, I have old macbook pro retina 2012, and iMac 24" (2014) both of them have the same problem, so I used to reinstall all the drivers - doesn't work.

So there is two solutions what I have found:

1) Change the thermal paste on CPU and GPU that pretty works - two months with no freezing and laging!

2) Degrade your OS to El Capitan - don't know why but it also works! ( I do this to my iMac) - two months with no freezing!

Jun 30, 2019 3:26 AM in response to NachbarsKatze

This is just my opinion but this appears to be what's going on.. Apple isn't working on this nor will they fix it. If they were, they would have by now. This issue has been going on for a few years now. If they are aware of it, it's so low on the priority of bug/crap broke list it won't get fixed anytime soon.


The issue is the newer video drivers for older Macs are trash and they are crashing intermittently. I have a 2015 MBP 15 and this issue has been driving me nuts.


My instinct tells me that Apple is not going to solve this. Their focus is on the newer hardware since that's what is being sold currently.


IMO they are just going to wait until these Macs get replaced and folks stop using them. At 4+ years that won't take too long...


No amount of fresh installs or SMC rests fixed the issue for me. Did they help short term? Maybe. Hard to say since the issue is so intermittent.


The real fix? I went to OSX Sierra and stayed there. No issues since.


I'll just get the new OS with the next hardware purchase...

May 30, 2019 12:17 PM in response to BDAqua

Fixed mine by returning the machine to Apple. It was a refurbished machine and I was still inside my return period.


In fact it was my second refurbished, the first one was completely dead on arrival (just a black screen saying there was a problem and the computer needed to restart). The second one started doing that random freeze. Reinstalling the OS didn't fix it.


Now got a second hand one from Ebay instead, I reinstalled all the same software and no issue. Same driver, same software and no issue.


My guess is that's a hardware problem.


Edit: Just to avoid confusion, the machine I got on Ebay is the exact same configuration as the refurbished I had (2.2, 16gb, 256gb, mid 2015, 15inch)

Aug 2, 2019 1:16 AM in response to NachbarsKatze

I can confirm having the same issue while using Safari 12.1.2 on Mac OS X 10.13.6


I am using a MacBook Pro Mid 2015, 2.8 GHz with Dual Graphics.


The OS install is basically brand new, as this laptop was purchased recently from a well known refurbisher.


My console has the same GPU related errors that others are having.


fault	02:56:36.036238 -0500	kernel	virtual IOReturn IOAccelEventMachine2::waitForStamp(int32_t, stamp_t, stamp_t *): initial wait for 1 second expired. Continue wait for 4 seconds. stamp 81016 (gpu_stamp=81015)
fault	02:56:40.037171 -0500	kernel	virtual IOReturn IOAccelEventMachine2::waitForStamp(int32_t, stamp_t, stamp_t *): timeout waiting for IntelAccelerator stamp 81016 (gpu_stamp=81015)
fault	02:56:40.037192 -0500	kernel	void IOAccelEventMachine2::handleFinishChannelRestart(IOReturn, int32_t, uint32_t) - Setting restart type to 4
fault	02:56:40.037196 -0500	kernel	void IOAccelEventMachine2::handleFinishChannelRestart(IOReturn, int32_t, uint32_t): GPURestartDequeued stampIdx=4 type=4 fromWhere=1 waitingOnIdx=4
fault	02:56:40.037250 -0500	kernel	void IOAccelEventMachine2::restart_channel(): GPURestartSkipped stampIdx=4 type=4
fault	02:56:40.037253 -0500	kernel	void IOAccelEventMachine2::restart_channel(): no channel associated with stamp_idx 4 (type 4)


The freeze always lasts for 5 seconds.


Has anyone with a Dual Graphics laptop had any success with disabling the automatic graphics switching? The console messages mention Intel graphics. Perhaps if only ATI graphics (sorry, AMD, or whatever it is now) is used, then the issue might not occur?


Having just had 3 freezes in the span of a couple of hours, I have now disabled automatic graphics switching for good to see if I have any more freezes.


On a semi-related note, I have also noticed that when automatic graphics switching is ON (that is, while using Intel graphics), Netflix will have these weird bright flashes almost like a camera flash, that will occur frequently while Netflix is full screen. The only way to fix this is to disable automatic graphics switching (that is, to use the AMD graphics).

Jun 4, 2020 7:51 AM in response to robogobo

I also have this sleep bug, with the same association with the report:


16:07:06.063941 +0200 kernel virtual IOReturn IOAccelEventMachine2::waitForStamp(int32_t, stamp_t, stamp_t *): timeout waiting for IntelAccelerator stamp 8743616 (gpu_stamp=8743615)

etc


in the console. This problem I associate with Mojave - I do not remember having it with 10.13, and I have a MBP Retina, 15-inch, Mid 2015. I still run Mojave, now 10.14.6.


My experience is, also, that the problem disappears if I reboot but returns after about 2 -3 weeks. I also have the feeling it may be due to specific apps - other people have suggested Safari. Before discovering this thread, I thought (a few months, or so, ago) that it was due to MS Word - an app I make heavy use of, often with lots of documents open. I noticed that when I closed Word the problem diminished - even halted.


Yesterday the bug began to get annoying again. I shut down Word (which this time did not have many open documents) but the problem remained - no change. I then looked on the internet and found this thread, and found the comments about Safari. This app had a lot of tabs open - maybe 20. I shut Safari down, having first transferred all the important open pages to Opera. The problem disappeared. After a few hours I reopened Safari - most of the tabs I have not yet reloaded, but currently both Opera and Safari are open with lots of open tabs, and the sleep problem has not come back, at least not yet. I expect it will reappear, but if it does I hope that shutting things down might get rid of it again.


So, conclusions. I have the problem with Safari, but I think for me Word was also a culprit. I do not know if either of these apps have anything in common except that I use them both very heavily. What is interesting is that having shut Safari down and then restarted it the problem has not reappeared - not yet. At least for me, therefore, there is the chance the problem can be fixed by just shutting down the app or apps that have lots of open windows, use a lot of resources or whatever it is that Word and Safari have in common.


all the best,

Jeremy

Feb 23, 2019 10:55 PM in response to realkeysmusic

Are you sure you're having the same kind of freeze problem? Have you checked the Console and found the same IOAccelEventMachine debug output?


I've solved the problem as others have done by not keeping Safari open. I used to have many of windows with dozens of tabs open all the time, one window for each task or project I work on. I've now changed that and moved everything into bookmarks, with only one or two active windows and half a dozen tabs.

Jun 13, 2019 6:10 PM in response to tobyxlarone

I've just recently started experiencing this issue on my mid-2015 MBPro. It coincided with an install of the recent Xcode beta, but that alone didn't make sense as this thread predates that by a year or more. Last night I realised that since around that time, I'd been keeping Safari with a number of WWDC session tabs open, waiting to download a selection of videos as they became available. I've been experiencing multiple temporary freezes per day over this entire period. Last night I closed Safari and have not re-opened it, and the problem has not occurred since, with all other usage being typical of my day. I generally do not use Safari at all.


This is hardly conclusive, and I will be keeping a close eye on things over the coming days, but I wanted to share the observation just in case.

Jun 19, 2019 10:40 AM in response to realkeysmusic

For 90 seconds I never heard of that (nor experienced that). Even in the log it basically fail after 1 second, than wait for an extra 4 seconds (so total 5 seconds). That's pretty much the freeze time that I experience.


As for me, I restarted using Safari and the freeze came back within a day. So after 2 weeks of using Chrome and no lag, it restarted basically the next day I restarted using Safari. It might be a coincidence, but anyway, back on Chrome for now and no more lag again. Chrome is also much faster anyway, so I think I will just settle with that and report back if the freeze ever happen again.

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.