Deepstream-opencv-test case does not run properly on jetson AGX xavier

  • jetson AGX XAVIER
  • CUDA 11.4
  • deepstream6.1

When I run the deepstream-opencv-test case, it reports an error and flashes and stops

Opening in BLOCKING MODE
NvMMLiteOpen : Block : BlockType = 279
NVMEDIA: Reading vendor.tegra.display-size : status: 6
NvMMLiteBlockCreate : Block : BlockType = 279
In cb_newpad
In cb_newpad
Segmentation fault (core dumped)

Did you change any source code of the DeepStream? Could you use the gdb to locate the Segmentation initially?

Is there a big difference between the jetson platform and the PC platform regarding the Deepstream-opencv-test part of the code?

For the app layer code, there is no difference. However, some algorithms such as image processing will be different in the DeepStream framework.

I modified the gst-example on my pc and it ran without problems, but copying it to jetson didn’t work, so I recompiled it of course.
Is it a difference in any detail?

You can use gdb to debug the crash first and attach the result. Thanks

agx xavier did have some problems, I had much less problems replacing it with jetson orin

So will it crash on Orin platform? The opencv app runs well in our env.