[Config Support]: Failed to sync surface #22546
-
Describe the problem you are having12600H, Proxmox, Frigate LXC, Coral TPU. Failed to sync surface and restart of ffmpeg after enabling detection. Everything works (hwaccel according to intel_gpu_top, recording, detection), but these logs appear every N minutes and i think it consumes some CPU resources to restart, and there are hundreds of logs when i enable all of my 7 cameras. Version0.17-0 Frigate config filenorth:
enabled: true
ffmpeg:
inputs:
- path:
rtsp://admin:pass@192.168.88.248:554/1/1?transmode=unicast&profile=vam
#rtsp://127.0.0.1:8554/north
#input_args: preset-rtsp-restream
input_args: preset-rtsp-generic
hwaccel_args: preset-vaapi
roles:
- record
- audio
- path:
rtsp://admin:pass@192.168.88.248:554/1/2?transmode=unicast&profile=vam
roles:
- detect
record:
enabled: True
continuous:
days: 7
detections:
retain:
days: 14
auth:
enabled: false
detect:
enabled: true
width: 1920
height: 1080
fps: 5
snapshots:
enabled: True
retain:
default: 14
objects:
track:
- person
- car
- cat
- dog
ffmpeg:
hwaccel_args: preset-vaapi
detectors:
coral:
type: edgetpu
device: pci:0Relevant Frigate log output2026-03-20 13:13:07.890450 [2026-03-20 13:13:07] frigate.video ERROR : roof: Unable to read frames from ffmpeg process.
2026-03-20 13:13:07.890683 [2026-03-20 13:13:07] frigate.video ERROR : roof: ffmpeg process is not running. exiting capture thread...
2026-03-20 13:13:10.300494 [2026-03-20 13:13:10] watchdog.roof ERROR : Ffmpeg process crashed unexpectedly for roof.
2026-03-20 13:13:10.300636 [2026-03-20 13:13:10] watchdog.roof ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2026-03-20 13:13:10.300827 [2026-03-20 13:13:10] ffmpeg.roof.detect ERROR : [AVHWFramesContext @ 0x706f6006ea40] Failed to sync surface 0x13: 1 (operation failed).
2026-03-20 13:13:10.300962 [2026-03-20 13:13:10] ffmpeg.roof.detect ERROR : [hwdownload @ 0x706f70003980] Failed to download frame: -5.
2026-03-20 13:13:10.301048 [2026-03-20 13:13:10] ffmpeg.roof.detect ERROR : [vf#0:0 @ 0x630b4c476b00] Error while filtering: Input/output error
2026-03-20 13:13:10.301269 [2026-03-20 13:13:10] ffmpeg.roof.detect ERROR : [vf#0:0 @ 0x630b4c476b00] Task finished with error code: -5 (Input/output error)
2026-03-20 13:13:10.301364 [2026-03-20 13:13:10] ffmpeg.roof.detect ERROR : [vf#0:0 @ 0x630b4c476b00] Terminating thread with return code -5 (Input/output error)
2026-03-20 13:13:10.301442 [2026-03-20 13:13:10] watchdog.roof INFO : Restarting ffmpeg...
2026-03-20 13:15:15.507031 [2026-03-20 13:15:15] frigate.video ERROR : roof: Unable to read frames from ffmpeg process.
2026-03-20 13:15:15.507211 [2026-03-20 13:15:15] frigate.video ERROR : roof: ffmpeg process is not running. exiting capture thread...
2026-03-20 13:15:20.327515 [2026-03-20 13:15:20] watchdog.roof ERROR : Ffmpeg process crashed unexpectedly for roof.
2026-03-20 13:15:20.327943 [2026-03-20 13:15:20] watchdog.roof ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2026-03-20 13:15:20.328277 [2026-03-20 13:15:20] ffmpeg.roof.detect ERROR : [AVHWFramesContext @ 0x7fde1c06ea40] Failed to sync surface 0x12: 1 (operation failed).
2026-03-20 13:15:20.328337 [2026-03-20 13:15:20] ffmpeg.roof.detect ERROR : [hwdownload @ 0x7fde24003980] Failed to download frame: -5.
2026-03-20 13:15:20.328381 [2026-03-20 13:15:20] ffmpeg.roof.detect ERROR : [vf#0:0 @ 0x5c96d6c03b00] Error while filtering: Input/output error
2026-03-20 13:15:20.328523 [2026-03-20 13:15:20] ffmpeg.roof.detect ERROR : [vf#0:0 @ 0x5c96d6c03b00] Task finished with error code: -5 (Input/output error)
2026-03-20 13:15:20.328660 [2026-03-20 13:15:20] ffmpeg.roof.detect ERROR : [vf#0:0 @ 0x5c96d6c03b00] Terminating thread with return code -5 (Input/output error)
2026-03-20 13:15:20.328716 [2026-03-20 13:15:20] watchdog.roof INFO : Restarting ffmpeg...
2026-03-20 13:19:00.145754 [2026-03-20 13:19:00] frigate.video ERROR : roof: Unable to read frames from ffmpeg process.
2026-03-20 13:19:00.145863 [2026-03-20 13:19:00] frigate.video ERROR : roof: ffmpeg process is not running. exiting capture thread...
2026-03-20 13:19:00.371583 [2026-03-20 13:19:00] watchdog.roof ERROR : Ffmpeg process crashed unexpectedly for roof.
2026-03-20 13:19:00.371666 [2026-03-20 13:19:00] watchdog.roof ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2026-03-20 13:19:00.371881 [2026-03-20 13:19:00] ffmpeg.roof.detect ERROR : [AVHWFramesContext @ 0x70c9e406b2c0] Failed to sync surface 0x11: 1 (operation failed).
2026-03-20 13:19:00.372028 [2026-03-20 13:19:00] ffmpeg.roof.detect ERROR : [hwdownload @ 0x70c9f8003980] Failed to download frame: -5.
2026-03-20 13:19:00.372080 [2026-03-20 13:19:00] ffmpeg.roof.detect ERROR : [vf#0:0 @ 0x62f149d96e00] Error while filtering: Input/output error
2026-03-20 13:19:00.372124 [2026-03-20 13:19:00] ffmpeg.roof.detect ERROR : [vf#0:0 @ 0x62f149d96e00] Task finished with error code: -5 (Input/output error)
2026-03-20 13:19:00.372168 [2026-03-20 13:19:00] ffmpeg.roof.detect ERROR : [vf#0:0 @ 0x62f149d96e00] Terminating thread with return code -5 (Input/output error)
2026-03-20 13:19:00.372209 [2026-03-20 13:19:00] watchdog.roof INFO : Restarting ffmpeg...
2026-03-20 13:20:43.590097 [2026-03-20 13:20:43] frigate.video ERROR : roof: Unable to read frames from ffmpeg process.
2026-03-20 13:20:43.590297 [2026-03-20 13:20:43] frigate.video ERROR : roof: ffmpeg process is not running. exiting capture thread...
2026-03-20 13:20:50.386615 [2026-03-20 13:20:50] watchdog.roof ERROR : Ffmpeg process crashed unexpectedly for roof.
2026-03-20 13:20:50.386978 [2026-03-20 13:20:50] watchdog.roof ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2026-03-20 13:20:50.387162 [2026-03-20 13:20:50] ffmpeg.roof.detect ERROR : [AVHWFramesContext @ 0x76cd10095740] Failed to sync surface 0x13: 1 (operation failed).
2026-03-20 13:20:50.387289 [2026-03-20 13:20:50] ffmpeg.roof.detect ERROR : [hwdownload @ 0x76cd14003980] Failed to download frame: -5.
2026-03-20 13:20:50.387369 [2026-03-20 13:20:50] ffmpeg.roof.detect ERROR : [vf#0:0 @ 0x566573cf68c0] Error while filtering: Input/output error
2026-03-20 13:20:50.387460 [2026-03-20 13:20:50] ffmpeg.roof.detect ERROR : [vf#0:0 @ 0x566573cf68c0] Task finished with error code: -5 (Input/output error)
2026-03-20 13:20:50.387562 [2026-03-20 13:20:50] ffmpeg.roof.detect ERROR : [vf#0:0 @ 0x566573cf68c0] Terminating thread with return code -5 (Input/output error)
2026-03-20 13:20:50.387692 [2026-03-20 13:20:50] watchdog.roof INFO : Restarting ffmpeg...
2026-03-20 14:07:41.688274 [2026-03-20 14:07:41] frigate.video ERROR : roof: Unable to read frames from ffmpeg process.
2026-03-20 14:07:41.688375 [2026-03-20 14:07:41] frigate.video ERROR : roof: ffmpeg process is not running. exiting capture thread...
2026-03-20 14:07:50.906971 [2026-03-20 14:07:50] watchdog.roof ERROR : Ffmpeg process crashed unexpectedly for roof.
2026-03-20 14:07:50.907388 [2026-03-20 14:07:50] watchdog.roof ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2026-03-20 14:07:50.907528 [2026-03-20 14:07:50] ffmpeg.roof.detect ERROR : [AVHWFramesContext @ 0x794e1c06ad80] Failed to sync surface 0x10: 1 (operation failed).
2026-03-20 14:07:50.907640 [2026-03-20 14:07:50] ffmpeg.roof.detect ERROR : [hwdownload @ 0x794e2c003980] Failed to download frame: -5.
2026-03-20 14:07:50.907782 [2026-03-20 14:07:50] ffmpeg.roof.detect ERROR : [vf#0:0 @ 0x57f80335b8c0] Error while filtering: Input/output error
2026-03-20 14:07:50.907842 [2026-03-20 14:07:50] ffmpeg.roof.detect ERROR : [vf#0:0 @ 0x57f80335b8c0] Task finished with error code: -5 (Input/output error)
2026-03-20 14:07:50.907919 [2026-03-20 14:07:50] ffmpeg.roof.detect ERROR : [vf#0:0 @ 0x57f80335b8c0] Terminating thread with return code -5 (Input/output error)
2026-03-20 14:07:50.907993 [2026-03-20 14:07:50] watchdog.roof INFO : Restarting ffmpeg...
2026-03-20 14:09:31.499983 [2026-03-20 14:09:31] frigate.video ERROR : roof: Unable to read frames from ffmpeg process.
2026-03-20 14:09:31.500183 [2026-03-20 14:09:31] frigate.video ERROR : roof: ffmpeg process is not running. exiting capture thread...
2026-03-20 14:09:40.926629 [2026-03-20 14:09:40] watchdog.roof ERROR : Ffmpeg process crashed unexpectedly for roof.
2026-03-20 14:09:40.926867 [2026-03-20 14:09:40] watchdog.roof ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2026-03-20 14:09:40.926990 [2026-03-20 14:09:40] ffmpeg.roof.detect ERROR : [AVHWFramesContext @ 0x7dd0c806f500] Failed to sync surface 0x12: 1 (operation failed).
2026-03-20 14:09:40.927139 [2026-03-20 14:09:40] ffmpeg.roof.detect ERROR : [hwdownload @ 0x7dd0d0003980] Failed to download frame: -5.
2026-03-20 14:09:40.927208 [2026-03-20 14:09:40] ffmpeg.roof.detect ERROR : [vf#0:0 @ 0x5ded3d1c4f40] Error while filtering: Input/output error
2026-03-20 14:09:40.927273 [2026-03-20 14:09:40] ffmpeg.roof.detect ERROR : [vf#0:0 @ 0x5ded3d1c4f40] Task finished with error code: -5 (Input/output error)
2026-03-20 14:09:40.927348 [2026-03-20 14:09:40] ffmpeg.roof.detect ERROR : [vf#0:0 @ 0x5ded3d1c4f40] Terminating thread with return code -5 (Input/output error)
2026-03-20 14:09:40.927456 [2026-03-20 14:09:40] watchdog.roof INFO : Restarting ffmpeg...
2026-03-20 15:50:33.744600 [2026-03-20 15:50:33] frigate.video ERROR : roof: Unable to read frames from ffmpeg process.
2026-03-20 15:50:33.745055 [2026-03-20 15:50:33] frigate.video ERROR : roof: ffmpeg process is not running. exiting capture thread...
2026-03-20 15:50:41.824224 [2026-03-20 15:50:41] watchdog.roof ERROR : Ffmpeg process crashed unexpectedly for roof.
2026-03-20 15:50:41.824433 [2026-03-20 15:50:41] watchdog.roof ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2026-03-20 15:50:41.824486 [2026-03-20 15:50:41] ffmpeg.roof.detect ERROR : [AVHWFramesContext @ 0x78011006fa80] Failed to sync surface 0x13: 1 (operation failed).
2026-03-20 15:50:41.824645 [2026-03-20 15:50:41] ffmpeg.roof.detect ERROR : [hwdownload @ 0x780120003980] Failed to download frame: -5.
2026-03-20 15:50:41.824691 [2026-03-20 15:50:41] ffmpeg.roof.detect ERROR : [vf#0:0 @ 0x5e401cf09f40] Error while filtering: Input/output error
2026-03-20 15:50:41.824738 [2026-03-20 15:50:41] ffmpeg.roof.detect ERROR : [vf#0:0 @ 0x5e401cf09f40] Task finished with error code: -5 (Input/output error)
2026-03-20 15:50:41.824805 [2026-03-20 15:50:41] ffmpeg.roof.detect ERROR : [vf#0:0 @ 0x5e401cf09f40] Terminating thread with return code -5 (Input/output error)
2026-03-20 15:50:41.824953 [2026-03-20 15:50:41] watchdog.roof INFO : Restarting ffmpeg...
2026-03-20 15:52:37.398156 [2026-03-20 15:52:37] frigate.video ERROR : roof: Unable to read frames from ffmpeg process.
2026-03-20 15:52:37.398342 [2026-03-20 15:52:37] frigate.video ERROR : roof: ffmpeg process is not running. exiting capture thread...
2026-03-20 15:52:41.847906 [2026-03-20 15:52:41] watchdog.roof ERROR : Ffmpeg process crashed unexpectedly for roof.
2026-03-20 15:52:41.848029 [2026-03-20 15:52:41] watchdog.roof ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2026-03-20 15:52:41.848179 [2026-03-20 15:52:41] ffmpeg.roof.detect ERROR : [AVHWFramesContext @ 0x7b6904096380] Failed to sync surface 0x13: 1 (operation failed).
2026-03-20 15:52:41.848324 [2026-03-20 15:52:41] ffmpeg.roof.detect ERROR : [hwdownload @ 0x7b6914003980] Failed to download frame: -5.
2026-03-20 15:52:41.848440 [2026-03-20 15:52:41] ffmpeg.roof.detect ERROR : [vf#0:0 @ 0x5f981b354640] Error while filtering: Input/output error
2026-03-20 15:52:41.848537 [2026-03-20 15:52:41] ffmpeg.roof.detect ERROR : [vf#0:0 @ 0x5f981b354640] Task finished with error code: -5 (Input/output error)
2026-03-20 15:52:41.848606 [2026-03-20 15:52:41] ffmpeg.roof.detect ERROR : [vf#0:0 @ 0x5f981b354640] Terminating thread with return code -5 (Input/output error)
2026-03-20 15:52:41.848684 [2026-03-20 15:52:41] watchdog.roof INFO : Restarting ffmpeg...
2026-03-20 15:54:45.793436 [2026-03-20 15:54:45] frigate.video ERROR : roof: Unable to read frames from ffmpeg process.
2026-03-20 15:54:45.793619 [2026-03-20 15:54:45] frigate.video ERROR : roof: ffmpeg process is not running. exiting capture thread...
2026-03-20 15:54:51.870022 [2026-03-20 15:54:51] watchdog.roof ERROR : Ffmpeg process crashed unexpectedly for roof.
2026-03-20 15:54:51.870198 [2026-03-20 15:54:51] watchdog.roof ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2026-03-20 15:54:51.870460 [2026-03-20 15:54:51] ffmpeg.roof.detect ERROR : [AVHWFramesContext @ 0x76e93406bb40] Failed to sync surface 0x11: 1 (operation failed).
2026-03-20 15:54:51.870711 [2026-03-20 15:54:51] ffmpeg.roof.detect ERROR : [hwdownload @ 0x76e938003980] Failed to download frame: -5.
2026-03-20 15:54:51.870831 [2026-03-20 15:54:51] ffmpeg.roof.detect ERROR : [vf#0:0 @ 0x5a162704a980] Error while filtering: Input/output error
2026-03-20 15:54:51.870913 [2026-03-20 15:54:51] ffmpeg.roof.detect ERROR : [vf#0:0 @ 0x5a162704a980] Task finished with error code: -5 (Input/output error)
2026-03-20 15:54:51.870974 [2026-03-20 15:54:51] ffmpeg.roof.detect ERROR : [vf#0:0 @ 0x5a162704a980] Terminating thread with return code -5 (Input/output error)
2026-03-20 15:54:51.871039 [2026-03-20 15:54:51] watchdog.roof INFO : Restarting ffmpeg...
2026-03-20 15:56:43.200414 [2026-03-20 15:56:43] frigate.video ERROR : roof: Unable to read frames from ffmpeg process.
2026-03-20 15:56:43.200664 [2026-03-20 15:56:43] frigate.video ERROR : roof: ffmpeg process is not running. exiting capture thread...
2026-03-20 15:56:51.890224 [2026-03-20 15:56:51] watchdog.roof ERROR : Ffmpeg process crashed unexpectedly for roof.
2026-03-20 15:56:51.890535 [2026-03-20 15:56:51] watchdog.roof ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2026-03-20 15:56:51.890648 [2026-03-20 15:56:51] ffmpeg.roof.detect ERROR : [AVHWFramesContext @ 0x770b3c06c0c0] Failed to sync surface 0x12: 1 (operation failed).
2026-03-20 15:56:51.890695 [2026-03-20 15:56:51] ffmpeg.roof.detect ERROR : [hwdownload @ 0x770b44003980] Failed to download frame: -5.
2026-03-20 15:56:51.890811 [2026-03-20 15:56:51] ffmpeg.roof.detect ERROR : [vf#0:0 @ 0x60015790da00] Error while filtering: Input/output error
2026-03-20 15:56:51.891120 [2026-03-20 15:56:51] ffmpeg.roof.detect ERROR : [vf#0:0 @ 0x60015790da00] Task finished with error code: -5 (Input/output error)
2026-03-20 15:56:51.891213 [2026-03-20 15:56:51] ffmpeg.roof.detect ERROR : [vf#0:0 @ 0x60015790da00] Terminating thread with return code -5 (Input/output error)
2026-03-20 15:56:51.891308 [2026-03-20 15:56:51] watchdog.roof INFO : Restarting ffmpeg...Relevant go2rtc log output2026-03-19 22:13:42.764983 [INFO] Preparing new go2rtc config...
2026-03-19 22:13:43.020828 [INFO] Starting go2rtc...
2026-03-19 22:13:43.330947 22:13:43.330 INF go2rtc platform=linux/amd64 revision=b5948cf version=1.9.14
2026-03-19 22:13:43.330990 22:13:43.330 INF config path=/config/go2rtc_homekit.yml
2026-03-19 22:13:43.331119 22:13:43.331 INF [api] listen addr=:1984
2026-03-19 22:13:43.331239 22:13:43.331 INF [rtsp] listen addr=:8554
2026-03-19 22:13:43.331558 22:13:43.331 INF [webrtc] listen tcp addr=[::]:8555
2026-03-19 22:13:43.331723 22:13:43.331 INF [webrtc] listen udp addr=192.168.88.13:8555Frigate stats{
"cameras": {
"stolb": {
"camera_fps": 0,
"process_fps": 0,
"skipped_fps": 0,
"detection_fps": 0,
"detection_enabled": true,
"pid": null,
"capture_pid": null,
"ffmpeg_pid": 0,
"audio_rms": 0,
"audio_dBFS": 0
},
"north": {
"camera_fps": 5,
"process_fps": 5.1,
"skipped_fps": 0,
"detection_fps": 0.6,
"detection_enabled": true,
"pid": 716907,
"capture_pid": 716964,
"ffmpeg_pid": 717010,
"audio_rms": 0,
"audio_dBFS": 0
},
"east": {
"camera_fps": 0,
"process_fps": 0,
"skipped_fps": 0,
"detection_fps": 0,
"detection_enabled": true,
"pid": null,
"capture_pid": null,
"ffmpeg_pid": 0,
"audio_rms": 0,
"audio_dBFS": 0
},
"south": {
"camera_fps": 0,
"process_fps": 0,
"skipped_fps": 0,
"detection_fps": 0,
"detection_enabled": true,
"pid": null,
"capture_pid": null,
"ffmpeg_pid": 0,
"audio_rms": 0,
"audio_dBFS": 0
},
"west": {
"camera_fps": 0,
"process_fps": 0,
"skipped_fps": 0,
"detection_fps": 0,
"detection_enabled": true,
"pid": null,
"capture_pid": null,
"ffmpeg_pid": 0,
"audio_rms": 0,
"audio_dBFS": 0
},
"roof": {
"camera_fps": 5.1,
"process_fps": 5.1,
"skipped_fps": 0,
"detection_fps": 2.2,
"detection_enabled": true,
"pid": 717030,
"capture_pid": 717083,
"ffmpeg_pid": 843516,
"audio_rms": 0,
"audio_dBFS": 0
},
"kitchen": {
"camera_fps": 0,
"process_fps": 0,
"skipped_fps": 0,
"detection_fps": 0,
"detection_enabled": true,
"pid": null,
"capture_pid": null,
"ffmpeg_pid": 0,
"audio_rms": 0,
"audio_dBFS": 0
}
},
"detectors": {
"coral": {
"inference_speed": 6.29,
"detection_start": 0,
"pid": 716843
}
},
"camera_fps": 10.1,
"process_fps": 10.2,
"skipped_fps": 0,
"detection_fps": 2.8,
"embeddings": {
},
"gpu_usages": {
"intel-vaapi": {
"gpu": "0.0%",
"mem": "-%",
"clients": {
"717010": "0.0%",
"843516": "0.0%"
}
}
},
"cpu_usages": {
"frigate.full_system": {
"cpu": "4.6",
"mem": "47.3"
},
"1": {
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.1",
"cmdline": "/sbin/init"
},
"51": {
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.1",
"cmdline": "/lib/systemd/systemd-journald"
},
"93": {
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0",
"cmdline": "/usr/sbin/cron -f"
},
"95": {
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0",
"cmdline": "/usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only"
},
"99": {
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0",
"cmdline": "/lib/systemd/systemd-logind"
},
"100": {
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0",
"cmdline": "dhclient -4 -v -i -pf /run/dhclient.eth0.pid -lf /var/lib/dhcp/dhclient.eth0.leases -I -df /var/lib/dhcp/dhclient6.eth0.leases eth0"
},
"110": {
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0",
"cmdline": "/lib/systemd/systemd-networkd"
},
"159": {
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0",
"cmdline": "/bin/bash -c bash /opt/frigate/docker/main/rootfs/etc/s6-overlay/s6-rc.d/go2rtc/run 2\u003E \u003E(/usr/bin/ts '%Y-%m-%d %H:%M:%.S ' \u003E&2) | /usr/bin/ts '%Y-%m-%d %H:%M:%.S '"
},
"161": {
"cpu": "0.0",
"cpu_average": "-1",
"mem": "0.2",
"cmdline": "/usr/local/go2rtc/bin/go2rtc -config=/config/go2rtc_homekit.yml -config=/dev/shm/go2rtc.yaml"
},
"162": {
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0",
"cmdline": "/usr/bin/perl /usr/bin/ts %Y-%m-%d %H:%M:%.S "
},
"168": {
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0",
"cmdline": "/usr/bin/perl /usr/bin/ts %Y-%m-%d %H:%M:%.S "
},
"169": {
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0",
"cmdline": "/bin/bash -c bash /opt/frigate/docker/main/rootfs/etc/s6-overlay/s6-rc.d/nginx/run 2\u003E \u003E(/usr/bin/ts '%Y-%m-%d %H:%M:%.S ' \u003E&2) | /usr/bin/ts '%Y-%m-%d %H:%M:%.S '"
},
"170": {
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0",
"cmdline": "bash /opt/frigate/docker/main/rootfs/etc/s6-overlay/s6-rc.d/nginx/run"
},
"171": {
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0",
"cmdline": "/usr/bin/perl /usr/bin/ts %Y-%m-%d %H:%M:%.S "
},
"172": {
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0",
"cmdline": "/usr/bin/perl /usr/bin/ts %Y-%m-%d %H:%M:%.S "
},
"173": {
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0",
"cmdline": "/sbin/agetty -o -p -- \\u --noclear --keep-baud - 115200,38400,9600 linux"
},
"174": {
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0",
"cmdline": "/bin/login -f "
},
"175": {
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0",
"cmdline": "/sbin/agetty -o -p -- \\u --noclear - linux"
},
"185": {
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0",
"cmdline": "sshd: /usr/sbin/sshd -D [listener] 0 of 10-100 startups"
},
"207": {
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.1",
"cmdline": "nginx: master process nginx"
},
"214": {
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.1",
"cmdline": "nginx: worker process"
},
"215": {
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.1",
"cmdline": "nginx: worker process"
},
"283": {
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.1",
"cmdline": "nginx: worker process"
},
"284": {
"cpu": "0.0",
"cpu_average": "-1",
"mem": "0.1",
"cmdline": "nginx: worker process"
},
"285": {
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.1",
"cmdline": "nginx: cache manager process"
},
"525": {
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0",
"cmdline": "/usr/lib/postfix/sbin/master -w"
},
"532": {
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0",
"cmdline": "-bash"
},
"567770": {
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0",
"cmdline": "qmgr -l -t unix -u"
},
"716378": {
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0",
"cmdline": "/bin/bash -c bash /opt/frigate/docker/main/rootfs/etc/s6-overlay/s6-rc.d/frigate/run 2\u003E \u003E(/usr/bin/ts '%Y-%m-%d %H:%M:%.S ' \u003E&2) | /usr/bin/ts '%Y-%m-%d %H:%M:%.S '"
},
"716379": {
"cpu": "1.9",
"cpu_average": "-1",
"mem": "2.6",
"cmdline": "python3 -u -m frigate"
},
"716380": {
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0",
"cmdline": "/usr/bin/perl /usr/bin/ts %Y-%m-%d %H:%M:%.S "
},
"716381": {
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0",
"cmdline": "/usr/bin/perl /usr/bin/ts %Y-%m-%d %H:%M:%.S "
},
"716397": {
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.1",
"cmdline": "/usr/bin/python3 -Wignore:::numpy.core.getlimits -c from multiprocessing.resource_tracker import main;main(5)"
},
"716398": {
"cpu": "0.0",
"cpu_average": "-1",
"mem": "0.9",
"cmdline": "/usr/bin/python3 -Wignore:::numpy.core.getlimits -c from multiprocessing.forkserver import main; main(5, 7, ['sqlite3', 'numpy', 'cv2', 'peewee', 'zmq', 'ruamel.yaml', 'frigate.camera.maintainer'], **{'sys_path': ['/opt/frigate', '/usr/lib/python311.zip', '/usr/lib/python3.11', '/usr/lib/python3.11/lib-dynload', '/usr/local/lib/python3.11/dist-packages', '/usr/lib/python3/dist-packages']})"
},
"716405": {
"cpu": "0.5",
"cpu_average": "-1",
"mem": "0.8",
"cmdline": "/usr/bin/python3 -Wignore:::numpy.core.getlimits -c from multiprocessing.forkserver import main; main(5, 7, ['sqlite3', 'numpy', 'cv2', 'peewee', 'zmq', 'ruamel.yaml', 'frigate.camera.maintainer'], **{'sys_path': ['/opt/frigate', '/usr/lib/python311.zip', '/usr/lib/python3.11', '/usr/lib/python3.11/lib-dynload', '/usr/local/lib/python3.11/dist-packages', '/usr/lib/python3/dist-packages']})"
},
"716753": {
"cpu": "0.4",
"cpu_average": "-1",
"mem": "1.1",
"cmdline": "frigate.recording_manager "
},
"716770": {
"cpu": "0.1",
"cpu_average": "-1",
"mem": "1.0",
"cmdline": "frigate.review_segment_manager "
},
"716804": {
"cpu": "0.3",
"cpu_average": "-1",
"mem": "1.1",
"cmdline": "frigate.embeddings_manager "
},
"716843": {
"cpu": "0.3",
"cpu_average": "-1",
"mem": "1.0",
"cmdline": "frigate.detector:coral "
},
"716869": {
"cpu": "0.6",
"cpu_average": "-1",
"mem": "1.1",
"cmdline": "frigate.output "
},
"716907": {
"cpu": "1.0",
"cpu_average": "-1",
"mem": "1.1",
"cmdline": "frigate.process:north "
},
"716964": {
"cpu": "1.2",
"cpu_average": "-1",
"mem": "0.9",
"cmdline": "frigate.capture:north "
},
"717010": {
"cpu": "2.8",
"cpu_average": "-1",
"mem": "0.4",
"cmdline": "/usr/lib/ffmpeg/7.0/bin/ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel_flags allow_profile_mismatch -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format vaapi -user_agent FFmpeg Frigate/0.17.0- -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 10000000 -use_wallclock_as_timestamps 1 -i rtsp://*:*@192.168.88.248:554/1/2?transmode=unicast&profile=vam -r 5 -vf fps=5,scale_vaapi=w=1920:h=1080,hwdownload,format=nv12,eq=gamma=1.4:gamma_weight=0.5 -threads 2 -f rawvideo -pix_fmt yuv420p pipe:"
},
"717024": {
"cpu": "1.3",
"cpu_average": "-1",
"mem": "0.1",
"cmdline": "/usr/lib/ffmpeg/7.0/bin/ffmpeg -hide_banner -loglevel warning -threads 2 -user_agent FFmpeg Frigate/0.17.0- -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 10000000 -use_wallclock_as_timestamps 1 -i rtsp://*:*@192.168.88.248:554/1/1?transmode=unicast&profile=vam -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -c:a aac /tmp/cache/north@%Y%m%d%H%M%S%z.mp4"
},
"717030": {
"cpu": "1.0",
"cpu_average": "-1",
"mem": "1.1",
"cmdline": "frigate.process:roof "
},
"717083": {
"cpu": "1.2",
"cpu_average": "-1",
"mem": "1.0",
"cmdline": "frigate.capture:roof "
},
"717140": {
"cpu": "1.2",
"cpu_average": "-1",
"mem": "0.1",
"cmdline": "/usr/lib/ffmpeg/7.0/bin/ffmpeg -hide_banner -loglevel warning -threads 2 -user_agent FFmpeg Frigate/0.17.0- -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 10000000 -use_wallclock_as_timestamps 1 -i rtsp://*:*@192.168.88.251:554/stream1 -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -c:a aac /tmp/cache/roof@%Y%m%d%H%M%S%z.mp4"
},
"717141": {
"cpu": "0.0",
"cpu_average": "-1",
"mem": "0.3",
"cmdline": "/usr/lib/ffmpeg/7.0/bin/ffmpeg -threads 1 -f rawvideo -pix_fmt yuv420p -video_size 1920x1080 -i pipe: -threads 1 -f mpegts -s 1280x720 -codec:v mpeg1video -q 8 -bf 0 pipe:"
},
"717146": {
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.2",
"cmdline": "/usr/lib/ffmpeg/7.0/bin/ffmpeg -threads 1 -f rawvideo -pix_fmt yuv420p -video_size 1920x1080 -i pipe: -threads 1 -f mpegts -s 1280x720 -codec:v mpeg1video -q 8 -bf 0 pipe:"
},
"717151": {
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.2",
"cmdline": "/usr/lib/ffmpeg/7.0/bin/ffmpeg -threads 1 -f rawvideo -pix_fmt yuv420p -video_size 1280x720 -i pipe: -threads 1 -f mpegts -s 1280x720 -codec:v mpeg1video -q 8 -bf 0 pipe:"
},
"801327": {
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0",
"cmdline": "pickup -l -t unix -u -c"
},
"843516": {
"cpu": "2.7",
"cpu_average": "-1",
"mem": "0.5",
"cmdline": "/usr/lib/ffmpeg/7.0/bin/ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel_flags allow_profile_mismatch -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format vaapi -user_agent FFmpeg Frigate/0.17.0- -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 10000000 -use_wallclock_as_timestamps 1 -i rtsp://*:*@192.168.88.251:554/stream1 -r 5 -vf fps=5,scale_vaapi=w=1920:h=1080,hwdownload,format=nv12,eq=gamma=1.4:gamma_weight=0.5 -threads 2 -f rawvideo -pix_fmt yuv420p pipe:"
}
},
"service": {
"uptime": 10135,
"version": "0.17.0-",
"latest_version": "0.17.0",
"storage": {
"/media/frigate/recordings": {
"total": 3754444.8,
"used": 3072437.3,
"free": 491219.1,
"mount_type": "ext4"
},
"/media/frigate/clips": {
"total": 3754444.8,
"used": 3072437.3,
"free": 491219.1,
"mount_type": "ext4"
},
"/tmp/cache": {
"total": 7861.1,
"used": 56.7,
"free": 7804.4,
"mount_type": "tmpfs"
},
"/dev/shm": {
"total": 7861.1,
"used": 1042.8,
"free": 6818.3,
"mount_type": "tmpfs",
"available": 7811.1,
"camera_frame_size": 9.6,
"shm_frame_count": 50,
"min_shm": 242
}
},
"temperatures": {
"apex_0": 49.05
},
"last_updated": 1774011575
},
"processes": {
"recording": {
"pid": 716753
},
"review_segment": {
"pid": 716770
},
"go2rtc": {
"pid": 161
},
"embeddings": {
"pid": 716804
}
}
}Operating systemProxmox Install methodProxmox via TTeck Script docker-compose file or Docker CLI commandnoObject DetectorCoral Screenshots of the Frigate UI's System metrics pagesNo response Any other information that may be helpfulThere is no error when detection is off |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
|
The "Failed to sync surface" errors you're seeing are related to VAAPI hardware acceleration failing intermittently when downloading decoded frames from the GPU. This is a known issue that can occur in virtualized environments like Proxmox LXC containers. (1) (2) Root Cause Running Frigate in a Proxmox LXC with GPU passthrough introduces complexity. The virtualization layer can cause intermittent communication issues with the Intel GPU's VAAPI interface, leading to these surface sync failures. (1) Potential Solutions
The virtualization layer often introduces overhead for communication with hardware devices, and successfully passing hardware through multiple levels of containerization (LXC then Docker) can be difficult. (1) 📚 Sources: Have another question? Just tag @inkeep. |
Beta Was this translation helpful? Give feedback.
-
|
You should use QSV not vaapi |
Beta Was this translation helpful? Give feedback.
specifying detect resolution solved the issue (stream is fhd so i set detect to fhd too).