Hi guys! I have a Desktop with Nobara, and open source mesa drivers for my 7800XT. When I try to run the webui.sh launcher, I get a segfault when trying to create the model. Is there a way to run it with open source drivers? Or without having to uninstall them? Can both privative and open source drivers coexist? This is mostly my gaming computer, but I’d like to be able to use it for stable diffusion as well.

Thanks!

  • iturnedintoanewtOP
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    9 months ago

    Sigh…I wrote that before going to sleep. Very half assed post and sorry for the crappy details.

    1.- Yes that’s correct. automatic111 it is.

    2.- Sorry I meant open source vs AMD closed source binaries. I was not thinking very straight what I was typing. I believe I’m running Mesa 23.3.0, and I wouldn’t want to change this with the privative binary as I’ve been told it might have a performance hit and additional trouble when gaming. But if rocm is an independent library/extension from the drivers and wont affect gaming I guess I can install it.

    3.- Sure…it doesn’t get too far. Launches, opens the browser to the UI interface, and then dies within a second or so.

    $ ./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 iturnedintoanewt user
    ################################################################
    
    ################################################################
    python venv already activate or run without venv: /home/iturnedintoanewt/stable-diffusion/stable-diffusion-webui/venv
    ################################################################
    
    ################################################################
    Launching launch.py...
    ################################################################
    Using TCMalloc: libtcmalloc_minimal.so.4
    Python 3.11.6 (main, Oct  3 2023, 00:00:00) [GCC 13.2.1 20230728 (Red Hat 13.2.1-1)]
    Version: v1.7.0
    Commit hash: cf2772fab0af5573da775e7437e6acdca424f26e
    Launching Web UI with arguments: 
    no module 'xformers'. Processing without...
    no module 'xformers'. Processing without...
    No module 'xformers'. Proceeding without it.
    Style database not found: /home/iturnedintoanewt/stable-diffusion/stable-diffusion-webui/styles.csv
    Calculating sha256 for /home/iturnedintoanewt/stable-diffusion/stable-diffusion-webui/models/Stable-diffusion/v1-5-pruned-emaonly.safetensors: Running on local URL:  http://127.0.0.1:7860
    
    To create a public link, set `share=True` in `launch()`.
    Startup time: 9.3s (prepare environment: 3.7s, import torch: 2.1s, import gradio: 0.5s, setup paths: 1.7s, other imports: 0.5s, load scripts: 0.1s, create ui: 0.3s, gradio launch: 0.2s).
    6ce0161689b3853acaa03779ec93eafe75a02f4ced659bee03f50797806fa2fa
    Loading weights [6ce0161689] from /home/iturnedintoanewt/stable-diffusion/stable-diffusion-webui/models/Stable-diffusion/v1-5-pruned-emaonly.safetensors
    Creating model from config: /home/iturnedintoanewt/stable-diffusion/stable-diffusion-webui/configs/v1-inference.yaml
    ./webui.sh: line 256: 778241 Segmentation fault      (core dumped) "${python_cmd}" -u "${LAUNCH_SCRIPT}" "$@"