NvBufSurfTransform errors running Deepstream

Seeing both error code -2 and -3 while running Deepstream on a Jetson Xavier AGX running Jetpack 4.6

Error: gst-stream-error-quark: NvBufSurfTransform failed with error -2 while converting buffer (1): /dvs/git/dirty/git-master_linux/deepstream/sdk/src/gst-plugins/gst-nvinfer/gstnvinfer.cpp(1376): convert_batch_and_push_to_input_thread (): /GstPipeline:pipeline0/GstNvInfer:classifier
ERROR factory bus_call:340 Error: gst-stream-error-quark: NvBufSurfTransform failed with error -3 while converting buffer (1): /dvs/git/dirty/git-master_linux/deepstream/sdk/src/gst-plugins/gst-nvinfer/gstnvinfer.cpp(1376): convert_batch_and_push_to_input_thread (): /GstPipeline:pipeline0/GstNvInfer:classifier

Found some related posts but not sure how to go about resolving the issue. Tried using this is the Deepstream settings but it did not resolve the issue.

"scaling-compute-hw": 1

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU)
• DeepStream Version
• JetPack Version (valid for Jetson only)
• TensorRT Version
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type( questions, new requirements, bugs)
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)

Please tell us what app are you working on? If it is not in our sample apps, please provide a reproducing app to us for reproduce and debug the issue.

Jetson Xavier NX
Jetpack 4.6 [L4T 32.6.1]
Deepstream 6.0
TensorRT v8001

NvBufSurfTransform erors occur causing inferencing issues.

Without using the scaling-compute-hw = 1 setting to move NvBufSurfTransform operations from the VIC to the GPU, the error code -2 error, NvBufSurfTransformError_Execution_Error, occurs reproducibly using specific test videos.

Using the scaling-compute-hw = 1 setting results in the error code -2 error, NvBufSurfTransformError_Execution_Error, not occurring using a test video that reliably reproduces the issue.

Error code -3, NvBufSurfTransformError_Invalid_Params, does occasionally occur but not nearly as frequently and there is no test video available to reproduce the error.

Difficulty providing a sample app that reproduces the issue without providing our models and a video that produces the Error code -3, NvBufSurfTransformError_Invalid_Params, issue

Can you try the same case with the JetPack 5.1.2 and DeepStream 6.3 GA?