SvenVD/rpisurv

Updated to the latest pi os and now can't connect

geeklingo opened this issue Β· 2 comments

I just updated my Pi to the latest OS, and now i can't seem to connect to my 4 streams. Was working fine before on older Pi OS.

IMG_3959

Also did a GIT pull and install to ensure that i am running the latest version of rpisurv.

πŸ–₯️ display1.yml πŸ–₯️
#THIS IS A YAML FILE, INDENTATION IS IMPORTANT. ALSO DO NOT USE TABS FOR INDENTATION, BUT USE SPACES

essentials:
  #Rpisurv will rotate over the following screens in the order they are configured here, if you only define one screen no rotation will happen

  #If you enable this option no auto rotation will happen, but you will still be able to select a screen by pressing and holding a Function Key (F1-F12) or numpad keys
  #Defaults to False
  #disable_autorotation: False

  screens:
#      #######################################################################################################
#      # Below config is included for demo and test purposes
#      # After installation you can start Rpisurv and the demo should be started
#      #######################################################################################################

    - camera_streams:
        - url: "rtsp://admin:pwd@192.168.1.59:554/cam/realmonitor?channel=1&subtype=1"
        - url: "rtsp://admin:pwd@192.168.1.56:554/cam/realmonitor?channel=1&subtype=1"
        - url: "rtsp://admin:pwd@192.168.1.53:554/cam/realmonitor?channel=1&subtype=1"
        - url: "rtsp://admin:pwd@192.168.1.51:554/cam/realmonitor?channel=1&subtype=1"

The streams work fine when tested on my mac using VLC player.

