Re: RenderDoc - how?
Posted by imakerobots on Oct 14, 2023; 5:06pm
URL: https://forum.jogamp.org/RenderDoc-how-tp4043038p4043052.html
I replaced GLJPanel with GLCanvas and this happened. Google/ChatGPT have not helped me resolve the issue.
Switching the FPSAnimator to Animator did not help.
using default Profile and Capabilities did not help.
The exception happens somewhere after I start the animator and before display() is called.
09:45:29.052 [AWT-EventQueue-0] INFO c.m.r.renderpanel.OpenGLRenderPanel - GLProfile.glAvailabilityToString() = Natives[GL4bc true [4.6 (Compat profile, arb, compat[ES2, ES3], FBO, hardware)], GL4 true [4.6 (Core profile, arb, compat[ES2, ES3], FBO, hardware)], GLES3 false, GL3bc true [4.6 (Compat profile, arb, compat[ES2, ES3], FBO, hardware)], GL3 true [4.6 (Core profile, arb, compat[ES2, ES3], FBO, hardware)], GL2 true [4.6 (Compat profile, arb, compat[ES2, ES3], FBO, hardware)], GLES2 false, GLES1 false, count 5 / 8], Common[, GL4ES3 true, GL2GL3 true, GL2ES2 true, GL2ES1 true], Mappings[GL3bc GLProfile[GL3bc/GL4bc.hw], GL2ES1 GLProfile[GL2ES1/GL4bc.hw], GL4ES3 GLProfile[GL4ES3/GL4.hw], GL2ES2 GLProfile[GL2ES2/GL4.hw], GL4bc GLProfile[GL4bc/GL4bc.hw], GL2 GLProfile[GL2/GL4bc.hw], GL4 GLProfile[GL4/GL4.hw], GL3 GLProfile[GL3/GL4.hw], GL2GL3 GLProfile[GL2GL3/GL4bc.hw], , default GLProfile[GL4bc/GL4bc.hw], count 9 / 12]
09:45:29.052 [AWT-EventQueue-0] INFO c.m.r.renderpanel.OpenGLRenderPanel -
GLCapabilities capabilities = new GLCapabilities(GLProfile.getMaxProgrammable(true));
capabilities.setHardwareAccelerated(GraphicsPreferences.hardwareAccelerated.get());
capabilities.setBackgroundOpaque(GraphicsPreferences.backgroundOpaque.get());
capabilities.setDoubleBuffered(GraphicsPreferences.doubleBuffered.get());
capabilities.setStencilBits(8); = rgba 8/8/8/1, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/8/4, sample-ext default, dbl, mono , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[.]
09:45:29.052 [AWT-EventQueue-0] INFO c.m.r.renderpanel.OpenGLRenderPanel - create canvas
09:45:29.074 [AWT-EventQueue-0] DEBUG c.m.r.renderpanel.OpenGLRenderPanel - starting animation system
Exception in thread "AWT-EventQueue-0" com.jogamp.opengl.GLException: Unable to determine GraphicsConfiguration: WindowsWGLGraphicsConfiguration[DefaultGraphicsScreen[WindowsGraphicsDevice[type .windows, connection decon, unitID 0, handle 0x0, owner false, NullToolkitLock[obj 0x66f1395f]], idx 1], pfdID 80, ARB-Choosen true,
requested GLCaps[rgba 8/8/8/1, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/8/4, sample-ext default, dbl, mono , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[.]],
chosen GLCaps[wgl vid 80 arb: rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/8/4, sample-ext default, dbl, mono , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[.]]]
at jogl.all@2.5.0/jogamp.opengl.windows.wgl.awt.WindowsAWTWGLGraphicsConfigurationFactory.chooseGraphicsConfigurationImpl(WindowsAWTWGLGraphicsConfigurationFactory.java:182)
at jogl.all@2.5.0/com.jogamp.nativewindow.GraphicsConfigurationFactory.chooseGraphicsConfiguration(GraphicsConfigurationFactory.java:424)