!QhvgabMQzwEQeWehhZ:lossy.network

NixOS Home Automation

520 Members
Declarative Home Automation and other Sidequests | https://wiki.nixos.org/wiki/Home_Assistant136 Servers

Load older messages


SenderMessageTime
10 Feb 2025
@hexa:lossy.network@hexa:lossy.networkhttps://github.com/FFmpeg/FFmpeg/blob/n7.1/libavcodec/libx265.c#L82118:34:54
@hexa:lossy.network@hexa:lossy.networktook me 22 minutes to merge the home-assistant 2025.2.2 update into merge, enjoy 😄 22:36:59
@hexa:lossy.network@hexa:lossy.network* took me 22 minutes to merge the home-assistant 2025.2.2 update into master, enjoy 😄 22:54:46
@macaroniskengz:matrix.orgmacaroniskengzimage.png
Download image.png
23:47:10
@macaroniskengz:matrix.orgmacaroniskengzI get this error in my systemd log when trying to save a new automation in the UI. 2025-02-10 23:42:54.016 ERROR (MainThread) [homeassistant.components.homeassistant_alerts.coordinator] Timeout fetching homeassistant_alerts data In the UI, I see the error in the screenshot attached. What could cause this? 23:47:10
@hexa:lossy.network@hexa:lossy.networkcheck the wiki for the relevant snippet23:58:40
@hexa:lossy.network@hexa:lossy.networkhttps://wiki.nixos.org/wiki/Home_Assistant#Automations,_Scenes,_and_Scripts_from_the_UI23:59:02
11 Feb 2025
@motiejus:jakstys.ltmotiejus

I know there are Frigate users here, and they are less likely to point to "dependency issues" on my Frigate NixOS installation. :)

Frigate is consuming a half-to-full core per camera on "detection" process in an OpenMP call, even though Google Coral is configured, visible and seemingly well. I have taken a CPU profile for the process, and the only thing it says is a C function gomp_barrier_wait_end, which is not helpful.

Any insights would be appreciated, here or in the discussion. :)

14:13:17
@motiejus:jakstys.ltmotiejus *

I know there are Frigate users here, and they are less likely to point to "dependency issues" on my Frigate NixOS installation. :)

Frigate is consuming a half-to-full core per camera on "detection" process in an OpenMP call, even though Google Coral is configured, visible and seemingly well. I have taken a CPU profile for the process, and the only thing it says is a C function gomp_barrier_wait_end, which is not helpful for someone not deep into Frigate internals.

Any insights would be appreciated, here or in the discussion. :)

14:13:41
@hexa:lossy.network@hexa:lossy.network gomp 14:13:52
@hexa:lossy.network@hexa:lossy.networksorry, that is a weird sound14:13:57
@motiejus:jakstys.ltmotiejus now that you wrote it, kinda like garp from Irving's novel. 14:14:29
@hexa:lossy.network@hexa:lossy.network

Upgrading to 0.15 is quite some effort if done before 2025.04

14:20:18
@hexa:lossy.network@hexa:lossy.networklmao14:20:19
@hexa:lossy.network@hexa:lossy.networkyes, for me.14:20:26
@hexa:lossy.network@hexa:lossy.networkif not for you.14:20:31
@hexa:lossy.network@hexa:lossy.networkthanks for debugging this with the upstream14:21:28
@hexa:lossy.network@hexa:lossy.networkfrigate 0.15 depends on https://github.com/NixOS/nixpkgs/pull/380543/commits/b3def7466fa7f0389c0df2246dce02887f94509c14:21:44
@motiejus:jakstys.ltmotiejus

Josh's suggestion is correct that something is not installed or configured the same way as it is in the docker container

:/

14:44:20
@motiejus:jakstys.ltmotiejusso I guess my next step would be to run this in a Docker container and see if I get the same14:54:43
@motiejus:jakstys.ltmotiejus* so I guess my next step would be to run this in a Docker container and see if I get the same behavior14:54:48
@motiejus:jakstys.ltmotiejusSo it looks like it's indeed an environment-related issue: https://github.com/blakeblackshear/frigate/discussions/16450#discussioncomment-12152067 The first thing that comes to mind is looking at all the applications loaded into that process, and see if any of them have different versions. While sounds like work, but feels like shooting in the dark a bit. If anyone has better tips, I am all ears.20:45:36
@motiejus:jakstys.ltmotiejus* So it looks like it's indeed an environment-related issue: https://github.com/blakeblackshear/frigate/discussions/16450#discussioncomment-12152067 The first thing that comes to mind is looking at all the applications loaded into that process, and see if any of them have different versions. While sounds like work, but feels like wandering in the dark a bit. If anyone has better tips, I am all ears.20:45:51
@motiejus:jakstys.ltmotiejusFiled https://github.com/NixOS/nixpkgs/issues/381280 for visibility21:13:08
@motiejus:jakstys.ltmotiejus* Filed https://github.com/NixOS/nixpkgs/issues/38128021:13:18
@hexa:lossy.network@hexa:lossy.networkyeah, well21:19:52
@hexa:lossy.network@hexa:lossy.networkI'm here21:19:53
@hexa:lossy.network@hexa:lossy.networkI'm not quite sure where to start debugging this further21:20:08
@hexa:lossy.network@hexa:lossy.networkmultiprocessing is a python standard library module21:20:55
@hexa:lossy.network@hexa:lossy.networkour python is not compiled with pgo21:21:04

Show newer messages


Back to Room ListRoom Version: 6