Did deepstream 6.0 support ipv6 on GPU?

Please provide complete information as applicable to your setup.

**• Hardware Platform (Jetson / GPU)**GPU
• DeepStream Version 6.0
• 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)

Did deepstream 6.0 support ipv6 on GPU?

When I pull ipv6 stream on ubuntu18.04, there is an error.

(V8) david@ubuntu:rtsp$ gst-launch-1.0 rtspsrc location=rtsp://[fe80::d67c:44ff:fed2:26ff%enp61s0f0]:8554/mystream protocols=tcp ! decodebin ! autovideosink
Setting pipeline to PAUSED ...
pci id for fd 9: 1a03:2000, driver (null)
MESA-LOADER: failed to open ast: /usr/lib/dri/ast_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
failed to load driver: ast
Pipeline is live and does not need PREROLL ...
Got context from element 'autovideosink0': gst.gl.GLDisplay=context, gst.gl.GLDisplay=(GstGLDisplay)"\(GstGLDisplayGBM\)\ gldisplaygbm0";
Progress: (open) Opening Stream
Progress: (connect) Connecting to rtsp://[fe80::d67c:44ff:fed2:26ff%enp61s0f0]:8554/mystream
Progress: (open) Retrieving server options
ERROR: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0: Could not read from resource.
Additional debug info:
gstrtspsrc.c(6421): gst_rtspsrc_try_send (): /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0:
Could not receive message. (Received end-of-file)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...

The rtsp server log is as following.

