Re: Unable to determine Graphics Configuration. Am I setting up something wrong?
Posted by
Martin on
Feb 03, 2022; 6:24pm
URL: https://forum.jogamp.org/Unable-to-determine-Graphics-Configuration-Am-I-setting-up-something-wrong-tp4041606p4041614.html
Thanks! I ask your GPU configuration mainly for the purpose of having a consistent list of failing Windows configuration.
The "index out of bounds error" on JOGL 2.3.2 is
referenced here. There is a workaround (the same than the one fixing the case I mentioned earlier). Please tell us if this helps on your configuration. This workaround worked for me with the configuration {Win10, Intel Xe Graphics, JDK 17} (the exact configurations I verified for JOGL 2.4
are here).
The interesting thing to note is that different version of JOGL fail in the same chooseGraphicsConfigurationImpl method with different errors for your computer (either null GC either out of bounds).
Running the unit test of JOGL is not easy. There is a
howto here if you want to try. You will have to build gluegen, build JOGL then run unit tests. I have been able to run them with an apparent success on Windows but
visible crashes on macOS.
If you want to understand what's wrong with your configuration, the easiest is maybe to run in debug mode and go step by step in the method chooseGraphicsConfigurationImpl to better understand what's happening.