| 14 Jan 2025 |
Samsonite | lol | 01:35:35 |
Samsonite | ok that's all i need to know | 01:35:39 |
Samsonite | thanks | 01:35:39 |
@hexa:lossy.network | I mean | 01:36:03 |
@hexa:lossy.network | that looks like a ripoff from something I once posted to an issue | 01:36:43 |
@hexa:lossy.network | systemd.services.frigate = {
environment.LIBVA_DRIVER_NAME = "radeonsi";
serviceConfig = {
SupplementaryGroups = ["render" "video"] ; # for access to dev/dri/*
AmbientCapabilities = "CAP_PERFMON";
};
};
| 01:37:02 |
Samsonite | ai is rippin you off man | 01:37:40 |
@hexa:lossy.network | anyway | 01:38:53 |
@hexa:lossy.network | only the render group is needed, and frigate is joining it by default these days | 01:39:07 |
@hexa:lossy.network | and CAP_PERFMON is only required for intel_gpu_top | 01:39:31 |
@hexa:lossy.network | and LIBVA_DRIVER_NAME is set by configuring vaapiDriver, but as that option will tell you … not required unless you have multiple cards to choose from | 01:40:17 |
Samsonite | arg i am getting errors after setting preset-vaapi | 01:42:41 |
Samsonite | Jan 13 20:42:36 frigate systemd[1]: Starting frigate.service...
Jan 13 20:42:36 frigate systemd[1]: Started frigate.service.
Jan 13 20:42:37 frigate frigate[9827]: 2025-01-13 20:42:37.084120: I tensorflow/core/platform/cpu_feature_guard.cc:210] This TensorFlow binary is optimized to use available CPU instructions in performance->
Jan 13 20:42:37 frigate frigate[9827]: To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
Jan 13 20:42:40 frigate frigate[9827]: /nix/store/cgbfczq9sp6sd5h1dd20zkf5fk2k5byg-frigate-0.14.1/lib/python3.12/site-packages/frigate/util/services.py:299: SyntaxWarning: invalid escape sequence '\d'
Jan 13 20:42:40 frigate frigate[9827]: for result in re.findall('"Video/\d":{[a-z":\d.,%]+}', reading):
Jan 13 20:42:41 frigate frigate[9901]: [2025-01-13 20:42:41] frigate.app INFO : Starting Frigate (0.14.1)
Jan 13 20:42:41 frigate frigate[9901]: [2025-01-13 20:42:41] frigate.app INFO : Creating directory: /var/cache/frigate/model_cache
Jan 13 20:42:41 frigate frigate[9901]: [2025-01-13 20:42:41] frigate.util.config INFO : Checking if frigate config needs migration...
Jan 13 20:42:41 frigate frigate[9901]: [2025-01-13 20:42:41] frigate.util.config ERROR : Config file is read-only, unable to migrate config file.
Jan 13 20:42:42 frigate frigate[9901]: [2025-01-13 20:42:42] peewee_migrate.logs INFO : Starting migrations
Jan 13 20:42:42 frigate frigate[9901]: [2025-01-13 20:42:42] peewee_migrate.logs INFO : There is nothing to migrate
Jan 13 20:42:42 frigate frigate[9901]: [2025-01-13 20:42:42] frigate.app INFO : Recording process started: 9919
Jan 13 20:42:42 frigate frigate[9901]: [2025-01-13 20:42:42] frigate.app INFO : Recording process started: 9928
Jan 13 20:42:42 frigate frigate[9901]: [2025-01-13 20:42:42] frigate.app INFO : go2rtc process pid: 1042
Jan 13 20:42:42 frigate frigate[9901]: [2025-01-13 20:42:42] detector.coral INFO : Starting detection process: 9947
Jan 13 20:42:43 frigate frigate[9901]: [2025-01-13 20:42:43] frigate.app INFO : Output process started: 9949
Jan 13 20:42:43 frigate frigate[9901]: [2025-01-13 20:42:42] frigate.detectors.plugins.edgetpu_tfl INFO : Attempting to load TPU as usb
Jan 13 20:42:43 frigate frigate[9901]: [2025-01-13 20:42:43] frigate.app INFO : Camera processor started for mycamerastream: 9962
Jan 13 20:42:43 frigate frigate[9901]: [2025-01-13 20:42:43] frigate.app INFO : Capture process started for mycamerastream: 9965
Jan 13 20:42:44 frigate frigate[9901]: [2025-01-13 20:42:44] frigate.video ERROR : mycamerastream: Unable to read frames from ffmpeg process.
Jan 13 20:42:44 frigate frigate[9901]: [2025-01-13 20:42:44] frigate.video ERROR : mycamerastream: ffmpeg process is not running. exiting capture thread...
Jan 13 20:42:45 frigate frigate[9901]: [2025-01-13 20:42:45] frigate.util.services ERROR : Unable to poll vainfo: b"error: XDG_RUNTIME_DIR is invalid or not set in the environment.\nerror: can't>
Jan 13 20:42:45 frigate frigate[9901]: [2025-01-13 20:42:45] frigate.util.services ERROR : Unable to poll intel GPU stats: No device filter specified and no discrete/integrated i915 devices found
Jan 13 20:42:46 frigate frigate[9947]: INFO: Created TensorFlow Lite XNNPACK delegate for CPU.
Jan 13 20:42:46 frigate frigate[9901]: [2025-01-13 20:42:46] frigate.detectors.plugins.edgetpu_tfl INFO : TPU found
Jan 13 20:43:03 frigate frigate[9901]: [2025-01-13 20:43:03] watchdog.mycamerastream ERROR : Ffmpeg process crashed unexpectedly for mycamerastream.
Jan 13 20:43:03 frigate frigate[9901]: [2025-01-13 20:43:03] watchdog.mycamerastream ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
Jan 13 20:43:03 frigate frigate[9901]: [2025-01-13 20:43:03] ffmpeg.mycamerastream.detect ERROR : [AVHWDeviceContext @ 0x356987c0] Failed to initialise VAAPI connection: -1 (unknown libva error).
Jan 13 20:43:03 frigate frigate[9901]: [2025-01-13 20:43:03] ffmpeg.mycamerastream.detect ERROR : Device creation failed: -5.
Jan 13 20:43:03 frigate frigate[9901]: [2025-01-13 20:43:03] ffmpeg.mycamerastream.detect ERROR : [vist#0:0/h264 @ 0x356a2a00] [dec:h264 @ 0x35623e80] No device available for decoder: device type vaapi>
Jan 13 20:43:03 frigate frigate[9901]: [2025-01-13 20:43:03] ffmpeg.mycamerastream.detect ERROR : [vist#0:0/h264 @ 0x356a2a00] [dec:h264 @ 0x35623e80] Hardware device setup failed for decoder: Input/ou>
Jan 13 20:43:03 frigate frigate[9901]: [2025-01-13 20:43:03] ffmpeg.mycamerastream.detect ERROR : Error opening output file pipe:.
Jan 13 20:43:03 frigate frigate[9901]: [2025-01-13 20:43:03] ffmpeg.mycamerastream.detect ERROR : Error opening output files: Input/output error
Jan 13 20:43:04 frigate frigate[9901]: [2025-01-13 20:43:04] frigate.video ERROR : mycamerastream: Unable to read frames from ffmpeg process.
| 01:44:44 |
Samsonite | i know i'm so close to getting this working | 01:44:50 |
@hexa:lossy.network | is this a headless machine? | 01:45:29 |
Samsonite | yes | 01:45:36 |
@hexa:lossy.network | did you enable hardware.graphics? | 01:45:46 |
Samsonite | i did not | 01:46:14 |
@hexa:lossy.network | There you go. | 01:46:43 |
Samsonite | you're my favorite person of the week | 01:53:49 |
Samsonite | normally my projects take days for me to trial and error | 01:54:03 |
Samsonite | you've saved me from that | 01:54:06 |
Samsonite | thank you! | 01:54:23 |
@hexa:lossy.network | Enjoy! | 01:54:23 |
@hexa:lossy.network | https://github.com/NixOS/nixpkgs/pull/364274 | 03:34:33 |
@hexa:lossy.network | some mild wyoming updates | 03:34:40 |
@hexa:lossy.network | * some updates on the wyoming packages | 03:35:51 |
@hexa:lossy.network | and also updates to the modules (new models, new language: yue, new download path, improved types) | 03:36:58 |
@hexa:lossy.network | reviews would be appreciated | 03:37:20 |
@hexa:lossy.network | * some updates on the wyoming packages (home-assistant voice stack) | 03:38:40 |