2024/07/12 07:02:40 INF [RTSP] [conn [fe80::d67c:44ff:fed2:26ff%enp61s0f0]:46860] opened
2024/07/12 07:02:40 INF [RTSP] [conn [fe80::d67c:44ff:fed2:26ff%enp61s0f0]:46860] closed: invalid URL (rtsp://[fe80::d67c:44ff:fed2:26ff%enp61s0f0]:8554/mystream)
2024/07/12 07:02:40 INF [RTSP] [conn [fe80::d67c:44ff:fed2:26ff%enp61s0f0]:46862] opened
2024/07/12 07:02:40 INF [RTSP] [conn [fe80::d67c:44ff:fed2:26ff%enp61s0f0]:46862] closed: invalid URL (rtsp://[fe80::d67c:44ff:fed2:26ff%enp61s0f0]:8554/mystream)

There is no response if I do not write ipv6 interface.

$ gst-launch-1.0 rtspsrc location=rtsp://[fe80::d67c:44ff:fed2:26ff]:8554/mystream protocols=tcp ! decodebin ! autovideosink
Use Windows high-resolution clock, precision: 1 ms
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Got context from element 'autovideosink0': gst.d3d11.device.handle=context, device=(GstD3D11Device)"\(GstD3D11Device\)\ d3d11device3", adapter=(uint)0, adapter-luid=(gint64)51775, device-id=(uint)16018, vendor-id=(uint)32902, hardware=(boolean)true, description=(string)"Intel\(R\)\ UHD\ Graphics\ 630";
Progress: (open) Opening Stream
Pipeline is PREROLLED ...
Prerolled, waiting for progress to finish...
Progress: (connect) Connecting to rtsp://[fe80::d67c:44ff:fed2:26ff]:8554/mystream
Progress: (open) Retrieving server options
Progress: (open) Retrieving media info
Progress: (request) SETUP stream 0
Progress: (open) Opened Stream
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Progress: (request) Sending PLAY request
Progress: (request) Sending PLAY request
Progress: (request) Sent PLAY request
Redistribute latency...
Redistribute latency...
Redistribute latency...
Redistribute latency...
Redistribute latency...
handling interrupt.9.
Interrupt: Stopping pipeline ...
Execution ended after 0:03:33.945916200
Setting pipeline to NULL ...
Freeing pipeline ...

I can pull stream using local ipv6 address by gstreamer.

$ gst-launch-1.0 rtspsrc location=rtsp://[::1]:8554/mystream protocols=tcp ! decodebin ! autovideosink                                
Setting pipeline to PAUSED ...
pci id for fd 9: 1a03:2000, driver (null)
MESA-LOADER: failed to open ast: /usr/lib/dri/ast_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
failed to load driver: ast
Pipeline is live and does not need PREROLL ...
Got context from element 'autovideosink0': gst.gl.GLDisplay=context, gst.gl.GLDisplay=(GstGLDisplay)"\(GstGLDisplayGBM\)\ gldisplaygbm0";
Progress: (open) Opening Stream
Progress: (connect) Connecting to rtsp://[::1]:8554/mystream
Progress: (open) Retrieving server options
Progress: (open) Retrieving media info
Progress: (request) SETUP stream 0
Progress: (open) Opened Stream
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Progress: (request) Sending PLAY request
Progress: (request) Sending PLAY request
Progress: (request) Sent PLAY request
WARNING: from element /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstCapsFilter:capsfilter0: not negotiated
Additional debug info:
gstbasetransform.c(1423): gst_base_transform_reconfigure (): /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstCapsFilter:capsfilter0:
not negotiated
WARNING: from element /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstCapsFilter:capsfilter0: not negotiated
Additional debug info:
gstbasetransform.c(1423): gst_base_transform_reconfigure (): /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstCapsFilter:capsfilter0:
not negotiated
WARNING: from element /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstCapsFilter:capsfilter0: not negotiated
Additional debug info:
gstbasetransform.c(1423): gst_base_transform_reconfigure (): /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstCapsFilter:capsfilter0:
not negotiated
WARNING: from element /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstCapsFilter:capsfilter0: not negotiated
Additional debug info:
gstbasetransform.c(1423): gst_base_transform_reconfigure (): /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstCapsFilter:capsfilter0:
not negotiated
WARNING: from element /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstCapsFilter:capsfilter0: not negotiated
Additional debug info:
gstbasetransform.c(1423): gst_base_transform_reconfigure (): /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstCapsFilter:capsfilter0:
not negotiated
WARNING: from element /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstCapsFilter:capsfilter0: not negotiated
Additional debug info:
gstbasetransform.c(1423): gst_base_transform_reconfigure (): /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstCapsFilter:capsfilter0:
not negotiated
WARNING: from element /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstCapsFilter:capsfilter0: not negotiated
Additional debug info:
gstbasetransform.c(1423): gst_base_transform_reconfigure (): /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstCapsFilter:capsfilter0:
not negotiated
WARNING: from element /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstCapsFilter:capsfilter0: not negotiated
Additional debug info:
gstbasetransform.c(1423): gst_base_transform_reconfigure (): /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstCapsFilter:capsfilter0:
not negotiated

I can also pull stream by using ffmpeg and gst-launch-1.0 on window10.
ffmpeg:

PS D:\deal> ffmpeg -i rtsp://[fe80::d67c:44ff:fed2:26ff]:8554/mystream -c copy output.mp4
ffmpeg version 5.1.2-essentials_build-www.gyan.dev Copyright (c) 2000-2022 the FFmpeg developers
  built with gcc 12.1.0 (Rev2, Built by MSYS2 project)
  configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-lzma --enable-zlib --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-sdl2 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-libass --enable-libfreetype --enable-libfribidi --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libgme --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libtheora --enable-libvo-amrwbenc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-librubberband
  libavutil      57. 28.100 / 57. 28.100
  libavcodec     59. 37.100 / 59. 37.100
  libavformat    59. 27.100 / 59. 27.100
  libavdevice    59.  7.100 / 59.  7.100
  libavfilter     8. 44.100 /  8. 44.100
  libswscale      6.  7.100 /  6.  7.100
  libswresample   4.  7.100 /  4.  7.100
  libpostproc    56.  6.100 / 56.  6.100
[rtsp @ 000001e6ed7fab40] RTP: dropping old packet received too late
[rtsp @ 000001e6ed7fab40] max delay reached. need to consume packet
[rtsp @ 000001e6ed7fab40] RTP: missed 18 packets
[rtsp @ 000001e6ed7fab40] max delay reached. need to consume packet
[rtsp @ 000001e6ed7fab40] RTP: missed 5 packets
[rtsp @ 000001e6ed7fab40] max delay reached. need to consume packet
[rtsp @ 000001e6ed7fab40] RTP: missed 62 packets
[rtsp @ 000001e6ed7fab40] max delay reached. need to consume packet
[rtsp @ 000001e6ed7fab40] RTP: missed 1 packets
[rtsp @ 000001e6ed7fab40] max delay reached. need to consume packet
[rtsp @ 000001e6ed7fab40] RTP: missed 11 packets
[rtsp @ 000001e6ed7fab40] max delay reached. need to consume packet
[rtsp @ 000001e6ed7fab40] RTP: missed 45 packets
[rtsp @ 000001e6ed7fab40] max delay reached. need to consume packet
[rtsp @ 000001e6ed7fab40] RTP: missed 5 packets
[rtsp @ 000001e6ed7fab40] max delay reached. need to consume packet
[rtsp @ 000001e6ed7fab40] RTP: missed 6 packets
[rtsp @ 000001e6ed7fab40] max delay reached. need to consume packet
[rtsp @ 000001e6ed7fab40] RTP: missed 8 packets
[rtsp @ 000001e6ed7fab40] max delay reached. need to consume packet
[rtsp @ 000001e6ed7fab40] RTP: missed 9 packets
[rtsp @ 000001e6ed7fab40] max delay reached. need to consume packet
[rtsp @ 000001e6ed7fab40] RTP: missed 6 packets
[rtsp @ 000001e6ed7fab40] max delay reached. need to consume packet
[rtsp @ 000001e6ed7fab40] RTP: missed 6 packets
[h264 @ 000001e6ed8005c0] concealing 7499 DC, 7499 AC, 7499 MV errors in I frame
Input #0, rtsp, from 'rtsp://[fe80::d67c:44ff:fed2:26ff]:8554/mystream':
  Metadata:
    title           : No Name
  Duration: N/A, start: 0.202322, bitrate: N/A
  Stream #0:0: Video: h264 (High), yuv420p(progressive), 1920x1080, 25 fps, 25 tbr, 90k tbn
File 'output.mp4' already exists. Overwrite? [y/N] y
Output #0, mp4, to 'output.mp4':
  Metadata:
    title           : No Name
    encoder         : Lavf59.27.100
  Stream #0:0: Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 1920x1080, q=2-31, 25 fps, 25 tbr, 90k tbn
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
[rtsp @ 000001e6ed7fab40] max delay reached. need to consume packet=N/A speed=N/A
[rtsp @ 000001e6ed7fab40] RTP: missed 54 packets
[rtsp @ 000001e6ed7fab40] max delay reached. need to consume packet
[rtsp @ 000001e6ed7fab40] RTP: missed 7 packets
[rtsp @ 000001e6ed7fab40] max delay reached. need to consume packet
[rtsp @ 000001e6ed7fab40] RTP: missed 16 packets
[rtsp @ 000001e6ed7fab40] max delay reached. need to consume packet
[rtsp @ 000001e6ed7fab40] RTP: missed 4 packets
[rtsp @ 000001e6ed7fab40] max delay reached. need to consume packet
[rtsp @ 000001e6ed7fab40] RTP: missed 10 packets
[rtsp @ 000001e6ed7fab40] max delay reached. need to consume packet
[rtsp @ 000001e6ed7fab40] RTP: missed 66 packets
[rtsp @ 000001e6ed7fab40] max delay reached. need to consume packet
[rtsp @ 000001e6ed7fab40] RTP: missed 34 packets
[rtsp @ 000001e6ed7fab40] max delay reached. need to consume packet
[rtsp @ 000001e6ed7fab40] RTP: missed 27 packets
[rtsp @ 000001e6ed7fab40] max delay reached. need to consume packet
[rtsp @ 000001e6ed7fab40] RTP: missed 6 packets
[rtsp @ 000001e6ed7fab40] max delay reached. need to consume packet
[rtsp @ 000001e6ed7fab40] RTP: missed 12 packets
[rtsp @ 000001e6ed7fab40] max delay reached. need to consume packet
[rtsp @ 000001e6ed7fab40] RTP: missed 105 packets
frame=  114 fps=0.0 q=-1.0 Lsize=     586kB time=00:00:05.52 bitrate= 870.1kbits/s speed=6.63x
video:585kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.224363%
Exiting normally, received signal 2.

gst-launch-1.0:

 MINGW64 /d/deal
$ gst-launch-1.0 rtspsrc location=rtsp://[fe80::d67c:44ff:fed2:26ff]:8554/mystream protocols=tcp ! decodebin ! autovideosink
Use Windows high-resolution clock, precision: 1 ms
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Got context from element 'autovideosink0': gst.d3d11.device.handle=context, device=(GstD3D11Device)"\(GstD3D11Device\)\ d3d11device3", adapter=(uint)0, adapter-luid=(gint64)51775, device-id=(uint)16018, vendor-id=(uint)32902, hardware=(boolean)true, description=(string)"Intel\(R\)\ UHD\ Graphics\ 630";
Progress: (open) Opening Stream
Pipeline is PREROLLED ...
Prerolled, waiting for progress to finish...
Progress: (connect) Connecting to rtsp://[fe80::d67c:44ff:fed2:26ff]:8554/mystream
Progress: (open) Retrieving server options
Progress: (open) Retrieving media info
Progress: (request) SETUP stream 0
Progress: (open) Opened Stream
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Progress: (request) Sending PLAY request
Progress: (request) Sending PLAY request
Progress: (request) Sent PLAY request
Redistribute latency...
Redistribute latency...
Redistribute latency...
Redistribute latency...
Redistribute latency...
handling interrupt.9.
Interrupt: Stopping pipeline ...
Execution ended after 0:03:33.945916200
Setting pipeline to NULL ...
Freeing pipeline ...

The rtsp server log is as following.

2024/07/12 06:39:35 INF [RTSP] [conn [fe80::bfc4:fdb3:a5e4:5a16%enp61s0f0]:55567] opened
2024/07/12 06:39:35 INF [RTSP] [session 5d20816a] created by [fe80::bfc4:fdb3:a5e4:5a16%enp61s0f0]:55567
2024/07/12 06:39:35 INF [RTSP] [session 5d20816a] is reading from path 'mystream', with UDP, 1 track (H264)
2024/07/12 06:39:40 INF [RTSP] [session 5d20816a] destroyed: torn down by [fe80::bfc4:fdb3:a5e4:5a16%enp61s0f0]:55567
2024/07/12 06:39:40 INF [RTSP] [conn [fe80::bfc4:fdb3:a5e4:5a16%enp61s0f0]:55567] closed: EOF
2024/07/12 06:57:23 INF [RTSP] [conn [fe80::bfc4:fdb3:a5e4:5a16%enp61s0f0]:56586] opened
2024/07/12 06:57:23 INF [RTSP] [session f779871c] created by [fe80::bfc4:fdb3:a5e4:5a16%enp61s0f0]:56586
2024/07/12 06:57:24 INF [RTSP] [session f779871c] is reading from path 'mystream', with TCP, 1 track (H264)
2024/07/12 07:00:58 INF [RTSP] [session f779871c] destroyed: torn down by [fe80::bfc4:fdb3:a5e4:5a16%enp61s0f0]:56586
2024/07/12 07:00:58 INF [RTSP] [conn [fe80::bfc4:fdb3:a5e4:5a16%enp61s0f0]:56586] closed: EOF

I can ping rtsp server.

root@sn1702547800231:/data/ai-algorithm# ping6 -I eth0 fe80::2204:fff:fee7:9444
PING fe80::2204:fff:fee7:9444(fe80::2204:fff:fee7:9444) from fe80::4ab0:2dff:fe63:b4ed%eth0 eth0: 56 data bytes
64 bytes from fe80::2204:fff:fee7:9444%eth0: icmp_seq=1 ttl=64 time=0.786 ms
64 bytes from fe80::2204:fff:fee7:9444%eth0: icmp_seq=2 ttl=64 time=0.376 ms
64 bytes from fe80::2204:fff:fee7:9444%eth0: icmp_seq=3 ttl=64 time=0.508 ms
64 bytes from fe80::2204:fff:fee7:9444%eth0: icmp_seq=4 ttl=64 time=0.344 ms
64 bytes from fe80::2204:fff:fee7:9444%eth0: icmp_seq=5 ttl=64 time=0.532 ms
64 bytes from fe80::2204:fff:fee7:9444%eth0: icmp_seq=6 ttl=64 time=0.452 ms
64 bytes from fe80::2204:fff:fee7:9444%eth0: icmp_seq=7 ttl=64 time=0.539 ms

How can I solved it?
Thank you very much.

Please consult in GStreamer website. GStreamer: open source multimedia framework

I have solved this issue.
The deepstream-6.0 support ipv6.