BrandonG777

Members
  • Posts

    128
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

BrandonG777's Achievements

Apprentice

Apprentice (3/14)

7

Reputation

  1. Good looking out! I bet this was my issue all along.
  2. Just ran into this myself... trying to find a solution to move the dataset rather than just moving the files themselves. I'd like to keep my snapshots if possible.
  3. These hard lock ups are killing me. @yayitazale Thoughts on using the yolov8n model? Looks like others are having better luck with it, reading through the gitlub issue link you posted. Also, I attempted limit the memory this container has to 4GB but that didn't help. I have also verified that it is limiting the memory. I thought this would keep it from using too much and killing off critical system processes but no. If anyone could please explain this behavior I would greatly appreciate it. The other attempt I made was restarting the container on a schedule but this most recent lock up happened within 4 hours so don't see this bandaid working without getting in the way of the events within frigate. I have to figure this out, I love Frigate. I'm finally able to accomplish what I was after when I first started purchasing security cams, to know whats happening around my home but not get notified everytime a leaf blows through my yard or the sun decides to come out. UPDATE: Nevermind, got home and realized there must have been some sort of power outage because one of my UPSs was screaming. Will continue with this 4GB limit and see what happens.
  4. So turns out my server locks up were not tied to the USB Coral device I was trying to use but rather out of memory issues that seem to be related to the ffmpeg process. Not sure where I've gone wrong, it works for days/weeks and then at the most inconvenient times it hard locks. mqtt: host: 10.0.0.3 port: 1883 topic_prefix: frigate client_id: frigate user: frigate password: **CENSORED** stats_interval: 60 ffmpeg: hwaccel_args: preset-nvidia-h264 detectors: cuda: type: tensorrt model: path: /config/model_cache/tensorrt/yolov4-tiny-416.trt labelmap_path: /labelmap.txt input_tensor: nchw width: 416 height: 416 record: enabled: true retain: days: 7 mode: motion events: retain: default: 5 mode: active_objects pre_capture: 3 post_capture: 10 snapshots: enabled: true retain: default: 30 timestamp: true bounding_box: true birdseye: enabled: false restream: true width: 1280 height: 720 quality: 8 mode: motion go2rtc: streams: driveway: - rtsp://frigate:**CENSORED**@10.0.0.8:554/cam/realmonitor?channel=1&subtype=0 driveway_sub: - rtsp://frigate:**CENSORED**@10.0.0.8:554/cam/realmonitor?channel=1&subtype=2 front: - rtsp://frigate:**CENSORED**@10.0.0.6:554/cam/realmonitor?channel=1&subtype=0 front_sub: - rtsp://frigate:**CENSORED**@10.0.0.6:554/cam/realmonitor?channel=1&subtype=2 front_door: - rtsp://frigate:**CENSORED**@10.0.0.5:554/cam/realmonitor?channel=2&subtype=0 garage: - rtsp://frigate:**CENSORED**@10.0.0.7:554/cam/realmonitor?channel=1&subtype=0 garage_sub: - rtsp://frigate:**CENSORED**@10.0.0.7:554/cam/realmonitor?channel=1&subtype=2 livingroom: - rtsp://homeassistant:**CENSORED**@10.0.0.9:554/cam/realmonitor?channel=1&subtype=0 north_deck: - rtsp://frigate:**CENSORED**@10.0.0.5:554/cam/realmonitor?channel=4&subtype=0 south_deck: - rtsp://frigate:**CENSORED**@10.0.0.5:554/cam/realmonitor?channel=3&subtype=0 cameras: driveway: ffmpeg: input_args: preset-rtsp-restream inputs: - path: rtsp://127.0.0.1:8554/driveway_sub roles: - detect - path: rtsp://127.0.0.1:8554/driveway roles: - audio - record detect: width: 1280 height: 720 fps: 5 objects: track: - person - bicycle - car - cat - dog filters: car: mask: - 1280,0,1280,440,992,296,569,331,708,720,0,720,0,0 birdseye: mode: continuous zones: driveway_top: coordinates: 687,720,561,321,955,294,1280,481,1259,528,1160,720 motion: mask: - 1243,659,1243,701,831,699,831,663 front: ffmpeg: input_args: preset-rtsp-restream inputs: - path: rtsp://127.0.0.1:8554/front_sub roles: - detect - path: rtsp://127.0.0.1:8554/front roles: - audio - record detect: width: 1280 height: 720 fps: 5 motion: mask: - 1243,659,1243,701,831,699,831,663 objects: track: - person - bicycle - cat - dog filters: person: mask: - 728,720,931,720,887,615,746,469,632,499 zones: driveway_top: coordinates: 238,227,580,161,463,148,218,194 front_lawn: coordinates: 364,255,256,290,745,511,925,720,1280,720,1280,345,1112,276,844,194,637,145,564,165,355,210,312,227 front_patio: coordinates: 0,720,894,720,747,507,233,305,0,412 front_porch: coordinates: 0,407,344,253,231,254,195,105,0,178 birdseye: mode: continuous front_door: ffmpeg: input_args: preset-rtsp-restream inputs: - path: rtsp://127.0.0.1:8554/front_door roles: - detect - record detect: width: 960 height: 480 fps: 5 objects: track: - person - cat - dog zones: front_lawn: coordinates: 588,144,734,221,795,0,351,0,365,44,506,50 front_porch: coordinates: 223,480,960,480,960,160,743,202,588,138,541,81,291,70 motion: mask: - 377,16,383,53,16,45,17,17 garage: ffmpeg: input_args: preset-rtsp-restream inputs: - path: rtsp://127.0.0.1:8554/garage_sub roles: - detect - path: rtsp://127.0.0.1:8554/garage roles: - audio - record detect: width: 1280 height: 720 fps: 5 objects: track: - person - bicycle - car - cat - dog zones: garage_floor: coordinates: 21,263,182,619,428,673,463,720,1280,720,1280,216,967,21,437,26 objects: - person - bicycle - car - cat - dog birdseye: mode: continuous motion: mask: - 430,13,432,44,12,45,12,8 north_deck: ffmpeg: input_args: preset-rtsp-restream inputs: - path: rtsp://127.0.0.1:8554/north_deck roles: - detect - record detect: width: 1280 height: 720 fps: 5 objects: track: - person - cat - dog motion: mask: - 1188,22,1188,55,825,53,828,27 south_deck: ffmpeg: input_args: preset-rtsp-restream inputs: - path: rtsp://127.0.0.1:8554/south_deck roles: - detect - record detect: width: 1280 height: 720 fps: 5 objects: track: - person - cat - dog motion: mask: - 1188,22,1188,55,825,53,828,27 zones: backyard: coordinates: 0,442,715,171,821,133,995,93,604,0,297,0,0,46 deck: coordinates: 0,720,1280,720,1280,0,1202,0,1154,170,908,114,0,433 livingroom: ffmpeg: input_args: preset-rtsp-restream inputs: - path: rtsp://127.0.0.1:8554/livingroom roles: - detect - record detect: width: 1280 height: 720 fps: 5 objects: track: - person - cat - dog zones: kitchen: coordinates: 178,272,780,280,773,117,195,88 livingroom_area: coordinates: 0,720,1280,720,1280,60,890,77,794,115,802,282,0,340 motion: mask: - 1227,30,1227,60,906,60,906,31 birdseye: enabled: false ui: live_mode: mse z-diagnostics-20240322-0532.zip
  5. Thank you but I wasn’t questioning your diagnosis but rather what logs/files you looked at to determine that so that I might possibly be able to diagnose these issues myself and stop relying on others for things I feel like I should know how to do. Sent from my iPhone using Tapatalk
  6. Would you mind sharing what you looked at to determine that it's Frigate causing the OOM errors? I've dug through the logs but perhaps I'm overlooking it or just looking in the wrong place?
  7. Is that related to these extra parameters? --shm-size=256mb --mount type=tmpfs,target=/tmp/cache,tmpfs-size=100000000 I do have a dedicated temp SSD for stuff like this. I'm thinking I should just map that to /tmp/cache? However, I'm sure the SSD isnt as fast as system memory and I have 64GB (which currently reports as 46% utilized). For performance reasons, should I try to adjust this shm to work?
  8. Getting some out of memory errors after a handful of recent changes to one of my systems. Changes I can think of are switching to a new PC, setting up Frigate container, migrated from Plex to Emby, and upgrading to 6.12.8 unRAID. Server runs fine for days/weeks and then eventually hard locks. I originally thought it was the addition of a defective USB Coral device causing this but removing that I'm still having this issue. z-diagnostics-20240321-0518.zip
  9. I gave up on the USB Coral. Couldn't get it to do anything useful. RMA'd for being DOA. I'll order a PCIe version and give that a go... maybe. I've just read so many problems with these devices, even if you do make it work, I've read numerous reports where it stops working after a few months. Hard for me to get excited about a device this inconsistent. Nvidia products while much more expensive actually work from my experience.
  10. I do. I'll see what I can do with those examples but even if I am successful, I feel like I'm out of options for making it work with my target Frigate system (HP z840 workstation). Maybe it's a result of multiple USB dongles like my Zigbee & Bluetooth dongles.
  11. Well, everything has been going fine for me using GPU detector but I have not been able to get my USB Coral device to detect within the container. Early this morning my entire unRAID hard locked on me. Something I have not seen before plugging in this sketchy USB Coral device in. I've mapped /dev/bus/usb and granted the container priviledged access. Beyond this, I can't find anything that I'm missing. Unless someone can point out something I've missed I think I'm throwing in the towel on the USB Coral. You can see my full config above.
  12. Yeah I think you're right at the cutoff. I can't remember where I read it but somewhere I think it said v535 was required.
  13. This was my exact issue on my original post. Somewhere between there and the config I posted yesterday it started working. Just can’t get my usb coral device to recognize Sent from my iPhone using Tapatalk
  14. docker run -d --name='frigate' --net='proxynet' --privileged=true -e TZ="America/Chicago" -e HOST_OS="Unraid" -e HOST_HOSTNAME="z" -e HOST_CONTAINERNAME="frigate" -e 'FRIGATE_RTSP_PASSWORD'='**REMOVED**' -e 'PLUS_API_KEY'='**REMOVED**' -e 'NVIDIA_VISIBLE_DEVICES'='GPU-82933e84-9c02-0ae5-9cf9-bcdd8f64f15d' -e 'NVIDIA_DRIVER_CAPABILITIES'='compute,utility,video' -e 'YOLO_MODELS'='yolov4-416,yolov4-tiny-416' -e 'USE_FP16'='true' -e 'TRT_MODEL_PREP_DEVICE'='0' -l net.unraid.docker.managed=dockerman -l net.unraid.docker.webui='http://[IP]:[PORT:5000]' -l net.unraid.docker.icon='https://raw.githubusercontent.com/yayitazale/unraid-templates/main/frigate.png' -p '5000:5000/tcp' -p '8554:8554/tcp' -p '1984:1984/tcp' -p '8555:8555/tcp' -p '8555:8555/udp' -v '/mnt/user/appdata/frigate':'/config':'rw' -v '/mnt/user/media/frigate':'/media/frigate':'rw' -v '/etc/localtime':'/etc/localtime':'rw' --device='/dev/bus/usb' --runtime=nvidia --shm-size=256mb --mount type=tmpfs,target=/tmp/cache,tmpfs-size=1000000000 --restart unless-stopped 'ghcr.io/blakeblackshear/frigate:stable-tensorrt' 5412a9d43979593111369496272105f33f70df7f5b0a878569905a2173ef9795 mqtt: host: 10.0.0.3 port: 1883 topic_prefix: frigate client_id: frigate user: frigate password: **REMOVED** stats_interval: 60 ffmpeg: hwaccel_args: preset-nvidia-h264 detectors: coral: type: edgetpu device: usb cuda: type: tensorrt model: path: /config/model_cache/tensorrt/yolov4-tiny-416.trt labelmap_path: /labelmap.txt input_tensor: nchw width: 416 height: 416 record: enabled: true retain: days: 7 mode: motion events: retain: default: 5 mode: active_objects pre_capture: 3 post_capture: 10 snapshots: enabled: true retain: default: 30 timestamp: false bounding_box: true birdseye: enabled: false restream: true width: 1280 height: 720 quality: 8 mode: motion go2rtc: streams: driveway: - rtsp://frigate:**REMOVED**@10.0.0.8:554/cam/realmonitor?channel=1&subtype=0 driveway_sub: - rtsp://frigate:**REMOVED**@10.0.0.8:554/cam/realmonitor?channel=1&subtype=1 front: - rtsp://frigate:**REMOVED**@10.0.0.6:554/cam/realmonitor?channel=1&subtype=0 front_sub: - rtsp://frigate:**REMOVED**@10.0.0.6:554/cam/realmonitor?channel=1&subtype=1 front_door: - rtsp://frigate:**REMOVED**@10.0.0.5:554/cam/realmonitor?channel=2&subtype=0 front_door_sub: - rtsp://frigate:**REMOVED**@10.0.0.5:554/cam/realmonitor?channel=2&subtype=1 garage: - rtsp://frigate:**REMOVED**@10.0.0.7:554/cam/realmonitor?channel=1&subtype=0 garage_sub: - rtsp://frigate:**REMOVED**@10.0.0.7:554/cam/realmonitor?channel=1&subtype=1 livingroom: - rtsp://homeassistant:**REMOVED**@10.0.0.9:554/cam/realmonitor?channel=1&subtype=0 livingroom_sub: - rtsp://homeassistant:**REMOVED**@10.0.0.9:554/cam/realmonitor?channel=1&subtype=1 north_deck: - rtsp://frigate:**REMOVED**@10.0.0.5:554/cam/realmonitor?channel=4&subtype=0 north_deck_sub: - rtsp://frigate:**REMOVED**@10.0.0.5:554/cam/realmonitor?channel=4&subtype=1 south_deck: - rtsp://frigate:**REMOVED**@10.0.0.5:554/cam/realmonitor?channel=3&subtype=0 south_deck_sub: - rtsp://frigate:**REMOVED**@10.0.0.5:554/cam/realmonitor?channel=3&subtype=1 cameras: front_door: ffmpeg: input_args: preset-rtsp-restream inputs: - path: rtsp://127.0.0.1:8554/front_door_sub roles: - detect - path: rtsp://127.0.0.1:8554/front_door roles: - record objects: track: - person - cat - dog motion: mask: - 187,7,187,25,7,23,7,7 zones: front_porch: coordinates: 105,240,352,240,352,93,275,113,224,69,192,22,126,0 front_lawn: coordinates: 219,67,271,104,298,0,185,0 north_deck: ffmpeg: input_args: preset-rtsp-restream inputs: - path: rtsp://127.0.0.1:8554/north_deck_sub roles: - detect - path: rtsp://127.0.0.1:8554/north_deck roles: - record objects: track: - person - cat - dog motion: mask: - 331,7,330,23,149,25,149,8 south_deck: ffmpeg: input_args: preset-rtsp-restream inputs: - path: rtsp://127.0.0.1:8554/south_deck_sub roles: - detect - path: rtsp://127.0.0.1:8554/south_deck roles: - record objects: track: - person - cat - dog motion: mask: - 333,6,331,24,149,25,151,6 zones: deck: coordinates: 0,240,352,240,352,56,323,51,261,32,132,101,0,172 backyard: coordinates: 0,171,89,115,174,72,199,57,226,43,266,28,270,0,232,0,147,0,95,0,93,21,0,59 front: ffmpeg: input_args: preset-rtsp-restream inputs: - path: rtsp://127.0.0.1:8554/front_sub roles: - detect - path: rtsp://127.0.0.1:8554/front roles: - audio - record objects: track: - person - bicycle - car - cat - dog filters: car: mask: - 352,122,352,0,80,0,54,14,58,38,97,48,156,48 motion: mask: - 331,216,333,238,156,239,158,216 zones: front_lawn: coordinates: 240,185,277,240,352,240,352,115,267,79,182,50,146,58,107,69,95,101 front_porch: coordinates: 0,134,78,94,54,51,0,73 driveway_top: coordinates: 63,78,149,56,99,28,53,30 front_patio: coordinates: 0,240,254,240,210,172,147,145,108,123,69,99,0,137 birdseye: mode: continuous garage: ffmpeg: input_args: preset-rtsp-restream inputs: - path: rtsp://127.0.0.1:8554/garage_sub roles: - detect - path: rtsp://127.0.0.1:8554/garage roles: - audio - record objects: track: - person - bicycle - car - cat - dog motion: mask: - 180,0,179,21,0,21,0,0 zones: garage_floor: coordinates: 40,164,52,202,123,240,352,240,352,98,274,30,104,27 objects: - person - bicycle - car - cat - dog birdseye: mode: continuous driveway: ffmpeg: input_args: preset-rtsp-restream inputs: - path: rtsp://127.0.0.1:8554/driveway_sub roles: - detect - path: rtsp://127.0.0.1:8554/driveway roles: - audio - record objects: track: - person - bicycle - car - cat - dog filters: car: mask: - 352,0,352,98,318,74,225,50,141,35,180,240,0,240,0,0 motion: mask: - 337,213,332,233,159,233,159,214 birdseye: mode: continuous livingroom: ffmpeg: input_args: preset-rtsp-restream inputs: - path: rtsp://127.0.0.1:8554/livingroom_sub roles: - detect - path: rtsp://127.0.0.1:8554/livingroom roles: - record objects: track: - person - dog motion: mask: - 341,9,341,23,215,22,214,10 zones: livingroom_area: coordinates: 0,240,352,240,352,33,211,38,209,96,49,117,0,174 birdseye: enabled: false ui: live_mode: webrtc No Coral TPU device detected... even with a new USB cable..
  15. Privileged setting? Or something beyond that? Sent from my iPhone using Tapatalk