OpenRGB 1.0 compatibility and resilient device/zone discovery #97
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
OpenRGB 1.0 compatibility and resilient device/zone discovery
Background
RGB Aura currently depends on OpenRGB device and zone names matching the configured mapping exactly.
After upgrading Nobara's OpenRGB package to:
openrgb-1.0-1.20260917git83ea112.fc44.x86_64RGB Aura began repeatedly failing at startup.
The immediate validation error is:
OpenRGB 1.0 appears to have renamed at least this motherboard zone:
to:
Because mapping validation is currently strict, RGB Aura exits with status 2 and systemd repeatedly attempts to restart it.
There is also an older intermittent problem where the NVIDIA GPU is not always detected/available correctly by OpenRGB during startup, causing RGB Aura not to apply the configured effects to the graphics card.
During investigation of the OpenRGB 1.0 upgrade, OpenRGB itself was also observed segfaulting while servicing an SDK client request in:
Therefore RGB Aura should be made more tolerant of OpenRGB version changes and temporary device-discovery failures.
Goals
Improve RGB Aura so that a renamed, temporarily unavailable, or optional RGB device/zone does not unnecessarily prevent the entire lighting controller from operating.
1. Review OpenRGB 1.0 / SDK v6 compatibility
Verify the installed
openrgb-pythonversion and RGB Aura's OpenRGB client code against OpenRGB 1.0 / SDK protocol v6.Check for API or protocol changes affecting:
2. Improve zone mapping resilience
Avoid depending solely on an exact human-readable OpenRGB zone name.
Possible approaches:
The implementation must still protect against controlling the wrong physical RGB header.
3. Improve device discovery resilience
A temporarily missing device should not necessarily terminate RGB Aura.
In particular, investigate the intermittent NVIDIA GPU detection issue.
Desired behavior could include:
4. Improve OpenRGB connection handling
RGB Aura should handle an OpenRGB SDK server restart or temporary disconnect gracefully where possible.
Consider:
5. Improve diagnostic logging
On discovery/mapping failures, log enough information to diagnose OpenRGB changes easily:
Acceptance criteria
top_fractal_fansmaps correctly despite the OpenRGB zone rename.Resolved by PR #98.
OpenRGB 1.0 compatibility and device-discovery resilience have been implemented and hardware-tested.
The fix includes:
Directmode when required for per-LED control;A forced OpenRGB process failure recovered successfully through systemd, and the GPU
Rainbow→Directrecovery path was independently reproduced and validated on the real hardware.Closing as completed.