You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
services:
frigate:
deploy: # Nvidia GPU supportresources:
reservations:
devices:
- driver: nvidia# device_ids: ['0']count: 1# number of GPUscapabilities: [gpu]container_name: frigate-nvidiaprivileged: true # this may not be necessary for all setupsrestart: unless-stoppedimage: ghcr.io/blakeblackshear/frigate:6b12a45-tensorrtshm_size: "492mb"# update for your cameras based on calculation abovevolumes:
- /etc/localtime:/etc/localtime:ro
- /config:/config
- /mnt/frigate/storage:/media/frigate
- type: tmpfs # Optional: 1GB of memory, reduces SSD/SD Card weartarget: /tmp/cachetmpfs:
size: 1000000000ports:
- "8971:8971"
- "5000:5000"# Internal unauthenticated access. Expose carefully.
- "8554:8554"# RTSP feeds
- "8555:8555/tcp"# WebRTC over tcp
- "8555:8555/udp"# WebRTC over udpenvironment:
- YOLO_MODELS=yolov4-608,yolov7x-640
- USE_FP16=false
Relevant Frigate log output
2024-12-11 21:52:12.590902127 [INFO] Preparing Frigate...
2024-12-11 21:52:12.599366981 [INFO] Starting Frigate...
2024-12-11 21:52:14.715549872 [2024-12-11 21:52:14] frigate.util.config INFO : Checking if frigate config needs migration...
2024-12-11 21:52:14.815329379 [2024-12-11 21:52:14] frigate.util.config INFO : frigate config does not need migration...
2024-12-11 21:52:15.363723899 [2024-12-11 21:52:15] frigate.app INFO : Starting Frigate (0.15.0-6b12a45)
2024-12-11 21:52:15.379869545 [2024-12-11 21:52:15] peewee_migrate.logs INFO : Starting migrations
2024-12-11 21:52:15.380137510 [2024-12-11 21:52:15] peewee_migrate.logs INFO : There is nothing to migrate
2024-12-11 21:52:15.407409274 [2024-12-11 21:52:15] frigate.app INFO : Recording process started: 347
2024-12-11 21:52:15.407412583 [2024-12-11 21:52:15] frigate.app INFO : Review process started: 356
2024-12-11 21:52:15.411523086 [2024-12-11 21:52:15] frigate.app INFO : go2rtc process pid: 107
2024-12-11 21:52:15.428640227 [2024-12-11 21:52:15] frigate.app INFO : Embedding process started: 365
2024-12-11 21:52:15.442918920 [2024-12-11 21:52:15] frigate.app INFO : Output process started: 384
2024-12-11 21:52:15.474333860 [2024-12-11 21:52:15] frigate.app INFO : Camera processor started for driveway1: 406
2024-12-11 21:52:15.528102043 [2024-12-11 21:52:15] frigate.app INFO : Camera processor started for driveway2: 415
2024-12-11 21:52:15.528107416 [2024-12-11 21:52:15] frigate.app INFO : Camera processor started for garden2: 419
2024-12-11 21:52:15.528109660 [2024-12-11 21:52:15] frigate.app INFO : Camera processor started for garage1: 423
2024-12-11 21:52:15.548837908 [2024-12-11 21:52:15] frigate.app INFO : Camera processor started for garden1: 436
2024-12-11 21:52:15.557434597 [2024-12-11 21:52:15] frigate.app INFO : Camera processor started for garden3: 455
2024-12-11 21:52:15.585848194 [2024-12-11 21:52:15] frigate.app INFO : Capture process started for driveway1: 472
2024-12-11 21:52:15.585852785 [2024-12-11 21:52:15] frigate.app INFO : Capture process started for driveway2: 480
2024-12-11 21:52:15.605329634 [2024-12-11 21:52:15] frigate.app INFO : Capture process started for garden2: 485
2024-12-11 21:52:15.655213492 [2024-12-11 21:52:15] frigate.app INFO : Capture process started for garage1: 501
2024-12-11 21:52:15.678469933 [2024-12-11 21:52:15] frigate.app INFO : Capture process started for garden1: 510
2024-12-11 21:52:15.715035943 [2024-12-11 21:52:15] detector.tensorrt INFO : Starting detection process: 363
2024-12-11 21:52:15.732037827 [2024-12-11 21:52:15] frigate.app INFO : Capture process started for garden3: 518
2024-12-11 21:52:15.738789600 �[1;31m2024-12-11 21:52:15.738076697 [E:onnxruntime:Default, env.cc:228 ThreadMain] pthread_setaffinity_np failed for thread: 533, index: 0, mask: {1, 7, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.�[m
2024-12-11 21:52:15.745104326 �[1;31m2024-12-11 21:52:15.741883333 [E:onnxruntime:Default, env.cc:228 ThreadMain] pthread_setaffinity_np failed for thread: 535, index: 2, mask: {3, 9, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.�[m
2024-12-11 21:52:15.747709136 �[1;31m2024-12-11 21:52:15.747686092 [E:onnxruntime:Default, env.cc:228 ThreadMain] pthread_setaffinity_np failed for thread: 537, index: 4, mask: {5, 11, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.�[m
2024-12-11 21:52:15.854056425 [2024-12-11 21:52:15] frigate.api.fastapi_app INFO : Starting FastAPI app
2024-12-11 21:52:16.017580163 [2024-12-11 21:52:16] frigate.api.fastapi_app INFO : FastAPI started
2024-12-11 21:52:16.051413699 [2024-12-11 21:52:16] frigate.detectors.plugins.tensorrt INFO : Loaded engine size: 284 MiB
2024-12-11 21:52:16.213423196 [2024-12-11 21:52:16] frigate.detectors.plugins.tensorrt INFO : [MemUsageChange] Init cuBLAS/cuBLASLt: CPU +6, GPU +8, now: CPU 447, GPU 336 (MiB)
2024-12-11 21:52:16.218002927 [2024-12-11 21:52:16] frigate.detectors.plugins.tensorrt INFO : [MemUsageChange] Init cuDNN: CPU +2, GPU +10, now: CPU 449, GPU 346 (MiB)
2024-12-11 21:52:16.235418863 [2024-12-11 21:52:16] frigate.detectors.plugins.tensorrt INFO : [MemUsageChange] TensorRT-managed allocation in engine deserialization: CPU +0, GPU +289, now: CPU 0, GPU 289 (MiB)
2024-12-11 21:52:16.242942025 [2024-12-11 21:52:16] frigate.detectors.plugins.tensorrt INFO : [MemUsageChange] Init cuBLAS/cuBLASLt: CPU +0, GPU +8, now: CPU 165, GPU 346 (MiB)
2024-12-11 21:52:16.243465980 [2024-12-11 21:52:16] frigate.detectors.plugins.tensorrt INFO : [MemUsageChange] Init cuDNN: CPU +0, GPU +8, now: CPU 165, GPU 354 (MiB)
2024-12-11 21:52:16.243549268 [2024-12-11 21:52:16] frigate.detectors.plugins.tensorrt INFO : [MemUsageChange] TensorRT-managed allocation in IExecutionContext creation: CPU +0, GPU +145, now: CPU 0, GPU 434 (MiB)
2024-12-11 21:52:16.420398189 �[1;31m2024-12-11 21:52:16.420350429 [E:onnxruntime:Default, env.cc:228 ThreadMain] pthread_setaffinity_np failed for thread: 563, index: 0, mask: {1, 7, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.�[m
2024-12-11 21:52:16.421868956 �[1;31m2024-12-11 21:52:16.420514371 [E:onnxruntime:Default, env.cc:228 ThreadMain] pthread_setaffinity_np failed for thread: 565, index: 2, mask: {3, 9, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.�[m
2024-12-11 21:52:16.421872027 �[1;31m2024-12-11 21:52:16.420624002 [E:onnxruntime:Default, env.cc:228 ThreadMain] pthread_setaffinity_np failed for thread: 567, index: 4, mask: {5, 11, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.�[m
2024-12-11 21:52:20.710927064 Fatal Python error: Segmentation fault
2024-12-11 21:52:20.710930641
2024-12-11 21:52:20.710931782 Thread 0x000073afaae006c0 (most recent call first):
2024-12-11 21:52:20.710945190 File "/usr/lib/python3.9/threading.py", line 312 inwait
2024-12-11 21:52:20.711064369 File "/usr/lib/python3.9/multiprocessing/queues.py", line 233 in _feed
2024-12-11 21:52:20.711109260 File "/usr/lib/python3.9/threading.py", line 892 in run
2024-12-11 21:52:20.711171556 File "/usr/lib/python3.9/threading.py", line 954 in _bootstrap_inner
2024-12-11 21:52:20.711237927 File "/usr/lib/python3.9/threading.py", line 912 in _bootstrap
2024-12-11 21:52:20.711239023
2024-12-11 21:52:20.711245614 Current thread 0x000073b046956740 (most recent call first):
2024-12-11 21:52:20.711333910 File "/opt/frigate/frigate/detectors/plugins/tensorrt.py", line 193 in<listcomp>
2024-12-11 21:52:20.711456079 File "/opt/frigate/frigate/detectors/plugins/tensorrt.py", line 192 in _do_inference
2024-12-11 21:52:20.711499057 File "/opt/frigate/frigate/detectors/plugins/tensorrt.py", line 309 in detect_raw
2024-12-11 21:52:20.711568588 File "/opt/frigate/frigate/object_detection.py", line 95 in detect_raw
2024-12-11 21:52:20.711659950 File "/opt/frigate/frigate/object_detection.py", line 145 in run_detector
2024-12-11 21:52:20.711708764 File "/usr/lib/python3.9/multiprocessing/process.py", line 108 in run
2024-12-11 21:52:20.711875587 File "/opt/frigate/frigate/util/process.py", line 41 in run_wrapper
2024-12-11 21:52:20.711886603 File "/usr/lib/python3.9/multiprocessing/process.py", line 315 in _bootstrap
2024-12-11 21:52:20.711957284 File "/usr/lib/python3.9/multiprocessing/popen_fork.py", line 71 in _launch
2024-12-11 21:52:20.712029405 File "/usr/lib/python3.9/multiprocessing/popen_fork.py", line 19 in __init__
2024-12-11 21:52:20.712101582 File "/usr/lib/python3.9/multiprocessing/context.py", line 277 in _Popen
2024-12-11 21:52:20.712169989 File "/usr/lib/python3.9/multiprocessing/context.py", line 224 in _Popen
2024-12-11 21:52:20.712238471 File "/usr/lib/python3.9/multiprocessing/process.py", line 121 in start
2024-12-11 21:52:20.712307508 File "/opt/frigate/frigate/util/process.py", line 30 in start
2024-12-11 21:52:20.712377510 File "/opt/frigate/frigate/object_detection.py", line 204 in start_or_restart
2024-12-11 21:52:20.712443241 File "/opt/frigate/frigate/object_detection.py", line 172 in __init__
2024-12-11 21:52:20.712501850 File "/opt/frigate/frigate/app.py", line 350 in start_detectors
2024-12-11 21:52:20.712549766 File "/opt/frigate/frigate/app.py", line 598 in start
2024-12-11 21:52:20.712666191 File "/opt/frigate/frigate/__main__.py", line 60 in main
2024-12-11 21:52:20.712669241 File "/opt/frigate/frigate/__main__.py", line 64 in<module>
2024-12-11 21:52:20.712726177 File "/usr/lib/python3.9/runpy.py", line 87 in _run_code
2024-12-11 21:52:20.712787539 File "/usr/lib/python3.9/runpy.py", line 197 in _run_module_as_main
Install method
Proxmox via Docker
Object Detector
TensorRT
Screenshots of the Frigate UI's System metrics pages
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Describe the problem you are having
Ive setup a Proxmox LXC with a docker compose in portainer.
Its doing bootloop with the detector set for tensorrt
Version
6b12a45-tensorrt
Frigate config file
docker-compose file or Docker CLI command
Relevant Frigate log output
Install method
Proxmox via Docker
Object Detector
TensorRT
Screenshots of the Frigate UI's System metrics pages
Any other information that may be helpful
host
container
Beta Was this translation helpful? Give feedback.
All reactions