https://bugs.kde.org/show_bug.cgi?id=513809

Mark <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #42 from Mark <[email protected]> ---
Created attachment 198723
  --> https://bugs.kde.org/attachment.cgi?id=198723&action=edit
Powerdevil log

Also affected on Fedora 45 with Plasma `6.8.3`, reproduced twice today. This is
a single monitor on NVIDIA proprietary drivers, with HDR enabled. A debug log
of the second occurrence is attached.

> - Operating System: `Fedora Linux 45`
> - KDE Plasma Version: `6.8.3` (_powerdevil, kwin, plasma-workspace 
> 6.8.3-1.fc45_)
> - Qt Version: `6.11.2`
> - Kernel Version: `7.3.4-300.fc45.x86_64` (`64-bit`)
> - Graphics Platform: `Wayland`
> - Graphics: `NVIDIA GeForce GTX 1080 Ti`, proprietary driver `580.196.07`
> - Monitor: Samsung LS27A600U (`2560x1440` at `75 Hz`) over HDMI, single 
> display, DDC/CI allowed, HDR and WCG enabled, SDR brightness 410 nits

<BR>

**Power settings: "Dim automatically" after 10 min, screen off after 15 min,
automatic suspend (S3 deep) after 30 min.**

<BR>

**Steps:**

1. Leave the session idle until the screen dims, turns off, and the system
suspends automatically.
2. Wake the system and unlock.
3. `kscreen-doctor -o` reports "Brightness control: supported, set to 100% and
dimming to 30%". The monitor's own DDC brightness reads 100/100, so only the
software dimming is stuck.
4. `systemctl --user restart plasma-powerdevil.service` restores "dimming to
100%".

<BR>

Debug log of the second occurrence
(_`QT_LOGGING_RULES="org.kde.powerdevil*.debug=true"`, `ddcutil` trace lines
removed_):

    18:36:40 powerdevil: DimDisplay: triggered on idle timeout, dimming
    18:36:40 powerdevil: Set screen brightness dimming ratio with ID
"DimDisplay" to 0.3
    18:37:40 powerdevil: DPMS: triggered on idle timeout, turning off display
and keyboard backlight
    18:56:40 powerdevil: Suspend session triggered with QMap(("Type",
QVariant(uint, 1)))
    18:56:44 systemd-sleep: Performing sleep operation 'suspend'...
    22:29:39 systemd-sleep: System returned from sleep operation 'suspend'.
    22:29:43 powerdevil: Wakeup source of type
QFlags<SuspendController::WakeupSource>(UnknownSource) resumed from sleep,
devices: QList()
    22:29:43 powerdevil: DPMS: registering idle timeout (screen already locked)
after 60000ms
    22:29:43 powerdevil: No suitable displays detected. Brightness controls are
unsupported in this configuration.
    22:29:43 powerdevil: There are no outputs - creating placeholder screen
    22:29:43 powerdevil: Current session is now active
    22:29:43 powerdevil: DimDisplay: registering idle timeout after 600000ms
    22:29:43 powerdevil: Screen brightness of first display after
detection/reconfiguration: 10000
    22:29:44 powerdevil: Screen brightness of "HDMI-A-4" is 10000

<BR>

After the resume, PowerDevil briefly saw no outputs, detected HDMI-A-4 again
less than a second later, and registered a new DimDisplay idle timeout. No line
sets the "DimDisplay" dimming ratio back to 1.0, and KWin kept the 0.3
multiplier. This looks consistent with the cause described for MR !739: the
DimDisplay action is recreated after the displays disappear, and the dim
applied before suspend is never undone.

Note that "No suitable displays detected" is not specific to the resume on this
system. It is also logged on every normal PowerDevil start (18:17:31, 18:20:11,
22:31:44), right before the DDC/CI display is added. So the significant part is
the missing reset of the dimming ratio after the outputs come back.

The first occurrence (no debug logging, suspend 18:04, resume 18:07) showed the
same "There are no outputs - creating placeholder screen" line at the moment of
resume.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to