Hi @nima,
Just to double check, do you start X before trying to run the cuda examples or xrandr?
From the logs you pasted it’s possible that the first step in my colleague’s @alanb example doc might have been skipped. Here’s how the sample works on my B01:
root@1939059:/usr/local/cuda-10.0/samples/bin/aarch64/linux/release# xrandr -d :0
Can’t open display :0
root@1939059:/usr/local/cuda-10.0/samples/bin/aarch64/linux/release# X &
…
root@1939059:/usr/local/cuda-10.0/samples/bin/aarch64/linux/release# xrandr -d :0
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 16384 x 16384
HDMI-0 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 510mm x 290mm
1920x1080 60.00*+ 59.95 50.00
1680x1050 59.96
1600x900 60.00
1440x900 59.89
1280x1024 60.00
1280x800 59.81
1280x720 60.00 59.94 50.00
1024x768 60.01
800x600 60.32
720x576 50.00
720x480 59.94
720x400 70.04
640x480 59.94 59.94
DP-0 disconnected (normal left inverted right x axis y axis)
root@1939059:/usr/local/cuda-10.0/samples/2_Graphics/bindlessTexture# ./bindlessTexture
CUDA bindlessTexture Starting…GPU Device 0: “NVIDIA Tegra X1” with compute capability 5.3
Device 0: < NVIDIA Tegra X1 >, Compute SM 5.3 detected