How to debugging CUDA using Nsight in ubuntu OS


ubuntu 14.06
gpu TITAN X
using NSIGHT

Hello guys, I recently study linux and parallel computing but i have a serious problem.

when i run cuda on window VS2012, debugging is 100 percents OKAY.

But in the linux, error message show up when i was trying…

error message seams like
All CUDA devices are used for display and cannot be used while debugging.

It makes me REALLY crazy…

some people said that for debugging, must prepare at least two gpu,
or cuda above capability 3.5 okay for debugging using single gpu,
or using bumblebee for debugging…

but I not sure how to make it works…

please save me form this problem…