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

GLSL 1.5.0 is not supported #62

Closed
sanjeevkoppal opened this issue Feb 10, 2021 · 14 comments
Closed

GLSL 1.5.0 is not supported #62

sanjeevkoppal opened this issue Feb 10, 2021 · 14 comments

Comments

@sanjeevkoppal
Copy link

Hi,

I followed the instructions for Gibson2 installation. When I run the demo code test:

I get this error:
GLSL 1.5.0 is not supported. Supported versions are ....

I did retry the installation with USE_GLAD set to FALSE in CMakeLists, but this resulted in the installation crashing.

Any ideas on the next steps I can take?

@fxia22
Copy link
Collaborator

fxia22 commented Feb 10, 2021

Can you provide a bit more information about your platform? (os, nvidia driver version, etc)

Can you also show the output of glxinfo? Thanks!

@fxia22
Copy link
Collaborator

fxia22 commented Feb 10, 2021

Judging from a few posts I read online a potential solution would be to add environment variable
MESA_GL_VERSION_OVERRIDE=3.2 or MESA_GL_VERSION_OVERRIDE=3.3, not sure what is the intuition behind it.

source:
OpenHantek/openhantek#319
https://discourse.slicer.org/t/error-glsl-1-50-is-not-supported/10083

@sanjeevkoppal
Copy link
Author

Hi.

I am on Linux, specifically a Red Hat Enterprise Server.
I am using an NVIDIA GeForce GPU with 440.64 version driver and cuda version 10.2 (those numbers from nvidia-smi)
When I do ldcongif -p | grep EGL I can see
image

When I run glxinfo, it gives an unknown command error. Would you happen to know where the command is located?

@fxia22
Copy link
Collaborator

fxia22 commented Feb 10, 2021

glxinfo is in mesa-utils in ubuntu, https://packages.ubuntu.com/search?keywords=mesa-utils

I am not sure where it is on redhat.

judging from your ldconfig it looks fine because you have libEGL_nvidia installed.

@sanjeevkoppal
Copy link
Author

Judging from a few posts I read online a potential solution would be to add environment variable
MESA_GL_VERSION_OVERRIDE=3.2 or MESA_GL_VERSION_OVERRIDE=3.3, not sure what is the intuition behind it.

source:
OpenHantek/openhantek#319
https://discourse.slicer.org/t/error-glsl-1-50-is-not-supported/10083

Do you know where I would edit this?

@sanjeevkoppal
Copy link
Author

I just want to say that I ran the following on the Linux command line:
export MESA_GL_VERSION_OVERRIDE=3.3

Now the error does not show up. For a split second I can see the environment, but then it seg faults.

@ChengshuLi
Copy link
Member

ChengshuLi commented Feb 10, 2021 via email

@fxia22
Copy link
Collaborator

fxia22 commented Feb 10, 2021

I guess it should not be trying to use openGL from mesa in the first place. Can you check the output of glxinfo, that would be the most informative. Other debug guides on this issue can be found in http://svl.stanford.edu/igibson/docs/issues.html

@sanjeevkoppal
Copy link
Author

sanjeevkoppal commented Feb 10, 2021

I tried both env_example and demo_static. Here is the output from demo_static:
image

@fxia22
Copy link
Collaborator

fxia22 commented Feb 10, 2021

Ok, this is very helpful, it is showing you are using mesa as openGL renderer, but it should be using nvidia openGL, otherwise you are not using the GPU. It would be good to figure out why nvidia opengl is not used.

Are you operating locally or trying to connect over ssh?

@sanjeevkoppal
Copy link
Author

I am operating over an interactive desktop run by TurboVNC (setup by the server management). I start this session on a GPU.

I understood what you said about using nvidia openGL. I am not sure about how to set that up, but I will investigate.

@sanjeevkoppal
Copy link
Author

Been investigating, but no luck. You can see from my previous posts that both Mesa and Nvidia openGL are installed, and yet I cannot get it to point only to the Nvidia open gl. Any suggestions?

@sanjeevkoppal
Copy link
Author

Also, glxinfo is showing no command found.

@sanjeevkoppal
Copy link
Author

Folks, believe it or not, it started working. I changed multiple things at once, so I am not sure what it was:

  1. Added an ubuntu linux container module
  2. Increased GPU memory (my bet is on this)
  3. So far the static has worked.
    Thanks for your assistance.
    image

dnandha pushed a commit to dnandha/iGibson that referenced this issue Feb 18, 2021
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

3 participants