Please provide the following info (tick the boxes after creating this topic):
Software Version
DRIVE OS 6.0.10.0
DRIVE OS 6.0.8.1
DRIVE OS 6.0.6
DRIVE OS 6.0.5
DRIVE OS 6.0.4 (rev. 1)
DRIVE OS 6.0.4 SDK
other DRIVE OS 6.0.9.0 SDK
Target Operating System
Linux
QNX
other
Hardware Platform
DRIVE AGX Orin Developer Kit (940-63710-0010-300)
DRIVE AGX Orin Developer Kit (940-63710-0010-200)
DRIVE AGX Orin Developer Kit (940-63710-0010-100)
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
2.1.0
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
Dear NVIDIA Developer Support Team,
I’m currently working with the NvMedia SDK (version 6.0.9.0) and have encountered performance issues with the NvSciBufObjPutPixels
function in our application.
Current Implementation:
- Input: YUV420 planar video at 1936x1220 resolution, 10 FPS
- Using
NvSciBufObjPutPixels
to transfer pixel data to NvSciBuf objects innvm_iep_sci
sample - Observed latency: ~30ms per frame
- High CPU utilization during execution
Here is the sample code in scibuf_utils.c
NvMediaStatus
ReadInput(
char *fileName,
uint32_t frameNum,
uint32_t width,
uint32_t height,
NvSciBufObj bufObj,
ChromaFormat inputFileChromaFormat,
bool uvOrderFlag,
uint32_t pixelAlignment)
{
......
err = NvSciBufObjPutPixels(bufObj, NULL, (const void **)pBuff, pBuffSizes,
pBuffPitches);
if (err != NvSciError_Success) {
LOG_ERR("NvSciBufObjPutPixels failed.");
status = NVMEDIA_STATUS_ERROR;
goto done;
} else {
status = NVMEDIA_STATUS_OK;
}
}
This performance overhead is impacting our real-time processing pipeline. Could you please advise if:
- There are alternative APIs that provide lower-latency pixel data transfer?
- Any recommended optimization techniques for this use case?
We’d greatly appreciate any guidance or code samples that could help reduce both latency and CPU overhead.
Thank you for your support!
Best regards,
HUANG WEIJIA