Failed to run samples, JetPack 4.2 on Xavier

Hi,

Tried the new JetPack4.2 on Xavier.
Samples not working, the split screen is showing black for few seconds and gone.

Any ideas ?

Log:

l@l-desktop:~/DeepStream/deepstream_sdk_on_jetson/samples$ deepstream-app -c configs/deepstream-app/source4_720p_dec_infer-resnet_tracker_sgie_tiled_display_int8.txt

Using winsys: x11

Using TRT model serialized engine /home/l/DeepStream/deepstream_sdk_on_jetson/samples/configs/deepstream-app/…/…/models/Secondary_CarMake/resnet18.caffemodel_b16_int8.engine crypto flags(0)
Using TRT model serialized engine /home/l/DeepStream/deepstream_sdk_on_jetson/samples/configs/deepstream-app/…/…/models/Secondary_CarColor/resnet18.caffemodel_b16_int8.engine crypto flags(0)
Using TRT model serialized engine /home/l/DeepStream/deepstream_sdk_on_jetson/samples/configs/deepstream-app/…/…/models/Secondary_VehicleTypes/resnet18.caffemodel_b16_int8.engine crypto flags(0)
Using TRT model serialized engine /home/l/DeepStream/deepstream_sdk_on_jetson/samples/configs/deepstream-app/…/…/models/Primary_Detector/resnet10.caffemodel_b4_int8.engine crypto flags(0)

Runtime commands:
h: Print this help
q: Quit

    p: Pause
    r: Resume

    z<row-index(0-9)><column-index(0-9)>: Expand a source from the 2D tile array
    u: Go back to 2D tile array

**PERF: FPS 0 (Avg) FPS 1 (Avg) FPS 2 (Avg) FPS 3 (Avg)
**PERF: 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00)
** INFO: <bus_callback:98>: Pipeline ready

NvMMLiteOpen : Block : BlockType = 261
NVMEDIA: Reading sys.display-size : status: 6
NvMMLiteBlockCreate : Block : BlockType = 261
NvMMLiteOpen : Block : BlockType = 261
NVMEDIA: Reading sys.display-size : status: 6
Allocating new output: 1280x720 (x 12), ThumbnailMode = 0
OPENMAX: HandleNewStreamFormat: 3595: Send OMX_EventPortSettingsChanged: nFrameWidth = 1280, nFrameHeight = 720
NvMMLiteBlockCreate : Block : BlockType = 261
NvMMLiteOpen : Block : BlockType = 261
NVMEDIA: Reading sys.display-size : status: 6
NvMMLiteBlockCreate : Block : BlockType = 261
Allocating new output: 1280x720 (x 12), ThumbnailMode = 0
OPENMAX: HandleNewStreamFormat: 3595: Send OMX_EventPortSettingsChanged: nFrameWidth = 1280, nFrameHeight = 720
NvMMLiteOpen : Block : BlockType = 261
NVMEDIA: Reading sys.display-size : status: 6
Allocating new output: 1280x720 (x 12), ThumbnailMode = 0
OPENMAX: HandleNewStreamFormat: 3595: Send OMX_EventPortSettingsChanged: nFrameWidth = 1280, nFrameHeight = 720
NvMMLiteBlockCreate : Block : BlockType = 261
Allocating new output: 1280x720 (x 12), ThumbnailMode = 0
OPENMAX: HandleNewStreamFormat: 3595: Send OMX_EventPortSettingsChanged: nFrameWidth = 1280, nFrameHeight = 720
** INFO: <bus_callback:84>: Pipeline running

buf_convert: Wrong src surface count in ConvertBuffer

Hi,
DeepStream3.0 is specific to r31.1. We will have new release for r32.1.

Hi,

Thanks. Any visibility on planned date ?

hi dannykario,

We can’t disclose the schedule, but should not be too long, please stay tuned.

Thanks

Hi,

same problem here. Brand new Xavier, took 1 complete day to configure and run sdk manager to install latest OS and Jetpack and now this?

