Hey there,
On AGX + Jetpack 4.4 I get the following messages when using VPI:
[WARN ] 2021-01-26 01:01:45 src/private/mem/img/Mapping_CUDAPitch_NvMediaImage.cpp:149 (cudaEGLStreamProducerReturnFrame:cudaErrorUnknown)
[WARN ] 2021-01-26 01:01:45 src/private/mem/img/Mapping_CUDAPitch_NvMediaImage.cpp:149 (cudaEGLStreamProducerReturnFrame:cudaErrorUnknown)
NVMEDIA_ARRAY: 53, Version 2.1
NVMEDIA_VPI : 156, Version 2.3
sValidateSurfacePitch: Pitch must be greater than or equal to 2048 and must be a multiple of 256
NvMediaEglValidateLocalTVMROutputSurface: Pitch validation failed
NvMediaEglFillLocalImageSurface: NvMediaEglValidateLocalTVMROutputSurface failed
NvMediaEglStreamConsumerAcquireCommon: Acquire: EGLExports.stream2.consumer.publicStateGet failed (4)
[NvMediaEglStreamConsumerAcquireImage:967] Consumer acquire failed: 7sValidateSurfacePitch: Pitch must be greater than or equal to 2048 and must be a multiple of 256
NvMediaEglValidateLocalTVMROutputSurface: Pitch validation failed
NvMediaEglFillLocalImageSurface: NvMediaEglValidateLocalTVMROutputSurface failed
NvMediaEglStreamConsumerAcquireCommon: Acquire: EGLExports.stream2.consumer.publicStateGet failed (4)
[NvMediaEglStreamConsumerAcquireImage:967] Consumer acquire failed: 7
I switched the input image resolution from 1280x800 to 1920x1200.
1280%256=0
, but 1920%256=128
, so that makes sense. However I have no idea where the error is from, what the effects are (program crashes undeterministically) or how to fix this (padding would be… very naive).
Is there any documentation on this? The VPI benchmarks also use 1920 as their resolution, so I think there should not be a fundamental problem.