what causes "Unable to collect metric and event values"


When profiling failed, here is the error i got.

Unable to collect metric and event values.
"The application being profiled returned a non-zero return code."

same application on gtx 750, but different kernel duration. one is 4 ms, another is 284 ms. When I was profiling the latter one, it failed and reported the previous error.

I think there is some limitation on the kernel lifetime. Can somebody verify it? How could I raise this limitation?


Don’t know if this helps, it works for me:

I had Visual Studio with NSight, and my NSight activity1.nvact file was open, then I started my Visual Profiler, got similar error as you. I closed the activity1.nvact file, then Visual Profiler works fine.

Thanks anyway.