Question My computer randomly freezes when running games

Jan 10, 2023
2
0
10
My computer randomly freezes when running games, it will just stop and I cannot do anything. It freezes on one frame and the only way to stop it is restarting the computer. When it is frozen, I can still hear audio from the pc. Additionally, a red debug light flashes fur cpu on my mobo when starting the pc, and orange lights flash for the vga and ram. My mobo is Msi mag b660m bazooka, core is i5 12400f, and gpu is RX 6600. Thanks for any help!
 
Jan 10, 2023
2
0
10
Cooler Master MWE Bronze V2 700 W 80+ Bronze Certified ATX Power Supply
also cpu and gpu temps seem normal, cpu is around 40-45 idle and 60-65 gaming, gpu is 45-50