I have some code that works fine in device emulation, but not on the device. I would like to debug it on the device using cuda-gdb. However, I have only a single GPU and cuda-gdb does not work when X11 is running. I tried switching to run level 3 and running my code, but it does not work, and exits with an error. I think it exits with an error because the appropriate nvidia / cuda drivers are not loaded in runlevel 3. I tried “modprobe nvidia” to load the drivers, and the drivers seem to be loaded, but my code doesn’t work without X11 being loaded.
Is there anyone that has had success using cuda-gdb provided with CUDA 2.3 under FC9 on a single GPU?