Random black screen crash

So I have been running my hackintosh, and once in a while, I get a random crash, where both screens go black, but I still hear the computer audio for like 2/3 seconds. Then it goes sound also stops and I need to hard restart on the button.

But after I boot again, there is not that message saying the computer had to restart because of a problem or anything. How can I debug this?

Hardware:

AsRock Z490 Gaming ITX TB3

10900K

2 x 16GB DDR4 G Skill Trident Z 3600 CL16

Sapphire RX 5700 XT 8GB

Using iMac 20,2 SMBIOS, and I have the iGPU enabled has a computing unit. (iGPU enabled in bios with 64MB of memory on bios).

XMP enabled

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