Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix libEGL not found or initialization errors for comfyui nodes #117

Open
Lumilie opened this issue Nov 4, 2024 · 0 comments
Open

fix libEGL not found or initialization errors for comfyui nodes #117

Lumilie opened this issue Nov 4, 2024 · 0 comments

Comments

@Lumilie
Copy link

Lumilie commented Nov 4, 2024

Hey,

I've tried to use ComfyUI-Depthflow-Nodes with this comfyui-docker-image, but it's failing due to "libEGL.so" missing. This issue would describe how to fix it within the dockerfile: akatz-ai/ComfyUI-Depthflow-Nodes#8:

# (Ubuntu 22.04)
RUN apt update && apt install -y libegl1-mesa libglvnd-dev libglvnd0
RUN mkdir -p /usr/share/glvnd/egl_vendor.d
RUN echo '{"file_format_version":"1.0.0","ICD":{"library_path":"/usr/lib/x86_64-linux-gnu/libEGL_nvidia.so.0"}}' > /usr/share/glvnd/egl_vendor.d/10_nvidia.json

# Could also be important
ENV NVIDIA_DRIVER_CAPABILITIES="all"
ENV NVIDIA_VISIBLE_DEVICES="all"

Do you think it would be possible to include in this image?

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

No branches or pull requests

1 participant