| Summary: | Powerdevil stops working / Screen blanking/idle doesn't kick in anymore | ||
|---|---|---|---|
| Product: | [Plasma] plasmashell | Reporter: | FK <fk-kde-bugs> |
| Component: | Power management & brightness | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | REPORTED --- | ||
| Severity: | crash | CC: | anhollander516, kdedev, nate |
| Priority: | NOR | ||
| Version First Reported In: | 6.3.3 | ||
| Target Milestone: | 1.0 | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| See Also: | https://bugs.kde.org/show_bug.cgi?id=500835 | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
FK
2025-03-25 09:57:33 UTC
Could this potentially be related to #500835? Mär 25 09:53:13 thinkpad org_kde_powerdevil[1092658]: [1459444] ddc became enabled for Display_Ref[24:bus /dev/i2c-5 @0x77054c01b500] after 0 milliseconds Mär 25 09:53:16 thinkpad org_kde_powerdevil[1092658]: Error queiscing libdducitl API. 1 active API calls outstanding. Mär 25 09:53:16 thinkpad org_kde_powerdevil[1092658]: [1092658] Error queiscing libdducitl API. 1 active API calls outstanding. Mär 25 09:53:16 thinkpad org_kde_powerdevil[1092658]: [1092658] Display redetection starting. Mär 25 09:53:16 thinkpad org_kde_powerdevil[1092658]: library quiesced, ddca_close_display temporarily unavailable Thanks for the bug report. I'm sorry we weren't able to get to it yet. Are you still seeing this happen with ddcutil 2.2.1 or greater and Plasma 6.4.4 or later? No worries. I'm not really sure. I still get plasmashell hanging when my display becomes unavailable/available, see log below with ddutil 2.2.1 and plasma 6.4.4. I have three displays connected. Main configuration is the TV connected through HDMI, which takes a little while to get online when powered on (through button press or WOL) when returning from screen blanking. This results in the system realizing: "hey, this display isn't available, let's switch to the configuration with the two other displays" then getting the connected information and switching back to only the HDMI. When the alternative displays aren't available the system just insta-suspends when I turn on the TV. Sometimes plasma then just hangs and needs to be restarted through systemctl --user restart plasma-plasmashell, in the log it restarted on its own. Aug 18 15:19:58 thinkpad systemd[1]: Starting Fingerprint Authentication Daemon... Aug 18 15:19:59 thinkpad systemd[1]: Started Fingerprint Authentication Daemon. Aug 18 15:20:01 thinkpad ksecretd[1946]: qt.qpa.wayland: There are no outputs - creating placeholder screen Aug 18 15:20:01 thinkpad firefox[4225]: Couldn't map window 0x7f6b95b87cc0 as subsurface because its parent is not mapped. Aug 18 15:20:01 thinkpad firefox[4225]: [Parent 4225, Main Thread] WARNING: Couldn't map window 0x7f6b95b87cc0 as subsurface because its parent is not mapped.: 'glib warning', file /usr/src/debug/firefox/firefox-141.0.3/toolkit/xre/nsSigHandlers.cpp:201 [more firefox noise ...] Aug 18 15:20:02 thinkpad org_kde_powerdevil[2254]: [ 2491] [ 2491]Locked bus /dev/i2c-12 after 2 tries Aug 18 15:20:02 thinkpad org_kde_powerdevil[2254]: Current call stack: Aug 18 15:20:02 thinkpad org_kde_powerdevil[2254]: Aug 18 15:20:02 thinkpad org_kde_powerdevil[2254]: Aug 18 15:20:02 thinkpad org_kde_powerdevil[2254]: Aug 18 15:20:02 thinkpad org_kde_powerdevil[2254]: Aug 18 15:20:02 thinkpad org_kde_powerdevil[2254]: Aug 18 15:20:02 thinkpad org_kde_powerdevil[2254]: Aug 18 15:20:02 thinkpad org_kde_powerdevil[2254]: Aug 18 15:20:02 thinkpad org_kde_powerdevil[2254]: Aug 18 15:20:02 thinkpad org_kde_powerdevil[2254]: Aug 18 15:20:02 thinkpad org_kde_powerdevil[2254]: No traced function stack for current thread Aug 18 15:20:03 thinkpad org_kde_powerdevil[2254]: [ 2491] Removing connected display on bus 5 Aug 18 15:20:03 thinkpad org_kde_powerdevil[2254]: [ 2491] (dw_remove_display_by_businfo) No Display_Ref found for i2c bus: 5 Aug 18 15:20:07 thinkpad ksecretd[1946]: qt.qpa.wayland: There are no outputs - creating placeholder screen Aug 18 15:20:07 thinkpad firefox[4225]: [Parent 4225, Main Thread] WARNING: Couldn't map window 0x7f6b95b87cc0 as subsurface because its parent is not mapped.: 'glib warning', file /usr/src/debug/firefox/firefox-141.0.3/toolkit/xre/nsSigHandlers.cpp:201 [more firefox noise ...] Aug 18 15:20:08 thinkpad org_kde_powerdevil[2254]: [ 2491] (i2c_detect_x37) Extra x37 sleep: Sleeping for 400 milliseconds Aug 18 15:20:08 thinkpad org_kde_powerdevil[2254]: [ 2491] (i2c_detect_x37) Extra x37 sleep: Sleeping for 400 milliseconds Aug 18 15:20:09 thinkpad org_kde_powerdevil[2254]: [ 2491] (i2c_detect_x37) Extra x37 sleep: Sleeping for 400 milliseconds Aug 18 15:20:09 thinkpad org_kde_powerdevil[2254]: [ 2491] Adding connected display with bus 5 Aug 18 15:20:09 thinkpad org_kde_powerdevil[2254]: [ 2491] Emitting DDCA_Display_Status_Event[6615.095: DDCA_EVENT_DISPLAY_CONNECTED, card1-HDMI-A-1, dref: DDCA_Display_Ref[5], io_path:/dev/i2c-5, ddc working: false] Aug 18 15:20:09 thinkpad org_kde_powerdevil[2254]: [ 2491] Starting 1 callback threads Aug 18 15:20:09 thinkpad org_kde_powerdevil[2254]: [ 2491] libddcutil callback thread 0x7f52f80189b0 started Aug 18 15:20:09 thinkpad org_kde_powerdevil[2254]: [ 2491] Started 1 event callback thread(s) Aug 18 15:20:09 thinkpad org_kde_powerdevil[2254]: [ 16306] Invoking callback function 0x7f5328018050 for event DDCA_Display_Status_Event[6615.095: DDCA_EVENT_DISPLAY_CONNECTED, card1-HDMI-A-1, dref: DDCA_Display_Ref[5], io_path:/dev/i2c-5, ddc working: false] in this thread [ 16306] Aug 18 15:20:09 thinkpad org_kde_powerdevil[2254]: [ 16306] Callback function 0x7f5328018050 for event DDCA_Display_Status_Event[6615.095: DDCA_EVENT_DISPLAY_CONNECTED, card1-HDMI-A-1, dref: DDCA_Display_Ref[5], io_path:/dev/i2c-5, ddc working: false] complete Aug 18 15:20:09 thinkpad org_kde_powerdevil[2254]: [ 2254] Quiescing libddcutil API... Aug 18 15:20:09 thinkpad org_kde_powerdevil[2254]: [ 2254] Quiesce libddcutil API complete Aug 18 15:20:09 thinkpad org_kde_powerdevil[2254]: [ 2254] Display redetection starting. Aug 18 15:20:09 thinkpad org_kde_powerdevil[2254]: [ 2490] ddc became enabled for Display_Ref[5:bus /dev/i2c-5 @0x7f52f800be40] after 0 milliseconds Aug 18 15:20:09 thinkpad org_kde_powerdevil[2254]: [ 2490] Emitting DDCA_Display_Status_Event[6615.468: DDCA_EVENT_DDC_ENABLED, card1-HDMI-A-1, dref: DDCA_Display_Ref[5], io_path:/dev/i2c-5, ddc working: false] Aug 18 15:20:09 thinkpad org_kde_powerdevil[2254]: [ 2490] Starting 1 callback threads Aug 18 15:20:09 thinkpad org_kde_powerdevil[2254]: [ 2490] libddcutil callback thread 0x7f52f0002c90 started Aug 18 15:20:09 thinkpad org_kde_powerdevil[2254]: [ 2490] Started 1 event callback thread(s) Aug 18 15:20:09 thinkpad org_kde_powerdevil[2254]: [ 2490] recheck thread terminating because watch thread terminated Aug 18 15:20:09 thinkpad org_kde_powerdevil[2254]: [ 16307] Invoking callback function 0x7f5328018050 for event DDCA_Display_Status_Event[6615.468: DDCA_EVENT_DDC_ENABLED, card1-HDMI-A-1, dref: DDCA_Display_Ref[5], io_path:/dev/i2c-5, ddc working: false] in this thread [ 16307] Aug 18 15:20:09 thinkpad org_kde_powerdevil[2254]: [ 16307] Callback function 0x7f5328018050 for event DDCA_Display_Status_Event[6615.468: DDCA_EVENT_DDC_ENABLED, card1-HDMI-A-1, dref: DDCA_Display_Ref[5], io_path:/dev/i2c-5, ddc working: false] complete Aug 18 15:20:09 thinkpad org_kde_powerdevil[2254]: [ 2254] Watch thread terminated. Aug 18 15:20:09 thinkpad org_kde_powerdevil[2254]: [ 2254] (i2c_detect_x37) Extra x37 sleep: Sleeping for 400 milliseconds Aug 18 15:20:10 thinkpad org_kde_powerdevil[2254]: [ 2254] (i2c_detect_x37) Extra x37 sleep: Sleeping for 400 milliseconds Aug 18 15:20:10 thinkpad org_kde_powerdevil[2254]: [ 2254] (i2c_detect_x37) Extra x37 sleep: Sleeping for 400 milliseconds Aug 18 15:20:11 thinkpad kwin_wayland_wrapper[1976]: error in client communication (pid 2211) Aug 18 15:20:11 thinkpad plasmashell[2211]: wl_registry#2: error 0: invalid global wl_output (82) Aug 18 15:20:12 thinkpad systemd[1828]: plasma-plasmashell.service: Main process exited, code=exited, status=255/EXCEPTION Aug 18 15:20:12 thinkpad systemd[1828]: plasma-plasmashell.service: Failed with result 'exit-code'. Aug 18 15:20:12 thinkpad systemd[1828]: plasma-plasmashell.service: Consumed 37.348s CPU time, 331.4M memory peak. Aug 18 15:20:12 thinkpad systemd[1828]: plasma-plasmashell.service: Scheduled restart job, restart counter is at 1. Aug 18 15:20:12 thinkpad systemd[1828]: Starting KDE Plasma Workspace... Aug 18 15:20:12 thinkpad systemd[1828]: Started KDE Plasma Workspace. Aug 18 15:20:12 thinkpad org_kde_powerdevil[2254]: [ 2254] Watching for display connection changes, resolved watch mode = Watch_Mode_Xevent, poll loop interval = 100 millisec Aug 18 15:20:12 thinkpad org_kde_powerdevil[2254]: [ 2254] extra_stabilization_millisec: 0, stabilization_poll_millisec: 100 Aug 18 15:20:12 thinkpad org_kde_powerdevil[2254]: [ 2254] libddcutil recheck thread 0x55c286b562c0 started Aug 18 15:20:12 thinkpad org_kde_powerdevil[2254]: [ 2254] libddcutil watch thread 0x55c286b4a3f0 started Aug 18 15:20:12 thinkpad org_kde_powerdevil[2254]: [ 2254] Display redetection finished. Aug 18 15:20:12 thinkpad org_kde_powerdevil[2254]: [ 2254] Unquiescing libddcutil API... Aug 18 15:20:12 thinkpad org_kde_powerdevil[2254]: [ 16408] (dw_recheck_displays_func) Recheck interval: Sleeping for 200 milliseconds Aug 18 15:20:12 thinkpad systemd[1828]: Started dbus-:1.2-org.kde.KSplash@1.service. Aug 18 15:20:29 thinkpad systemd[1]: fprintd.service: Deactivated successfully. Aug 18 15:21:13 thinkpad systemd[1828]: dbus-:1.2-org.kde.KSplash@1.service: Main process exited, code=exited, status=1/FAILURE Aug 18 15:21:13 thinkpad systemd[1828]: dbus-:1.2-org.kde.KSplash@1.service: Failed with result 'exit-code'. Thanks for letting us know. I'll let the kwin developers take a closer look. |