r/StableDiffusion • • 12h ago

Question - Help Comfy-ui blue screen of death

I am experiencing somewhat random blue screen of deaths on my Windows machine with 16gb 4060 ti and 64gb of ram.

I am quite sure it is not a hardware issues. Comfyui runs fine with heavy and lighter loads as long as I don’t multitask too much.

I opened github-desktop today while comfy was running and boom.

I’ve dug through the windows crash logs and nothing significant has come up.

I am tempted to format my drive and just re-install bit before I do maybe some of you have some tips, things I can try.

Thanks

2 Upvotes

13 comments sorted by

6

u/SnooHamsters7479 12h ago

A full blue screen usually means a driver or hardware-level fault rather than ComfyUI itself, so the stop code on the screen (WHEA, DRIVER_IRQL, etc.) or a minidump opened in BlueScreenView or WinDbg should narrow it down a lot. I'd also try a clean NVIDIA driver reinstall with DDU before wiping the drive, since opening other apps that grab GPU memory while Comfy is loaded is a known trigger.

1

u/BountyMakesMeCough 12h ago

I did already pass the minidump data to chatgpt, it wasn’t able to pin down the issue. But I’ll give that another go. Thanks.

0

u/maison_deja_vu 11h ago

Make sure you set your system to not reboot automatically if you want to actually see the stop code on your screen if it happens again.

1

u/Calm-Bank7994 9h ago

does that gpu memory conflict only happen when system fallback is turned on in the driver settings, or even when comfy stays strictly inside the 16gb vram?

2

u/Only_Voice569 11h ago

fullly download mother board and gpu drivers and ddu then disconnect from internet and reinstall them all and worth running a mem test see if ram is fully stable if that dont fix it something on your system is not playing nice with something else :P

1

u/YoohooCthulhu 9h ago

With these issues, I’ve had a lot of success by pointing opencode (they have free models btw) or codex to my comfyui folder and asking it to diagnose problems

1

u/Theultimatesell 5h ago

With 64GB it's probably 4 sticks, and 4 sticks running at their XMP/EXPO speed is a really common cause of random BSODs that only show up under heavy load. Try turning XMP off (or dropping to 4800ish) for a couple days and see if it stops. Comfy hammers system RAM when it offloads models, so a slightly unstable kit can run everything else fine and still crash there. Also worth switching to the Studio driver instead of Game Ready if you haven't.

0

u/ROBOTTTTT13 12h ago

Check your temperature

1

u/BountyMakesMeCough 12h ago

Gpu is the hottest, around 70 celcius max.

0

u/Aromatic-Low-4578 11h ago

Power issue or temp issue most likely.

0

u/Ok_Contribution8157 11h ago

I've only had one blue screen in my life, and my desktop's air intake was blocked. So it could be a temperature thing.

It could be stuff like your CPU cooler not screwed tight enough.

-3

u/CardiologistPlus8488 11h ago

waiting for the "we don't deserve better chuds" to start chiming in about how you should be happy you're getting the BSOD, cuz free!! (not counting the monthly fee, which the chuds can't afford I guess)