| 21 Nov 2024 |
netpleb | this device was about $70 or something. I'm wondering if it would be better for me to just get a different device that you have had success getting to work? do you have a recommendation? | 01:00:59 |
netpleb | * this device was about $70 or something. I'm wondering if it would be better for me to just get a different device that you have had success getting to work with frigate? do you have a recommendation? | 01:01:12 |
@hexa:lossy.network | openvino just requires an intel cpu or gpu 😄 | 01:01:12 |
netpleb | In reply to @hexa:lossy.network openvino just requires an intel cpu or gpu 😄 ugg...i fail that requirement currently | 01:01:29 |
@hexa:lossy.network | and then there is CUDA | 01:02:49 |
@hexa:lossy.network | but apparently we fail at that currently due to a too small ffmpeg variant https://github.com/NixOS/nixpkgs/issues/344114 | 01:03:09 |
@hexa:lossy.network | https://github.com/NixOS/nixpkgs/issues/188719#issuecomment-2143134350 | 01:29:45 |
@hexa:lossy.network | apparently the gasket driver is also required? | 01:29:56 |
@hexa:lossy.network | https://github.com/NixOS/nixpkgs/issues/188719#issuecomment-2094575860 | 01:30:28 |
@hexa:lossy.network | check the "Frigate system config" here | 01:30:34 |
@hexa:lossy.network | hacky, but might work | 01:30:39 |
@hexa:lossy.network | https://github.com/NixOS/nixpkgs/pull/357717 | 15:17:51 |
@hexa:lossy.network | a number of frigate fixes worth test-driving | 15:17:59 |
@hexa:lossy.network | totally backportable, but needs testing | 15:23:04 |
@hexa:lossy.network | * totally backportable, but needs test feedbac | 15:23:06 |
@hexa:lossy.network | * totally backportable, but needs test feedback | 15:23:08 |
netpleb | In reply to @hexa:lossy.network totally backportable, but needs test feedback thanks for looking into this further! I will give that #357717 a try and see if it works. That would be great to have it as a simple module. | 17:56:48 |
netpleb | so to actually test this, I added to my flake: inputs.nixpkgs-frigate.url = "github:mweinelt/nixpkgs/frigate-libedgetpu"; and then have outputs = inputs@{ self, nixpkgs, nixpkgs-frigate, ...}: ... but how do I pass this down and use it in my config such that it will not conflict with the regular nixpkgs? | 18:17:04 |
@hexa:lossy.network | that is a great question | 18:18:17 |
@hexa:lossy.network | you can pass inputs into specialArgs | 18:18:25 |
@hexa:lossy.network | then you can consume it in every file | 18:19:02 |
netpleb | I basically get this error: error: The option hardware.edgetpu' does not exist. Definition values:And yes, here is myspecialArgs: ``` # The specialArgsparameter passes the # non-default nixpkgs instances to other nix modules specialArgs = { # To use packages from nixpkgs-stable, # we configure some parameters for it first pkgs-stable = import nixpkgs-stable { # Refer to thesystem` parameter from # the outer scope recursively system = system; # To use Chrome, we need to allow the # installation of non-free softwares. config.allowUnfree = true; }; pkgs-frigate = import nixpkgs-frigate { system = system; config.allowUnfree = true; }; }; | 18:19:17 |
@hexa:lossy.network | maybe disabledModules and import from ${nixpkgs-frigate}/modules/services/video/frigate.nix will do? | 18:19:22 |
netpleb | * I basically get this error: error: The option hardware.edgetpu' does not exist. Definition values:And yes, here is myspecialArgs````: # The specialArgsparameter passes the # non-default nixpkgs instances to other nix modules specialArgs = { # To use packages from nixpkgs-stable, # we configure some parameters for it first pkgs-stable = import nixpkgs-stable { # Refer to thesystem` parameter from
the outer scope recursively
system = system;
To use Chrome, we need to allow the
installation of non-free softwares.
config.allowUnfree = true; };
pkgs-frigate = import nixpkgs-frigate {
system = system;
config.allowUnfree = true;
};
};
| 18:19:28 |
@hexa:lossy.network | then import it | 18:19:29 |
netpleb | * I basically get this error: error: The option hardware.edgetpu' does not exist. Definition values:And yes, here is myspecialArgs`:
# The `specialArgs` parameter passes the
# non-default nixpkgs instances to other nix modules
specialArgs = {
# To use packages from nixpkgs-stable,
# we configure some parameters for it first
pkgs-stable = import nixpkgs-stable {
# Refer to the `system` parameter from
# the outer scope recursively
system = system;
# To use Chrome, we need to allow the
# installation of non-free softwares.
config.allowUnfree = true;
};
pkgs-frigate = import nixpkgs-frigate {
system = system;
config.allowUnfree = true;
};
};
| 18:19:53 |
@hexa:lossy.network | import = [ "${nixpkgs-frigate}/nixos/modules/hardware/edgetpu.nix" ];
| 18:20:01 |
@hexa:lossy.network | * import = [ "${pkg-frigate}/nixos/modules/hardware/edgetpu.nix" ];
| 18:20:19 |
@hexa:lossy.network | * import = [ "${pkgs-frigate}/nixos/modules/hardware/edgetpu.nix" ];
| 18:20:22 |
netpleb | ok, I will try that | 18:20:36 |