Nsight Graphics Increasing Performance

Hello,

I’ve had a few issues debugging my C++ OpenGL application written in Visual Studio 19. I have a problem with wireframe rendering on my GTX 1050 (v576.40) in my laptop. Issue first reported here. (Link also has video showing the problem)

I wanted to find the issue through Nsight, however when I launch the application through Nsight the problem is not present, no matter how many times I try, the issue is gone when launched from Nsight Graphics.

I recently wanted to find a second issue with the speed of glDrawElementsIndirect(). So I launched through Nsight to take a look at some numbers and the speed issue was gone. I was getting double the FPS, but only when launching from within Nsight Graphics.

To make sure it wasn’t VS19’s debugger interfering somehow (or something else), I closed Visual Studio and launched the EXE manually. The program runs the same as it does when launched from within VS19 so I don’t think VS19 is the problem.

I feel like Nsight Graphics is setting up some stuff under the hood that is benefiting my program OR more likely, it might be turning off something that is interfering with it.

Is there any other information I can provide to find out what’s going on here?

Hi gravitategames,

Thank you for using Nsight Graphics and providing your feedback. Could you detail your issue? It seems your OpenGL app runs well under Nsight Graphics.

If you want to do performance profiler, maybe you can try it with ‘GPU Trace Profiler’ activity.

Thanks

An

Hi An,

I’m not sure how I can give any more details other than giving you the program to run.

I launched with GPU Trace Profiler but got this error message.

By the way - launching my app through the GPU Trace Profiler gives me 200+ FPS. I don’t see why this might be normal… why is Nsight given my application speed boosts?

The solution here has lead me to discover that my app is using integrated graphics on my laptop and not my GTX 1050. I think once I force it to use the GPU it will work as expected!

EDIT : Confirming the cause of all my issues were the use of Intel Integrated Graphics.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.