lllyasviel / stable-diffusion-webui-forge

GNU Affero General Public License v3.0
8.14k stars 801 forks source link

inpaint mask editor sometimes goes crazy #2044

Open Technologicat opened 1 week ago

Technologicat commented 1 week ago

As of ae8187bf, the inpaint mask editor goes crazy when multiple different base images are inpainted during the same Forge session.

Symptoms:

To get it working again, the Forge server must be restarted. Rebooting just the client (F5 in the web browser) is not enough.

To reproduce:

This is hard to reproduce reliably. I haven't been able to produce a minimal list of steps.

But it happens pretty much every time when I actually use Forge to do some detailing on a previously generated set of txt2imgs that I've stashed aside for finalizing later.

My general workflow for this use case is:

Environment:

I searched the issue tracker and couldn't find anything similar.

If this issue really is new, and is really a bug, I could run a git bisect to figure out when it broke.

Also, if there is something helpful I could print out from the Javascript console, I could do that too (but I'm not familiar with Gradio, so I need information on what could be helpful for debugging this).

All I know at the moment is that it worked perfectly until I upgraded Forge last week. And unfortunately, I didn't save the commit ID of the old version I had before the upgrade.

I'm mainly posting this now to let others chime in. Has anyone else had issues with the inpaint mask editor recently? Any better luck in figuring out how to reproduce the problem? Any information on how to debug?

SailingB0aty commented 1 week ago

I am also experiencing this issue, Linux mint also.

Technologicat commented 1 week ago

Great, maybe we could narrow this down together.

One thought that occurred to me, what web browser are you running? Mine is Firefox 131.0.2 (64-bit), provided by Linux Mint.

wktra commented 2 days ago

Same here. Using the inpaint brush does NOTHING. It doesn't leave a mask. Forge is useless to me now.

Hubinator commented 11 hours ago

I've been experiencing this annoyance as well. It was introduced in a more recent version of Firefox for Linux. I downgraded to Firefox 115.12.0esr-1 and the issue was gone. You can also switch to a Chromium-based browser, they don't seem to be affected by whatever this is.

Technologicat commented 11 hours ago

@Hubinator Thanks! That matches my own findings.

At least so far, no issue on Chromium (129.0.6668.100, 64-bit, provided by Linux Mint). I've been running Forge on it during the last couple of days, but I didn't post about it yet, because I wasn't sure if the issue was really gone or if I was just having better luck.

So for now, the workaround is to run on Chromium. Chalk another one up to Firefox quirks?