-
-
Notifications
You must be signed in to change notification settings - Fork 384
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LedLayout is not considering Led Hardware setup #673
Comments
Solution proposal: Logical order to set up the Led hardware should be:
The Hyperion backend code will handle the "error" scenario too (I already started to look what is required to change), nevertheless the Led Administration User should be actively guided not running in an error scenario. @brindosch I have seen that you have lately done changes in the UI code which I am not very familiar with. Any other thoughts or ideas? PS: In that context, it may be worth fixing #669. |
The hwLedCount exists for the reason to fill unused leds at a stripe with black. If the layout is larger it will be ignored. The ui might be confusing. Questionable how much meaning the hwLed option should get, what it means, does it bring something to the table and how should we show that. |
That would be aligned to my expectation that more configured Leds would be ignored and no output happens for those. We can have the behaviour you well described, but that may result in the situation, that users are wondering why only half of the colours are shown. They may not identify easily that there is configuration mismatch. |
@brindosch OK. I further thought about the topic.... First step would be that a Led-Device is handling the Led output self-sufficient; I will give it a try, unless serious concerns are raised.... |
I also thought about a move to the LedDevice |
* LedDevice - Address clang findings * Fix Windows Warnings * Ensure newInput is initialised * Clean-up unused elements for Plaform Capture * Fix initialization problem and spellings * Address clang findings and spelling corrections * LedDevice clean-ups * Cleanups * Align that getLedCount is int * Have "display" as default for Grabbers * Fix config during start-up for missing elements * Framegrabber Clean-up - Remove non supported grabbers from selection, filter valid options * Typo * Framegrabber.json - Fix property numbering * Preselect active Grabbertype * Sort Grabbernames * Align options with selected element * Fix deletion of pointer to incomplete type 'BonjourBrowserWrapper' * Address macOS compile warnings * Have default layout = 1 LED only to avoid errors as in #673 * Address lgtm findings * Address finding that params passed to LedDevice discovery were not considered * Cleanups after merging with latest master * Update Changelog * Address lgtm findings * Fix comment * Test Fix * Fix Python Warning * Handle Dummy Device assignment correctly * Address delete called on non-final 'commandline::Option' that has virtual functions but non-virtual destructor * Correct that QTimer.start accepts only int * Have Release Python GIL & reset threat state chnage downward compatible * Correct format specifier * LedDevice - add assertions * Readonly DB - Fix merge issue * Smoothing - Fix wrong defaults * LedDevice - correct assertion * Show smoothing config set# in debug and related values. * Suppress error on windows, if default file is "/dev/null" * CMAKE - Allow to define QT_BASE_DIR dynamically via environment-variable * Ignore Visual Studio specific files Co-authored-by: Paulchen Panther <16664240+Paulchen-Panther@users.noreply.github.com>
Addressed by #1164 |
Unfortunately, the Led-Layout is not considering the maximum Leds available by the LedDevice.
In the code, even the number of Leds defined by the layout is considered valid when it is bigger than the number of Hardware Leds.
hyperion.ng/libsrc/hyperion/Hyperion.cpp
Line 219 in ed54554
This currently leads to the situation, that more Led updates are written than a Led-Device supports (i.e. unexpected behaviour) , as well as some other negative side effects.
A layout which has less or equal number of Leds as the Led-Device defined, is not a problem given that missing values are already filled.
The current way of handling layout and device independently is not very user friendly, as it does not provide a clear configuration framework (which avoids error scenarios).
The text was updated successfully, but these errors were encountered: