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 11, 2019 11:09 AM in response to BorisYeltzen

Thank you for updating us. I had started to price replacement screens online. I keep hoping there will be a specific cause and solution to resolve this issue so that we can put the "virtual IOReturn IOAccelEventMachine2" bug to rest once and for all. Unfortunately I think we are SOL without Apple to assist in tracing and killing this bug.


Has anyone with the "virtual IOReturn IOAccelEventMachine2" bug started running betas of 10.15 yet???

Jun 13, 2019 6:34 PM in response to mcmoyer

I am trying to see if I have this sort of problem but may not know exactly how to examine the logs for it. Can you tell me specifically what to do in Console? My computer freezes for 90 seconds or more at a time. While it is frozen, the time on the top bar does not change. Occasionally it freezes up a second time for a shorter interval a few seconds later. When it unfreezes, typically a lot of action happens on the screen, perhaps from accumulated keystrokes.


Does this sound like the same sort of thing as you are describing?

Jun 14, 2019 12:55 PM in response to Obstkäufer

I haven't had a really long crash today that froze the time as they usually do. But I did have a kernel(IOAcceleratorFamily2). In full: /System/Library/Extensions/IOAcceleratorFamily2.kext/Contents/MacOS/IOAcceleratorFamily2 . Don't know if that is related or not. Is it okay to just keep this Console window open and expect that the crashes will continue to show there?

Aug 18, 2019 4:35 AM in response to pjkelnhofer

I can confirm that the potential is there, at least, though it's not absolute proof. I am not sure why they would use a web-based store and not use webkit though.


# otool -l /Applications/App\ Store.app/Contents/MacOS/App\ Store | grep -i store                 
/Applications/App Store.app/Contents/MacOS/App Store:
         name /System/Library/PrivateFrameworks/StoreFoundation.framework/Versions/A/StoreFoundation (offset 24)
         name /System/Library/PrivateFrameworks/AppStoreUI.framework/Versions/A/AppStoreUI (offset 24)
         name /System/Library/PrivateFrameworks/StoreUI.framework/Versions/A/StoreUI (offset 24)
         name @rpath/AppStoreKitMac.framework/Versions/A/AppStoreKitMac (offset 24)
         name /System/Library/PrivateFrameworks/AppStoreDaemon.framework/Versions/A/AppStoreDaemon (offset 24)
# otool -l /System/Library/PrivateFrameworks/StoreUI.framework/Versions/A/StoreUI | grep -i webkit
         name /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit (offset 24)

Aug 18, 2019 4:46 AM in response to Obstkäufer

I left the app store open for the last ten minutes and waited for a freeze:

fault	23:44:33.589442 +1200	kernel	virtual IOReturn IOAccelEventMachine2::waitForStamp(int32_t, stamp_t, stamp_t *): timeout waiting for IntelAccelerator stamp 6214080 (gpu_stamp=6214079)
fault	23:44:33.589466 +1200	kernel	void IOAccelEventMachine2::handleFinishChannelRestart(IOReturn, int32_t, uint32_t) - Setting restart type to 4
fault	23:44:33.589470 +1200	kernel	void IOAccelEventMachine2::handleFinishChannelRestart(IOReturn, int32_t, uint32_t): GPURestartDequeued stampIdx=4 type=4 fromWhere=1 waitingOnIdx=4
default	23:44:33.589474 +1200	kernel	[IGPU] display event timeout on index = 4
fault	23:44:33.589523 +1200	kernel	void IOAccelEventMachine2::restart_channel(): GPURestartSkipped stampIdx=4 type=4
fault	23:44:33.589526 +1200	kernel	void IOAccelEventMachine2::restart_channel(): no channel associated with stamp_idx 4 (type 4)

Sep 8, 2019 1:55 AM in response to M-@-the-w

Is it logging those same messages, or is it just pausing because of some other activity? I'm not seeing pauses for opening rarely used apps, I'm seeing it when leaving webkit active for long enough in certain situations (possibly related to video playback, but I'm not confident of that).


If you are seeing the same messages on a new machine, then we still have hope that they will fix the problem.

Oct 3, 2019 6:52 AM in response to NachbarsKatze

I'm seeing exactly the same thing, resolution is set to default for display.


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

System Version:	macOS 10.13.6 (17G65)
  Kernel Version:	Darwin 17.7.0


fault	20:46:02.485182 -0700	kernel	virtual IOReturn IOAccelEventMachine2::waitForStamp(int32_t, stamp_t, stamp_t *): initial wait for 1 second expired. Continue wait for 4 seconds. stamp 8499757 (gpu_stamp=8499756)
fault	20:46:06.485280 -0700	kernel	virtual IOReturn IOAccelEventMachine2::waitForStamp(int32_t, stamp_t, stamp_t *): timeout waiting for IntelAccelerator stamp 8499757 (gpu_stamp=8499756)
fault	20:46:06.485301 -0700	kernel	void IOAccelEventMachine2::handleFinishChannelRestart(IOReturn, int32_t, uint32_t) - Setting restart type to 4
fault	20:46:06.485306 -0700	kernel	void IOAccelEventMachine2::handleFinishChannelRestart(IOReturn, int32_t, uint32_t): GPURestartDequeued stampIdx=4 type=4 fromWhere=1 waitingOnIdx=4
fault	20:46:06.485364 -0700	kernel	void IOAccelEventMachine2::restart_channel(): GPURestartSkipped stampIdx=4 type=4
fault	20:46:06.485367 -0700	kernel	void IOAccelEventMachine2::restart_channel(): no channel associated with stamp_idx 4 (type 4)


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.