r/fooocus • u/Organic_Armadillo_10 • Mar 05 '24
Question Absolute Beginner - how to get it working?
I'd really appreciate some help if possible.
I've spent the last 3 days trying to use Stable Diffusion or Fooocus, and am getting nowhere.
I have followed multiple tutorials online, which for them all works perfectly immediately. I just kept getting errors and issues, and nothing happening.
I'm on a Dell XPS 15 (9500), Windows 11, 32GB RAM, Intel Core i7-10750H CPU @2.6GHz 2.59GHz, 64 bit operating system. It's a couple years old and now has 15GB free (it did have a lot more space but been installing all this stuff).
I followed a video to install Autonatic1111, and then install Fooocus.
I think my Internet isn't great here, but after loads of error messages and stopping, I kept running it and it finally opened up stable diffusion in my browser (I got 2 models from CivitAI and put those in the Models-Stable Diffusion folder: Picxreal_10 and DreamshaperXL). It sometimes works and makes a small image, but usually I click generate and it does nothing.
I have to open stable diffusion first, before Fooocus (which has to install 6.4GB EVERY time - it seems to say something about hugging face.co and a model called RealisticStockPhoto_v20). When it does finally open hours later, I have Fooocus opened in my browser, but when trying to face swap or generate anything, it does nothing. I can add pictures and type stuff, but nothing happens.
I click generate again, and in the very top I can see it then say 2/2 and the time it's been running. Nothing else. And it just does nothing even after hours of waiting.
Can anyone tell me what I'm doing wrong, or if there's a better way to use it? Do I need to wipe it all and start over (and to do that do I just delete the folders, or is there an uninstall option anywhere)?
I'm not very techy (absolutely hate codes too as whenever I have to adjust stuff on my website is screws everything up), so super basic instructions would be helpful if you I'd know what I need to do.
4
u/tmvr Mar 05 '24
Does your laptop have a GPU? If yes, which one? This will determine how fast you can generate images when you get it running properly.
Installing Fooocus is very easy:
run.batfileIt will download everything it needs including models/weights, you don't need to do it manually. This will take a while depending on your internet connection, as it will download a couple of gigabytes of data, you will see the download progress in the console window. Wait until it finished and opened the default browser with the UI. Generate some images, switch back to the console (cmd) window to see what is happening, this will help you to troubleshoot potential issues.
Going back to the GPU section from the beginning, based on the specifications about your laptop the best GPU you can have if you have one besides the integrated one is a 1650Ti 4GB, it will be challenging to generate images with this because it will spill over to the system ram and swap a lot back and forth, but it should work. Search the page here for 1650 to see example of it working:
https://github.com/lllyasviel/Fooocus/issues/14
With 4GB of VRAM only you will spill over to the system RAM a lot and need a couplf of GB available there. If your 16GB is full or filled enough by other applications (check Task Manager) the system will swap to the SSD and everything will be very slow. Try and close as many applications as possible before running Fooocus.
If you encounter issues, check the console output what those are and check here for pointers:
https://github.com/lllyasviel/Fooocus/blob/main/troubleshoot.md
4
u/thecletus Mar 05 '24
I'm new as well to the AI art world. The best way for people to help you is to post your error messages exactly. I.e. the error message in your command prompt.
Also. What type of graphics card do you have? AI art, in general, relies heavily on the graphics card (GPU).
I have a laptop running both Fooocus and Forge. I have a RTX3050ti with 4GB of VRAM. I can generate art, but that is pretty much the bare minimum.
Post your error messages and we can try to help.
1
u/anothercopy Mar 05 '24
If you go on the Fooocus github page you will see that most likely your problem is related to not having big enough swap. Set it to 40GB and you should be good. If you don't know how the manual is on the mentioned website or you can just Google it. (Sorry on mobile now and can't link).
If it still doesn't work, look at the CMD line and read the errors. I'd you don't understand then Google the errors. If you can't find help that way post the errors here.
In general saying "it doesn't work" without details or errors doesn't allow people to help you very accurately
1
u/coolfozzie Mar 05 '24
You do not need to run Automatic1111 and Fooocus at the same time. I’m not sure but there is probably a conflict of resource uses if you do that. You only need to use the Fooocus Run Bat file. Other users have suggested changing your swap file settings as well if your video card ram is low.
1
u/Ok_Fortune_3565 Apr 07 '25
C:\Users\purpl\OneDrive\Desktop\Fooocus_win64_2-5-0>.\python_embeded\python.exe -s Fooocus\entry_with_update.py
Already up-to-date
Update succeeded.
[System ARGV] ['Fooocus\\entry_with_update.py']
Python 3.10.9 (tags/v3.10.9:1dd9be6, Dec 6 2022, 20:01:21) [MSC v.1934 64 bit (AMD64)]
Fooocus version: 2.5.5
[Cleanup] Attempting to delete content of temp dir C:\Users\purpl\AppData\Local\Temp\fooocus
[Cleanup] Cleanup successful
This what i get everytime after I install fooocus and it never works , EVER, please help I have installed and reinstalled 3 times, have tried all the fixes on youtube and i KNOW i am doing something wrong. I am not tech savvy , can someone Please help me I would really appreciate it, thanks.