Skip to content
This repository has been archived by the owner on Jan 26, 2024. It is now read-only.

Fedora Linux issues #16

Closed
simonlui opened this issue Aug 9, 2023 · 2 comments
Closed

Fedora Linux issues #16

simonlui opened this issue Aug 9, 2023 · 2 comments

Comments

@simonlui
Copy link

simonlui commented Aug 9, 2023

Hi,

I know you primarily intended for this project to be used in a Windows environment given how you presented the project to the public but I decided to try it in my Linux environment. First off, your Docker instructions don't work perfectly in Fedora due to SELinux blocking GPU access in Docker so I had to add --security-opt=label=disable. I had to mount the SD-Next directory with :Z as well due to read write access being wonky with git clone without it. So I ran the following command to get it running without issues.

docker run -it --device /dev/dri -v ~/sd-webui:/sd-webui:Z -v deps:/deps -v huggingface:/root/.cache/huggingface -p 7860:7860 --security-opt=label=disable --name sd-server nuullll/ipex-arc-sd:latest

It loaded up fine and then was able to generate one image for me and then crashed.

image

According to journalctl, this was a segfault.

Aug 08 23:27:37 fedora systemd-coredump[878069]: [🡕] Process 876999 (python3) of user 1000 dumped core.
                                                 
                                                 Module /deps/venv/lib/python3.10/site-packages/numba/np/ufunc/tbbpool.cpython-310-x86_64-linux-gnu.so without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/numba/np/ufunc/tbbpool.cpython-310-x86_64-linux-gnu.so
                                                 Module /deps/venv/lib/python3.10/site-packages/pi_heif.libs/libde265-35dbe9a5.so without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/pi_heif.libs/libde265-35dbe9a5.so
                                                 Module /deps/venv/lib/python3.10/site-packages/pi_heif.libs/libheif-5c5e17bf.so.1.16.2 without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/pi_heif.libs/libheif-5c5e17bf.so.1.16.2
                                                 Module /oneapi-lib/intel64/libmkl_vml_def.so.2 without build-id.
                                                 Module /oneapi-lib/intel64/libmkl_vml_def.so.2
                                                 Module /deps/venv/lib/python3.10/site-packages/scipy/special/cython_special.cpython-310-x86_64-linux-gnu.so without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/scipy/special/cython_special.cpython-310-x86_64-linux-gnu.so
                                                 Module /deps/venv/lib/python3.10/site-packages/_pi_heif.cpython-310-x86_64-linux-gnu.so without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/_pi_heif.cpython-310-x86_64-linux-gnu.so
                                                 Module /deps/venv/lib/python3.10/site-packages/opencv_contrib_python.libs/libgfortran-91cc3cb1.so.3.0.0 without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/opencv_contrib_python.libs/libgfortran-91cc3cb1.so.3.0.0
                                                 Module /deps/venv/lib/python3.10/site-packages/scipy/interpolate/dfitpack.cpython-310-x86_64-linux-gnu.so without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/scipy/interpolate/dfitpack.cpython-310-x86_64-linux-gnu.so
                                                 Module /deps/venv/lib/python3.10/site-packages/opencv_contrib_python.libs/libcrypto-4b97533b.so.1.1 without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/opencv_contrib_python.libs/libcrypto-4b97533b.so.1.1
                                                 Module /deps/venv/lib/python3.10/site-packages/opencv_contrib_python.libs/libvpx-2c989c7f.so.8.0.0 without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/opencv_contrib_python.libs/libvpx-2c989c7f.so.8.0.0
                                                 Module /deps/venv/lib/python3.10/site-packages/opencv_contrib_python.libs/libopenblas-r0-f650aae0.3.3.so without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/opencv_contrib_python.libs/libopenblas-r0-f650aae0.3.3.so
                                                 Module /deps/venv/lib/python3.10/site-packages/opencv_contrib_python.libs/libQt5Core-39545cc7.so.5.15.0 without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/opencv_contrib_python.libs/libQt5Core-39545cc7.so.5.15.0
                                                 Module /deps/venv/lib/python3.10/site-packages/opencv_contrib_python.libs/libQt5Gui-a7aedf18.so.5.15.0 without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/opencv_contrib_python.libs/libQt5Gui-a7aedf18.so.5.15.0
                                                 Module /deps/venv/lib/python3.10/site-packages/opencv_contrib_python.libs/libQt5Widgets-e69d94fb.so.5.15.0 without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/opencv_contrib_python.libs/libQt5Widgets-e69d94fb.so.5.15.0
                                                 Module /deps/venv/lib/python3.10/site-packages/opencv_contrib_python.libs/libavutil-ac9b7a1d.so.57.28.100 without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/opencv_contrib_python.libs/libavutil-ac9b7a1d.so.57.28.100
                                                 Module /deps/venv/lib/python3.10/site-packages/opencv_contrib_python.libs/libavformat-0e2a2001.so.59.27.100 without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/opencv_contrib_python.libs/libavformat-0e2a2001.so.59.27.100
                                                 Module /deps/venv/lib/python3.10/site-packages/opencv_contrib_python.libs/libavcodec-402e4b05.so.59.37.100 without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/opencv_contrib_python.libs/libavcodec-402e4b05.so.59.37.100
                                                 Module /deps/venv/lib/python3.10/site-packages/opencv_contrib_python.libs/libssl-4e89c2e4.so.1.1 without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/opencv_contrib_python.libs/libssl-4e89c2e4.so.1.1
                                                 Module /deps/venv/lib/python3.10/site-packages/cv2/cv2.abi3.so without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/cv2/cv2.abi3.so
                                                 Module /deps/venv/lib/python3.10/site-packages/opencv_contrib_python.libs/libswresample-c26a2b7e.so.4.7.100 without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/opencv_contrib_python.libs/libswresample-c26a2b7e.so.4.7.100
                                                 Module /deps/venv/lib/python3.10/site-packages/opencv_contrib_python.libs/libQt5Test-c38a5234.so.5.15.0 without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/opencv_contrib_python.libs/libQt5Test-c38a5234.so.5.15.0
                                                 Module /deps/venv/lib/python3.10/site-packages/opencv_contrib_python.libs/libswscale-e41a6754.so.6.7.100 without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/opencv_contrib_python.libs/libswscale-e41a6754.so.6.7.100
                                                 Module /deps/venv/lib/python3.10/site-packages/opencv_contrib_python.libs/libpng16-7379b3c3.so.16.40.0 without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/opencv_contrib_python.libs/libpng16-7379b3c3.so.16.40.0
                                                 Module /deps/venv/lib/python3.10/site-packages/scipy/spatial/_qhull.cpython-310-x86_64-linux-gnu.so without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/scipy/spatial/_qhull.cpython-310-x86_64-linux-gnu.so
                                                 Module /deps/venv/lib/python3.10/site-packages/scipy/linalg/_interpolative.cpython-310-x86_64-linux-gnu.so without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/scipy/linalg/_interpolative.cpython-310-x86_64-linux-gnu.so
                                                 Module /deps/venv/lib/python3.10/site-packages/scipy/optimize/__nnls.cpython-310-x86_64-linux-gnu.so without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/scipy/optimize/__nnls.cpython-310-x86_64-linux-gnu.so
                                                 Module /deps/venv/lib/python3.10/site-packages/scipy/optimize/_cobyla.cpython-310-x86_64-linux-gnu.so without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/scipy/optimize/_cobyla.cpython-310-x86_64-linux-gnu.so
                                                 Module /deps/venv/lib/python3.10/site-packages/scipy/optimize/_lbfgsb.cpython-310-x86_64-linux-gnu.so without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/scipy/optimize/_lbfgsb.cpython-310-x86_64-linux-gnu.so
                                                 Module /deps/venv/lib/python3.10/site-packages/scipy/optimize/_trlib/_trlib.cpython-310-x86_64-linux-gnu.so without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/scipy/optimize/_trlib/_trlib.cpython-310-x86_64-linux-gnu.so
                                                 Module /deps/venv/lib/python3.10/site-packages/scipy/integrate/_lsoda.cpython-310-x86_64-linux-gnu.so without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/scipy/integrate/_lsoda.cpython-310-x86_64-linux-gnu.so
                                                 Module /deps/venv/lib/python3.10/site-packages/scipy/integrate/_dop.cpython-310-x86_64-linux-gnu.so without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/scipy/integrate/_dop.cpython-310-x86_64-linux-gnu.so
                                                 Module /deps/venv/lib/python3.10/site-packages/scipy/integrate/_vode.cpython-310-x86_64-linux-gnu.so without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/scipy/integrate/_vode.cpython-310-x86_64-linux-gnu.so
                                                 Module /deps/venv/lib/python3.10/site-packages/scipy/integrate/_quadpack.cpython-310-x86_64-linux-gnu.so without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/scipy/integrate/_quadpack.cpython-310-x86_64-linux-gnu.so
                                                 Module /deps/venv/lib/python3.10/site-packages/scipy/integrate/_odepack.cpython-310-x86_64-linux-gnu.so without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/scipy/integrate/_odepack.cpython-310-x86_64-linux-gnu.so
                                                 Module /deps/venv/lib/python3.10/site-packages/Pillow.libs/libwebp-3ee34a0b.so.7.1.6 without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/Pillow.libs/libwebp-3ee34a0b.so.7.1.6
                                                 Module /deps/venv/lib/python3.10/site-packages/scipy/special/_ellip_harm_2.cpython-310-x86_64-linux-gnu.so without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/scipy/special/_ellip_harm_2.cpython-310-x86_64-linux-gnu.so
                                                 Module /deps/venv/lib/python3.10/site-packages/scipy/special/_specfun.cpython-310-x86_64-linux-gnu.so without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/scipy/special/_specfun.cpython-310-x86_64-linux-gnu.so
                                                 Module /deps/venv/lib/python3.10/site-packages/scipy/special/_ufuncs.cpython-310-x86_64-linux-gnu.so without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/scipy/special/_ufuncs.cpython-310-x86_64-linux-gnu.so
                                                 Module /oneapi-lib/libpi_level_zero.so without build-id.
                                                 Module /oneapi-lib/libpi_level_zero.so
                                                 Module /oneapi-lib/libpi_opencl.so without build-id.
                                                 Module /oneapi-lib/libpi_opencl.so
                                                 Module /deps/venv/lib/python3.10/site-packages/Pillow.libs/libwebpmux-ddfacf1d.so.3.0.11 without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/Pillow.libs/libwebpmux-ddfacf1d.so.3.0.11
                                                 Module /deps/venv/lib/python3.10/site-packages/scipy/linalg/_flapack.cpython-310-x86_64-linux-gnu.so without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/scipy/linalg/_flapack.cpython-310-x86_64-linux-gnu.so
                                                 Module /deps/venv/lib/python3.10/site-packages/scipy/sparse/linalg/_eigen/arpack/_arpack.cpython-310-x86_64-linux-gnu.so without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/scipy/sparse/linalg/_eigen/arpack/_arpack.cpython-310-x86_64-linux-gnu.so
                                                 Module /deps/venv/lib/python3.10/site-packages/scipy/sparse/linalg/_dsolve/_superlu.cpython-310-x86_64-linux-gnu.so without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/scipy/sparse/linalg/_dsolve/_superlu.cpython-310-x86_64-linux-gnu.so
                                                 Module /deps/venv/lib/python3.10/site-packages/scipy.libs/libopenblasp-r0-23e5df77.3.21.dev.so without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/scipy.libs/libopenblasp-r0-23e5df77.3.21.dev.so
                                                 Module /deps/venv/lib/python3.10/site-packages/scipy/linalg/cython_lapack.cpython-310-x86_64-linux-gnu.so without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/scipy/linalg/cython_lapack.cpython-310-x86_64-linux-gnu.so
                                                 Module /deps/venv/lib/python3.10/site-packages/scipy/linalg/_fblas.cpython-310-x86_64-linux-gnu.so without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/scipy/linalg/_fblas.cpython-310-x86_64-linux-gnu.so
                                                 Module /deps/venv/lib/python3.10/site-packages/h5py.libs/libhdf5-45610c27.so.200.2.0 without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/h5py.libs/libhdf5-45610c27.so.200.2.0
                                                 Module /deps/venv/lib/python3.10/site-packages/Pillow.libs/libsharpyuv-9340467d.so.0.0.0 without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/scipy/linalg/cython_blas.cpython-310-x86_64-linux-gnu.so without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/scipy/linalg/cython_blas.cpython-310-x86_64-linux-gnu.so
                                                 Module /deps/venv/lib/python3.10/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so
                                                 Module /deps/venv/lib/python3.10/site-packages/Pillow.libs/libwebpdemux-785dd7eb.so.2.0.12 without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/scipy/linalg/_flinalg.cpython-310-x86_64-linux-gnu.so without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/scipy/linalg/_flinalg.cpython-310-x86_64-linux-gnu.so
                                                 Module /deps/venv/lib/python3.10/site-packages/scipy/sparse/linalg/_isolve/_iterative.cpython-310-x86_64-linux-gnu.so without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/scipy/sparse/linalg/_isolve/_iterative.cpython-310-x86_64-linux-gnu.so
                                                 Module /deps/venv/lib/python3.10/site-packages/h5py/_selector.cpython-310-x86_64-linux-gnu.so without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/h5py/_selector.cpython-310-x86_64-linux-gnu.so
                                                 Module /deps/venv/lib/python3.10/site-packages/h5py/h5l.cpython-310-x86_64-linux-gnu.so without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/h5py/h5l.cpython-310-x86_64-linux-gnu.so
                                                 Module /deps/venv/lib/python3.10/site-packages/h5py/h5o.cpython-310-x86_64-linux-gnu.so without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/h5py/h5o.cpython-310-x86_64-linux-gnu.so
                                                 Module /deps/venv/lib/python3.10/site-packages/h5py/h5fd.cpython-310-x86_64-linux-gnu.so without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/h5py/h5fd.cpython-310-x86_64-linux-gnu.so
                                                 Module /deps/venv/lib/python3.10/site-packages/tokenizers.libs/libpcre-9513aab5.so.1.2.0 without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/tokenizers.libs/libpcre-9513aab5.so.1.2.0
                                                 Module /deps/venv/lib/python3.10/site-packages/h5py/h5i.cpython-310-x86_64-linux-gnu.so without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/h5py/h5i.cpython-310-x86_64-linux-gnu.so
                                                 Module /deps/venv/lib/python3.10/site-packages/h5py/h5g.cpython-310-x86_64-linux-gnu.so without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/h5py/h5g.cpython-310-x86_64-linux-gnu.so
                                                 Module /deps/venv/lib/python3.10/site-packages/h5py/h5f.cpython-310-x86_64-linux-gnu.so without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/h5py/h5f.cpython-310-x86_64-linux-gnu.so
                                                 Module /deps/venv/lib/python3.10/site-packages/h5py/h5ds.cpython-310-x86_64-linux-gnu.so without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/h5py/h5ds.cpython-310-x86_64-linux-gnu.so
                                                 Module /deps/venv/lib/python3.10/site-packages/tokenizers.libs/libselinux-0922c95c.so.1 without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/tokenizers.libs/libselinux-0922c95c.so.1
                                                 Module /deps/venv/lib/python3.10/site-packages/h5py/h5d.cpython-310-x86_64-linux-gnu.so without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/h5py/h5d.cpython-310-x86_64-linux-gnu.so
                                                 Module /deps/venv/lib/python3.10/site-packages/h5py/_proxy.cpython-310-x86_64-linux-gnu.so without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/h5py/_proxy.cpython-310-x86_64-linux-gnu.so
                                                 Module /deps/venv/lib/python3.10/site-packages/h5py/h5t.cpython-310-x86_64-linux-gnu.so without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/h5py/h5t.cpython-310-x86_64-linux-gnu.so
                                                 Module /deps/venv/lib/python3.10/site-packages/tokenizers.libs/libkeyutils-dfe70bd6.so.1.5 without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/tokenizers.libs/libkeyutils-dfe70bd6.so.1.5
                                                 Module /deps/venv/lib/python3.10/site-packages/h5py/h5p.cpython-310-x86_64-linux-gnu.so without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/h5py/h5p.cpython-310-x86_64-linux-gnu.so
                                                 Module /deps/venv/lib/python3.10/site-packages/h5py/_conv.cpython-310-x86_64-linux-gnu.so without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/h5py/_conv.cpython-310-x86_64-linux-gnu.so
                                                 Module /deps/venv/lib/python3.10/site-packages/h5py/defs.cpython-310-x86_64-linux-gnu.so without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/h5py/defs.cpython-310-x86_64-linux-gnu.so
                                                 Module /deps/venv/lib/python3.10/site-packages/tokenizers.libs/libkrb5support-d0bcff84.so.0.1 without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/tokenizers.libs/libkrb5support-d0bcff84.so.0.1
                                                 Module /deps/venv/lib/python3.10/site-packages/tokenizers.libs/libk5crypto-b1f99d5c.so.3.1 without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/tokenizers.libs/libk5crypto-b1f99d5c.so.3.1
                                                 Module /deps/venv/lib/python3.10/site-packages/h5py/h5a.cpython-310-x86_64-linux-gnu.so without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/h5py/h5a.cpython-310-x86_64-linux-gnu.so
                                                 Module /deps/venv/lib/python3.10/site-packages/tokenizers.libs/libcom_err-2abe824b.so.2.1 without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/tokenizers.libs/libcom_err-2abe824b.so.2.1
                                                 Module /deps/venv/lib/python3.10/site-packages/h5py/h5z.cpython-310-x86_64-linux-gnu.so without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/h5py/h5z.cpython-310-x86_64-linux-gnu.so
                                                 Module /deps/venv/lib/python3.10/site-packages/h5py/h5ac.cpython-310-x86_64-linux-gnu.so without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/h5py/h5ac.cpython-310-x86_64-linux-gnu.so
                                                 Module /deps/venv/lib/python3.10/site-packages/h5py/_objects.cpython-310-x86_64-linux-gnu.so without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/h5py/_objects.cpython-310-x86_64-linux-gnu.so
                                                 Module /deps/venv/lib/python3.10/site-packages/tokenizers.libs/libkrb5-fcafa220.so.3.3 without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/tokenizers.libs/libkrb5-fcafa220.so.3.3
                                                 Module /deps/venv/lib/python3.10/site-packages/tokenizers.libs/libgssapi_krb5-497db0c6.so.2.2 without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/tokenizers.libs/libgssapi_krb5-497db0c6.so.2.2
                                                 Module /deps/venv/lib/python3.10/site-packages/h5py/h5s.cpython-310-x86_64-linux-gnu.so without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/h5py/h5s.cpython-310-x86_64-linux-gnu.so
                                                 Module /deps/venv/lib/python3.10/site-packages/tokenizers.libs/libcrypto-d3570994.so.1.0.2k without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/tokenizers.libs/libcrypto-d3570994.so.1.0.2k
                                                 Module /deps/venv/lib/python3.10/site-packages/h5py/utils.cpython-310-x86_64-linux-gnu.so without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/h5py/utils.cpython-310-x86_64-linux-gnu.so
                                                 Module /deps/venv/lib/python3.10/site-packages/h5py/h5.cpython-310-x86_64-linux-gnu.so without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/h5py/h5.cpython-310-x86_64-linux-gnu.so
                                                 Module /deps/venv/lib/python3.10/site-packages/h5py.libs/libhdf5_hl-408a1995.so.200.1.0 without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/h5py.libs/libhdf5_hl-408a1995.so.200.1.0
                                                 Module /deps/venv/lib/python3.10/site-packages/tokenizers.libs/libssl-cd1d6220.so.1.0.2k without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/tokenizers.libs/libssl-cd1d6220.so.1.0.2k
                                                 Module /deps/venv/lib/python3.10/site-packages/h5py/h5r.cpython-310-x86_64-linux-gnu.so without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/h5py/h5r.cpython-310-x86_64-linux-gnu.so
                                                 Module /deps/venv/lib/python3.10/site-packages/tokenizers/tokenizers.cpython-310-x86_64-linux-gnu.so without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/tokenizers/tokenizers.cpython-310-x86_64-linux-gnu.so
                                                 Module /deps/venv/lib/python3.10/site-packages/tensorflow/tsl/python/lib/core/pywrap_bfloat16.so without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/tensorflow/tsl/python/lib/core/pywrap_bfloat16.so
                                                 Module /oneapi-lib/libsycl.so.6.2.0 without build-id.
                                                 Module /oneapi-lib/libsycl.so.6.2.0
                                                 Module /oneapi-lib/intel64/libimf.so without build-id.
                                                 Module /oneapi-lib/intel64/libimf.so
                                                 Module /deps/venv/lib/python3.10/site-packages/h5py/h5pl.cpython-310-x86_64-linux-gnu.so without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/h5py/h5pl.cpython-310-x86_64-linux-gnu.so
                                                 Module /oneapi-lib/intel64/libsvml.so without build-id.
                                                 Module /oneapi-lib/intel64/libsvml.so
                                                 Module /oneapi-lib/intel64/libmkl_sycl.so.3 without build-id.
                                                 Module /oneapi-lib/intel64/libmkl_sycl.so.3
                                                 Module /deps/venv/lib/python3.10/site-packages/intel_extension_for_pytorch/lib/libintel-ext-pt-gpu.so without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/intel_extension_for_pytorch/lib/libintel-ext-pt-gpu.so
                                                 Module /oneapi-lib/intel64/libintlc.so.5 without build-id.
                                                 Module /oneapi-lib/intel64/libintlc.so.5
                                                 Module /deps/venv/lib/python3.10/site-packages/Pillow.libs/libharfbuzz-3543f599.so.0.60710.0 without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/Pillow.libs/libharfbuzz-3543f599.so.0.60710.0
                                                 Module /deps/venv/lib/python3.10/site-packages/h5py.libs/libaec-8db54129.so.0.0.10 without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/h5py.libs/libsz-60c3b967.so.2.0.1 without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/Pillow.libs/libXau-154567c4.so.6.0.0 without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/Pillow.libs/libXau-154567c4.so.6.0.0
                                                 Module /deps/venv/lib/python3.10/site-packages/h5py/_errors.cpython-310-x86_64-linux-gnu.so without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/h5py/_errors.cpython-310-x86_64-linux-gnu.so
                                                 Module /deps/venv/lib/python3.10/site-packages/Pillow.libs/libbrotlicommon-92722cb2.so.1 without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/Pillow.libs/libpng16-cb42a3c6.so.16.39.0 without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/Pillow.libs/libpng16-cb42a3c6.so.16.39.0
                                                 Module /deps/venv/lib/python3.10/site-packages/Pillow.libs/libfreetype-cb9caf6f.so.6.19.0 without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/Pillow.libs/libfreetype-cb9caf6f.so.6.19.0
                                                 Module /deps/venv/lib/python3.10/site-packages/Pillow.libs/libtiff-b9364ff1.so.6.0.0 without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/Pillow.libs/libtiff-b9364ff1.so.6.0.0
                                                 Module /deps/venv/lib/python3.10/site-packages/Pillow.libs/libopenjp2-78c47f58.so.2.5.0 without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/Pillow.libs/libopenjp2-78c47f58.so.2.5.0
                                                 Module /deps/venv/lib/python3.10/site-packages/Pillow.libs/libjpeg-f2134fdd.so.62.3.0 without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/Pillow.libs/libjpeg-f2134fdd.so.62.3.0
                                                 Module /deps/venv/lib/python3.10/site-packages/numpy.libs/libquadmath-96973f99.so.0.0.0 without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/numpy.libs/libquadmath-96973f99.so.0.0.0
                                                 Module /oneapi-lib/libOpenCL.so.1.2 without build-id.
                                                 Module /oneapi-lib/libOpenCL.so.1.2
                                                 Module /deps/venv/lib/python3.10/site-packages/numpy.libs/libgfortran-040039e1.so.5.0.0 without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/numpy.libs/libgfortran-040039e1.so.5.0.0
                                                 Module /deps/venv/lib/python3.10/site-packages/Pillow.libs/libbrotlidec-db4b3db6.so.1.0.9 without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/Pillow.libs/liblzma-95592ee6.so.5.4.2 without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/Pillow.libs/liblzma-95592ee6.so.5.4.2
                                                 Module /deps/venv/lib/python3.10/site-packages/numpy.libs/libopenblas64_p-r0-742d56dc.3.20.so without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/numpy.libs/libopenblas64_p-r0-742d56dc.3.20.so
                                                 Module /deps/venv/lib/python3.10/site-packages/Pillow.libs/libxcb-3e83370d.so.1.1.0 without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/Pillow.libs/libxcb-3e83370d.so.1.1.0
                                                 Module /deps/venv/lib/python3.10/site-packages/numpy/core/_multiarray_umath.cpython-310-x86_64-linux-gnu.so without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/numpy/core/_multiarray_umath.cpython-310-x86_64-linux-gnu.so
                                                 Module /deps/venv/lib/python3.10/site-packages/numpy/linalg/_umath_linalg.cpython-310-x86_64-linux-gnu.so without build-id.
                                                 Module /deps/venv/lib/python3.10/site-packages/numpy/linalg/_umath_linalg.cpython-310-x86_64-linux-gnu.so
                                                 Stack trace of thread 193:
                                                 #0  0x00007fa12a4520e0 n/a (/usr/lib/x86_64-linux-gnu/libze_intel_gpu.so.1.3.26241.33 + 0x39f0e0)
                                                 ELF object binary architecture: AMD x86-64

