-
Notifications
You must be signed in to change notification settings - Fork 8
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
nividia libGL.so lookup problem #2
Comments
Tough one, o idea i'm afraid :/ Maybe the GLFW guys have an idea?
|
Programs that directly use GLFW work correctly. I looked now into the strace output to see which files were actually tried to find a libGL.so. It seems as if Java is overriding the lookup paths..
|
When using lwjgl backend the output is slightly different - I mean the libGL.so.1 instead of libGL.so
|
We probably link against something we shouldn't link against. Not sure what
|
hmm, probably the applications I tried use a different method than _GLFW_HAS_DLOPEN. Flipping the order in glfw-3.0/src/glx_context.c makes it work for me: char* libGL_names[ ] = |
Great observation. We could just fix it up in our GLFW fork (which we
|
yea, just found that this has already been fixed upstream.. :) |
On Ubuntu 14.04 glfw seems to use /usr/lib/x86_64-linux-gnu/libGL.so -> mesa/libGL.so instead of /usr/lib/nvidia-304/libGL.so.304.117. According to
the nvidia library should be used by default, I guess. Running a jglfw application with LD_LIBRARY_PATH=/usr/lib/nvidia-304/ works on the other hand. Any idea what might cause this problem?
The text was updated successfully, but these errors were encountered: