A drm display problem on xavier nx platform

Hi NV,
I am trying to display a coninues video with Nvidia DRM on xavier nx platform. A strange issue is that the main render window(maybe called base plane) displaying was stucked in a random period, meanwhile, other plane still work normally.
I have test this issue on official demo “08_video_dec_drm” in jetson_multimedia_api package on jetpack 4.6.1 BSP. And modified with below:


and

And a record video with phone.


Video is stucked, and color block is moving normally.

Besides, my program is another one, but got same issue.

Hi,
The latest release is Jetpack 4.6.4. It would be great if you can upgrade and give it a try.
Or may try Jetpack 5.1.2.

And can try this logic to read the h264 stream continually:

    if(buffer->planes[0].bytesused == 0)
    {
        stream->clear();
        stream->seekg(0,stream->beg);
        stream->read((char *) buffer->planes[0].data, bytes_to_read);
        buffer->planes[0].bytesused = stream->gcount();
    }
1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.