nktice / AMD-AI

AMD (Radeon GPU) ROCm based setup for popular AI tools on Ubuntu 24.04.1
Other
175 stars 13 forks source link

Ubuntu 24.04 kills itself when following the guide #5

Open Switcy opened 6 months ago

Switcy commented 6 months ago

Following the guide on a fresh install of ubuntu 24.04 breaks almost everything when entering the command sudo apt install -y wget git python3.11 python3.11-venv libgl1 libglib2.0-0 I followed the guide from beginning till the "Requisites" step, I only skiped sudo apt install -y nvtop I'm using an RX 7900XTX.

Here is that apt does (basically removes ubuntu): user@ubuntu:~/stable-diffusion-webui$ sudo apt install -y wget git python3.11 python3.11-venv libgl1 libglib2.0-0 Reading package lists... Done Building dependency tree... Done Reading state information... Done wget is already the newest version (1.21.4-1ubuntu4). wget set to manually installed. git is already the newest version (1:2.43.0-1ubuntu7.1). libgl1 is already the newest version (1.7.0-1build1). libgl1 set to manually installed. The following packages were automatically installed and are no longer required: acl amd-smi-lib apg apport-symptoms aptdaemon-data at-spi2-common bubblewrap cloud-guest-utils colord-data cups-server-common dns-root-data dnsmasq-base docbook-xml duplicity eatmydata espeak-ng-data evince-common fdisk fonts-opensymbol gdisk geocode-glib-common gir1.2-gdesktopenums-3.0 glib-networking-common gnome-bluetooth-3-common gnome-control-center-faces gnome-desktop3-data gnome-session-common gnome-software-common gnome-terminal-data gnome-themes-extra-data heif-thumbnailer hicolor-icon-theme hplip-data hsa-amd-aqlprofile hunspell-en-au hunspell-en-ca hunspell-en-us hunspell-fr-classical i965-va-driver icu-devtools intel-media-va-driver ipp-usb javascript-common jq liba52-0.7.4 libaa1 libaacs0 libabsl20220623t64 libabw-0.1-1 libao-common libao4 libarchive13t64 libass9 libasyncns0 libatasmart4 libavc1394-0 libavutil58 libbdplus0 libbluetooth3 libbluray2 libboost-iostreams1.83.0 libboost-locale1.83.0 libboost-thread1.83.0 libbrlapi0.8 libbs2b0 libbytesize-common libbytesize1 libcaca0 libcairo-perl libcairo-script-interpreter2 libcairomm-1.16-1 libcamera0.2 libcanberra0t64 libcdio-cdda2t64 libcdio-paranoia2t64 libcdio19t64 libcdparanoia0 libcdr-0.1-1 libchromaprint1 libcjson1 libclucene-contribs1t64 libclucene-core1t64 libcodec2-1.2 libcolamd3 libcue2 libcupsimage2t64 libcurl4t64 libdav1d7 libdbus-glib-1-2 libdebuginfod-common libdebuginfod1t64 libdecor-0-0 libdjvulibre-text libdjvulibre21 libdotconf0 libduktape207 libdv4t64 libdvdread8t64 libe-book-0.1-1 libeatmydata1 libeditorconfig0 libei1 libeis1 libelf-dev libeot0 libepubgen-0.1-1 libespeak-ng1 libetonyek-0.1-1 libevent-2.1-7t64 libexempi8 libexiv2-27 libexpat1-dev libexttextcat-2.0-0 libextutils-depends-perl libfftw3-double3 libfile-desktopentry-perl libflac12t64 libflashrom1 libflite1 libfreeaptx0 libfreehand-0.1-1 libfreerdp-client3-3 libfreerdp-server3-3 libfreerdp3-3 libftdi1-2 libgamemodeauto0 libgdata-common libgdk-pixbuf2.0-common libgif7 libgl-dev libgles2 libglx-dev libgme0 libgpgme11t64 libgpgmepp6t64 libgphoto2-6t64 libgphoto2-l10n libgphoto2-port12t64 libgraphene-1.0-0 libgraphite2-3 libgsf-1-common libgsm1 libgspell-1-common libgtk2.0-common libgtksourceview-5-common libgtop2-common libgupnp-av-1.0-3 libharfbuzz-gobject0 libharfbuzz-icu0 libharfbuzz0b libhpmud0 libhunspell-1.7-0 libhwy1t64 libhyphen0 libicu-dev libiec61883-0 libieee1284-3t64 libigdgmm12 libimagequant0 libimobiledevice6 libinih1 libio-stringy-perl libipt2 libjq1 libjs-jquery libjs-sphinxdoc libjs-underscore libjson-glib-1.0-common libjxl0.7 libkpathsea6 liblc3-1 libldacbt-abr2 libldacbt-enc2 liblilv-0-0 liblirc-client0t64 libltdl7 liblttng-ust-common1t64 liblttng-ust-ctl5t64 liblttng-ust1t64 liblua5.4-0 libmbedcrypto7t64 libmbim-glib4 libmbim-proxy libmbim-utils libmhash2 libminiupnpc17 libmozjs-115-0t64 libmp3lame0 libmpeg2-4 libmpg123-0t64 libmspub-0.1-1 libmtdev1t64 libmtp-common libmtp-runtime libmtp9t64 libmwaw-0.3-3 libmysofa1 libmythes-1.2-0 libnatpmp1t64 libncurses5 libndp0 libnfs14 libnorm1t64 libnuma-dev libnvme1t64 libodfgen-0.1-1 libogg0 libonig5 libopenmpt0t64 libopus0 liborc-0.4-0t64 liborcus-0.18-0 liborcus-parser-0.18-0 libpagemaker-0.0-0 libpcaudio0 libpcre2-32-0 libpeas-common libpgm-5.3-0t64 libphonenumber8 libpipewire-0.3-0t64 libpipewire-0.3-common libpkcs11-helper1t64 libplacebo338 libplist-2.0-4 libpocketsphinx3 libpostproc57 libprotobuf-c1 libprotobuf32t64 libpthread-stubs0-dev libpulse0 libpython3-dev libpython3.10 libpython3.10-minimal libpython3.10-stdlib libpython3.12-dev libpython3.12t64 librabbitmq4 libraptor2-0 libraqm0 librasqal3t64 librav1e0 libraw1394-11 libraw23t64 librdf0t64 libreoffice-uiconfig-calc libreoffice-uiconfig-draw libreoffice-uiconfig-impress libreoffice-uiconfig-math libreoffice-uiconfig-writer librevenge-0.0-0 librist4 libroc0.3 librsync2t64 librubberband2 libsane-common libsane-hpaio libsbc1 libsecret-common libserd-0-0 libsgutils2-1.46-2 libshine3 libshout3 libsidplay1v5 libsigc++-3.0-0 libsnappy1v5 libsndfile1 libsnmp-base libsnmp40t64 libsodium23 libsonic0 libsord-0-0 libsoup-3.0-common libsoup2.4-common libsource-highlight-common libsource-highlight4t64 libsoxr0 libspa-0.2-modules libspectre1 libspeex1 libspeexdsp1 libsphinxbase3t64 libsratom-0-0 libsrt1.5-gnutls libssh-gcrypt-4 libstartup-notification0 libstemmer0d libsuitesparseconfig7 libsvtav1enc1d1 libswresample4 libswscale7 libsynctex2 libsysmetrics1 libsystemd-dev libtag1v5 libtag1v5-vanilla libtcl8.6 libteamdctl0 libtheora0 libtinfo5 libtotem-plparser-common libtss2-tcti-libtpms0t64 libtss2-tcti-spi-helper0t64 libtss2-tctildr0t64 libtwolame0 libudfread0 libunibreak5 libunity-scopes-json-def-desktop libusbmuxd6 libv4l-0t64 libv4lconvert0t64 libva-drm2 libva-wayland2 libva-x11-2 libva2 libvdpau1 libvidstab1.1 libvisio-0.1-1 libvisual-0.4-0 libvncclient1 libvorbis0a libvorbisenc2 libvorbisfile3 libvpl2 libvpx9 libvte-2.91-common libwacom-common libwavpack1 libwayland-cursor0 libwayland-egl1 libwebpdemux2 libwebpmux3 libwebrtc-audio-processing1 libwinpr3-3 libwmf-0.2-7 libwmflite-0.2-7 libwnck-3-common libwoff1 libwpd-0.10-10 libwpg-0.3-3 libwps-0.4-4 libwrap0 libx11-dev libx264-164 libx265-199 libxau-dev libxcb-res0 libxcb1-dev libxdmcp-dev libxkbcommon-x11-0 libxkbregistry0 libxml2-dev libxmlsec1t64 libxmlsec1t64-nss libxres1 libxslt1.1 libxvidcore4 libyajl2 libzimg2 libzix-0-0 libzmq5 libzstd-dev libzvbi-common libzvbi0t64 lp-solve media-player-info mesa-common-dev mesa-va-drivers mesa-vdpau-drivers mobile-broadband-provider-info ocl-icd-libopencl1 openmp-extras-dev openvpn p11-kit p11-kit-modules pocketsphinx-en-us ppp pptp-linux printer-driver-postscript-hp python-babel-localedata python3-argcomplete python3-attr python3-babel python3-bcrypt python3-brlapi python3-cairo python3-configobj python3-cups python3-dateutil python3-debconf python3-debian python3-defer python3-dev python3-distro-info python3-fasteners python3-jinja2 python3-json-pointer python3-jsonpatch python3-jsonschema python3-louis python3-mako python3-markdown-it python3-markupsafe python3-mdurl python3-monotonic python3-nacl python3-netifaces python3-olefile python3-paramiko python3-pexpect python3-pil python3-pip python3-ptyprocess python3-pygments python3-pyrsistent python3-rich python3-serial python3-speechd python3-systemd python3-tz python3-wheel python3-xdg python3.12-dev remmina-common rocm-dbgapi rocm-debug-agent rocm-opencl rocm-opencl-dev rocm-opencl-icd-loader rocm-utils rocprofiler rocprofiler-dev rocprofiler-plugins roctracer-dev sane-airscan sgml-base sgml-data sound-icons sound-theme-freedesktop ssl-cert tcl tcl8.6 transmission-common usb-modeswitch usb-modeswitch-data usbmuxd va-driver-all vdpau-driver-all x11proto-dev xbrlapi xml-core xorg-sgml-doctools xtrans-dev xwayland yelp-xsl zenity-common zlib1g-dev Use 'sudo apt autoremove' to remove them. The following additional packages will be installed: libpcre3 libpython3.11-minimal libpython3.11-stdlib libutempter0 python3.11-distutils python3.11-lib2to3 python3.11-minimal xterm Suggested packages: binfmt-support xfonts-cyrillic Recommended packages: shared-mime-info luit | x11-utils The following packages will be REMOVED: accountsservice adwaita-icon-theme apport apport-core-dump-handler apport-gtk appstream apt-config-icons apt-config-icons-hidpi aptdaemon at-spi2-core baobab bluez bluez-cups bluez-obexd bolt brltty cloud-init colord cups cups-browsed cups-core-drivers cups-daemon cups-pk-helper dconf-cli dconf-gsettings-backend dconf-service deja-dup desktop-file-utils enchant-2 eog evince evolution-data-server evolution-data-server-common file-roller fprintd fwupd gamemode gamemode-daemon gcr gcr4 gdb gdm3 geoclue-2.0 gir1.2-accountsservice-1.0 gir1.2-adw-1 gir1.2-atk-1.0 gir1.2-atspi-2.0 gir1.2-dbusmenu-glib-0.4 gir1.2-dee-1.0 gir1.2-freedesktop gir1.2-gck-2 gir1.2-gcr-4 gir1.2-gdkpixbuf-2.0 gir1.2-gdm-1.0 gir1.2-geoclue-2.0 gir1.2-girepository-2.0 gir1.2-glib-2.0 gir1.2-gmenu-3.0 gir1.2-gnomeautoar-0.1 gir1.2-gnomebg-4.0 gir1.2-gnomebluetooth-3.0 gir1.2-gnomedesktop-3.0 gir1.2-gnomedesktop-4.0 gir1.2-graphene-1.0 gir1.2-gst-plugins-base-1.0 gir1.2-gstreamer-1.0 gir1.2-gtk-3.0 gir1.2-gtk-4.0 gir1.2-gudev-1.0 gir1.2-gweather-4.0 gir1.2-handy-1 gir1.2-harfbuzz-0.0 gir1.2-ibus-1.0 gir1.2-javascriptcoregtk-4.1 gir1.2-javascriptcoregtk-6.0 gir1.2-mutter-14 gir1.2-nm-1.0 gir1.2-nma4-1.0 gir1.2-notify-0.7 gir1.2-packagekitglib-1.0 gir1.2-pango-1.0 gir1.2-peas-1.0 gir1.2-polkit-1.0 gir1.2-rb-3.0 gir1.2-rsvg-2.0 gir1.2-secret-1 gir1.2-snapd-2 gir1.2-soup-3.0 gir1.2-totem-1.0 gir1.2-totemplparser-1.0 gir1.2-udisks-2.0 gir1.2-unity-7.0 gir1.2-upowerglib-1.0 gir1.2-vte-2.91 gir1.2-webkit-6.0 gir1.2-webkit2-4.1 gir1.2-wnck-3.0 gjs gkbd-capplet glib-networking glib-networking-services gnome-bluetooth-sendto gnome-calculator gnome-calendar gnome-characters gnome-clocks gnome-control-center gnome-control-center-data gnome-disk-utility gnome-font-viewer gnome-initial-setup gnome-keyring gnome-keyring-pkcs11 gnome-logs gnome-online-accounts gnome-power-manager gnome-remote-desktop gnome-session-bin gnome-session-canberra gnome-settings-daemon gnome-settings-daemon-common gnome-shell gnome-shell-common gnome-shell-extension-appindicator gnome-shell-extension-desktop-icons-ng gnome-shell-extension-ubuntu-dock gnome-shell-extension-ubuntu-tiling-assistant gnome-snapshot gnome-software gnome-software-plugin-snap gnome-startup-applications gnome-system-monitor gnome-terminal gnome-text-editor gnome-themes-extra gnome-user-docs grilo-plugins-0.3-base gsettings-desktop-schemas gsettings-ubuntu-schemas gstreamer1.0-alsa gstreamer1.0-gl gstreamer1.0-gtk3 gstreamer1.0-libav gstreamer1.0-libcamera gstreamer1.0-packagekit gstreamer1.0-pipewire gstreamer1.0-plugins-base gstreamer1.0-plugins-base-apps gstreamer1.0-plugins-good gstreamer1.0-plugins-ugly gstreamer1.0-tools gstreamer1.0-vaapi gstreamer1.0-x gtk-update-icon-cache gtk2-engines-murrine gtk2-engines-pixbuf gvfs gvfs-backends gvfs-common gvfs-daemons gvfs-fuse gvfs-libs heif-gdk-pixbuf hplip humanity-icon-theme ibus ibus-data ibus-gtk ibus-gtk3 ibus-gtk4 ibus-table ibus-table-cangjie-big ibus-table-cangjie3 ibus-table-cangjie5 iio-sensor-proxy kerneloops language-selector-common language-selector-gnome libaccountsservice0 libadwaita-1-0 libappstream5 libatk-adaptor libatk-bridge2.0-0t64 libatk1.0-0t64 libatspi2.0-0t64 libavahi-glib1 libavahi-ui-gtk3-0 libavcodec60 libavfilter9 libavformat60 libayatana-appindicator3-1 libayatana-ido3-0.4-0 libayatana-indicator3-7 libbabeltrace1 libblockdev-crypto3 libblockdev-fs3 libblockdev-loop3 libblockdev-mdraid3 libblockdev-nvme3 libblockdev-part3 libblockdev-swap3 libblockdev-utils3 libblockdev3 libcairo-gobject-perl libcairo-gobject2 libcamel-1.2-64t64 libcanberra-gtk3-0t64 libcanberra-gtk3-module libcanberra-pulse libcolord-gtk4-1t64 libcolord2 libcolorhug2 libdbusmenu-glib4 libdbusmenu-gtk3-4 libdconf1 libdecor-0-plugin-1-gtk libdee-1.0-4 libdmapsharing-4.0-3t64 libebackend-1.2-11t64 libebook-1.2-21t64 libebook-contacts-1.2-4t64 libecal-2.0-3 libedata-book-1.2-27t64 libedata-cal-2.0-2t64 libedataserver-1.2-27t64 libedataserverui-1.2-4t64 libedataserverui4-1.0-0t64 libenchant-2-2 libevdocument3-4t64 libevview3-3t64 libfile-mimeinfo-perl libfprint-2-2 libfprint-2-tod1 libfwupd2 libgail-common libgail18t64 libgamemode0 libgck-1-0 libgck-2-2 libgcr-4-4 libgcr-base-3-1 libgcr-ui-3-1 libgdata22 libgdk-pixbuf-2.0-0 libgdk-pixbuf2.0-bin libgdm1 libgee-0.8-2 libgeoclue-2-0 libgeocode-glib-2-0 libgexiv2-2 libgirepository-1.0-1 libgjs0g libglib-object-introspection-perl libglib-perl libglib2.0-0t64 libglib2.0-bin libglibmm-2.68-1t64 libgnome-autoar-0-0 libgnome-bg-4-2t64 libgnome-bluetooth-3.0-13 libgnome-bluetooth-ui-3.0-13 libgnome-desktop-3-20t64 libgnome-desktop-4-2t64 libgnome-menu-3-0 libgnome-rr-4-2t64 libgnomekbd-common libgnomekbd8 libgoa-1.0-0b libgoa-1.0-common libgoa-backend-1.0-2 libgom-1.0-0t64 libgpod-common libgpod4t64 libgrilo-0.3-0 libgsf-1-114 libgsound0t64 libgspell-1-2 libgssdp-1.6-0 libgstreamer-gl1.0-0 libgstreamer-plugins-bad1.0-0 libgstreamer-plugins-base1.0-0 libgstreamer-plugins-good1.0-0 libgstreamer1.0-0 libgtk-3-0t64 libgtk-3-bin libgtk-3-common libgtk-4-1 libgtk-4-bin libgtk-4-common libgtk-4-media-gstreamer libgtk2.0-0t64 libgtk2.0-bin libgtk3-perl libgtkmm-4.0-0 libgtksourceview-5-0 libgtop-2.0-11 libgudev-1.0-0 libgupnp-1.6-0 libgupnp-dlna-2.0-4 libgupnp-igd-1.6-0 libgusb2 libgweather-4-0t64 libgweather-4-common libgxps2t64 libhandy-1-0 libibus-1.0-5 libical3t64 libinput-bin libinput10 libjavascriptcoregtk-4.1-0 libjavascriptcoregtk-6.0-1 libjcat1 libjson-glib-1.0-0 libmalcontent-0-0 libmanette-0.2-0 libmediaart-2.0-0 libmm-glib0 libmsgraph-0-1 libmutter-14-0 libnautilus-extension4 libnetplan1 libnice10 libnm0 libnma-common libnma-gtk4-0 libnma0 libnotify-bin libnotify4 libpackagekit-glib2-18 libpam-fprintd libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libpangomm-2.48-1t64 libpangoxft-1.0-0 libpeas-1.0-0 libpinyin15 libpipewire-0.3-modules libpolkit-agent-1-0 libpolkit-gobject-1-0 libpoppler-glib8t64 libportal-gtk3-1 libportal-gtk4-1 libportal1 libproxy1-plugin-gsettings libproxy1-plugin-networkmanager libproxy1v5 libpulse-mainloop-glib0 libqmi-glib5 libqmi-proxy libqmi-utils libqrtr-glib0 librest-1.0-0 librhythmbox-core10 librsvg2-2 librsvg2-common librygel-core-2.8-0 librygel-db-2.8-0 librygel-renderer-2.8-0 librygel-server-2.8-0 libsane1 libsecret-1-0 libsnapd-glib-2-1 libsoup-2.4-1 libsoup-3.0-0 libspa-0.2-bluetooth libspeechd2 libtotem-plparser18 libtotem0 libtracker-sparql-3.0-0 libudisks2-0 libunity-protocol-private0 libunity9 libupower-glib3 libvolume-key1 libvte-2.91-0 libwacom9 libwebkit2gtk-4.1-0 libwebkitgtk-6.0-4 libwhoopsie-preferences0 libwhoopsie0 libwireplumber-0.4-0 libwmf-0.2-7-gtk libwmf0.2-7-gtk libwnck-3-0 libxklavier16 libxmlb2 libyelp0 modemmanager mousetweaks mutter-common mutter-common-bin nautilus nautilus-data nautilus-extension-gnome-terminal nautilus-sendto netplan-generator netplan.io network-manager network-manager-config-connectivity-ubuntu network-manager-gnome network-manager-openvpn network-manager-openvpn-gnome network-manager-pptp network-manager-pptp-gnome networkd-dispatcher orca packagekit packagekit-tools pinentry-gnome3 pipewire pipewire-alsa pipewire-audio pipewire-bin pipewire-pulse pkexec plymouth-label plymouth-theme-spinner policykit-1 polkitd power-profiles-daemon printer-driver-hpcups printer-driver-splix python3-aptdaemon python3-aptdaemon.gtk3widgets python3-cupshelpers python3-dbus python3-distupgrade python3-gi python3-ibus-1.0 python3-netplan python3-software-properties python3-update-manager remmina remmina-plugin-rdp remmina-plugin-secret remmina-plugin-vnc rhythmbox rhythmbox-data rhythmbox-plugin-alternative-toolbar rhythmbox-plugins rocm-dev rocm-dkms rocm-gdb rtkit rygel sane-utils seahorse session-migration shared-mime-info shotwell shotwell-common simple-scan software-properties-common software-properties-gtk speech-dispatcher speech-dispatcher-audio-plugins speech-dispatcher-espeak-ng spice-vdagent switcheroo-control system-config-printer-common system-config-printer-udev tecla thermald totem totem-common totem-plugins tracker tracker-extract tracker-miner-fs transmission-gtk ubuntu-advantage-desktop-daemon ubuntu-desktop ubuntu-desktop-minimal ubuntu-docs ubuntu-minimal ubuntu-mono ubuntu-release-upgrader-core ubuntu-release-upgrader-gtk ubuntu-session ubuntu-settings udisks2 unattended-upgrades update-manager update-manager-core update-notifier update-notifier-common upower usb-creator-common usb-creator-gtk webp-pixbuf-loader whoopsie whoopsie-preferences wireplumber xdg-dbus-proxy xdg-desktop-portal xdg-desktop-portal-gnome xdg-desktop-portal-gtk xdg-user-dirs-gtk xserver-xorg-input-all xserver-xorg-input-libinput yaru-theme-gtk yelp zenity The following NEW packages will be installed: libglib2.0-0 libpcre3 libpython3.11-minimal libpython3.11-stdlib libutempter0 python3.11 python3.11-distutils python3.11-lib2to3 python3.11-minimal python3.11-venv xterm 0 upgraded, 11 newly installed, 504 to remove and 3 not upgraded. Need to get 11.3 MB of archives. After this operation, 855 MB disk space will be freed.

