Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

GLSL Program link failed: No details provided. #95

Open
DerekGrant opened this issue Mar 29, 2022 · 6 comments
Open

GLSL Program link failed: No details provided. #95

DerekGrant opened this issue Mar 29, 2022 · 6 comments

Comments

@DerekGrant
Copy link

When I am preprocessing, the GLSL program link failed.

I am not sure what can cause the GLSL issue, I had successfully built the project. Do you have any clue? Thanks!

GLSL Program link failed: No details provided.
OpenGL Error 500: GL_INVALID_ENUM: An unacceptable value is specified for an enumerated argument.
In: /usr/local/include/pangolin/gl/gl.hpp, line 205
OpenGL Error 500: GL_INVALID_ENUM: An unacceptable value is specified for an enumerated argument.
In: /usr/local/include/pangolin/gl/gl.hpp, line 205
DeepSdf - INFO - /tmp/ShapeNetV2/04256520/113a2544e062127d79414e04132a8bef/models/model_normalized.obj --> data/SdfSamples/ShapeNetV2/04256520/113a2544e062127d79414e04132a8bef.npz
DeepSdf - INFO - /tmp/ShapeNetV2/04256520/117c47d75798788a5506ead0b132904c/models/model_normalized.obj --> data/SdfSamples/ShapeNetV2/04256520/117c47d75798788a5506ead0b132904c.npz
DeepSdf - INFO - /tmp/ShapeNetV2/04256520/117f6ac4bcd75d8b4ad65adb06bbae49/models/model_normalized.obj --> data/SdfSamples/ShapeNetV2/04256520/117f6ac4bcd75d8b4ad65adb06bbae49.npz
GLSL Shader compilation failed: <string>:
0(8) : error C7528: OpenGL reserves names starting with 'gl_': gl_PrimitiveID
0(11) : warning C7555: 'varying' is deprecated, use 'in/out' instead
@Haodong-Alex-Yao
Copy link

I encountered the same issue. Please let me know if anyone solves it.

@PoopBear1
Copy link

same issue, cannot figure out what's going on

@chivee
Copy link

chivee commented Sep 17, 2022

same problem here

1 similar comment
@limhoyeon
Copy link

same problem here

@philippwulff
Copy link

philippwulff commented Jan 8, 2023

Same issue unfortunately.

GLSL Program link failed: No details provided.
OpenGL Error 500: GL_INVALID_ENUM: An unacceptable value is specified for an enumerated argument.
In: /usr/local/include/pangolin/gl/gl.hpp, line 205
DeepSdf - INFO - /mnt/hdd/ShapeNetCore.v2/04256520/15d59eaf24645f501030665054ebb2a9/models/model_normalized.obj --> data/SdfSamples/ShapeNetV2/04256520/15d59eaf24645f501030665054ebb2a9.npz
DeepSdf - INFO - /mnt/hdd/ShapeNetCore.v2/04256520/15fad17654ddfd3c33defcb28e53dee4/models/model_normalized.obj --> data/SdfSamples/ShapeNetV2/04256520/15fad17654ddfd3c33defcb28e53dee4.npz
GLSL Shader compilation failed: <string>:
0(8) : error C7528: OpenGL reserves names starting with 'gl_': gl_PrimitiveID
0(11) : warning C7555: 'varying' is deprecated, use 'in/out' instead

Did you solve this?

@philippwulff
Copy link

Commenting out the line
https://github.com/facebookresearch/DeepSDF/blob/master/src/ShaderProgram.cpp#L97
as described here solves the problem.
I still get an error:

OpenGL Error 500: GL_INVALID_ENUM: An unacceptable value is specified for an enumerated argument.
In: /usr/local/include/pangolin/gl/gl.hpp, line 205
DeepSdf - INFO - /mnt/hdd/ShapeNetCore.v2/04256520/1299643f99c8a66df59decd9cfc8a5bb/models/model_normalized.obj --> data/SdfSamples/ShapeNetV2/04256520/1299643f99c8a66df59decd9cfc8a5bb.npz

The .npz files are generated, albeit at a very slow rate ...

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

6 participants