!QhvgabMQzwEQeWehhZ:lossy.network

NixOS Home Automation

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

Load older messages


SenderMessageTime
14 Jan 2025
@gwilliams:matrix.orgSamsonitetrying to get the usb coral to work, i know that people have gotten it to work on nixos01:17:42
@hexa:lossy.network@hexa:lossy.networkconfiguring a detector with type edgetpu and a device starting with usb/pci will get coral support enabled01:18:09
@gwilliams:matrix.orgSamsonitebooom01:18:43
@gwilliams:matrix.orgSamsoniteawesome, only error i see now is "did not detect hwacce, using a gpu for accelerated video decoding is highly recommended"01:29:46
@hexa:lossy.network@hexa:lossy.networkhrm, yeah01:30:13
@gwilliams:matrix.orgSamsoniteim using a beelink with a AMD/ATI Cezanne Radeon Vega Mobile series 01:30:21
@gwilliams:matrix.orgSamsoniteany way to make that little thing help out01:30:33
@hexa:lossy.network@hexa:lossy.network did you configure settings.ffmpeg.hwaccel_args? 01:31:34
@hexa:lossy.network@hexa:lossy.networkset it to preset-vaapi01:31:55
@gwilliams:matrix.orgSamsonitenah sorry i asked before checking into this really, bad etiquette 01:32:06
@gwilliams:matrix.orgSamsonitethanks!01:32:08
@gwilliams:matrix.orgSamsonitei see this nowhttps://docs.frigate.video/configuration/hardware_acceleration/ which says the same thing01:32:29
@hexa:lossy.network@hexa:lossy.networksome day someone should write a wiki article01:32:39
@hexa:lossy.network@hexa:lossy.networkyeah, or https://docs.frigate.video/configuration/ffmpeg_presets/#hwaccel-presets01:32:55
@hexa:lossy.network@hexa:lossy.network also linked from the module under the vaapiDriver option 01:33:08
@hexa:lossy.network@hexa:lossy.networkboth links actually01:33:13
@gwilliams:matrix.orgSamsonite

so AI is recommending that on top of setting preset-vaapi, I also add:

environment.LIBVA_DRIVER_NAME = "radeonsi";
  serviceConfig = {
    SupplementaryGroups = ["render" "video"];
    AmbientCapabilities = "CAP_PERFMON";
  };
01:35:04
@hexa:lossy.network@hexa:lossy.network sigh 01:35:31
@gwilliams:matrix.orgSamsonitelol01:35:35
@gwilliams:matrix.orgSamsoniteok that's all i need to know01:35:39
@gwilliams:matrix.orgSamsonitethanks01:35:39
@hexa:lossy.network@hexa:lossy.networkI mean01:36:03
@hexa:lossy.network@hexa:lossy.networkthat looks like a ripoff from something I once posted to an issue01:36:43
@hexa:lossy.network@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
@gwilliams:matrix.orgSamsoniteai is rippin you off man01:37:40
@hexa:lossy.network@hexa:lossy.networkanyway01:38:53
@hexa:lossy.network@hexa:lossy.networkonly the render group is needed, and frigate is joining it by default these days01:39:07
@hexa:lossy.network@hexa:lossy.networkand CAP_PERFMON is only required for intel_gpu_top01:39:31
@hexa:lossy.network@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
@gwilliams:matrix.orgSamsonitearg i am getting errors after setting preset-vaapi01:42:41

Show newer messages


Back to Room ListRoom Version: 6