Comfy-Org / Comfy-Org/ComfyUI

After plug AC power to laptop, comfyUI (when in generating) crash

Open
#9,276 9 comments 0 reactions 0 assignees View on GitHub
bug-cop:response-received User Support
Dominant language
Python
Stars
133k
Forks
15.7k
Avg merge
1d 7h
Merged PRs (30d)
158

Description

### Custom Node Testing

- [x] I have tried disabling custom nodes and the issue persists (see [how to disable custom nodes](https://docs.comfy.org/troubleshooting/custom-node-issues#step-1%3A-test-with-all-custom-nodes-disabled) if you need help)

### Your question

I am using very normal workflow (that first default workflow)
when I'm on battery, there is no problem (in windows and ubuntu 25.04)
there isn't any problem I mean, with resolutions, batch files, how big prompt that I gave to it and anything. I clarify there isn't any problem

but when I connect my laptop to ac adapter, If I click on genrate or it was on generating, it suddenly freeze and get me blue screen (on windows 11) or my graphic card will disapear from device manager (in windows 11) (in ubuntu 25.04 the command nvidia-smi will freeze and don't get me any info, like there is no report from my GPU)

I tried it every time and it won't work
I disabled optimus switching (in windows 11) but still not work
I switched to GPU in bios (using discerete graphic card) but again it don't work
I installed last possible Cuda and nvidia gaming driver (and nvidia studio driver) but still don't work
I reinstalled torch every time but it don't work
in ubuntu I didn't check every possible options but at least I know nvidia-smi will freeze

after restart the disapearing problem will solve, but I can't generate any image on AC mode ( to be honest I can generate images with so bad artifacts and in 512x512 resolution, the bigger will end up to disapeared GPU)

there isn't any option related to gpu overclocking in bios (the only one is reporting overclocking state to application : enabled or disabled)

for more confidence, I installed Open AI whisper. there is the same problem. it will crash and disapear my GPU when I'm connected to AC adaptor

### Logs

```powershell

```

### Other

my laptop is 15IRX9 lenovo LOQ 13650HX 16G RTX3050 6G

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.