How to run code sample on usb debug/ssh(putty)

board : jetson xavier nx

Internal run ,it works.
Why run on usb debug/ssh(putty) not working

error:

Error: gst-stream-error-quark: Internal data stream error. (1): /dvs/git/dirty/git-master_linux/deepstream/sdk/src/gst-plugins/gst-nvinfer/gstnvinfer.cpp(2288): gst_nvinfer_output_loop (): /GstPipeline:pipeline0/GstNvInfer:primary-inference:
streaming stopped, reason error (-5)

Hi,
Probably you don’t execute the command in correct path. Please try

$ cd /opream/deepstream-6.0/samples/configs/deepstream-app
$ deepstream-app -c source8_1080p_dec_infer-resnet_isplay_fp16_nano.txt

I use python

run:
python3 deepstream_test_1.py …/…/…/…/samples/streams/sample_qHD.h264
it’s work

use putty(SSH) : not work

Hi,
Please try absolute path like:

/opt/nvidia/deepstream/deepstream-6.0/samples/streams/sample_qHD.h264

And can try deepstream-app to clarify if the failure is specific to running deepstream_test_1.py

Hi,

python3 deepstream_test_1.py /opt/nvidia/deepstream/deepstream-6.0/samples/streams/sample_qHD.h264

and

deepstream-test1-app /opt/nvidia/deepstream/deepstream-6.0/samples/streams/sample_qHD.h264

Internal run ,it works.
but can’t run via usb debug and ssh
What does it have to do with paths?

error:

Error: gst-stream-error-quark: Internal data stream error. (1): /dvs/git/dirty/git-master_linux/deepstream/sdk/src/gst-plugins/gst-nvinfer/gstnvinfer.cpp(2288): gst_nvinfer_output_loop (): /GstPipeline:pipeline0/GstNvInfer:primary-inference:
streaming stopped, reason error (-5)

Hi,
We see similar error message when display is not set correctly. Please set $ export DISPLAY=:0(or 1) and give it a try.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.