RuntimeError: Attached fragment shader is not compiled.
See original GitHub issueHi , I ran visualize_voxels.py according to your README, but got
File "E:/Github/semantic-kitti-api/visualize_voxels.py", line 599, in <module>
window = Window()
File "E:/Github/semantic-kitti-api/visualize_voxels.py", line 108, in __init__
self.initializeGL()
File "E:/Github/semantic-kitti-api/visualize_voxels.py", line 212, in initializeGL
self.program.link()
File "E:\Github\semantic-kitti-api\auxiliary\glow.py", line 271, in link
raise RuntimeError(str(msg.decode("utf-8")))
RuntimeError: Attached fragment shader is not compiled.
libpng warning: iCCP: cHRM chunk does not match sRGB
The library is same to requirement.txt and OpenGL is test well. Is there anyone can help me?
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (2 by maintainers)
Top Results From Across the Web
JJBA:ASB Attached fragment shader is not compiled. #4028
F {rsx::thread} class gl::glsl::link_exception thrown: linkage failed: 'Attached fragment shader is not compiled. ... Could it be an issue with ...
Read more >glsl VertexShader/FragmentShader refuse to compile in ...
I am completely stumped and have no idea what is causing the ERROR since i can find no error with the code and...
Read more >RuntimeError: Fragment shader failed - Cesium Community
I have attached tileset below, please have a look in it. tileset.zip (1.0 KB). Since data (b3dm file) size is huge, I was...
Read more >Fragment Shader Not Compiling & glattachShader Crashing
Fragment Shader doesn't seem to be compiling since I can compile it with junk source code, and whenever I attach it to the...
Read more >Source code for fsleyes.gl.shaders.glsl.program
:arg fragSrc: String containing fragment shader source code. ... the program after compilation, which fails due to texture data not being bound at...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Hi, @yanx27 ! I had exactly the same problem yesterday. I also tried to run ’ visualize_voxels.py-on Windows. After several hours of trying to solve this problem, I realize that perhaps OpenGL calculations are not happening on GPU. After switching all calculations to the GPU via Nvidia manager, the script started working! So you definitely have a chance to deploy this under Windows. I hope this helps you!
No. Nothing in particular, just installed the needed dependencies with either pip or conda (glfw, pyopengl, imgui).
I had the same error:
raise RuntimeError(str(msg.decode("utf-8")))RuntimeError: Attached fragment shader is not compiled.Just changed the configuration on the Nvidia Control Panel as mentioned and then started working.