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

White OSGView & GLSL Version Not Supported #151

Open
hpuhr opened this issue Jun 1, 2020 · 3 comments
Open

White OSGView & GLSL Version Not Supported #151

hpuhr opened this issue Jun 1, 2020 · 3 comments
Assignees
Labels

Comments

@hpuhr
Copy link
Owner

hpuhr commented Jun 1, 2020

When the OSGView is started on older, unsupported Intel graphics cards the OSGView only show a white window and the following error messages are logged in the console:

"
...
glLinkProgram 0x1af6a320"" FAILED

VERTEX glCompileShader "main(vertex)" FAILED
VERTEX Shader "main(vertex)" infolog:
0:1(10): error: GLSL 3.30 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, 3.00 ES, and 3.10 ES

FRAGMENT glCompileShader "main(fragment)" FAILED
FRAGMENT Shader "main(fragment)" infolog:
0:1(10): error: GLSL 3.30 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, 3.00 ES, and 3.10 ES

Program "" infolog:
error: linking with uncompiled/unspecialized shadererror: linking with uncompiled/unspecialized shadererror: linking with uncompiled/unspecialized shadererror: linking with uncompiled/unspecialized shadererror: linking with uncompiled/unspecialized shadererror: linking with uncompiled/unspecialized shadererror: linking with uncompiled/unspecialized shadererror: linking with uncompiled/unspecialized shadererror: linking with uncompiled/unspecialized shadererror: linking with uncompiled/unspecialized shadererror: linking with uncompiled/unspecialized shadererror: linking with uncompiled/unspecialized shader
glLinkProgram 0x82eefa0"" FAILED

"

This is due to the the used graphics libraries OpenSceneGraph and osgEarth depending on shaders defined in GLSL 3.30 (shading language version) and the used graphics card driver not supporting this version of shaders.

There is a tested a workaround: There exists the issue that in some cases the shaders are supported in the used Mesa graphics driver, but are not detected correctly. One can override the reported OpenGL version for one application using a system variable and start the app in that mode using:

MESA_GL_VERSION_OVERRIDE=3.3 ./ATSDB-v0.5.3.AppImage

At least on the authors workstation with an Intel graphics card this resolved the issue.

It is currently being investigated if that can be recommended. If you encountered that issue please contact the author if that workaround worked for you.

@hpuhr hpuhr added the wontfix label Jun 1, 2020
@hpuhr hpuhr self-assigned this Jun 1, 2020
@hpuhr
Copy link
Owner Author

hpuhr commented Jun 2, 2020

The workaround has been confirmed by two different users, and is now the recommended option to mitigate this issue.
If this was not the case for you please contact the author.

@moaz007
Copy link

moaz007 commented Mar 1, 2024

I am having this issue when i simulate my omnetpp.ini. I have already tried MESA_GL_VERSION_OVERRIDE=3.3 in linux terminal but still the issue persists. Can you please elaborate if i am doing something wrong. I am literally trying to run the inbuilt Boston example.

@hpuhr
Copy link
Owner Author

hpuhr commented Mar 1, 2024

Unfortunately no. This issue is related to graphics card / driver issues, which are not my expertise and out of scope for this project. If the issue persists the final resort would be to use a different workstation / OS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants