-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
Screen brightness slider resets to a low level upon reboot #155
Comments
I get the following output (snippet) when running
|
Seems to be a systemd-backlight service issue:
|
I think I might propose a PR to save/restore the backlight level in a settings object if that is a cleaner alternative? |
@elementary/desktop-developers Looked into this issue and here are my observations:
So I modified wingpanel-indicator-session to always call systemd login dbus interface reboot() method here: https://github.com/elementary/wingpanel-indicator-session/blob/master/src/Indicator.vala#L346 This avoids propagating to Gala's dbus proxy signal call here: https://github.com/elementary/gala/blob/master/src/SessionManager.vala#L67 This seems to get the brightness save/restore working but regresses an old issue where during shutdown there is a systemd 90 second wait "A stop job is running for Session c2 of user vishal..." which maybe why the Gala call to gnome SessionManager was made? Incidentally, while I was looking at this PR here: elementary/switchboard-plug-about#253 and noticed the calls to systemd.login1.reboot() does not result in the shutdown 90 second wait, not sure how: https://github.com/elementary/switchboard-plug-about/blob/master/src/Interfaces/LoginManager.vala#L64 except in indicator-session the interactive flag is false while here it is set to true. In any case, I guess either porting gala to Gtk4 or more likely fixing this "investigate systemd session management" issue should resolve this issue? |
What Happened?
Installed elementary 7 daily ISO image (2022-11-18) on a Dell OptiPlex 777 all-in-one PC today and the screen brightness slider reverts to a low level in the greeter, indicator and switchboard power plug even if I raise it in any of these places.
IIRC the brightness was OK in the live session during installation but upon reboot this issue started.
Please let me know what additional information I can provide.
Steps to Reproduce
TBD
Expected Behavior
Screen brightness level should be remembered after adjusting it.
OS Version
7.x (Early Access)
Software Version
Latest release (I have run all updates)
Log Output
console:
syslog:
Nov 19 11:46:48 mumbird systemd[1]: Starting Load/Save Screen Backlight Brightness of backlight:dell_uart_backlight... Nov 19 11:46:48 mumbird systemd-backlight[543]: dell_uart_backlight: Saved brightness 0 is too low; increasing to 5.
Hardware Info
TBD
The text was updated successfully, but these errors were encountered: