The JOGL display window is completely blank (black). This is the case in my own code as well as the JOGL demos (accessed via http://jogamp.org/jogl-demos/www/). No errors are displayed, and the java applications continues as normal but without any graphics. My machine: I use a Toshiba Portege Z835-P370. I'm currently running Arch Linux. Output from uname -a is "Linux steve-ultrabook 3.6.11-1-ARCH #1 SMP PREEMPT Tue Dec 18 08:57:15 CET 2012 x86_64 GNU/Linux". I'm using the latest version of the openjdk (1.7.0_09). I also installed the Oracle JDK 1.6 thinking that it would solve the issue but JOGL doesn't work properly in that either (same issue). I verified that OpenGL works properly by running glxgears. Last I checked (June 2012), JOGL was working fine with whatever packages were current in Arch at the time. In addition, I also tried a few different versions of JOGL (2.0-rc6, 2.0-rc9, 2.0-rc11): none worked. I really have no idea what to try at this point but I'd like to get JOGL working again.
I just wiped my root partition and reinstalled Arch Linux from scratch using the latest install media but I'm still having the same problem. Prior to that, I tried installing older versions of mesa but that didn't help either. I also tried changing the xf86-video-intel driver acceleration method but that didn't fix it. I booted using an ubuntu live usb and it works fine on that. If anyone has any ideas on what else I can downgrade or uninstall to see where the issue might be, that would be great.
After running the Gears demo with the logging and debug settings turned on, as described in http://jogamp.org/wiki/index.php/Jogl_FAQ#Detailed_Bug_Information, I got this output: Gears: Init: AWT-GLCanvas[Realized true, jogamp.opengl.x11.glx.X11OnscreenGLXDrawable, Factory jogamp.opengl.x11.glx.X11GLXDrawableFactory@69824fe7, handle 0x180009e, Drawable size 298x267, AWT pos 1/32, size 298x267, visible true, AWTGraphicsConfiguration[AWTGraphicsScreen[AWTGraphicsDevice[type .awt, connection :0.0, unitID 0, awtDevice X11GraphicsDevice[screen=0], handle 0x0], idx 0], chosen GLCaps[glx vid 0x9f, fbc 0x69: rgba 0x8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms: 24/8/0, dbl, mono , hw, GLProfile[GL3bc/GL3bc.hw], on-scr[.]], requested GLCaps[rgba 0x8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms: 16/0/0, dbl, mono , hw, GLProfile[GL3bc/GL3bc.hw], on-scr[.]], X11GraphicsConfig[dev=X11GraphicsDevice[screen=0],vis=0x9f], encapsulated X11GLXGraphicsConfiguration[X11GraphicsScreen[X11GraphicsDevice[type .x11, connection :0, unitID 0, handle 0x7f3ce0296850, jogamp.nativewindow.jawt.JAWTUtil$2@6a4bfcce], idx 0], visualID 0x9f, fbConfigID 0x69, requested GLCaps[rgba 0x8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms: 16/0/0, dbl, mono , hw, GLProfile[GL3bc/GL3bc.hw], on-scr[.]], chosen GLCaps[glx vid 0x9f, fbc 0x69: rgba 0x8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms: 24/8/0, dbl, mono , hw, GLProfile[GL3bc/GL3bc.hw], on-scr[.]]]]] Chosen GLCapabilities: GLCaps[glx vid 0x9f, fbc 0x69: rgba 0x8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms: 24/8/0, dbl, mono , hw, GLProfile[GL3bc/GL3bc.hw], on-scr[.]] INIT GL IS: jogamp.opengl.gl4.GL4bcImpl GL_VENDOR: Intel Open Source Technology Center GL_RENDERER: Mesa DRI Intel(R) Sandybridge Mobile GL_VERSION: 3.1 Mesa 9.0.1 gear1 list created: 0 gear2 list created: 0 gear3 list created: 0 Gears: Reshape 0/0 298x267 X11Util.Display: Shutdown (JVM shutdown: true, open (no close attempt): 1/1, reusable (open, marked uncloseable): 0, pending (open in creation order): 1) X11Util: Open X11 Display Connections: 1 X11Util: Open[0]: NamedX11Display[:0, 0x7f3ce0296850, refCount 1, unCloseable false] However, it doesn't seem to indicate that anything is wrong.
It seems that glGetError() is giving "INVALID OPERATION" at the beginning of the display method before any OpenGL calls are made.
http://jogamp.org/deployment/archive/master/gluegen_620-joal_385-jogl_888-jocl_728/ Please try above aggregated build (archive-> all platforms.7z ..), a few Mesa related issues were solved ..
That works! You are the man!