-
Notifications
You must be signed in to change notification settings - Fork 3
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
display blanking #83
Comments
This is not optional; Toon's software might blank the screen before we ssh in to start voorkant, and sometimes it even blanks the screen while voorkant is running. |
this happens consistently on a 5.49.19. It does not happen on 5.5.7. |
and just as i post that, it happens on the 5.5.7 too. |
restarting voorkant unblanks the screen, so it seems like LVGL's fbdev driver knows -something- |
this turns out to be Linux doing console blanking, likely not instructed by Qt (found via SO inside Toon's software, but this shows how they manage (part of) blanking at least. That Qt snippet, or https://www.man7.org/linux/man-pages/man4/console_codes.4.html (look for
the lv fbdev driver indeed does this on init. |
I don't see any entrypoints in LVGL for doing this in a portable way, but we can just do it ourselves then. The |
Fun discovery: setting display brightness to 0 ( |
In the absence (I think) of an actual ambient brightness sensor, maybe we should emulate f.lux for brightness management? We could also expose our brightness setting to HA to be managed from there. |
Only somewhat related, I find our current UI, and also Toon's non-dimmed UI, quite bright/white. We should definitely have a dark mode. |
On toon1:
I wonder if we can expose this portably, through LVGL perhaps.
The text was updated successfully, but these errors were encountered: