Open suhr opened 1 year ago
I'm facing the same problem. I first got it to run without any problems, but after upgrading my setup with some new fans OpenRGB has been failing on my NixOS machine. Now I get the same error as shown by @suhr.
Does services.hardware.openrgb.enable work?
Although this looks like a potential packaging issue, or upstream issue
I got the OpenRGB server to run with this config:
{ config, pkgs, ... }:
{
boot = {
kernelParams = [ "acpi_enforce_resources=lax" ];
kernelModules = [ "i2c-dev" "i2c-piix4" ];
};
hardware = {
i2c = {
enable = true;
};
};
environment.systemPackages = with pkgs; [
i2c-tools
liquidctl
];
services = {
hardware.openrgb = {
enable = true;
motherboard = "amd";
};
};
}
It now runs consistently when logging in, but still has some problems with crashes where I need to restart the computer to get the server running again. Those mostly happen when changing configs in the OpenRGB GUI. It does work most of the time though, so I'm happy for now.
I was able to resolve crashing by not detecting my GPU. Is it possible that this is an upstream issue? Or maybe a NixOS-unique permissions issue?
Describe the bug
Steps To Reproduce
Steps to reproduce the behavior:
nix shell 'self#openrgb'
sudo openrgb
Expected behavior
OpenRGB should not crash.
Notify maintainers
@jonringer
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.