πŸ“„ main.log πŸ“„
2022/01/07 02:21:11 - l_default - INFO - Starting rpisurv 3.0.0
2022/01/07 02:21:11 - l_default - ERROR - Could not autodetect displays, use values from fallback config
2022/01/07 02:21:11 - l_default - ERROR - Using config display fallback_device_0 at HDMI 0 with display number 2 800 x 480
2022/01/07 02:21:11 - l_default - INFO - Unique id of this installation is 5262dfa64c94a598bffb42a250649248551df40796b6f34780fb7854d8032d7c
2022/01/07 02:21:13 - l_default - ERROR - CameraStream: screen_manager_0_screen1_cam_stream1 rtsp://<hidden_username>:<hidden_password>@192.168.1.59:554/cam/realmonitor?channel=1&subtype=1 Not Connectable (failed socket connect), configured timeout: 3 OSError(101, 'Network is unreachable')
2022/01/07 02:21:13 - l_default - ERROR - CameraStream: screen_manager_0_screen1_cam_stream2 rtsp://<hidden_username>:<hidden_password>@192.168.1.56:554/cam/realmonitor?channel=1&subtype=1 Not Connectable (failed socket connect), configured timeout: 3 OSError(101, 'Network is unreachable')
2022/01/07 02:21:13 - l_default - ERROR - CameraStream: screen_manager_0_screen1_cam_stream3 rtsp://<hidden_username>:<hidden_password>@192.168.1.53:554/cam/realmonitor?channel=1&subtype=1 Not Connectable (failed socket connect), configured timeout: 3 OSError(101, 'Network is unreachable')
2022/01/07 02:21:13 - l_default - ERROR - CameraStream: screen_manager_0_screen1_cam_stream4 rtsp://<hidden_username>:<hidden_password>@192.168.1.51:554/cam/realmonitor?channel=1&subtype=1 Not Connectable (failed socket connect), configured timeout: 3 OSError(101, 'Network is unreachable')
2022/01/07 02:21:13 - l_default - INFO - Sending stats is disabled, not sending stats
πŸ“„ screen_manager_0_screen1_cam_stream1.log πŸ“„
2022/01/06 10:30:49 - core.worker - INFO - Trying to restart screen_manager_0_screen1_cam_stream1 attempts:2110
2022/01/06 10:30:59 - core.worker - INFO - Trying to restart screen_manager_0_screen1_cam_stream1 attempts:2111
2022/01/06 10:31:09 - core.worker - INFO - Trying to restart screen_manager_0_screen1_cam_stream1 attempts:2112
2022/01/06 10:31:19 - core.worker - INFO - Trying to restart screen_manager_0_screen1_cam_stream1 attempts:2113
2022/01/06 10:31:30 - core.worker - INFO - Trying to restart screen_manager_0_screen1_cam_stream1 attempts:2114
2022/01/06 10:31:40 - core.worker - INFO - Trying to restart screen_manager_0_screen1_cam_stream1 attempts:2115
2022/01/06 10:31:50 - core.worker - INFO - Trying to restart screen_manager_0_screen1_cam_stream1 attempts:2116
2022/01/06 10:32:00 - core.worker - INFO - Trying to restart screen_manager_0_screen1_cam_stream1 attempts:2117
2022/01/06 10:32:10 - core.worker - INFO - Trying to restart screen_manager_0_screen1_cam_stream1 attempts:2118
2022/01/06 10:32:20 - core.worker - INFO - Trying to restart screen_manager_0_screen1_cam_stream1 attempts:2119
2022/01/06 10:32:30 - core.worker - INFO - Trying to restart screen_manager_0_screen1_cam_stream1 attempts:2120
2022/01/06 10:32:31 - core.worker - INFO - This stream screen_manager_0_screen1_cam_stream1 has been stopped
2022/01/06 10:32:45 - core.worker - INFO - This stream screen_manager_0_screen1_cam_stream1 has been stopped
2022/01/06 11:32:30 - core.worker - INFO - This process was sigtermed
2022/01/06 11:32:31 - core.worker - INFO - This stream screen_manager_0_screen1_cam_stream1 has been stopped
2022/01/06 11:33:07 - core.worker - INFO - This process was sigtermed
2022/01/06 11:33:07 - core.worker - INFO - This stream screen_manager_0_screen1_cam_stream1 has been stopped
2022/01/06 14:17:22 - core.worker - INFO - This stream screen_manager_0_screen1_cam_stream1 has been stopped
2022/01/06 14:17:24 - core.worker - INFO - This stream screen_manager_0_screen1_cam_stream1 has been stopped
πŸ¦Έβ€β™‚οΈ /var/log/user.log πŸ¦Έβ€β™‚οΈ
Jan  6 11:32:29 raspberrypi rpisurv[444]: [7360c280] mmal_avcodec decoder error: CMA buf pool alloc buf failed
Jan  6 11:32:29 raspberrypi rpisurv[444]: rpi_get_display_buffer: Failed to get buffer from pool
Jan  6 11:32:29 raspberrypi rpisurv[444]: [hevc_rpi @ 0x69d0d310] get_buffer() failed
Jan  6 11:32:29 raspberrypi rpisurv[444]: [hevc_rpi @ 0x69d0d310] thread_get_buffer() failed
Jan  6 11:32:29 raspberrypi rpisurv[444]: [7250e960] mmal_avcodec decoder error: avcodec_send_packet critical error
Jan  6 11:32:29 raspberrypi rpisurv[444]: usrvcsm: [vcsm_malloc_cache]: [16445] [VLC frame]: ioctl mem-alloc FAILED [-1] (hdl: 0)
Jan  6 11:32:29 raspberrypi rpisurv[444]: [7250e960] mmal_avcodec decoder error: CMA buf pool alloc buf failed
Jan  6 11:32:29 raspberrypi rpisurv[444]: rpi_get_display_buffer: Failed to get buffer from pool
Jan  6 11:32:29 raspberrypi rpisurv[444]: [hevc_rpi @ 0x69c14170] get_buffer() failed
Jan  6 11:32:29 raspberrypi rpisurv[444]: [hevc_rpi @ 0x69c14170] thread_get_buffer() failed
Jan  6 11:32:29 raspberrypi rpisurv[444]: [7360c280] mmal_avcodec decoder error: avcodec_send_packet critical error
Jan  6 11:32:29 raspberrypi rpisurv[444]: usrvcsm: [vcsm_malloc_cache]: [16443] [VLC frame]: ioctl mem-alloc FAILED [-1] (hdl: 0)
Jan  6 11:32:29 raspberrypi rpisurv[444]: [7360c280] mmal_avcodec decoder error: CMA buf pool alloc buf failed
Jan  6 11:32:29 raspberrypi rpisurv[444]: rpi_get_display_buffer: Failed to get buffer from pool
Jan  6 11:32:29 raspberrypi rpisurv[444]: [hevc_rpi @ 0x69d292a0] get_buffer() failed
Jan  6 11:32:29 raspberrypi rpisurv[444]: [hevc_rpi @ 0x69d292a0] thread_get_buffer() failed
Jan  6 11:32:29 raspberrypi rpisurv[444]: usrvcsm: [vcsm_malloc_cache]: [16445] [VLC frame]: ioctl mem-alloc FAILED [-1] (hdl: 0)
Jan  6 11:32:29 raspberrypi rpisurv[444]: [7250e960] mmal_avcodec decoder error: CMA buf pool alloc buf failed
Jan  6 11:32:29 raspberrypi rpisurv[444]: rpi_get_display_buffer: Failed to get buffer from pool
Jan  6 11:32:29 raspberrypi rpisurv[444]: [hevc_rpi @ 0x69c04bd0] get_buffer() failed
Jan  6 11:32:29 raspberrypi rpisurv[444]: [hevc_rpi @ 0x69c04bd0] thread_get_buffer() failed
Jan  6 11:32:29 raspberrypi rpisurv[444]: [7250e960] mmal_avcodec decoder error: avcodec_send_packet critical error
Jan  6 11:32:29 raspberrypi rpisurv[444]: [7250e960] mmal_avcodec decoder error: avcodec_send_packet critical error
Jan  6 11:32:29 raspberrypi rpisurv[444]: usrvcsm: [vcsm_malloc_cache]: [16445] [VLC frame]: ioctl mem-alloc FAILED [-1] (hdl: 0)
Jan  6 11:32:29 raspberrypi rpisurv[444]: [7250e960] mmal_avcodec decoder error: CMA buf pool alloc buf failed
Jan  6 11:32:29 raspberrypi rpisurv[444]: rpi_get_display_buffer: Failed to get buffer from pool
Jan  6 11:32:29 raspberrypi rpisurv[444]: [hevc_rpi @ 0x69c0d4f0] get_buffer() failed
Jan  6 11:32:29 raspberrypi rpisurv[444]: [hevc_rpi @ 0x69c0d4f0] thread_get_buffer() failed
Jan  6 11:32:29 raspberrypi rpisurv[444]: [7360c280] mmal_avcodec decoder error: avcodec_send_packet critical error
Jan  6 11:32:29 raspberrypi rpisurv[444]: usrvcsm: [vcsm_malloc_cache]: [16443] [VLC frame]: ioctl mem-alloc FAILED [-1] (hdl: 0)
Jan  6 11:32:29 raspberrypi rpisurv[444]: [7360c280] mmal_avcodec decoder error: CMA buf pool alloc buf failed
Jan  6 11:32:29 raspberrypi rpisurv[444]: rpi_get_display_buffer: Failed to get buffer from pool
Jan  6 11:32:29 raspberrypi rpisurv[444]: [hevc_rpi @ 0x69d04a00] get_buffer() failed
Jan  6 11:32:29 raspberrypi rpisurv[444]: [hevc_rpi @ 0x69d04a00] thread_get_buffer() failed
Jan  6 11:32:29 raspberrypi rpisurv[444]: [7360c280] mmal_avcodec decoder error: avcodec_send_packet critical error
Jan  6 11:32:29 raspberrypi rpisurv[444]: usrvcsm: [vcsm_malloc_cache]: [16443] [VLC frame]: ioctl mem-alloc FAILED [-1] (hdl: 0)
Jan  6 11:32:29 raspberrypi rpisurv[444]: [7360c280] mmal_avcodec decoder error: CMA buf pool alloc buf failed
Jan  6 11:32:29 raspberrypi rpisurv[444]: rpi_get_display_buffer: Failed to get buffer from pool
Jan  6 11:32:29 raspberrypi rpisurv[444]: [hevc_rpi @ 0x69d0d310] get_buffer() failed
Jan  6 11:32:29 raspberrypi rpisurv[444]: [hevc_rpi @ 0x69d0d310] thread_get_buffer() failed
Jan  6 11:32:29 raspberrypi rpisurv[444]: [7360c280] mmal_avcodec decoder error: avcodec_send_packet critical error
Jan  6 11:32:29 raspberrypi rpisurv[444]: usrvcsm: [vcsm_malloc_cache]: [16443] [VLC frame]: ioctl mem-alloc FAILED [-1] (hdl: 0)
Jan  6 11:32:29 raspberrypi rpisurv[444]: [7360c280] mmal_avcodec decoder error: CMA buf pool alloc buf failed
Jan  6 11:32:29 raspberrypi rpisurv[444]: rpi_get_display_buffer: Failed to get buffer from pool
Jan  6 11:32:29 raspberrypi rpisurv[444]: [hevc_rpi @ 0x69d292a0] get_buffer() failed
Jan  6 11:32:29 raspberrypi rpisurv[444]: [hevc_rpi @ 0x69d292a0] thread_get_buffer() failed
Jan  6 11:32:30 raspberrypi rpisurv[444]: 2022/01/06 11:32:30 - core.worker - INFO - This process was sigtermed
Jan  6 11:32:30 raspberrypi rpisurv[444]: 2022/01/06 11:32:30 - core.worker - INFO - This process was sigtermed
Jan  6 11:32:30 raspberrypi rpisurv[444]: 2022/01/06 11:32:30 - core.worker - INFO - This process was sigtermed
Jan  6 11:32:30 raspberrypi rpisurv[444]: 2022/01/06 11:32:30 - core.worker - INFO - This process was sigtermed
Jan  6 11:32:31 raspberrypi rpisurv[444]: 2022/01/06 11:32:31 - core.worker - INFO - This stream screen_manager_0_screen1_cam_stream4 has been stopped
Jan  6 11:32:31 raspberrypi rpisurv[444]: 2022/01/06 11:32:31 - core.worker - INFO - This stream screen_manager_0_screen1_cam_stream2 has been stopped
Jan  6 11:32:31 raspberrypi rpisurv[444]: 2022/01/06 11:32:31 - core.worker - INFO - This stream screen_manager_0_screen1_cam_stream3 has been stopped
Jan  6 11:32:31 raspberrypi rpisurv[444]: 2022/01/06 11:32:31 - core.worker - INFO - This stream screen_manager_0_screen1_cam_stream1 has been stopped
Jan  6 11:33:15 raspberrypi mtp-probe: checking bus 1, device 4: "/sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.1/1-1.1.1"
Jan  6 11:33:15 raspberrypi mtp-probe: bus: 1, device: 4 was not an MTP device
Jan  6 11:33:15 raspberrypi mtp-probe: checking bus 1, device 4: "/sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.1/1-1.1.1"
Jan  6 11:33:15 raspberrypi mtp-probe: bus: 1, device: 4 was not an MTP device
Jan  6 11:33:25 raspberrypi colord[618]: failed to get session [pid 357]: No data available
Jan  7 00:00:22 raspberrypi colord[618]: failed to get session [pid 15051]: No data available
Jan  7 02:21:07 raspberrypi mtp-probe: checking bus 1, device 4: "/sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.1/1-1.1.1"
Jan  7 02:21:07 raspberrypi mtp-probe: bus: 1, device: 4 was not an MTP device
Jan  7 02:21:10 raspberrypi colord[449]: failed to get session [pid 362]: No data available
Jan  7 02:21:10 raspberrypi colord-sane: [bjnp] create_broadcast_socket: ERROR - bind socket to local address failed - Cannot assign requested address
Jan  7 02:21:17 raspberrypi colord[449]: failed to get session [pid 362]: No data available
βš™οΈ /boot/config.txt βš™οΈ
# For more options and information see
# http://rpf.io/configtxt
# Some settings may impact device functionality. See link above for details

