vladmandic / automatic

SD.Next: Advanced Implementation of Stable Diffusion and other Diffusion-based generative image models
https://github.com/vladmandic/automatic
GNU Affero General Public License v3.0
5.61k stars 411 forks source link

Can't install this webui : cygheap base mismatch error #285

Closed Djanghost closed 1 year ago

Djanghost commented 1 year ago

Issue Description

Right after cloning the repository, when i run the webui.bat i've a bunch of this cygheap base mismatch error. I installed all the prerequisites (python 10.6, cuda 12.1). I have A1111 webui too in another folder and it works well. Already tried to reboot and search for cygwin1.dll to delete all but the most recent version but i only find one version. Hope someone could help :

VLAD

VLAD2

Version Platform Description

Version: e6701f5c Wed Apr 19 14:12:19 2023 -0400 OS : Windows 11 Browser : Chrome GPU : RTX4090

vladmandic commented 1 year ago

i don't support cygwin installs on windows.
there is no reason for cygwin nowadays when wsl2 is sooo much better in every aspect and built-in into windows.

Djanghost commented 1 year ago

i don't support cygwin installs on windows. there is no reason for cygwin nowadays when wsl2 is sooo much better in every aspect and built-in into windows.

Thanks for your reply, if I install it will there be a conflict with cygwin? Sorry but I'm not a dev at all

vladmandic commented 1 year ago

not at all, you can keep your cygwin. on windows, you can run either as native windows (its supported) or via wsl2 (which i personally love, but thats a choice)

Djanghost commented 1 year ago

not at all, you can keep your cygwin. on windows, you can run either as native windows (its supported) or via wsl2 (which i personally love, but thats a choice)

Well i just installed wsl right now but have the same cygwin error... i surely missed something. If you have an idea, i do want to test your repo

vladmandic commented 1 year ago

And you started from wsl terminal, not cygwin? It cannot be the same error as your first error is regarding cygheap and that has nothing to do with wsl

Djanghost commented 1 year ago

And you started from wsl terminal, not cygwin? It cannot be the same error as your first error is regarding cygheap and that has nothing to do with wsl

if i understand i had to run webui.bat from wsl terminal ? I can't do this or i don't know how to do, when i open wsl a wsl terminal, how can i run webui.bat with it? Apparently i only can run webui.bat with powershell or cmd windows.

I installed WSL2 with ubuntu lately

vladmandic commented 1 year ago

if you use wsl, then you run webui.sh if you use native windows, then you run webui.bat either works.

Djanghost commented 1 year ago

if you use wsl, then you run webui.sh if you use native windows, then you run webui.bat either works.

Thanks again for your time, i'm using native windows. But when i run webui.bat, cmd window open and all things seem running normaly until i get this sh*** cygwin mismatch errors. It's so frustrating :/ It's like if wsl was not detected or something ?

vlad3

vladmandic commented 1 year ago

yeah, sorry, its been over a decade since i've used cygwin. and this is clearly a cygwin error - even if you don't use it, it still sneaks in.

try searching on google or stackexchange for cygheap base mismatch detected.

Djanghost commented 1 year ago

yeah, sorry, its been over a decade since i've used cygwin. and this is clearly a cygwin error - even if you don't use it, it still sneaks in.

try searching on google or stackexchange for cygheap base mismatch detected.

Finally solved the problem a few hours ago. All is working except Deforum extension. Deforum work when i did the first tests like 10 hours ago. I open a new issue. Congrats and full support for your work

vladmandic commented 1 year ago

Thanks. There is already an open issue for Deforum and I'm working with extension author on fixes, don't create separate issue for that.

Djanghost commented 1 year ago

As you prefer but the issue you mention is about ControlNet. Well i just posted the issue i have in the same thread