[JOGL2.0 rc2] Win XP 32 - ATI drivers and VM crashes
Posted by Djak on Mar 06, 2011; 4:37pm
URL: https://forum.jogamp.org/JOGL2-0-rc2-Win-XP-32-ATI-drivers-and-VM-crashes-tp2642286.html
Hi :)
I'd like to switch to JOGL2 but I got some problems on some computers with ATI drivers I tested and I had to switch back to JOGL 1.1. Sometimes drivers updates fix the problems and sometimes not and I wonder if there is a way to manually modify the JOGL initialisation. Problem seems to appears while the pixel format is defined.
Here is initialisation code :
________________________
// JOGL2
GLProfile.initSingleton(true);
GLProfile glp = GLProfile.getDefault();
GLCapabilities caps = new GLCapabilities(glp);
canvas = new GLCanvas(caps);
_________________________
Here is a sample of the VM log :
________________________________
Stack: [0x03710000,0x03760000], sp=0x0375f20c, free space=13c0375ed40k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [atioglx1.dll+0x422ae6]
j jogamp.opengl.windows.wgl.WGLExtImpl.dispatch_wglChoosePixelFormatARB1(JLjava/lang/Object;IZLjava/lang/Object;IZILjava/lang/Object;IZLjava/lang/Object;IZJ)Z+0
j jogamp.opengl.windows.wgl.WGLExtImpl.wglChoosePixelFormatARB(J[II[FII[II[II)Z+287
j jogamp.opengl.windows.wgl.WindowsWGLGraphicsConfiguration.wglChoosePixelFormatARB(JLjogamp/opengl/windows/wgl/WindowsWGLDrawableFactory$SharedResource;Ljavax/media/opengl/GLCapabilitiesImmutable;[II[F)[I+86
j jogamp.opengl.windows.wgl.WindowsWGLGraphicsConfigurationFactory.updateGraphicsConfigurationARB(JZLjogamp/opengl/windows/wgl/WindowsWGLGraphicsConfiguration;Ljavax/media/nativewindow/CapabilitiesChooser;Ljogamp/opengl/windows/wgl/WindowsWGLDrawableFactory;[I)Z+249
_____________________________________________
and here is a sample of the debug output :
______________________________________________
-----------------------------------------------------------------------------------------------------
WindowsGraphicsDevice[type Windows, connection decon]: GLAvailability[Native[GL4bc false, GL4 false, GL3bc false, GL3 false, GL2 true[1.5 (compatibility profile, any, old)], GL2ES1 true, GLES1 false, GL2ES2 true, GLES2 false], Profiles[GLProfile[GL2ES2/GL2], GLProfile[GL2ES1/GL2], GLProfile[GL2/GL2], GLProfile[GL2/GL2], GLProfile[GL2GL3/GL2], , default GLProfile[GL2/GL2]]]
Swap Interval -1
GL Profile GLProfile[GL2/GL2]
CTX VERSION 1.3 (compatibility profile, any, old) - 1.3.1006 WinXP Release
GL jogamp.opengl.gl4.GL4bcImpl@578ceb
GL_VENDOR ATI Technologies Inc.
GL_VERSION 1.3.1006 WinXP Release
GL_EXTENSIONS
GL_ARB_multitexture GL_EXT_texture_env_add GL_EXT_compiled_vertex_array GL_S3_s3tc GL_ARB_occlusion_query GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat GL_ARB_transpose_matrix GL_ARB_vertex_blend GL_ARB_vertex_buffer_object GL_ARB_window_pos GL_ATI_envmap_bumpmap GL_ATI_map_object_buffer GL_ATI_texture_env_combine3 GL_ATI_texture_mirror_once GL_ATI_vertex_array_object GL_ATI_vertex_streams GL_ATIX_texture_env_combine3 GL_ATIX_texture_env_route GL_EXT_abgr GL_EXT_bgra GL_EXT_clip_volume_hint GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_multi_draw_arrays GL_EXT_packed_pixels GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_stencil_wrap GL_EXT_texgen_reflection GL_EXT_texture3D GL_EXT_texture_compression_s3tc GL_EXT_texture_cube_map GL_EXT_texture_edge_clamp GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod_bias GL_EXT_texture_mirror_clamp GL_EXT_texture_object GL_EXT_texture_rectangle GL_EXT_vertex_array GL_HP_occlusion_test GL_NV_blend_square GL_NV_occlusion_query GL_NV_texgen_reflection GL_SGI_color_matrix GL_SGIS_generate_mipmap GL_SGIS_multitexture GL_SGIS_texture_border_clamp GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_SUN_multi_draw_arrays GL_WIN_swap_hint WGL_EXT_extensions_string WGL_EXT_swap_control
GLX_EXTENSIONS
WGL_ARB_extensions_string WGL_ARB_make_current_read WGL_ARB_pbuffer WGL_ARB_pixel_format WGL_ARB_render_texture WGL_EXT_extensions_string WGL_EXT_swap_control
-----------------------------------------------------------------------------------------------------
wglARBPFIDs2GLCapabilities: Cannot get pixel format attributes for pixel format 0/40: 1, WINDOW, BITMAP, PBUFFER
wglARBPFIDs2GLCapabilities: Cannot get pixel format attributes for pixel format 1/40: 2, WINDOW, BITMAP, PBUFFER
wglARBPFIDs2GLCapabilities: Cannot get pixel format attributes for pixel format 2/40: 3, WINDOW, BITMAP, PBUFFER
wglARBPFIDs2GLCapabilities: Cannot get pixel format attributes for pixel format 3/40: 4, WINDOW, BITMAP, PBUFFER
wglARBPFIDs2GLCapabilities: Cannot get pixel format attributes for pixel format 4/40: 5, WINDOW, BITMAP, PBUFFER
wglARBPFIDs2GLCapabilities: Cannot get pixel format attributes for pixel format 5/40: 6, WINDOW, BITMAP, PBUFFER
wglARBPFIDs2GLCapabilities: Cannot get pixel format attributes for pixel format 6/40: 7, WINDOW, BITMAP, PBUFFER
wglARBPFIDs2GLCapabilities: Cannot get pixel format attributes for pixel format 7/40: 8, WINDOW, BITMAP, PBUFFER
wglARBPFIDs2GLCapabilities: Cannot get pixel format attributes for pixel format 8/40: 9, WINDOW, BITMAP, PBUFFER
wglARBPFIDs2GLCapabilities: Cannot get pixel format attributes for pixel format 9/40: 10, WINDOW, BITMAP, PBUFFER
wglARBPFIDs2GLCapabilities: Cannot get pixel format attributes for pixel format 10/40: 11, WINDOW, BITMAP, PBUFFER
wglARBPFIDs2GLCapabilities: Cannot get pixel format attributes for pixel format 11/40: 12, WINDOW, BITMAP, PBUFFER
wglARBPFIDs2GLCapabilities: Cannot get pixel format attributes for pixel format 12/40: 13, WINDOW, BITMAP, PBUFFER
wglARBPFIDs2GLCapabilities: Cannot get pixel format attributes for pixel format 13/40: 14, WINDOW, BITMAP, PBUFFER
wglARBPFIDs2GLCapabilities: Cannot get pixel format attributes for pixel format 14/40: 15, WINDOW, BITMAP, PBUFFER
wglARBPFIDs2GLCapabilities: Cannot get pixel format attributes for pixel format 15/40: 16, WINDOW, BITMAP, PBUFFER
wglARBPFIDs2GLCapabilities: Cannot get pixel format attributes for pixel format 16/40: 17, WINDOW, BITMAP, PBUFFER
wglARBPFIDs2GLCapabilities: Cannot get pixel format attributes for pixel format 17/40: 18, WINDOW, BITMAP, PBUFFER
wglARBPFIDs2GLCapabilities: Cannot get pixel format attributes for pixel format 18/40: 19, WINDOW, BITMAP, PBUFFER
wglARBPFIDs2GLCapabilities: Cannot get pixel format attributes for pixel format 19/40: 20, WINDOW, BITMAP, PBUFFER
wglARBPFIDs2GLCapabilities: Cannot get pixel format attributes for pixel format 20/40: 21, WINDOW, BITMAP, PBUFFER
wglARBPFIDs2GLCapabilities: Cannot get pixel format attributes for pixel format 21/40: 22, WINDOW, BITMAP, PBUFFER
wglARBPFIDs2GLCapabilities: Cannot get pixel format attributes for pixel format 22/40: 23, WINDOW, BITMAP, PBUFFER
wglARBPFIDs2GLCapabilities: Cannot get pixel format attributes for pixel format 23/40: 24, WINDOW, BITMAP, PBUFFER
wglARBPFIDs2GLCapabilities: Cannot get pixel format attributes for pixel format 24/40: 25, WINDOW, BITMAP, PBUFFER
wglARBPFIDs2GLCapabilities: Cannot get pixel format attributes for pixel format 25/40: 26, WINDOW, BITMAP, PBUFFER
wglARBPFIDs2GLCapabilities: Cannot get pixel format attributes for pixel format 26/40: 27, WINDOW, BITMAP, PBUFFER
wglARBPFIDs2GLCapabilities: Cannot get pixel format attributes for pixel format 27/40: 28, WINDOW, BITMAP, PBUFFER
wglARBPFIDs2GLCapabilities: Cannot get pixel format attributes for pixel format 28/40: 29, WINDOW, BITMAP, PBUFFER
wglARBPFIDs2GLCapabilities: Cannot get pixel format attributes for pixel format 29/40: 30, WINDOW, BITMAP, PBUFFER
wglARBPFIDs2GLCapabilities: Cannot get pixel format attributes for pixel format 30/40: 31, WINDOW, BITMAP, PBUFFER
wglARBPFIDs2GLCapabilities: Cannot get pixel format attributes for pixel format 31/40: 32, WINDOW, BITMAP, PBUFFER
wglARBPFIDs2GLCapabilities: Cannot get pixel format attributes for pixel format 32/40: 33, WINDOW, BITMAP, PBUFFER
wglARBPFIDs2GLCapabilities: Cannot get pixel format attributes for pixel format 33/40: 34, WINDOW, BITMAP, PBUFFER
wglARBPFIDs2GLCapabilities: Cannot get pixel format attributes for pixel format 34/40: 35, WINDOW, BITMAP, PBUFFER
wglARBPFIDs2GLCapabilities: Cannot get pixel format attributes for pixel format 35/40: 36, WINDOW, BITMAP, PBUFFER
wglARBPFIDs2GLCapabilities: Cannot get pixel format attributes for pixel format 36/40: 37, WINDOW, BITMAP, PBUFFER
wglARBPFIDs2GLCapabilities: Cannot get pixel format attributes for pixel format 37/40: 38, WINDOW, BITMAP, PBUFFER
wglARBPFIDs2GLCapabilities: Cannot get pixel format attributes for pixel format 38/40: 39, WINDOW, BITMAP, PBUFFER
wglARBPFIDs2GLCapabilities: Cannot get pixel format attributes for pixel format 39/40: 40, WINDOW, BITMAP, PBUFFER
GLCaps[1 gdi: on-scr, rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms: 24/8/0, one, mono , hw, GLProfile[GL2/GL2]]
GLCaps[2 gdi: on-scr, rgba 8/8/8/8, opaque, accum-rgba 16/16/16/16, dp/st/ms: 24/8/0, one, mono , hw, GLProfile[GL2/GL2]]
GLCaps[3 gdi: on-scr, rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms: 24/8/0, dbl, mono , hw, GLProfile[GL2/GL2]]
GLCaps[4 gdi: on-scr, rgba 8/8/8/8, opaque, accum-rgba 16/16/16/16, dp/st/ms: 24/8/0, dbl, mono , hw, GLProfile[GL2/GL2]]
GLCaps[5 gdi: on-scr, rgba 8/8/8/0, opaque, accum-rgba 16/16/16/0, dp/st/ms: 32/8/0, one, mono , sw, GLProfile[GL2/GL2]]
GLCaps[5 gdi: offscr, rgba 8/8/8/0, opaque, accum-rgba 16/16/16/0, dp/st/ms: 32/8/0, one, mono , sw, GLProfile[GL2/GL2], pixmap]
GLCaps[6 gdi: on-scr, rgba 8/8/8/0, opaque, accum-rgba 16/16/16/0, dp/st/ms: 16/8/0, one, mono , sw, GLProfile[GL2/GL2]]
GLCaps[6 gdi: offscr, rgba 8/8/8/0, opaque, accum-rgba 16/16/16/0, dp/st/ms: 16/8/0, one, mono , sw, GLProfile[GL2/GL2], pixmap]
GLCaps[7 gdi: on-scr, rgba 8/8/8/0, opaque, accum-rgba 16/16/16/0, dp/st/ms: 32/8/0, dbl, mono , sw, GLProfile[GL2/GL2]]
GLCaps[8 gdi: on-scr, rgba 8/8/8/0, opaque, accum-rgba 16/16/16/0, dp/st/ms: 16/8/0, dbl, mono , sw, GLProfile[GL2/GL2]]
GLCaps[9 gdi: on-scr, rgba 8/8/8/8, opaque, accum-rgba 16/16/16/16, dp/st/ms: 32/8/0, one, mono , sw, GLProfile[GL2/GL2]]
GLCaps[9 gdi: offscr, rgba 8/8/8/8, opaque, accum-rgba 16/16/16/16, dp/st/ms: 32/8/0, one, mono , sw, GLProfile[GL2/GL2], pixmap]
GLCaps[10 gdi: on-scr, rgba 8/8/8/8, opaque, accum-rgba 16/16/16/16, dp/st/ms: 16/8/0, one, mono , sw, GLProfile[GL2/GL2]]
GLCaps[10 gdi: offscr, rgba 8/8/8/8, opaque, accum-rgba 16/16/16/16, dp/st/ms: 16/8/0, one, mono , sw, GLProfile[GL2/GL2], pixmap]
GLCaps[11 gdi: on-scr, rgba 8/8/8/8, opaque, accum-rgba 16/16/16/16, dp/st/ms: 32/8/0, dbl, mono , sw, GLProfile[GL2/GL2]]
GLCaps[12 gdi: on-scr, rgba 8/8/8/8, opaque, accum-rgba 16/16/16/16, dp/st/ms: 16/8/0, dbl, mono , sw, GLProfile[GL2/GL2]]
GLCaps[13 gdi: on-scr, rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms: 32/8/0, one, mono , sw, GLProfile[GL2/GL2]]
GLCaps[13 gdi: offscr, rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms: 32/8/0, one, mono , sw, GLProfile[GL2/GL2], pixmap]
GLCaps[14 gdi: on-scr, rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms: 16/8/0, one, mono , sw, GLProfile[GL2/GL2]]
GLCaps[14 gdi: offscr, rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms: 16/8/0, one, mono , sw, GLProfile[GL2/GL2], pixmap]
GLCaps[15 gdi: on-scr, rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms: 32/8/0, dbl, mono , sw, GLProfile[GL2/GL2]]
GLCaps[16 gdi: on-scr, rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms: 16/8/0, dbl, mono , sw, GLProfile[GL2/GL2]]
GLCaps[17 gdi: offscr, rgba 8/8/8/0, opaque, accum-rgba 16/16/16/0, dp/st/ms: 32/8/0, one, mono , sw, GLProfile[GL2/GL2], pixmap]
GLCaps[18 gdi: offscr, rgba 8/8/8/0, opaque, accum-rgba 16/16/16/0, dp/st/ms: 16/8/0, one, mono , sw, GLProfile[GL2/GL2], pixmap]
GLCaps[19 gdi: offscr, rgba 8/8/8/8, opaque, accum-rgba 16/16/16/16, dp/st/ms: 32/8/0, one, mono , sw, GLProfile[GL2/GL2], pixmap]
GLCaps[20 gdi: offscr, rgba 8/8/8/8, opaque, accum-rgba 16/16/16/16, dp/st/ms: 16/8/0, one, mono , sw, GLProfile[GL2/GL2], pixmap]
GLCaps[21 gdi: offscr, rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms: 32/8/0, one, mono , sw, GLProfile[GL2/GL2], pixmap]
GLCaps[22 gdi: offscr, rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms: 16/8/0, one, mono , sw, GLProfile[GL2/GL2], pixmap]
GLCaps[23 gdi: offscr, rgba 5/5/5/0, opaque, accum-rgba 11/11/10/0, dp/st/ms: 32/8/0, one, mono , sw, GLProfile[GL2/GL2], pixmap]
GLCaps[24 gdi: offscr, rgba 5/5/5/0, opaque, accum-rgba 11/11/10/0, dp/st/ms: 16/8/0, one, mono , sw, GLProfile[GL2/GL2], pixmap]
GLCaps[25 gdi: offscr, rgba 5/5/5/8, opaque, accum-rgba 8/8/8/8, dp/st/ms: 32/8/0, one, mono , sw, GLProfile[GL2/GL2], pixmap]
GLCaps[26 gdi: offscr, rgba 5/5/5/8, opaque, accum-rgba 8/8/8/8, dp/st/ms: 16/8/0, one, mono , sw, GLProfile[GL2/GL2], pixmap]
GLCaps[27 gdi: offscr, rgba 5/5/5/0, opaque, accum-rgba 0/0/0/0, dp/st/ms: 32/8/0, one, mono , sw, GLProfile[GL2/GL2], pixmap]
GLCaps[28 gdi: offscr, rgba 5/5/5/0, opaque, accum-rgba 0/0/0/0, dp/st/ms: 16/8/0, one, mono , sw, GLProfile[GL2/GL2], pixmap]
GLCaps[29 gdi: offscr, rgba 3/3/2/0, opaque, accum-rgba 11/11/10/0, dp/st/ms: 32/8/0, one, mono , sw, GLProfile[GL2/GL2], pixmap]
GLCaps[30 gdi: offscr, rgba 3/3/2/0, opaque, accum-rgba 11/11/10/0, dp/st/ms: 16/8/0, one, mono , sw, GLProfile[GL2/GL2], pixmap]
GLCaps[31 gdi: offscr, rgba 3/3/2/8, opaque, accum-rgba 8/8/8/8, dp/st/ms: 32/8/0, one, mono , sw, GLProfile[GL2/GL2], pixmap]
GLCaps[32 gdi: offscr, rgba 3/3/2/8, opaque, accum-rgba 8/8/8/8, dp/st/ms: 16/8/0, one, mono , sw, GLProfile[GL2/GL2], pixmap]
GLCaps[33 gdi: offscr, rgba 3/3/2/0, opaque, accum-rgba 0/0/0/0, dp/st/ms: 32/8/0, one, mono , sw, GLProfile[GL2/GL2], pixmap]
GLCaps[34 gdi: offscr, rgba 3/3/2/0, opaque, accum-rgba 0/0/0/0, dp/st/ms: 16/8/0, one, mono , sw, GLProfile[GL2/GL2], pixmap]
GLCaps[35 gdi: offscr, rgba 1/1/1/0, opaque, accum-rgba 5/6/5/0, dp/st/ms: 32/8/0, one, mono , sw, GLProfile[GL2/GL2], pixmap]
GLCaps[36 gdi: offscr, rgba 1/1/1/0, opaque, accum-rgba 5/6/5/0, dp/st/ms: 16/8/0, one, mono , sw, GLProfile[GL2/GL2], pixmap]
GLCaps[37 gdi: offscr, rgba 1/1/1/8, opaque, accum-rgba 4/4/4/4, dp/st/ms: 32/8/0, one, mono , sw, GLProfile[GL2/GL2], pixmap]
GLCaps[38 gdi: offscr, rgba 1/1/1/8, opaque, accum-rgba 4/4/4/4, dp/st/ms: 16/8/0, one, mono , sw, GLProfile[GL2/GL2], pixmap]
GLCaps[39 gdi: offscr, rgba 1/1/1/0, opaque, accum-rgba 0/0/0/0, dp/st/ms: 32/8/0, one, mono , sw, GLProfile[GL2/GL2], pixmap]
GLCaps[40 gdi: offscr, rgba 1/1/1/0, opaque, accum-rgba 0/0/0/0, dp/st/ms: 16/8/0, one, mono , sw, GLProfile[GL2/GL2], pixmap]
WindowsWGLDrawableFactory.leaveThreadCriticalZone() - 0xffffffffffffffff - AWT-EventQueue-0
GLProfile.init isAWTAvailable true
GLProfile.init has desktopFactory true
GLProfile.init hasDesktopGL true
GLProfile.init hasGL234Impl true
GLProfile.init has eglFactory true
GLProfile.init hasGLES1Impl false
GLProfile.init hasGLES2Impl false
GLProfile.init defaultDesktopDevice WindowsGraphicsDevice[type Windows, connection decon, unitID 0, handle 0x0]
GLProfile.init defaultEGLDevice EGLGraphicsDevice[type EGL, connection decon, unitID 0, handle 0x0]
GLProfile.init defaultDevice WindowsGraphicsDevice[type Windows, connection decon, unitID 0, handle 0x0]
Animator add: 15789782 - Thread[AWT-EventQueue-0,6,main]
Info: GLCanvas display - skipped GL render, drawable not valid yet
java.lang.Exception: AWT-EventQueue-0 - Info: addNotify - start, bounds: java.awt.Rectangle[x=0,y=0,width=0,height=0]
at javax.media.opengl.awt.GLCanvas.addNotify(GLCanvas.java:503)
at java.awt.Container.addNotify(Unknown Source)
at javax.swing.JComponent.addNotify(Unknown Source)
at java.awt.Container.addNotify(Unknown Source)
at javax.swing.JComponent.addNotify(Unknown Source)
at java.awt.Container.addNotify(Unknown Source)
at javax.swing.JComponent.addNotify(Unknown Source)
at java.awt.Container.addNotify(Unknown Source)
at javax.swing.JComponent.addNotify(Unknown Source)
at javax.swing.JRootPane.addNotify(Unknown Source)
at java.awt.Container.addNotify(Unknown Source)
at java.awt.Window.addNotify(Unknown Source)
at java.awt.Frame.addNotify(Unknown Source)
at java.awt.Window.pack(Unknown Source)
at application.MainApplication.<init>(MainApplication.java:201)
at application.MainApplication$3.run(MainApplication.java:1216)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
WindowsAWTWGLGraphicsConfigurationFactory: got AWTGraphicsScreen[AWTGraphicsDevice[type AWT[subType null], connection \Display0, unitID 0, awtDevice Win32GraphicsDevice[screen=0], handle 0x0], idx 0]
updateGraphicsConfiguration(using shared): hdc 0x560104b1
!!! user chosen caps GLCaps[on-scr, rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms: 16/0/0, dbl, mono , hw, GLProfile[GL2/GL2]]
wglChoosePixelFormatARB: NumFormats (wglChoosePixelFormatARB) accelMode 0x2027: 2
Exception in thread "AWT-EventQueue-0" javax.media.opengl.GLException: wglARBPFID2GLCapabilities: Error getting pixel format attributes for pixel format 3 of device context 0x560104b1, werr 0
at jogamp.opengl.windows.wgl.WindowsWGLGraphicsConfiguration.wglARBPFID2GLCapabilities(WindowsWGLGraphicsConfiguration.java:253)
at jogamp.opengl.windows.wgl.WindowsWGLGraphicsConfiguration.wglChoosePixelFormatARB(WindowsWGLGraphicsConfiguration.java:302)
at jogamp.opengl.windows.wgl.WindowsWGLGraphicsConfigurationFactory.updateGraphicsConfigurationARB(WindowsWGLGraphicsConfigurationFactory.java:302)
at jogamp.opengl.windows.wgl.WindowsWGLGraphicsConfigurationFactory.updateGraphicsConfiguration(WindowsWGLGraphicsConfigurationFactory.java:250)
at jogamp.opengl.windows.wgl.WindowsWGLGraphicsConfigurationFactory.preselectGraphicsConfiguration(WindowsWGLGraphicsConfigurationFactory.java:234)
at jogamp.opengl.windows.wgl.WindowsWGLGraphicsConfiguration.preselectGraphicsConfiguration(WindowsWGLGraphicsConfiguration.java:148)
at jogamp.opengl.windows.wgl.awt.WindowsAWTWGLGraphicsConfigurationFactory.chooseGraphicsConfigurationImpl(WindowsAWTWGLGraphicsConfigurationFactory.java:125)
at javax.media.nativewindow.GraphicsConfigurationFactory.chooseGraphicsConfiguration(GraphicsConfigurationFactory.java:240)
at javax.media.opengl.awt.GLCanvas.chooseGraphicsConfiguration(GLCanvas.java:978)
at javax.media.opengl.awt.GLCanvas.addNotify(GLCanvas.java:517)
at java.awt.Container.addNotify(Unknown Source)
at javax.swing.JComponent.addNotify(Unknown Source)
at java.awt.Container.addNotify(Unknown Source)
at javax.swing.JComponent.addNotify(Unknown Source)
at java.awt.Container.addNotify(Unknown Source)
at javax.swing.JComponent.addNotify(Unknown Source)
at java.awt.Container.addNotify(Unknown Source)
at javax.swing.JComponent.addNotify(Unknown Source)
at javax.swing.JRootPane.addNotify(Unknown Source)
at java.awt.Container.addNotify(Unknown Source)
at java.awt.Window.addNotify(Unknown Source)
at java.awt.Frame.addNotify(Unknown Source)
at java.awt.Window.pack(Unknown Source)
at application.MainApplication.<init>(MainApplication.java:201)
at application.MainApplication$3.run(MainApplication.java:1216)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Info: GLCanvas display - skipped GL render, drawable not valid yet
Info: GLCanvas display - skipped GL render, drawable not valid yet
________________________________________________
Actually, I wonder if it's a bug or a bad configuration in my code.
I wonder too if there is a way to manually configure OGL for a specific machine because I need to present very soon an application on a laptop where I got the problem. I tried some configuration stuffs but haven't managed to get the application's working on the laptop using JOGL2 (JOGL1.1 works).
Thanks in advance for your help :)