# uncomment if you get no picture on HDMI for a default "safe" mode
#hdmi_safe=1
lcd_rotate=2

# uncomment this if your display has a black border of unused pixels visible
# and your display can output without overscan
disable_overscan=1
gpu_mem=512

# uncomment the following to adjust overscan. Use positive numbers if console
# goes off screen, and negative if there is too much border
#overscan_left=16
#overscan_right=16
#overscan_top=16
#overscan_bottom=16

# uncomment to force a console size. By default it will be display's size minus
# overscan.
#framebuffer_width=1280
#framebuffer_height=720

# uncomment if hdmi display is not detected and composite is being output
#hdmi_force_hotplug=1

# uncomment to force a specific HDMI mode (this will force VGA)
#hdmi_group=1
#hdmi_mode=1

# uncomment to force a HDMI mode rather than DVI. This can make audio work in
# DMT (computer monitor) modes
#hdmi_drive=2

# uncomment to increase signal to HDMI, if you have interference, blanking, or
# no display
#config_hdmi_boost=4

# uncomment for composite PAL
#sdtv_mode=2

#uncomment to overclock the arm. 700 MHz is the default.
#arm_freq=800

# Uncomment some or all of these to enable the optional hardware interfaces
#dtparam=i2c_arm=on
#dtparam=i2s=on
#dtparam=spi=on

