Giter Club home page Giter Club logo

Comments (6)

erikwijmans avatar erikwijmans commented on September 12, 2024 1

If you system has a non-standard EGL install, i.e. if you need to do something like export LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/nvidia-opengl:${LD_LIBRARY_PATH}, you will likely need to mount /usr/lib/x86_64-linux-gnu/nvidia-opengl (add -v /usr/lib/x86_64-linux-gnu/nvidia-opengl) and set LD_LIBRARY_PATH in the docker container also.

from habitat-challenge.

srama2512 avatar srama2512 commented on September 12, 2024

Thanks! It works now.

from habitat-challenge.

rpartsey avatar rpartsey commented on September 12, 2024

If you system has a non-standard EGL install, i.e. if you need to do something like export LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/nvidia-opengl:${LD_LIBRARY_PATH}, you will likely need to mount /usr/lib/x86_64-linux-gnu/nvidia-opengl (add -v /usr/lib/x86_64-linux-gnu/nvidia-opengl) and set LD_LIBRARY_PATH in the docker container also.

Hi, @erikwijmans
I faced the same issue as @srama2512 described above

But the path that you suggested to mount -v /usr/lib/x86_64-linux-gnu/nvidia-opengl is missing on my machine. (It looks like the nvidia-opengl is not installed on the machine)

Could you, please, explain to me what this library is used for and how can I install it.

I'm trying to google nvidia-opengl but unable to find

UPD:
I tried the suggestions listed here, but nothing worked on my machine.
Also, I created a new GPU instance on the cloud and following this comment navigated to https://hub.docker.com/r/nvidia/cudagl and run all installation commands listed in Dockerfiles in section CUDA 10.1 update 2 + OpenGL (glvnd 1.2) (10.1/base/Dockerfile) + (glvnd/devel/Dockerfile) but still get the error described above.

Would be very grateful if somebody could help me to resolve this issue or provide the list of instructions you run to set up the machine.

from habitat-challenge.

vincent341 avatar vincent341 commented on September 12, 2024

Hi @rpartsey , I met the same problem as you did. May I know if you have solved it? Thanks very much.

from habitat-challenge.

rpartsey avatar rpartsey commented on September 12, 2024

Hi @rpartsey , I met the same problem as you did. May I know if you have solved it? Thanks very much.

Hi @vincent341
Yes, I faced the same problem.
The root cause was incomplete CUDA installation.

Some packages require CUDA development tools (that if I'm not mistaken should be properly installed either on your computer(host) or inside the docker container).

But base nvidia docker images doesn't include them.
See Overview of Images section https://hub.docker.com/r/nvidia/cuda/.

Inspired by this Stack Overflow response, I used devel docker image as an example and added the following RUN command that solved the issue for me

FROM fairembodied/habitat-challenge:testing_2020_habitat_base_docker

ARG TORCH_CUDA_ARCH_LIST="6.0 6.1 7.0+PTX 7.5+PTX"

RUN apt-get update && apt-get install -y --no-install-recommends \
    cuda-nvml-dev-$CUDA_PKG_VERSION \
    cuda-command-line-tools-$CUDA_PKG_VERSION \
    cuda-nvprof-$CUDA_PKG_VERSION \
    cuda-npp-dev-$CUDA_PKG_VERSION \
    cuda-libraries-dev-$CUDA_PKG_VERSION \
    cuda-minimal-build-$CUDA_PKG_VERSION \
    libcublas-dev=10.2.1.243-1 \
    libnccl-dev=$NCCL_VERSION-1+cuda10.1 \
    && apt-mark hold libnccl-dev \
    && rm -rf /var/lib/apt/lists/*

# ...

from habitat-challenge.

vincent341 avatar vincent341 commented on September 12, 2024

Hi @rpartsey ,

Thanks very much for your instructions. Let me try. I'm still struggling with it now.

from habitat-challenge.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.