Nsight debugger crashes my graphics application on startup
I have an OpenGL application that I would like to debug with the Nsights graphics debugger. Unfortunately it directly crashes on startup. I am using glfw and glad for creating the window context. It seems like Nsight crashes somewhere when creating the window context. The application works fine on its own. I am using Visual Studio Community 2017 v15.5.2 and Nsight v5.4 My Graphics card is a NVIDIA GeForce GTX 1070 with driver version 388.59 I have solely downloaded Nsight for debugging my application so I have no further experience with it. Could there be a problem with some configuration? I would be thankful for any kind of input. Also I can provide more information and specs if needed. Best regards Luka
I have an OpenGL application that I would like to debug with the Nsights graphics debugger. Unfortunately it directly crashes on startup.

I am using glfw and glad for creating the window context. It seems like Nsight crashes somewhere when creating the window context. The application works fine on its own.

I am using Visual Studio Community 2017 v15.5.2 and Nsight v5.4

My Graphics card is a NVIDIA GeForce GTX 1070 with driver version 388.59

I have solely downloaded Nsight for debugging my application so I have no further experience with it. Could there be a problem with some configuration? I would be thankful for any kind of input. Also I can provide more information and specs if needed.

Best regards
Luka

#1
Posted 12/16/2017 03:16 PM   
Hi luka.l, I'm sorry for the problem you met. Can you provide more information please? - OS info - Did the issue happen on other platforms? such as WIN10 RS2, WIN1O RS3 platforms. - Can we have your sample please then we can identify the issue quickly. Thanks, Letitia
Hi luka.l,

I'm sorry for the problem you met.
Can you provide more information please?
- OS info
- Did the issue happen on other platforms? such as WIN10 RS2, WIN1O RS3 platforms.
- Can we have your sample please then we can identify the issue quickly.

Thanks,
Letitia

#2
Posted 12/18/2017 03:27 AM   
Hi Letitia My OS is Windows 10 Home v1709 Build: 16299.125 I have only access to this version of Windows so I have not tested it on any other platforms. With sample I assume you mean the graphics project? If so, here is the GitHub link: https://github.com/Haeri/PhotonBox It is a VS Studio project for an OpenGl application. To run it successfully, the FreeType dll is required from here: https://github.com/ubawurinna/freetype-windows-binaries/blob/master/win64/freetype271MT.dll Let me know if any more info is needed. Regards, Luka
Hi Letitia

My OS is Windows 10 Home v1709 Build: 16299.125
I have only access to this version of Windows so I have not tested it on any other platforms.
With sample I assume you mean the graphics project? If so, here is the GitHub link: https://github.com/Haeri/PhotonBox


It is a VS Studio project for an OpenGl application. To run it successfully, the FreeType dll is required from here:

https://github.com/ubawurinna/freetype-windows-binaries/blob/master/win64/freetype271MT.dll



Let me know if any more info is needed.
Regards,
Luka

#3
Posted 12/19/2017 12:42 PM   
Hi luka.l, I tested your sample with an internal nsight build on WIN10 RS3 platform, no crash, it worked fine with nsight Nsight 5.4 doesn't support WIN10 RS3 platform, please wait for the release build and then check it again Thanks, Letitia
Hi luka.l,

I tested your sample with an internal nsight build on WIN10 RS3 platform, no crash, it worked fine with nsight
Nsight 5.4 doesn't support WIN10 RS3 platform, please wait for the release build and then check it again

Thanks,
Letitia

#4
Posted 12/22/2017 04:07 AM   
Hi Letitia Thank you very much for the quick reply. Can you give a rough estimation on when you think the new version will be released? I need to hand in the project on the 31st of January and I would like to plan if I should wait for the update or invest time in creating my own debugging methods. Best regards and happy holidays! Luka
Hi Letitia

Thank you very much for the quick reply.
Can you give a rough estimation on when you think the new version will be released? I need to hand in the project on the 31st of January and I would like to plan if I should wait for the update or invest time in creating my own debugging methods.

Best regards and happy holidays!
Luka

#5
Posted 12/23/2017 12:53 PM   
Hi luka.l, I'm afraid that I'm not sure when the new version will be released. Happy Xmas! Letitia
Hi luka.l,

I'm afraid that I'm not sure when the new version will be released.

Happy Xmas!
Letitia

#6
Posted 12/25/2017 02:53 AM   
Same problem here. Same card, OS, IDE, and framework. Nsight crashes when calling glfwCreateWindow. Doesn't seem to have issues with SDL applications...
Same problem here. Same card, OS, IDE, and framework. Nsight crashes when calling glfwCreateWindow. Doesn't seem to have issues with SDL applications...

#7
Posted 12/31/2017 03:48 AM   
Hi NateVM, I'm sorry for the problem you met, can you provide more information please? - Did the issue also happen on WIN10 RS2 platform? - Did the issue also happen with DX samples? such as DX SDK samples. - Can we have your sample please? then we can identify the issue quickly. Thanks, Letitia
Hi NateVM,

I'm sorry for the problem you met, can you provide more information please?
- Did the issue also happen on WIN10 RS2 platform?
- Did the issue also happen with DX samples? such as DX SDK samples.
- Can we have your sample please? then we can identify the issue quickly.

Thanks,
Letitia

#8
Posted 01/02/2018 05:51 AM   
Hi Letitia, Like luka.l, I don't have access to a WIN10 RS2 platform. I'm running on windows 10 build 1709 build 16299.125. Running nsight version 5.5.0.18014. I tried out a few DX samples from the DirectX Graphics Samples github found here https://github.com/Microsoft/DirectX-Graphics-Samples, and was able to use the nsight profiler successfully. The crash can be reproduced by attempting to profile OpenGL on any of the official GLFW samples available here: https://github.com/glfw/glfw. Specifically, the crash occurs on the GLFW3 -> Samples -> simple target, which is just a rotating triangle. Thanks, Nate
Hi Letitia,

Like luka.l, I don't have access to a WIN10 RS2 platform. I'm running on windows 10 build 1709 build 16299.125. Running nsight version 5.5.0.18014.

I tried out a few DX samples from the DirectX Graphics Samples github found here https://github.com/Microsoft/DirectX-Graphics-Samples, and was able to use the nsight profiler successfully.

The crash can be reproduced by attempting to profile OpenGL on any of the official GLFW samples available here: https://github.com/glfw/glfw. Specifically, the crash occurs on the GLFW3 -> Samples -> simple target, which is just a rotating triangle.

Thanks,
Nate

#9
Posted 01/17/2018 06:37 AM   
Hi NateVM, I tried the sample locally, no crash, it ran smoothly with nsight. My configuration as below which seemed the same with yours. - OS: windows 10 build 1709 build 16299.125 - nsight: 5.5.0.18014 - GLFW samples, GLFW3 -> Samples -> simple - Visual studio: VS2017 Can you please check it again? Thanks, Letitia
Hi NateVM,

I tried the sample locally, no crash, it ran smoothly with nsight.
My configuration as below which seemed the same with yours.
- OS: windows 10 build 1709 build 16299.125
- nsight: 5.5.0.18014
- GLFW samples, GLFW3 -> Samples -> simple
- Visual studio: VS2017

Can you please check it again?

Thanks,
Letitia

#10
Posted 01/18/2018 07:27 AM   
Scroll To Top

Add Reply