Nvv4l2av1enc keyFrames not working

Hi,
Please run sudo i2cdump -f -y 0 0x50 to get module information. Probably it’s module specific.

jetson@reComputer:~$ sudo i2cdump -f -y 0 0x50
[sudo] password for jetson:
No size specified (using byte-data access)
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f    0123456789abcdef
00: 02 00 fe 00 00 00 00 00 00 00 00 ff 00 00 00 00    ?.?.............
10: 00 01 00 01 36 39 39 2d 31 33 37 36 37 2d 30 30    .?.?699-13767-00
20: 30 30 2d 33 30 30 20 50 2e 31 00 00 00 00 00 00    00-300 P.1......
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
40: b0 48 00 00 0b 85 03 66 6d 3c 31 34 32 32 31 32    ?H..???fm<142212
50: 34 33 34 38 30 33 32 00 00 00 00 00 00 00 00 00    4348032.........
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
90: 00 00 00 00 00 00 4e 56 43 42 00 ff 4d 31 00 00    ......NVCB..M1..
a0: 00 00 00 00 00 00 00 00 00 00 00 00 0b 85 03 66    ............???f
b0: 6d 3c 01 00 00 00 00 00 00 00 00 00 00 00 00 00    m<?.............
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 68    ...............h

You mean it happens only on some orin modules? Seems @dfloer has the 8GB version, I have the 16 GB NX version. Are there more types?

No size specified (using byte-data access)
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f    0123456789abcdef
00: 02 00 fe 00 00 00 00 00 00 00 00 ff 00 00 00 00    ?.?.............
10: 00 01 00 01 36 39 39 2d 31 33 37 36 37 2d 30 30    .?.?699-13767-00
20: 30 31 2d 33 30 30 20 4d 2e 33 00 00 00 00 00 00    01-300 M.3......
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
40: b0 48 00 00 25 cb d8 2d b0 48 31 34 32 30 39 32    ?H..%??-?H142092
50: 33 30 34 36 32 34 37 00 00 00 00 00 00 00 00 00    3046247.........
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
90: 00 00 00 00 00 00 4e 56 43 42 00 ff 4d 31 00 00    ......NVCB..M1..
a0: 00 00 00 00 00 00 00 00 00 00 00 00 25 cb d8 2d    ............%??-
b0: b0 48 01 00 00 00 00 00 00 00 00 00 00 00 00 00    ?H?.............
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 4c    ...............L

Hi,
We tried Orin NX 16GB and 8GB and no issues. Will try more Orin NX modules and see if can find one module to reproduce it.

1 Like

Hi @dfloer
Please share your flash command for reference. We have the commands listed in

Quick Start — NVIDIA Jetson Linux Developer Guide

Do you use

$ sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1 \
  -c tools/kernel_flash/flash_l4t_t234_nvme.xml -p "-c bootloader/generic/cfg/flash_t234_qspi.xml" \
  --showlogs --network usb0 jetson-orin-nano-devkit internal

or

$ sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1 \
  -c tools/kernel_flash/flash_l4t_t234_nvme.xml -p "-c bootloader/generic/cfg/flash_t234_qspi.xml" \
  --showlogs --network usb0 jetson-orin-nano-devkit-super internal

but we did not use manual flash command, we flashed with Nvidia SDK Manager automatically. Also, Orin NX does not even have a Super edition, right?

Hi,
Yes, Orin NX has super mode enabled on Jetpack 6.2. It is enabled on Orin NX module + Orin Nano carrier board. For custom board, you may check hardware design guide to confirm if the board is eligible for super mode.

I flashed with SDK manager, not manually, and I don’t think it was flashed with Super mode. I don’t see a 40W power mode, just 20W.

Hi @razvanphp
Please try lower bitrate 15Mbps and see if you still observe the issue:

$ gst-launch-1.0 -v videotestsrc is-live=1 num-buffers=900 ! 'video/x-raw,width=2712, height=1538, framerate=90/1' ! nvvidconv ! queue ! nvv4l2av1enc name=encoder1 bitrate=15000000 maxperf-enable=1 insert-seq-hdr=true i drinterval=256 iframeinterval=256 ! av1parse disable-passthrough=true ! matroskamux ! filesink location=a.mkv

Hi @dfloer we an cobserve the issue on developer kit with Orin NX 8GB module,. And the issue is still present even though bitrate is lower. Looks like memory is insufficient for encoding 2712x1538p90. Could you use lower resolution and frame rate?

I tested at 3840x2160 @ 30FPS, and that seemed to work fine. I’m traveling right now, so it might take a week or so for me to be able to do further tests.