# Uncomment this to enable infrared communication.
#dtoverlay=gpio-ir,gpio_pin=17
#dtoverlay=gpio-ir-tx,gpio_pin=18

# Additional overlays and parameters are documented /boot/overlays/README

# Enable audio (loads snd_bcm2835)
dtparam=audio=on

[pi4]
# Enable DRM VC4 V3D driver on top of the dispmanx display stack
dtoverlay=vc4-fkms-v3d
max_framebuffers=2

[all]
#dtoverlay=vc4-fkms-v3d

Connectivity to the Pi isn't an issue as i can reach it fine via SSH/FTP.

Actually, the pi update seems to have broken my VLC

pi@raspberrypi:/etc/rpisurv $ vlc rtsp://admin:pwd@192.168.1.59:554/cam/realmonitor?channel=1&subtype=1
[1] 30456
pi@raspberrypi:/etc/rpisurv $ VLC media player 3.0.12 Vetinari (revision 3.0.12-1-0-gd147bb5e7e)
[014515d8] main interface error: no suitable interface module
[013e2b58] main libvlc error: interface "globalhotkeys,none" initialization failed
[013e2b58] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[014515d8] skins2 interface error: cannot initialize OSFactory
[014515d8] [cli] lua interface: Listening on host "*console".
VLC media player 3.0.12 Vetinari
Command Line Interface initialized. Type `help' for help.
> Created new TCP socket 13 for connection
[61600a58] live555 demux error: Failed to connect with rtsp://192.168.1.59:554/cam/realmonitor?channel=1
[61602d00] satip stream error: Failed to setup RTSP session
[61800668] main input error: Your input can't be opened
[61800668] main input error: VLC is unable to open the MRL 'rtsp://admin:pwd@192.168.1.59:554/cam/realmonitor?channel=1'. Check the log for details.

thanks for reporting

seems duplicate see #141 (comment)