nktice commented 5 months ago

I've reviewed the guide, and reproduced your error, and found the culprit... "libglib2.0-0" does for some reason want to remove things. So I've changed the guide so that it doesn't call this... now it works again. So thanks for the tip, that issue appears resolved when I go through it.

c1tr00z commented 5 months ago

I have another issue. In my case session is kind of shuts down (seems like driver issue or something) on image generation with SD Do you know what can cause this?

nktice commented 5 months ago

I have another issue. In my case session is kind of shuts down (seems like driver issue or something) on image generation with SD Do you know what can cause this?

Can you explain more? Does running rocminfo recognize your card?
Can you share details of the command you're running, and error message?

c1tr00z commented 5 months ago

@nktice Hello!

Does running rocminfo recognize your card?

I think so, since SD is actually generating image on video card. But i did attach log just in case

rocminfo_log.txt

Can you share details of the command you're running,

I just ran ./webui.sh in stable diffusion directory. Can you help me with where i can find logs of SD since there is no visible error message. Display blinks couple of times on 60-75% progress of image generation and then desktop crashes into login screen

Could it be drivers? Maybe after all experiments with trying to make SD works on my machine (before i found your guide) my OS is somehow compromised and it will be easier to just reinstall it?

nktice commented 5 months ago

Looking at your log, it looks like your system has dual GPUs...

