Skip to main content

Model A1312 / Mid 2011 / 2.7 & 3.1 GHz Core i5 or 3.4 GHz Core i7 Processor, ID iMac12,2

526 Questions View all

iMac restarts when external monitor unplugged

This iMac will restart at the login screen or before it. First thing I tried was to reformat the hard drive and reinstall the OS with no luck. Basic SMC reset, etc.. have been completed as well.

Started with Apple Service Diagnostic (ASD) tests

Memory: Passed. Also took out each module individually and still restarted.

Hard Drive: Passed short test (long test was not completed). However, unlikely a hard drive issue. Computer will restart when booting off an external drive as well. Also pulled the HD while booting from external just to rule it out for sure.

CPU: passed tests

GPU: passed tests

Thermal sensors: Passed loop test (10 times).

Fan test: Fans passed tests (at all speeds)

*Does not boot in safe mode*

Opened the Mac up and cleaned a significant amount of dust out with air canister.

The iMac will stay on during testing without fans on full speed.

Checked the shutdown logs: kernel[0]: |Previous Shutdown Cause: -128

This is an unknown hardware error. Ram was checked and replaced with another set. Problem persisted.


The iMac will power on perfectly fine (without me having to make the fans spin full speed) as long as I have an external monitor attached. As soon as I unplug the monitor, the Mac will shutdown. This external monitor "fix" allowed me to check the temperatures with iStat and everything is perfect. It is definitely not thermal related. I am starting to suspect that maybe the integrated graphics have failed? Discrete graphics (Radeon) is being used while the external monitor is plugged in.

Answer this question I have this problem too

Is this a good question?

Score 1


What does the onboard diagnostic LED's show? I'm thinking you have a power supply issue.


I'll check that out as well. I have thought about the power supply as well... but it would be strange for the power supply to be the problem because the computer runs perfect as long as the fans are set to full speed.

Oh, also it runs without the fans running full speed while using ASD (apple service diagnostics). I would think if the power supply was the issue, it would also shut down during these tests)


onboard LED's are good by the way


I have done a little bit of research and I think I might have a way to solve the issue. I know that this computer has Intel HD 2000 graphics integrated. This is on the CPU in this machine. I have read that this integrated graphics is enabled (unlike what some people believe) and it is used for airplay purposes. It would make sense because that is some of the last things I see on some of the logs before a shutdown. I am going to try to find a way to completely remove airplay from OSX


You're confusing your self!

The integrated Intel graphics is used for a variety of uses as an example running diagnostics, safe mode and the OS installer. During the boot cycle for the second & third phase (when you see the Apple logo and when the progress bar goes across. Once you see the gray background change is when the GPU kicks in.

While I can't say for sure, I don't see why Apple would use the integrated graphics service over the dedicated for Airplay. I would expect the better would be used.

WTW: The Mid 2011 has a Intel HD Graphics 3000 not 2000. The 2010 iMac model's have the Intel HD Graphics 2000. Are we sure which model you have here?


Show 18 more comments

Add a comment

2 Answers

Most Helpful Answer

Lets do a SMC & NVRAM reset does that make a difference?

Update (01/16/2018)

Your system has two graphics states low res (Intel Graphics 3000) & hi res (Radeon HD 6770M or Radeon HD 6970M). The switching logic between the two graphic services appear to be in trouble here. Basically your system uses the low res until an OS calls for the higher res. When you add in a second display Hi res is used either in mirror mode or extended desktop mode.

Was this answer helpful?

Score 1


All of that was done

Yes, that is correct. So, it might be possible that the Intel graphics onboard has failed. By connecting an external display, the intel graphics are disabled during the boot process and therefore the computer boots normally. That might be my best guess at this point

I can see that the Radeon card is being used under displays. So, it cant be the Radeon card causing the issues. I have also now been able to check iStats and all temperatures are good and all sensors are working perfect. When using full-fan mode, this data is unavailable obviously.

Do you know of any possible way to disable the integrated graphics completely?

Another update: system will completely shutdown as soon as I pull the external monitor out.


I really don't like fan control software as it steals IRQ's to run starving your systems cycles slowing down your work, and if you don't run it enough your system can cook! Dammed either way!

This is why the hardware solution is better (OWC in-line sensor if the drive was swapped) or making sure the system is clean of dust and given the age of the system refresh the thermal paste and check the heat pipes for leaks.

As for software I prefer a more passive tool like TG Pro while it also allows you to ramp up the fans I often only turbo it before I'm about to run something heavy or set a point when it needs to ramp up.


I am not using iStats to control the fan. Just a second check on the sensors and the thermal data. Sensors passed all ASD tests. It just verified that the iMac was not overheating. TG Pro is definitely good, but for what I needed.. iStats worked. It is a very odd situation. Mac will work when in full-fan mode (power button pressed while plugging in) and it will also work as long as an external monitor is plugged in (while not in full-fan mode). Shuts down as soon as the external monitor is unplugged. I don't think I have ever seen something this strange.


Thats fine, as I can't see what you'er using to push the fan I wanted to warn you not to depend on them.


Add a comment

I have exactly the same issue with my 27 inch iMac 2011. I connect a Apple LED Cinema Display and the moment I remove the usb and mini DV port the iMac reboots then goes into a rebooting cycle. As soon as you reconnect the led monitor the iMac reboots correctly and runs perfectly. It’s really strange.

Did you ever get to the bottom of your issue?

Was this answer helpful?

Score 0


I did a ton of work on my computer and crossed everything out except the logic board. Unfortunately, you are best using it with the external monitor instead of repairing. Another thing you might be able to do is hold down the power button down while plugging the power cable in. This will put the fans at full speed, but I was also able to use the computer without external monitors by doing it. External monitor is my preference.


Add a comment

Add your answer

Campbell will be eternally grateful.
View Statistics:

Past 24 Hours: 0

Past 7 Days: 1

Past 30 Days: 16

All Time: 679