Many profiles unavailable on ubuntu
Posted by
Martin on
Sep 29, 2012; 1:35pm
URL: https://forum.jogamp.org/Many-profiles-unavailable-on-ubuntu-tp4026313.html
Hi,
Trying to run a depth peeling program on ubuntu lead me to an exception saying many profiles can't be found.
The program is almost the same than the depth peeling example provided in JOGL demos, and is using JOGL2 rc5 (
http://www.jzy3d.org/misc/depthpeeling/org.jogl.demos.dualdepthpeeling.zip).
Do you have an idea why it can't find profiles?
I recently updated nvidia drivers as follow:
sudo apt-get install nvidia-current
Cheers,
Martin
----------------------
Info: XInitThreads() called for concurrent Thread support
javax.media.opengl.GLException: X11GLXDrawableFactory - Could not initialize shared resources for :0
at jogamp.opengl.x11.glx.X11GLXDrawableFactory$SharedResourceImplementation.createSharedResource(X11GLXDrawableFactory.java:267)
at jogamp.opengl.SharedResourceRunner.run(SharedResourceRunner.java:261)
at java.lang.Thread.run(Thread.java:679)
Caused by: java.lang.NullPointerException
at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:419)
at jogamp.opengl.x11.glx.X11GLXDrawableFactory$SharedResourceImplementation.createSharedResource(X11GLXDrawableFactory.java:246)
... 2 more
Exception in thread "main" javax.media.opengl.GLException: Profiles [GL4bc, GL4, GL3bc, GL3, GL2, GLES2] not available on device null
at javax.media.opengl.GLProfile.get(GLProfile.java:690)
at javax.media.opengl.GLProfile.get(GLProfile.java:700)
at javax.media.opengl.GLProfile.getMaxProgrammable(GLProfile.java:579)
at demos.dualDepthPeeling.DualDepthPeeling.InitGL(DualDepthPeeling.java:523)
at demos.dualDepthPeeling.DualDepthPeeling.<init>(DualDepthPeeling.java:134)
at demos.dualDepthPeeling.DualDepthPeeling.main(DualDepthPeeling.java:837)