stable-diffusion-webui icon indicating copy to clipboard operation
stable-diffusion-webui copied to clipboard

[Bug]: black screen

Open anouarhm opened this issue 2 years ago • 5 comments

Is there an existing issue for this?

  • [x] I have searched the existing issues and checked the recent builds/commits

What happened?

Evrytime i hit enter he doesn't show any result its just a black screen what do i do ? image

Steps to reproduce the problem

1.open up the bat file 2.go to text2img 3.type in the prompt 4.nthg happens

What should have happened?

an ia generated img

Commit where the problem happens

its not from the ui

What platforms do you use to access UI ?

Windows

What browsers do you use to access the UI ?

Google Chrome

Command Line Arguments

nthg

Additional information, context and logs

nthg

anouarhm avatar Oct 24 '22 00:10 anouarhm

What GPU are you using? And are you using any extra yaml or vae files? And please take a look at the following https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Troubleshooting#green-or-black-screen

Taithrah avatar Oct 24 '22 02:10 Taithrah

What GPU are you using? And are you using any extra yaml or vae files? And please take a look at the following https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Troubleshooting#green-or-black-screen

i have a gtx 1650 ik that the ai have an issue with all of the 16xx but even after tryingin to fix it still give me the same output what can i do

anouarhm avatar Oct 24 '22 07:10 anouarhm

I also have a GTX 1650 and have the exact same problem

Lielow37 avatar Oct 24 '22 09:10 Lielow37

I also have GTX 1650, but i'm not facing any issues.

edit webui-user.bat in main folder, change the line :

set COMMANDLINE_ARGS= --precision full --no-half --lowvram --xformers

noob-guy-dev avatar Oct 24 '22 10:10 noob-guy-dev

What GPU are you using? And are you using any extra yaml or vae files? And please take a look at the following https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Troubleshooting#green-or-black-screen

i have a gtx 1650 ik that the ai have an issue with all of the 16xx but even after tryingin to fix it still give me the same output what can i do

Did you try the suggested fix for black screen by adding the command arguments to the bat file? They are the same ones noob-guy-dev pointed out.

Taithrah avatar Oct 24 '22 13:10 Taithrah

i added image to the webui-user.bat file and it keep showing me this evry time i run a prompt image

anouarhm avatar Oct 24 '22 18:10 anouarhm

Sorry if this is a hassle but can you try changing --medvram to --lowvram and then see if that changes anything next time you launch it.

As far is I am aware, precision full and no-half are needed for 10 series GPU's but now it seems like your out of vram because of it.

You can also try the following set COMMANDLINE_ARGS=--precision full --no-half --lowvram --always-batch-cond-uncond --opt-split-attention

Sorry for troubleshooting this so much with you. 10 series cards can be touchy from what I have seen. Hopefully someone else with one can chime in.

Taithrah avatar Oct 25 '22 00:10 Taithrah

i added image to the webui-user.bat file and it keep showing me this evry time i run a prompt image

Just change --medvram to --lowvram and remove the line : set OPTIMIZED_TURBO=true

I can generate a 960x512 image in about 4min : 30 sec using my GTX 1650

noob-guy-dev avatar Oct 25 '22 08:10 noob-guy-dev

i added image to the webui-user.bat file and it keep showing me this evry time i run a prompt image

Just change --medvram to --lowvram and remove the line : set OPTIMIZED_TURBO=true

I can generate a 960x512 image in about 4min : 30 sec using my GTX 1650

if i could kiss you i would thanks man that solve it

anouarhm avatar Oct 25 '22 11:10 anouarhm

I have same issue here but im on a RTX 3080ti

aliencaocao avatar Oct 31 '22 03:10 aliencaocao

I had the same issue on GTX 1660, using @Taithrah's suggestion i was able to run it ! THANK YOU <3

On Linux you modify the .sh file instead of the .bat file

You can also try the following set `COMMANDLINE_ARGS=--precision full --no-half --lowvram --always-batch-cond-uncond --opt-split-attention`

MrSunshyne avatar Nov 01 '22 05:11 MrSunshyne

Same issue here, been using SD fine since release. It's only applied on the last step and only happens every now and then, if you cancel the image before final iteration then it's not black. Not using 1x series card, recent development.

bucketcat avatar Nov 11 '22 18:11 bucketcat

What GPU are you using? And are you using any extra yaml or vae files? And please take a look at the following https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Troubleshooting#green-or-black-screen

Can certain vae files cause black images for 3080? I have seen this with one specific vae

ice051128 avatar Dec 01 '22 11:12 ice051128