This segfault could be outside the scope of this project so I can post elsewhere if it makes sense.

@Nuullll
Copy link
Owner

Nuullll commented Aug 9, 2023

Can you try to manually disable ipexrun in webui.sh? https://github.com/vladmandic/automatic/blob/417ef540039e2d89a02cefb4fea2d767a5ba1380/webui.sh#L99-L106

#0  0x00007fa12a4520e0 n/a (/usr/lib/x86_64-linux-gnu/libze_intel_gpu.so.1.3.26241.33 + 0x39f0e0)

Seems to be an issue of Level Zero compute runtime.

BTW, compute runtime is only validated on Ubuntu 22.04 LTS (see release notes):

All platforms were validated on Ubuntu 22.04 LTS with stock kernel, unless noted otherwise.

@simonlui
Copy link
Author

Disabling ipexrun works. Doing a batch of 15 images worked without the corruption I saw in earlier IPEX releases with forks of the webui that had Intel support. One question, does ipexrun help out with further optimizations with regards to the image generation? It would be nice if I could figure out what is going on with it but unfortunately, debugging what went wrong would be out of the scope of this project.

image

For your information, Fedora builds its own Level Zero compute runtime packages, which it occasionally forks off releases from the Github here. Level Zero is also separately built here so you can install them directly from Fedora's repositories. These two packages are the only packages I didn't use Intel's official releases of. I know Intel doesn't validate or really support Fedora and realistically, you didn't have to either with this project. Thank you for helping me out with figuring this out and for your tip.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants