Black Screen Randomly

So I’ve had my hackintosh set up for a few days and I’ve had no issues, I’ve been testing an app on Xcode and it’s all been working fine. My iGPU shows up correctly. Now completely randomly this morning (the MacBook has been on since yesterday but in sleep). I woke it up and began working on Xcode, as soon as I modified some code the screen went black and all indicator lights stopped. The keyboard backlight and caps lock key aren’t working anymore either. I had this issue with a prebuilt EFI and built my own from scratch. The biggest problem is I can’t use the power button to cycle the laptop, I need to open the case, disconnect and reconnect the battery, and only then can I turn the computer on. I’m at a loss for even what to check, I’m not sure what’s causing it, this is the first time I’ve had it on this build

I’m running Sonoma 14.4.1, MacBookPro16,3 SMBIOS. Specs are: XPS 13 7390, i7 10510U, 16gb ram, 4TB ssd

submitted by /u/Wayner84
[link] [comments]