This problem has been bugging me for a while now and I'm not sure what to make of it. When
AppleIntelHD5000Graphics.kext gets loaded up the display freezes wherever it was. This usually happens right after the desktop loads but sometimes it will last 2-3 minutes before locking up and sometimes it will freeze before boot up finishes (Apple logo screen).
I know it is this particular driver because I never have the issue in single user mode, recovery mode, or running Linux. It also won't freeze after a "normal boot" if I don't let it load that particular kext. Animations are very choppy and the computer will run much warmer but that is to be somewhat expected given that there is no "hardware acceleration".
Curiously enough, if I plug an external monitor into the HDMI port while its booting it will run both displays with no issue.
I can also verify that (at least part of) the OS is still running because I can SSH into it. However, I cannot get VNC to connect.
I have tried resetting both the SMC and NVRAM and that hasn't done much of anything.
At this point I have exhausted my current knowledge. Does anyone have any idea where the problem could be? Or what else I could do to debug?
PS: Diagnostics say everything is fine