Repository: stable-diffusion-webui
Issue: [Bug]: CONSTANT crash to black screen. RX 6800
Labels: bug-report

### Checklist

- [X] The issue exists after disabling all extensions
- [X] The issue exists on a clean installation of webui
- [ ] The issue is caused by an extension, but I believe it is caused by a bug in the webui
- [X] The issue exists in the current version of the webui
- [X] The issue has not been reported before recently
- [ ] The issue has been reported before but has not been fixed yet

### What happened?

Alright this is a problem that has been absolutely killing me for the past month and I can't find anything on it. Long story short, randomly, my pc will black screen, reboot itself, then does not display an image as if there were no gpu signal. A full power off and on turns on the pc like normal. This has ONLY happened in txt2img. This has ONLY started happening in the past ~30 days.
Sometimes I can go a whole day without a single crash, and other times, like today, I crash within 10 seconds of clicking generate every time without fail.
I have tried a plethora of things to try and fix this issue. This issue is so random; I think I fixed it by changing a setting but then 3 hours later it happens again.

Things I've tried:
-reinstall of sd
-couple different python versions (cant remember which. system info shows what im on rn)
-different prompts (happens on any prompt)
-deleting venv
-tried like every commandline arg (system info shows my current ones)
-very low resolutions like 100 does NOT make my pc crash however I believe that's because there's low gpu utilization
-reseat gpu
-reseat entire pc
-undervolt gpu (temps never go above 70c and 85c hot spot)
-overclocked gpu
-full pc stress test through other programs like cinebench (never crashed once)
-different power supply
-different power bank + plugging into wall
-reinstalled drivers
-tried multiple driver versions (currently on 23.10.2 which has always been the most stable for me outside of sd)
-different checkpoints, lora, etc.
-updated motherboard bios
-a couple others that I cant remember 

Things I haven't tried off the top of my head:
-windows reinstall
-trying different gpu or motherboard

Additional info:
-event viewer used to show gameinput errors + amd driver errors however I've fixed all of them but I still crash
-again, only happens in txt2img. I've run inpaint or img2img upscales for hours and no crash
-again, I ONLY crash in sd, ive done full system stress tests on multiple overclock + undervolt settings with no crash
- windows 10, rx6800, 5800x, 32gb 3600mhz cl16, b550i pro ax, corsair sf750
-happened before the new update and after

I really hope someone can help with this and I'll try to provide as much info as I can. I'm starting to think this is simply a vram issue on my card and sd is the only thing that puts a big load on it which is why nothing else crashes it. I'm gonna try and borrow another amd gpu soon and see if it still happens. If I don't crash with a different one then I'll be in the market for an nvidia gpu. Anyways, I'm a complete novice and have tried every general solution that I can think of so I hope one of you guys can suggest something better, thanks in advance.

### Steps to reproduce the problem

txt2img anything

### What should have happened?

not crash

### What browsers do you use to access the UI ?

_No response_

### Sysinfo

[sysinfo-2024-04-16-22-44.json](https://github.com/AUTOMATIC1111/stable-diffusion-webui/files/15003701/sysinfo-2024-04-16-22-44.json)


### Console logs

```Shell
pc crash cant retrieve
```


### Additional information

_No response_