Nsight Graphics 2021.2 is now available!


Welcome to the Nsight Graphics Forum. Here, you can find answers to questions you have about Nsight Graphics, file bugs, and chat with other members of the community.

For more information about Nsight Graphics, you can visit the homepage here: NVIDIA Nsight Graphics | NVIDIA Developer and see the 2021.2 Release Notes here: https://developer.nvidia.com/nsight-graphics-2021_2

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.