Login  Register

Re: Unable to determine GraphicsConfiguration

Posted by Goofyseeker3 on Feb 29, 2024; 10:15am
URL: https://forum.jogamp.org/Unable-to-determine-GraphicsConfiguration-tp4042444p4043334.html

Error:
--------
Exception in thread "main" com.jogamp.opengl.GLException: Unable to determine GraphicsConfiguration: WindowsWGLGraphicsConfiguration[DefaultGraphicsScreen[WindowsGraphicsDevice[type .windows, connection decon, unitID 0, handle 0x0, owner false, NullToolkitLock[obj 0x39d167d8]], idx 0], pfdID 9, ARB-Choosen true,
        requested GLCaps[rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/0, dbl, mono  , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[.]],
        chosen    GLCaps[wgl vid 9 arb: rgba 8/8/8/0, opaque, accum-rgba 16/16/16/16, dp/st/ms 24/0/0, dbl, mono  , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[.]]]
....
--------

I used the https://jogamp.org/wiki/index.php/Rudimentary_standalone_example_using_the_fixed_pipeline_by_Julien_Gouesse
example.

I'm using Eclipse for java IDE 2023-R12 with Java-21 alone and JOGL v2.5.0 recent for the project.
I did try to add the NONAME arguments to the vm arguments in Eclipse run configurations but...
I did not change anything for me, same error continues to be output to console.
It gave the same error even running by hand from console using the add-exports additions.
One issue might be that Eclipse does have multiple jvm jdk's installed but the project is using just the separate JDK-21.

Expecting to run older JVM is not an option, nor is the forced command line arguments from a console (optional only).