Is there a way to downgrade to 31.1?

Hi,
You can do clean re-flash in sdkmanager.

or is there a docker container for deepstream on the xavier? or a snap?

can you help me with a command line to intstall L4T 31 on the xavier? i find it quite hard to work through all the options.

Hi,
For r31.1, please install the system with Jetpack 4.1.1

jetpack 4.2 for xavier is not yet supported, is it?

4.2 does not say “beta” or “preview” but seems the most current version.

however, after downgrading to Jetpack 4.1, we can now install DeepStream but now we get a lot of errors in the line of

(gst-plugin-scanner:8597): GStreamer-WARNING **: 12:42:11.877: Failed to load plugin ‘/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libcluttergst3.so’: /usr/lib/aarch64-linux-gnu/libgbm.so.1: undefined symbol: drmGetDevice2
(gst-plugin-scanner:8597): GStreamer-WARNING **: 12:42:12.789: Failed to load plugin ‘/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstkms.so’: /usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstkms.so: undefined symbol: drmModeGetFB
(gst-plugin-scanner:8597): GStreamer-WARNING **: 12:42:13.597: Failed to load plugin ‘/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstopenglmixers.so’: /usr/lib/aarch64-linux-gnu/libgbm.so.1: undefined symbol: drmGetDevice2
(gst-plugin-scanner:8597): GStreamer-WARNING **: 12:42:13.669: Failed to load plugin ‘/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstopengl.so’: /usr/lib/aarch64-linux-gnu/libgbm.so.1: undefined symbol: drmGetDevice2

Hi,
Please refer to
[url]https://devtalk.nvidia.com/default/topic/1046651/jetson-agx-xavier/gstreamer-no-element-quot-glstereomix-quot-/post/5314671/#5314671[/url]

Hi,
I have the same issue, and don’t want to downgrade the JetPack. Is the new version of DeepStream going to release soon?

this information [ as per my estimate ] can not be released.
Obvious solution [ as per my estimate ] could be to have two disc images - one with JetPack 4.1 and one with JetPack 4.2. And it will be a matter of minutes to switch between them. But that design will need 30-60gb free space probably to store two disk images, but will allow to switch between them.

@DaneLLL +1 on this. Honestly, Nvidia shouldn’t be releasing “official” software versions when its own software isn’t updated for it. This isn’t like it’s prerelease software, jetpack 4.2 is the official install Nvidia recommends. Completely erasing my work to downgrade isn’t an option. Please let your team know how important this is to the community, I can’t imagine the changes are that big.

Hi,
DeepstreamSDK is complex so that we have it released independently. It probably gets into slower pace if it is bundled into BSP release.

We will evaluate your suggestion and see if DeepstreamSDK can be included into SDK Manager.

My error is as follow:

suryadi@xavier:/mnt/DATA/deepstream_sdk_on_jetson/samples/configs/deepstream-app$ deepstream-app -c source30_720p_dec_infer-resnet_tiled_display_int8.txt

....

Allocating new output: 1280x720 (x12), ThumbnailMode = 0
OPENMAX: HandleNewStreamingFormat: 3595: Send OMX_EventPortSettingChanged: nFrameWidth = 1280, nFrameHeight = 720
** INFO: <bus_callback:84>: Pipeline running

nvbuff_utils: dmabuf_fd 0 mapped entry NOT found
nvbuff_utils: NvReleased Failed... Exiting...
buf_convert: Wrong src surface count in ConvertBuffer

How to overcome this error?
Thank you very much in advance.

Suryadi

Hi,
The working environment is Jetpack 4.1.1 + DeepStream3.0 for Xavier.

Four months later and still no Deepstream for 4.2? Running old software is really not an acceptable option for those of us that need the newer features of 4.2. No offense but this gives us the impression that Nvidia doesn’t really care about Deepstream as a product.

Actually we gave up deepstream in the meantime. After 17 days of research we did not find a way to make it work for our purpose. We strongly dislike the fact that it is not open source anyway. But it is also not easy to use nor well documented…