dlstreamer / pipeline-server

Home of Intel(R) Deep Learning Streamer Pipeline Server (formerly Video Analytics Serving)
BSD 3-Clause "New" or "Revised" License
126 stars 51 forks source link

Server crashes after several minutes when using RTSP camera and GPU inference on 11th Gen Intel® Core™ and later #111

Closed whbruce closed 2 years ago

whbruce commented 2 years ago

Steps to Reproduce

  1. Start server as normal.

  2. Run client with RTSP source, 4 streams and device=GPU

    ./vaclient/vaclient.sh run object_detection/person_vehicle_bike rtsp://camera-address --parameter detection-device GPU --number-of-streams 4
  3. After ~5 minutes, server will crash with segmentation fault.

Workarounds

Two options:

  1. In pipeline.json add decodebin property force-sw-decoders=true
  2. Use specific rtsp depay and decoding instead of decodebin. e.g. rtph264depay ! h264parse ! avdec_h264
whbruce commented 2 years ago

Can be fixed by rebuilding docker image as this picks up latest GPU media/computer stack that fixes issue. Or use dockerhub image intel/dlstreamer-pipeline-server:2022.1.1-ubuntu20.