xuhuisheng / rocm-gfx803

185 stars 9 forks source link

Strange issue, images generates flawlessly but... #29

Open suminexrepo opened 1 year ago

suminexrepo commented 1 year ago

This is a strange issue. I am using a rx 580 4gb on ubuntu and I followed this guide here https://rentry.org/sable-sdw-ubuntu-amd-gfx8.

Images generate flawlessly.. that is until the very final step. Right before it outputs the completed image, my PC turns off and the fans go max speed like the computer is overheating. But it is not overheating. Even if I interrupt a generation right after it starts, the PC will shut down with fans blazing. I have tested different resolutions. 256 x 256 works but it produces somewhat recognizable but distorted images. I tried 320 x 320 and again the PC shuts down right before the final image outputs.

Using Windows 10, the card works perfectly fine at 512 x 512, but I do not want to use Windows... might have to.

I am at a loss.

xuhuisheng commented 1 year ago

I got same shutdown with my RX580 8GB.

But somebody said they can run SD successfully, I think I can give a try with latest ROCm-5.4.3 some times.

WeirdWood commented 1 year ago

I encountered something similar, for my case it was a bad undervolt profile. It looks like the restore faces option is a lot more taxing on the GPU than the generation step, if you have overclocked/undervolted your GPU then I'd suggest to try running it at stock speed instead.

waltercool commented 1 year ago

I made Stable Diffusion (latest sd webui) working without hard restarts.

Please add --no-half-vae and --medvram

Thanks @xuhuisheng for working on this project. Very appreciated.