Input buffer is not NvBufSurface; buffer transform failed

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU) :- GPU
• DeepStream Version :- 7.1 docker
• JetPack Version (valid for Jetson only)
• NVIDIA GPU Driver Version (valid for GPU only) :- 560.35.05

Hey, I have a deepstream pipeline that gave me this error :-

[2025-10-10 05:49:23]
[2025-10-10 05:49:23] 65:23:44.173949701 71299 0x7f976c006b10 ERROR nvvideoconvert gstnvvideoconvert.c:3872:gst_nvvideoconvert_transform: Input buffer is not NvBufSurface
[2025-10-10 05:49:23] 65:23:44.174072427 71299 0x7f976c006b10 ERROR nvvideoconvert gstnvvideoconvert.c:4255:gst_nvvideoconvert_transform: buffer transform failed
[2025-10-10 05:49:23]
[2025-10-10 05:49:23]
[2025-10-10 05:49:23] ERROR from udpsrc325783: Internal data stream error.
[2025-10-10 05:49:23] Debug info: ../libs/gst/base/gstbasesrc.c(3127): gst_base_src_loop (): /GstPipeline:pipeline/GstBin:multi_src_bin/GstBin:src_sub_bin0/GstRTSPSrc:src_elem0/GstUDPSrc:udpsrc325783:
[2025-10-10 05:49:23] streaming stopped, reason error (-5)
[2025-10-10 05:49:23] PIPELINE ERROR [critical]: 901 - Fatal GStreamer error: Internal data stream error.
[2025-10-10 05:49:23] Error sent to Redis queue: pipeline-errors
[2025-10-10 05:49:23] PIPELINE ERROR [critical]: 101 - RTSP connection failed: Internal data stream error.
[2025-10-10 05:49:23] Error sent to Redis queue: pipeline-errors
[2025-10-10 05:49:23] ** INFO: <reset_source_pipeline:1766>: RTSP Resetting source 0 (attempt 0)
[2025-10-10 05:49:23]
[2025-10-10 05:49:23] (hawkvision:71299): GStreamer-CRITICAL **: 05:49:23.904: gst_debug_log_valist: assertion ‘category != NULL’ failed
[2025-10-10 05:49:23]
[2025-10-10 05:49:23] Error parsing GPU utilization: Failed to initialize NVML: Unknown Error
[2025-10-10 05:49:23] nvidia-smi failed with exit code: 65280

[2025-10-10 05:49:24]
[2025-10-10 05:49:24]
[2025-10-10 05:49:24] 65:23:44.588804218 71299 0x7f976c004f10 ERROR nvvideoconvert gstnvvideoconvert.c:3872:gst_nvvideoconvert_transform: Input buffer is not NvBufSurface
[2025-10-10 05:49:24] 65:23:44.588930621 71299 0x7f976c004f10 ERROR nvvideoconvert gstnvvideoconvert.c:4255:gst_nvvideoconvert_transform: buffer transform failed
[2025-10-10 05:49:24]
[2025-10-10 05:49:24]
[2025-10-10 05:49:24]
[2025-10-10 05:49:24] ERROR from udpsrc325786: Internal data stream error.
[2025-10-10 05:49:24] Debug info: ../libs/gst/base/gstbasesrc.c(3127): gst_base_src_loop (): /GstPipeline:pipeline/GstBin:multi_src_bin/GstBin:src_sub_bin1/GstRTSPSrc:src_elem1/GstUDPSrc:udpsrc325786:
[2025-10-10 05:49:24] streaming stopped, reason error (-5)
[2025-10-10 05:49:24] PIPELINE ERROR [critical]: 901 - Fatal GStreamer error: Internal data stream error.
[2025-10-10 05:49:24] Error sent to Redis queue: pipeline-errors
[2025-10-10 05:49:24] PIPELINE ERROR [critical]: 101 - RTSP connection failed: Internal data stream error.
[2025-10-10 05:49:24] Error sent to Redis queue: pipeline-errors
[2025-10-10 05:49:24] ** INFO: <reset_source_pipeline:1766>: RTSP Resetting source 1 (attempt 0)
[2025-10-10 05:49:24]
[2025-10-10 05:49:24] (hawkvision:71299): GStreamer-CRITICAL **: 05:49:24.277: gst_debug_log_valist: assertion ‘category != NULL’ failed
[2025-10-10 05:49:24] **PERF: 0.00 (5.55) 0.00 (5.54)
[2025-10-10 05:49:24]
[2025-10-10 05:49:24]
[2025-10-10 05:49:24] ** INFO: <watch_source_async_state_change:853>: Source 0 reached PLAYING state (retry counter: 0)
[2025-10-10 05:49:24]
[2025-10-10 05:49:24]
[2025-10-10 05:49:24]
[2025-10-10 05:49:24]
[2025-10-10 05:49:24]
[2025-10-10 05:49:24]
[2025-10-10 05:49:24]
[2025-10-10 05:49:24]
[2025-10-10 05:49:24]
[2025-10-10 05:49:24]
[2025-10-10 05:49:24] ** INFO: <watch_source_async_state_change:853>: Source 1 reached PLAYING state (retry counter: 0)
[2025-10-10 05:49:24]
[2025-10-10 05:49:24]
[2025-10-10 05:49:24]
[2025-10-10 05:49:24]
[2025-10-10 05:49:24] 65:23:45.346289321 71299 0x7f976c006b10 ERROR nvvideoconvert gstnvvideoconvert.c:3872:gst_nvvideoconvert_transform: Input buffer is not NvBufSurface
[2025-10-10 05:49:24] 65:23:45.346325899 71299 0x7f976c006b10 ERROR nvvideoconvert gstnvvideoconvert.c:4255:gst_nvvideoconvert_transform: buffer transform failed

It played fine for about a week and then this happened.

I think it happened after the pipeline was trying to reconnect to a RTSP camera

An nvidia-smi failed with exit code: 65280 error message indicates that the nvidia-smi command cannot communicate with the NVIDIA driver. This is typically caused by a problem with the driver installation, a mismatched driver version, or an incompatible kernel module.

Please check whether the driver is damaged

ubuntu@a6000:~$ nvidia-smi
Sat Oct 11 06:22:52 2025       
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 560.35.05              Driver Version: 560.35.05      CUDA Version: 12.6     |
|-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA RTX A6000               Off |   00000000:06:00.0 Off |                    0 |
| 46%   73C    P2            172W /  300W |    2224MiB /  46068MiB |      9%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+
                                                                                         
+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI        PID   Type   Process name                              GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|

+-----------------------------------------------------------------------------------------+

duplicate with 345903

This problem may be related to the driver installation and nvdia-container-toolkit installation. Please completely uninstall the driver and nvidia-container-toolkit and then reinstall them. This usually solves the problem.

If it does not work, it is recommended to reinstall Ubuntu Linux.

let me check