NvRmChannelSubmit Error?

• Hardware Platform (Jetson / GPU) Nano Module
• DeepStream Version deepstream-4.0_4.0.2-1_arm64.deb [must]
• JetPack Version (valid for Jetson only) 4.3 [must]
• Issue Type( questions, new requirements, bugs) bug
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing) set streammux resolution (1280x720)
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)

image

this is my deepstream pipeline (use two v4l2 cameras 1280x720)

app run good when streammux resolution is set to (1024x600 or 1920x1080)

but error occur when streammux resolution is set to (1280x720)

-error-
falcon 54340000.vic: pin_array_ids: could not get buf err=-22
falcon 54340000.vic: nvhost_ioctl_channel_submit: failed with err -22
falcon 54340000.vic: submit_add_gathers: failed to copy user inputs: class_ids=0000000008025bf8 num_cmdbufs=2
falcon 54340000.vic: nvhost_ioctl_channel_submit: failed with err -22
NvRmChannelSubmit: NvError_IoctlFailed with error code 22
NvRmPrivFlush: NvRmChannelSubmit failed (err = 196623, SyncPointIdx = 31, SyncPointValue = 0)
NvRmPrivFlush: NvRmChannelSubmit failed (err = 196623, SyncPointIdx = 31, SyncPointValue = 0)
NvRmPrivFlush: NvRmChannelSubmit failed (err = 196623, SyncPointIdx = 31, SyncPointValue = 0)
NvRmPrivFlush: NvRmChannelSubmit failed (err = 196623, SyncPointIdx = 31, SyncPointValue = 0)
NvRmPrivFlush: NvRmChannelSubmit failed (err = 196623, SyncPointIdx = 31, SyncPointValue = 0)
NvRmPrivFlush: NvRmChannelSubmit failed (err = 196623, SyncPointIdx = 31, SyncPointValue = 0)
NvRmPrivFlush: NvRmChannelSubmit failed (err = 196623, SyncPointIdx = 31, SyncPointValue = 0)
…~~~ infinity

It happens when i repeat use the valve to switching GUI pipe to Infer pipe few times only when streammux resolution is set 1280x720
[1280 x 721,722,723,724~~~~~~are all good]

The app does not stop even if an error occurs, and the GUI pipe<->Infer pipe switch then operates normally, but the camera output stops and the module is forced to reset after a certain period of time

here is my configration

# Copyright (c) 2018 NVIDIA Corporation.  All rights reserved.
#
# NVIDIA Corporation and its licensors retain all intellectual property
# and proprietary rights in and to this software, related documentation
# and any modifications thereto.  Any use, reproduction, disclosure or
# distribution of this software and related documentation without an express
# license agreement from NVIDIA Corporation is strictly prohibited.

[application]
enable-perf-measurement=1
perf-measurement-interval-sec=5
#gie-kitti-output-dir=./

[tiled-display]
enable=1
rows=1
columns=2
width=1280
height=720

[source0]
enable=1
#Type - 1=CameraV4L2 2=URI 3=MultiURI
type=1
camera-width=1280
camera-height=720
camera-fps-n=30
camera-fps-d=1
camera-v4l2-dev-node=0

[source1]
enable=1
#Type - 1=CameraV4L2 2=URI 3=MultiURI
type=1
camera-width=1280
camera-height=720
camera-fps-n=30
camera-fps-d=1
camera-v4l2-dev-node=1

[source2]
enable=0
#Type - 1=CameraV4L2 2=URI 3=MultiURI
type=1
camera-width=320
camera-height=240
camera-fps-n=10
camera-fps-d=1
camera-v4l2-dev-node=2

[source3]
enable=0
#Type - 1=CameraV4L2 2=URI 3=MultiURI
type=1
camera-width=320
camera-height=240
camera-fps-n=10
camera-fps-d=1
camera-v4l2-dev-node=3



[sink0]
enable=1
#Type - 1=FakeSink 2=EglSink 3=File 4=RTSPStreaming 5=Overlay
type=5
sync=0
display-id=0
offset-x = 0
offset-y=0
width=1280
height=720
overlay-id=1
source-id=0


[osd]
enable=1
border-width=5
text-size=15
text-color=1;1;1;1;
text-bg-color=0.3;0.3;0.3;1
font=Serif
show-clock=0
clock-x-offset=800
clock-y-offset=820
clock-text-size=12
clock-color=1;0;0;0

[streammux]
##Boolean property to inform muxer that sources are live
live-source=1
batch-size=2
##time out in usec, to wait after the first buffer is available
##to push the batch even if the complete batch is not formed
batched-push-timeout=30000
## Set muxer output width and height
width=1280
height=720

# config-file property is mandatory for any gie section.
# Other properties are optional and if set will override the properties set in
# the infer config file.
[primary-gie]
enable=1
model-engine-file=../../models/Primary_Detector_Nano/resnet10.caffemodel_b2_fp16.engine
#Required to display the PGIE labels, should be added even when using config-file
#property
batch-size=2
#Required by the app for OSD, not a plugin property
bbox-border-color0=1;0;0;1
bbox-border-color1=0;1;1;1
bbox-border-color2=0;0;1;1
bbox-border-color3=0;1;0;1
interval=0
#Required by the app for SGIE, when used along with config-file property
gie-unique-id=1
config-file=config_infer_primary_nano.txt


[menu-draw]
enable=1
processing-width=1280
processing-height=720
full-frame=1
unique-id=15
gpu-id=0
page-num=0
cursor-pos=0

menudraw is my custom plugin for GUI Draw using OpenCv based on dsexample

can i fix the error ? or is there a known solution?

There is no update from you for a period, assuming this is not an issue any more.
Hence we are closing this topic. If need further support, please open a new one.
Thanks

Does the issue persist if you remove your own plugin?