"/dev/v4l2-nvenc" and "/dev/nvhost-msenc" are missing

Hello!

I stumbled upon an issue when trying to use the Jetson Multimedia API. When creating an encoder using NvVideoEncoder on my Jetson Orin NX it failed and upon further investigation the aforementioned file was missing. Testing further, I tried to setup a simple GStreamer pipeline to see if even that worked and it spat out

ERROR: from element /GstPipeline:pipeline0/nvv4l2h264enc:nvv4l2h264enc0: Cannot identify device ‘/dev/v4l2-nvenc’.

when checking myself I also didn’t see anything v4l2 related in /dev.

I have nvidia-jetpack installed as shown by

repc@repc-1:~$ sudo apt show nvidia-jetpack
[sudo] password for repc: 
Package: nvidia-jetpack
Version: 6.2+b77
Priority: standard
Section: metapackages
Source: nvidia-jetpack (6.2)
Maintainer: NVIDIA Corporation
Installed-Size: 199 kB
Depends: nvidia-jetpack-runtime (= 6.2+b77), nvidia-jetpack-dev (= 6.2+b77)
Homepage: http://developer.nvidia.com/jetson
Download-Size: 29,3 kB
APT-Manual-Installed: yes
APT-Sources: https://repo.download.nvidia.com/jetson/common r36.4/main arm64 Packages
Description: NVIDIA Jetpack Meta Package

now my question is why are all these files that should allow me to use hardware decoding missing and how do I fix this? Thanks in advance!

Hi,
Orin Nano does not have hardware encoder. Please confirm you use Orin Nano or Orin NX.

Hello, yea I am certain I am using Jetson Orin NX. More specifically Seeed PC j40 16gb which does have hw encoding

Hi,
Please re-flash the system and see if the issue persists. If it is still there, please consult with vendor of the carrier board for help.

The reference setup is Orin NX module + Orin Nano carrier board. If you have Orin Nano carrier board, would suggest put the module on it and try. It is supposed to work well.

I fixed it by downgrading to Jetpack 5.1 and now everything is working as expected.