Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

NSight attach shows no available processes

I am having a weird problem that when trying to attach am application with NSight, there is no available processes showing up in the list.

I am trying to debug CUDA code. So I attached my VS2012 project to an application (MATLAB). It used to work fine, but until yesterday there is no available process to attach somehow. Weird.

Here is the things I have done:

  1. NSight 5.0 Setup: enter image description here enter image description here

  2. Environment NSIGHT_CUDA_DEBUGGER = 1 in both personal and system settings. enter image description here

  3. Open VS2012 project and -> tools -> attach to process -> Nsight GPU Debugger enter image description here enter image description here

In Step 3, there is no processing showing up. And once I chose Nsight GPU Debugger and my localhost, the Nsight says it is already connected.

I am using VS2012 Pro, Windows 7, CUDA 7.5, and Nsight 5.0. Any help is greatly appreciated.

like image 890
Nick X Tsui Avatar asked Jan 19 '16 16:01

Nick X Tsui


3 Answers

Check which display driver version you have installed. From the release notes of Nsight 5.0:

From the NVIDIA web site, download and install the following display driver (or newer):

Driver Release 355.85, Release 355 or newer

Also, you may need to start the monitor with Admin rights in Windows 7.

like image 134
dquam Avatar answered Nov 07 '22 11:11

dquam


I solved this issue by downgrading NSight to 4.5, as well as the drive that fits NSight 4.5

For Nsight 5.0, I could not get it work anyway. The driver version was right, but it just did not work as far as I have tried.

like image 44
Nick X Tsui Avatar answered Nov 07 '22 11:11

Nick X Tsui


When this happened to me, checking and un-checking the "show processes from all users" button triggered the dialog to be repopulated.

like image 1
Jeremy Cowles Avatar answered Nov 07 '22 09:11

Jeremy Cowles