"Can't initialize nvrm channel" when running samples/0_Simple/simplePrintf

Hi there,

I have a Jetson Xavier NX , running nv-jetson-nx-sd-card-image-r32.4.2 (on a nvme ssd) , when I try to run the sample here is what I have :

jetson@jetson-nx:/usr/local/cuda-10.2/samples/0_Simple/simplePrintf$ ./simplePrintf

Error: Can’t initialize nvrm channel
GPU Device 0: “Xavier” with compute capability 7.2
Device 0: “Xavier” with Compute 7.2 capability
printf() is called. Output:
Error: Can’t initialize nvrm channel
Error: Can’t initialize nvrm channel
Error: Can’t initialize nvrm channel
Error: Can’t initialize nvrm channel
Error: Can’t initialize nvrm channel

Did I broke something ?

I also see that when I run :
nvcc --version
-bash: nvcc: command not found

is this broken because I am running on ssd ?

Hi,

Sorry for the late update.

Just confirm, we can run the sample without issue.
Would you mind to add this environment parameter to see if helps first?

$ export PATH=/usr/local/cuda-10.2/bin:$PATH
$ export LD_LIBRARY_PATH=/usr/local/cuda-10.2/lib64:$LD_LIBRARY_PATH

Thanks.