Skip to content

Wont stream RTSP Failed to connect to the D-Bus session #153

@icepicknz

Description

@icepicknz

Hi,

I just installed 2022-01-28-raspios-buster-armhf on a RPi4, followed the
gpu_mem=512 to your /boot/config.txt
framebuffer_width=1920' and 'framebuffer_height=1080

The demo boots fine and plays the video of the mkv and says connecting in a few other boxes.

I commented out all the streams and added mine:

    - camera_streams:
        - url: "rtsp://192.168.44.4:7447/zR4CkwuhXKsMKu2a"
#        - url: "rtsp://192.168.44.4:7447/WEPB3Jn6yz8b8sEE"
#        - url: "rtsp://192.168.44.4:7447/v15hh7bd4qAfxZnv"
#        - url: "rtsp://192.168.44.4:7447/3sjnpi31GTGL0EwF"
#        - url: "rtsp://192.168.44.4:7447/2VOOkDfwzJpXvYBy"
#        - url: "rtsp://192.168.44.4:7447/oBlKwRyQFMywVRgC"
#        - url: "rtsp://192.168.44.4:7447/jHtj9GYW9F1sFBFH"
      rtsp_over_tcp:  true
      duration: 20
      nr_of_columns: 2

Trying single stream with RTSP over TCP true or false just shows connecting to stream on the screen.

/var/log/syslog shows the following.

Mar 11 01:00:48 office-left-tv rpisurv[464]: [01706090] vlcpulse audio output error: PulseAudio server connection failure: Connection refused
Mar 11 01:00:48 office-left-tv rpisurv[464]: [0173f850] dbus interface error: Failed to connect to the D-Bus session daemon: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
Mar 11 01:00:48 office-left-tv rpisurv[464]: [0173f850] main interface error: no suitable interface module
Mar 11 01:00:48 office-left-tv rpisurv[464]: [01688b58] main libvlc error: interface "dbus,none" initialization failed
Mar 11 01:00:48 office-left-tv rpisurv[464]: [0172a630] main interface error: no suitable interface module
Mar 11 01:00:48 office-left-tv rpisurv[464]: [01688b58] main libvlc error: interface "globalhotkeys,none" initialization failed
Mar 11 01:00:48 office-left-tv rpisurv[464]: [0172a630] dummy interface: using the dummy interface module...
Mar 11 01:00:48 office-left-tv rpisurv[464]: Created new TCP socket 4 for connection
Mar 11 01:00:48 office-left-tv rpisurv[464]: [736136b0] mmal_codec decoder: VCSM init succeeded: Legacy
Mar 11 01:00:49 office-left-tv rpisurv[464]: [736136b0] main decoder error: buffer deadlock prevented

I have tried changing GL Driver in Advanced settings to all 3, and gone back to legacy now as G3 wouldn't work at all
-G1 Legacy Original non-GL desktop driver
-G2 GL (Fake KMS) OpenGL desktop driver with fake KMS
-G3 GL (Full KMS) OpenGL desktop driver with full KMS

Additional logs

root@office-left-tv:~# sudo systemctl restart rpisurv;sudo journalctl -fau rpisurv
sudo: unable to resolve host office-left-tv: Name or service not known
sudo: unable to resolve host office-left-tv: Name or service not known
-- Logs begin at Fri 2022-03-11 01:00:03 GMT. --
Mar 11 01:11:46 office-left-tv rpisurv[464]: [73a006b0] main input error: ES_OUT_SET_(GROUP_)PCR  is called too late (pts_delay increased to 551 ms)
Mar 11 01:11:46 office-left-tv rpisurv[464]: [736136b0] main decoder error: buffer deadlock prevented
Mar 11 01:12:40 office-left-tv rpisurv[464]: 2022/03/11 01:12:40 - core.worker - INFO - This process was sigtermed
Mar 11 01:12:40 office-left-tv systemd[1]: Stopping Rpisurv Raspberry Pi Surveillance...
Mar 11 01:12:40 office-left-tv systemd[1]: rpisurv.service: Main process exited, code=killed, status=15/TERM
Mar 11 01:12:40 office-left-tv rpisurv[464]: 2022/03/11 01:12:40 - core.worker - INFO - This process was sigtermed
Mar 11 01:12:40 office-left-tv rpisurv[464]: 2022/03/11 01:12:40 - core.worker - INFO - This stream screen_manager_0_screen1_cam_stream1 has been stopped
Mar 11 01:12:41 office-left-tv systemd[1]: rpisurv.service: Succeeded.
Mar 11 01:12:41 office-left-tv systemd[1]: Stopped Rpisurv Raspberry Pi Surveillance.
Mar 11 01:12:41 office-left-tv systemd[1]: Started Rpisurv Raspberry Pi Surveillance.
Mar 11 01:12:42 office-left-tv rpisurv[6101]: pygame 1.9.4.post1
Mar 11 01:12:42 office-left-tv rpisurv[6101]: Hello from the pygame community. https://www.pygame.org/contribute.html
Mar 11 01:12:42 office-left-tv rpisurv[6101]: 2022/03/11 01:12:42 - l_default - INFO - Starting rpisurv 3.0.0
Mar 11 01:12:42 office-left-tv rpisurv[6101]: 2022/03/11 01:12:42 - l_default - INFO - Auto detected display SAM-SAMSUNG at HDMI 0 with display number 2 1920 x 1080
Mar 11 01:12:42 office-left-tv rpisurv[6101]: 2022/03/11 01:12:42 - l_default - INFO - Unique id of this installation is 8e255237f343b3c7ce914e08ce22ece49873b696ac5ac4f2766a3be1406cff77
Mar 11 01:12:47 office-left-tv rpisurv[6101]: [010ef090] vlcpulse audio output error: PulseAudio server connection failure: Connection refused
Mar 11 01:12:47 office-left-tv rpisurv[6101]: [01128868] dbus interface error: Failed to connect to the D-Bus session daemon: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
Mar 11 01:12:47 office-left-tv rpisurv[6101]: [01128868] main interface error: no suitable interface module
Mar 11 01:12:47 office-left-tv rpisurv[6101]: [01071b58] main libvlc error: interface "dbus,none" initialization failed
Mar 11 01:12:47 office-left-tv rpisurv[6101]: [01113608] main interface error: no suitable interface module
Mar 11 01:12:47 office-left-tv rpisurv[6101]: [01071b58] main libvlc error: interface "globalhotkeys,none" initialization failed
Mar 11 01:12:47 office-left-tv rpisurv[6101]: [01113608] dummy interface: using the dummy interface module...
Mar 11 01:12:47 office-left-tv rpisurv[6101]: Created new TCP socket 4 for connection
Mar 11 01:12:47 office-left-tv rpisurv[6101]: 2022/03/11 01:12:47 - l_default - INFO - Sending stats is disabled, not sending stats
Mar 11 01:12:48 office-left-tv rpisurv[6101]: [736136c0] mmal_codec decoder: VCSM init succeeded: Legacy
Mar 11 01:12:48 office-left-tv rpisurv[6101]: [736136c0] main decoder error: buffer deadlock prevented
Mar 11 01:12:53 office-left-tv rpisurv[6101]: [736136c0] main decoder error: buffer deadlock prevented

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions