Failed to configure VIC target Surface, NvBufSurfTransform failed with error -2

Please provide complete information as applicable to your setup.

**• Hardware Platform Jetson nano
• DeepStream Version 6.0 using docker
**• JetPack Version ** 4.6
• TensorRT Version 8.0.1
**• Issue Type questions
**• How to reproduce the issue ?
I implement success on x86 Deepstream 6.3, nvidia 535, cuda 12.1. Now i want build source and using it on jetson nano, deepstream 6.0. I remove config can’t using in source code 6.3. And i build success but get error when like that
**• Requirement details
I implement method get_image_from_surface and using NvBufSurfTransform copy image to host. Error:
NvBufSurfTransform failed with error -2 while converting
At line 3669 nvbufsurftransfrom.cpp => failed to configure VIC Target Surface.
How can i fix it?

which sample are you testing or referring to? what is the whole media pipeline?

I send you a part of my code that has an error. I have the error above and think the wrong components were put into the NvBufSurfTransform function.

it seemed to be a custom code. can you simplify the code to narrow down this issue? for example, which part code will cause the error? or can you reproduce the issue based on DeepStream sample? Thanks!

Fix: [Gstreamer] nvvidconv, BGR as INPUT - #5 by simone.rinaldi

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