This latest version of Nsight Graphics seems to be broken when used with Java/JOGL. If I run version 2020.4, everything works fine. But if I run version 2021.2.1, I get the following error message:
“Unable to create temp OpenGL context for device context”
I have always specified the path to java.exe as the executable, the working directory as the location from where I wish to run the java command, and the following command line arguments:
“-Dsun.java2d.d3d=false” “-Dsun.java2d.uiScale=1” “code.Code”
This has always worked great (as specified in the first two editions of my book, “Computer Graphics Programming in OpenGL with Java”). But with this latest version I get the above error.
Any help you can suggest would be most beneficial. Our 3rd edition goes to press in a couple of months, and of course I’d like to utilize the most recent version of Nsight in the examples.