Giter VIP home page Giter VIP logo

Comments (10)

GELIELEO avatar GELIELEO commented on August 19, 2024 4

@ahmedosman Hi, How did you solve your problem. Can you share your experience please?

from igibson.

shsjxzh avatar shsjxzh commented on August 19, 2024 1

I also meet the similar problem. I successfully pass all the tests but fail in running demo.py. The terminal information is as follows:
python demo.py
/home/zxx5101/Desktop/GibsonEnvV2/gibson2/init.py:5: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
global_config = yaml.load(f)
using asset: path /home/zxx5101/Desktop/GibsonEnvV2/gibson2/assets dataset path: /home/zxx5101/Desktop/GibsonEnvV2/gibson2/assets/dataset
pybullet build time: Jul 26 2019 16:56:55
/home/zxx5101/Desktop/GibsonEnvV2/gibson2/utils/utils.py:8: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
config_data = yaml.load(f)
startThreads creating 1 threads.
starting thread 0
started thread 0
argc=2
argv[0] = --unused
argv[1] = --start_demo_name=Physics Server
ExampleBrowserThreadFunc started
X11 functions dynamically loaded using dlopen/dlsym OK!
X11 functions dynamically loaded using dlopen/dlsym OK!
Creating context
Created GL 3.3 context
Direct GLX rendering context obtained
Making context current
GL_VENDOR=NVIDIA Corporation
GL_RENDERER=GeForce GTX 1080 Ti/PCIe/SSE2
GL_VERSION=3.3.0 NVIDIA 430.14
GL_SHADING_LANGUAGE_VERSION=3.30 NVIDIA via Cg compiler
pthread_getconcurrency()=0
Version = 3.3.0 NVIDIA 430.14
Vendor = NVIDIA Corporation
Renderer = GeForce GTX 1080 Ti/PCIe/SSE2
b3Printf: Selected demo: Physics Server
startThreads creating 1 threads.
starting thread 0
started thread 0
MotionThreadFunc thread started
ven = NVIDIA Corporation
number of devices found 2
Loaded EGL 1.5 after reload.
Failed to make context current (eglError: 12288)

from igibson.

shsjxzh avatar shsjxzh commented on August 19, 2024 1

@ahmedosman Sorry, no. I use another virtual environment called "ai2thor" as a substitution.

from igibson.

fxia22 avatar fxia22 commented on August 19, 2024 1

@ahmedosman Can you try to install with USE_GLAD set to FALSE in https://github.com/StanfordVL/GibsonEnvV2/blob/master/gibson2/core/render/CMakeLists.txt and try again? Thanks.

from igibson.

ahmedosman avatar ahmedosman commented on August 19, 2024

@shsjxzh were you able to resolve this error?

from igibson.

ahmedosman avatar ahmedosman commented on August 19, 2024

@fxia22 The error is resolved (Ubuntu 18.04). I think this issue could be closed.

from igibson.

ahmedosman avatar ahmedosman commented on August 19, 2024

@ahmedosman Can you try to install with USE_GLAD set to FALSE in https://github.com/StanfordVL/GibsonEnvV2/blob/master/gibson2/core/render/CMakeLists.txt and try again? Thanks.

git pull to have the latest commit and follow the instructions suggest above.

from igibson.

lpeng8910 avatar lpeng8910 commented on August 19, 2024

Hello! I am also still running into the same error "Unable to initialize EGL" on Ubuntu 18.04. I followed steps 1-3 of the troubleshooting guide and the output of my ldconfig -p | grep EGL is below:

libEGL_nvidia.so.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libEGL_nvidia.so.0
libEGL_mesa.so.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libEGL_mesa.so.0
libEGL.so.1 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libEGL.so.1

Tried setting USE_GLAD to FALSE but then ran into more build errors, i pasted the error part of the message below:

...
    [ 50%] Linking CXX executable /home/lisa/Documents/iGibson/gibson2/render/mesh_renderer/build/test_device
/usr/bin/ld: cannot find -lEGL
    collect2: error: ld returned 1 exit status
    CMakeFiles/query_devices.dir/build.make:148: recipe for target '/home/lisa/Documents/iGibson/gibson2/render/mesh_renderer/build/query_devices' failed
    make[2]: *** [/home/lisa/Documents/iGibson/gibson2/render/mesh_renderer/build/query_devices] Error 1
...

Any help would be appreciated.

from igibson.

mjlbach avatar mjlbach commented on August 19, 2024

Hi, we've recently updated the installation guide: http://svl.stanford.edu/igibson/docs/installation.html#system-requirements

The most common reasons we have discovered that reproduce this EGL issue are:

  1. There is a bug with cgroups on certain versions of the nvidia 465.x and 450.x drivers that prevents opening an EGL context on all but GPU 0, please update, or have your cluster administrator update your nvidia driver.
  2. You are missing libegl-dev (ubuntu/debian package)

from igibson.

mjlbach avatar mjlbach commented on August 19, 2024

Closing because I believe this was addressed with our latest documentation improvements. Please let us know if this is not the case.

from igibson.

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.