Problems when used nvm_ide_sci sample decode

Please provide the following info (tick the boxes after creating this topic):
Software Version
DRIVE OS 6.0.5
DRIVE OS 6.0.4 (rev. 1)
[*] DRIVE OS 6.0.4 SDK
other

Target Operating System
[*] Linux
QNX
other

Hardware Platform
DRIVE AGX Orin Developer Kit (940-63710-0010-D00)
DRIVE AGX Orin Developer Kit (940-63710-0010-C00)
DRIVE AGX Orin Developer Kit (not sure its number)
other

SDK Manager Version
1.9.0.10816
other

Host Machine Version
native Ubuntu Linux 20.04 Host installed with SDK Manager
native Ubuntu Linux 20.04 Host installed with DRIVE OS Docker Containers
native Ubuntu Linux 18.04 Host installed with DRIVE OS Docker Containers
[*] other

When I used video decoding, I found that the loop can correctly display the size of pd->uDisplayWidth for the first time, and then the subsequent loop shows 0, what is the reason for this, we need to split the code stream one frame and send it to the encoder

Run the following command:.
/nvm_ide_sci -c 6 -f surround_left_14369.h265 -l 2 -v 3

The log is as follows:
./nvm_ide_sci -c 6 -f surround_left_14369.h265 -l 10 -v 2
Init: Opening Input file surround_left_14369.h265
BeginSequence: 1920x1088 (disp: 1920x1080) codec: H265 decode buffers: 4 aspect: 1920:1080 fps: 30.000000 chroma: 4:2:0
nvmedia: BeginSequence: Resolution changed: Old:0x0 New:1920x1088
nvmedia: Create decoder:
nvmedia: NVMEDIA_VIDEO_CODEC_HEVC
nvmedia: Chroma format: NvMediaSurfaceType YUV 420 8bit
nvmedia: buffer->displayWidth1920
nvmedia: buffer->displayHeight1080
loop count: 1/10
nvmedia: buffer->displayWidth0
nvmedia: buffer->displayHeight0
loop count: 2/10
nvmedia: buffer->displayWidth0
nvmedia: buffer->displayHeight0
loop count: 3/10
nvmedia: buffer->displayWidth0
nvmedia: buffer->displayHeight0
loop count: 4/10
nvmedia: buffer->displayWidth0
nvmedia: buffer->displayHeight0
loop count: 5/10
nvmedia: buffer->displayWidth0
nvmedia: buffer->displayHeight0
loop count: 6/10
nvmedia: buffer->displayWidth0
nvmedia: buffer->displayHeight0
loop count: 7/10
nvmedia: buffer->displayWidth0
nvmedia: buffer->displayHeight0
loop count: 8/10
nvmedia: buffer->displayWidth0
nvmedia: buffer->displayHeight0
loop count: 9/10
nvmedia: buffer->displayWidth0
nvmedia: buffer->displayHeight0
loop count: 10/10
Total 10 frames decoded

May I ask what is causing this problem?

Dear @haihua.wei,
Is it possible to use latest release(DRIVE OS 6.0.5) and test?

Okay, let’s take a look first