-
Notifications
You must be signed in to change notification settings - Fork 7
How to run AppImage
Currently there are two AppImages available
- StableDiffusionGUI-.glibc2.34-x86_64.AppImage
- StableDiffusionGUI-.glibc2.38-x86_64.AppImage
Where glibc2.34 is built on Ubuntu 22, glibc2.38 built on Ubuntu 24. The AppImages are based on the .deb files, but they are fully separated things. It's dependencies need to be handled manually.
These dependencies need to be installed for the GUI:
- libgtk-3-0 (>= 3.9.10) | libgtk-4-1,
- libexiv2-27
- libnotify4
- curl
For CPU computing (AVX, AVX2, AVX512), no extra packages required
On Ubuntu 22 there is only CUDA 11 from the default repos, so .deb files are compiled with CUDA 11
- libcublas11
- libcudart11
- libcublaslt11
- libnvidia-compute-xxx (where xxx is depends on the nvidia driver)
On Ubuntu 24 there is CUDA 12 from the default repos, so .deb files are compiled with CUDA 12
- libcublas12
- libcudart12
- libcublaslt12
- libnvidia-compute-xxx (where xxx is depends on the nvidia driver)
I don't known if some OS have ~glibc2.34 with CUDA 12.
[WIP] NixOS (TODO: testing - issue #16)
Install appimage-run:
nix-env -iA nixos.appimage-run
Install exiv2
nix-env -iA nixos.exiv2
Edit the /etc/nixos/configuration.nix Add the following lines:
programs.nix-ld.enable = true;
programs.nix-ld.libraries with pkgs; [
exiv2
]
Then run nixos-rebuild switch
After start the sdgui:
appimage-run StableDiffusionGUI-.glibc2.38-x86_64.AppImage