hello ahmed.louati,
there’s rce-fw update to address General error queue is out of sync with frame queue failure.
however, there’s firmware update specific for JP-5.1.2/l4t-r35.4.1 release version.
i.e. Nvbuf_utils: dmabuf_fd -1 mapped entry NOT found in Jetson Xavier NX - #14 by ShaneCCC
so, may I know which JP-5 public release version you’re working with?
you may check release tag, $ cat /etc/nv_tegra_release for confirmation.