AUTOMATIC1111 / stable-diffusion-webui

Stable Diffusion web UI
GNU Affero General Public License v3.0
137.02k stars 26.08k forks source link

[Bug]: Webui fails to open on Steam Deck OLed #15139

Open GodPhase777 opened 4 months ago

GodPhase777 commented 4 months ago

Checklist

What happened?

On steam deck when running webui.sh it says it fails to open python venv.

Steps to reproduce the problem

  1. Install normally for arch linux, up to step 3.
  2. Try running webui.sh

What should have happened?

Webui should work as intended and the command shouldn't produce an error.

What browsers do you use to access the UI ?

Brave

Sysinfo

I can't access webui.

Console logs

(1)(deck@steamdeck A1111)$ sh webui.sh

################################################################
Install script for stable-diffusion + Web UI
Tested on Debian 11 (Bullseye), Fedora 34+ and openSUSE Leap 15.4 or newer.
################################################################

################################################################
Running on deck user
################################################################

################################################################
Create and activate python venv
################################################################

################################################################
ERROR: Cannot activate python venv, aborting...
################################################################
(1)(deck@steamdeck A1111)$

Additional information

I am running this on a Steam Deck OLed.

missionfloyd commented 4 months ago
  1. git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui
  2. Add --use-cpu all --precision full --no-half --skip-torch-cuda-test to webui-user.sh
  3. ./webui.sh

It's really slow. image

GodPhase777 commented 4 months ago
  1. git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui
  2. Add --use-cpu all --precision full --no-half --skip-torch-cuda-test to webui-user.sh
  3. ./webui.sh

It's really slow. image

(1)(deck@steamdeck stable-diffusion-webui)$ ./webui.sh /run/media/deck/3966-6163/New Folder/stable-diffusion-webui/webui-user.sh: line 50: --precision: command not found

################################################################ Install script for stable-diffusion + Web UI Tested on Debian 11 (Bullseye), Fedora 34+ and openSUSE Leap 15.4 or newer. ################################################################

################################################################ Running on deck user ################################################################

################################################################ Repo already cloned, using it as install directory ################################################################

################################################################ Create and activate python venv ################################################################

################################################################ ERROR: Cannot activate python venv, aborting... ################################################################ (1)(deck@steamdeck stable-diffusion-webui)$

Works up until running webui.sh where it says it can't activate python venv again.

https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/1120 I tried following another github issue for A1111 but regardless it always spits out the same errors. Error: [Errno 38] Function not implemented: 'lib' -> '/run/media/deck/3966-6163/New Folder/venv/lib64' and as we see above ERROR: Cannot activate python venv, aborting...