In my guide I add a few lines to the end of the following file : webui-user.sh In those near the end, it mentions dual GPUs, do not work with SD - at least for me it needs to be told to ignore one or the other...

## crashes with 2 cards, so to get it to run on the second card (only), unremark the following 
 # export CUDA_VISIBLE_DEVICES="1"

You'll want to edit the config file and make sure to enable that... Here for example, is what it looks like when I run on my system.

export CUDA_VISIBLE_DEVICES="1"

I believe it is 0 for the first device, 1 for the second... so in this case it would ignore the CPU parts, and just use the card.

Stable Diffusion has a range of run options, you can see with this...

./webui.sh --help

In particular a quick list of log functions can be found this way...

./webui.sh --help | grep log 

As such you'll likely want to try the following to get more details...

./webui.sh --log-startup --loglevel INFO

And that should display an abundance of info on SD's console.

Also worth asking what Ubuntu distro are you running this on? [ 24.04 ? ]

nktice commented 5 months ago

I am wondering if nvtop works for you... if it is working, What's memory / use, and what devices appear in the interface?

c1tr00z commented 5 months ago

@nktice Hello! Sorry for late reply. My installation of ubuntu died at some point so i reinstalled it. And i tried again to install SD with your guide, but after some step (on building kernel modules) it freezed my system and i was forced to restart PC. After that, basically OS has no video drivers, rocminfo does not see my GPU. I tried to reconfigure kernel modules and amdgpu packages but no success. Can you recommend something? Thank you

nktice commented 5 months ago

@nktice Hello! Sorry for late reply. My installation of ubuntu died at some point so i reinstalled it. And i tried again to install SD with your guide, but after some step (on building kernel modules) it freezed my system and i was forced to restart PC. After that, basically OS has no video drivers, rocminfo does not see my GPU. I tried to reconfigure kernel modules and amdgpu packages but no success. Can you recommend something? Thank you

After you install, do you see your card listed anywhere in logs ? /var/log/dmesg should show your hardware, and what it's detected as, and perhaps issues.

What is your output when you run the following command on the shell?

lspci -v 

That should display the hardware devices it sees such as VGA...

Following the guide, do the AMD drivers load successfully?