| Summary: | Backlight briefly flashes to full brightness on screen wake | ||
|---|---|---|---|
| Product: | [Plasma] plasmashell | Reporter: | Dan Robinson <dlrobin874> |
| Component: | Power management & brightness | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | natalie_clarius, nate |
| Priority: | NOR | ||
| Version First Reported In: | 6.2.4 | ||
| Target Milestone: | 1.0 | ||
| Platform: | Fedora RPMs | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Dan Robinson
2022-11-06 02:13:26 UTC
> I can't begin to imagine where I should look to try to get to the bottom of what the issue is, but I'm open to suggestions. From a code perspective? It's in powerdevil: https://invent.kde.org/plasma/powerdevil/ Uh... so on further investigation, I don't think this is actually happening. It is just the blur that the lock screen applies is also grey. So if you have a lock screen image that's bright-ish you see the brief flash of that image and then the blur darkens it. I switched to a dark lock screen background and I don't see it anymore. So it's definitely not powerdevil. I'm reassigning it to kscreenlocker, I'm open to hear if we just close it or maybe we look at that animation to see if there's something that looks smoother? Like load directly to the blurred login prompt if the screen was off instead of loading unblurred and immediately blurring it. Well remember how I said it wasn't happening?
Thanks to the magic of inotifywait, I just confirmed that I'm not crazy, and my actual hardware backlight is flashing to full when I wake my display up to reveal the lock screen.
It seems to only happen if I have "dim screen" set in the power saving settings with the screen blanking afterwards. If I turn that option off and just have the display turn off, it didn't happen.
If anyone wants to confirm that it's happening, here's what I did:
1. Set your lock screen time and dim screen time to 1 minute, set your display off time to 2 minutes.
2. Open a terminal and (install inotify-tools if you haven't, then) run:
# inotifywait -m -e modify /sys/class/backlight/intel_backlight/brightness | while read file event; do cat $file; done
(obviously if your backlight isn't intel, change that part)
3. Wait 2 minutes, then wiggle your mouse and unlock your screen
4. You should see a big string of numbers going from 0, then very high, and then coming down to whatever your brightness was set to.
I can confirm this. Hm, I can't reproduce this with the given steps. Does it change depending on whether you also have the screen configured to lock in that period? I can't easily test in Plasma 6 anymore because screen backlight brightness control is current broken right now, but from memory, yes, the screen did lock when I was able to reproduce the issue. I had the screen set to lock when I was testing it, and I don't think it ever occurred to me to test without a lock set. I want to say it is only with the screen locked because I think when I just changed the DPMS timer I didn't notice it. Not in front of my laptop right now but I can try to verify on 5.27.<whatever Fedora is on> by this weekend at the latest. Just confirmed it does still happen with or without the screen lock according to inotify-wait, but it's not as visible usually if there's no lock screen enabled. For some reason it also seemed more visible on an X11 session despite the actual reported numbers from inotify-wait being the same, but that might be because due to the display scaling there was more light-colored area visible on my display. This is current to 5.27.7. Don't have a 6 build handy to check, if you need that I'm happy to do it but I'm on a Sandy Bridge i7 so that's going to take some time to build, and if Nate says it's broken anyway I probably won't invest that time. Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone! Can you see if it still happens in Plasma 6.4 or later? I'm not still seeing it, I think we're good! I kinda forgot I even reported this so I guess it's been fixed for a while... That's great news! |