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

            Bug ID: 492167
           Summary: After the display turns off the plasma session is
                    frozen for 30 seconds when woken up
    Classification: Plasma
           Product: kwin
           Version: 6.1.4
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: wayland-generic
          Assignee: kwin-bugs-n...@kde.org
          Reporter: 3myu40...@relay.firefox.com
  Target Milestone: ---

SUMMARY
Every time around 30 seconds after the screen turns off to save power, once the
mouse is moved or keyboard key is pushed, the screen is frozen for 30 seconds,
after which it returns to normal and is accepting input and the screen starts
updating. Happens on the lock screen and also when not on the lock screen. The
bug was also reproducible on fedora and is not reproducible while running the
X11 session. 
https://bugs.kde.org/show_bug.cgi?id=462846 is similar, but reports that the
issue persists a shorter time and happens only when waking from the lock
screen, so I'm not sure if it is the same issue.

STEPS TO REPRODUCE
1. Wait for the screen to turn off after the set time, then wait another 30
seconds or so.
2. Move the mouse or press a key on the keyboard to try and wake up the
computer.

OBSERVED RESULT
Screen shows a frozen frame (sometimes the one it showed when the screen went
to power save, sometimes one that is right after waking up)  for 30 seconds and
is not registering any input.

EXPECTED RESULT
Once you move the mouse or press a key, the inputs should be registered and
shown on the display immediately after the monitor turns on.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.10.6-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 4 × AMD Ryzen 3 3200G with Radeon Vega Graphics
Memory: 15.5 GiB of RAM
Graphics Processor: AMD Radeon RX 5700

ADDITIONAL INFORMATION
journalctl output when I try to wake the computer (from lock screen):
Aug 25 17:15:34 amarantite kscreenlocker_greet[8763]:
pam_systemd_home(kde:auth): New sd-bus connection
(system-bus-pam-systemd-home-8763) opened.
Aug 25 17:15:34 amarantite kdeconnectd[1140]: 2024-08-25T17:15:34
org.kde.pulseaudio: No object for name
"alsa_output.pci-0000_0a_00.6.analog-stereo.monitor"
Aug 25 17:15:34 amarantite kded6[881]: org.kde.pulseaudio: No object for name
"alsa_output.pci-0000_0a_00.6.analog-stereo.monitor"
Aug 25 17:15:34 amarantite plasmashell[940]: org.kde.pulseaudio: No object for
name "alsa_output.pci-0000_0a_00.6.analog-stereo.monitor"
Aug 25 17:15:35 amarantite kwin_wayland[711]: kwin_wayland_drm: Presentation
failed! Invalid argument
Aug 25 17:15:35 amarantite kwin_wayland[711]: kwin_wayland_drm: atomic commit
failed: Invalid argument
Aug 25 17:15:37 amarantite org_kde_powerdevil[989]: Emitting
DDCA_Display_Status_Event( 2085.660:  DDCA_EVENT_DPMS_AWAKE, card1-DP-1, dref:
Display_Ref[bus /dev/i2c-6], io_path:/dev/i2c-6]
Aug 25 17:15:37 amarantite org_kde_powerdevil[989]: Executed 1 registered
callbacks.
Aug 25 17:15:38 amarantite org_kde_powerdevil[989]: dh=Display_Handle[i2c-6:
fd=32], Keeping adjusted sleep multiplier 2.00 for SE_POST_WRITE or
SE_POST_SAVE_SETTINGS
Aug 25 17:16:05 amarantite kwin_wayland[711]: kwin_wayland_drm: No drm events
for gpu "/dev/dri/card1" within last 30 seconds
Aug 25 17:16:12 amarantite kscreenlocker_greet[8763]: Failed to write to the
pipe: Bad file descriptor.
Aug 25 17:16:13 amarantite kdeconnectd[1140]: 2024-08-25T17:16:13 default:
DataControlOffer: timeout reading from pipe
Aug 25 17:16:14 amarantite kdeconnectd[1140]: 2024-08-25T17:16:14 default:
DataControlOffer: timeout reading from pipe


journalctl output after waking up from the desktop:
Aug 25 17:36:58 amarantite plasmashell[940]: org.kde.pulseaudio: No object for
name "alsa_output.pci-0000_0a_00.6.analog-stereo.monitor"
Aug 25 17:36:58 amarantite kdeconnectd[1140]: 2024-08-25T17:36:58
org.kde.pulseaudio: No object for name
"alsa_output.pci-0000_0a_00.6.analog-stereo.monitor"
Aug 25 17:36:58 amarantite kded6[881]: org.kde.pulseaudio: No object for name
"alsa_output.pci-0000_0a_00.6.analog-stereo.monitor"
Aug 25 17:36:59 amarantite kwin_wayland[711]: kwin_wayland_drm: Presentation
failed! Invalid argument
Aug 25 17:36:59 amarantite kwin_wayland[711]: kwin_wayland_drm: atomic commit
failed: Invalid argument
Aug 25 17:37:00 amarantite org_kde_powerdevil[989]: Emitting
DDCA_Display_Status_Event( 3368.291:  DDCA_EVENT_DPMS_AWAKE, card1-DP-1, dref:
Display_Ref[bus /dev/i2c-6], io_path:/dev/i2c-6]
Aug 25 17:37:00 amarantite org_kde_powerdevil[989]: Executed 1 registered
callbacks.
Aug 25 17:37:01 amarantite org_kde_powerdevil[989]: dh=Display_Handle[i2c-6:
fd=32], Keeping adjusted sleep multiplier 2.00 for SE_POST_WRITE or
SE_POST_SAVE_SETTINGS
Aug 25 17:37:29 amarantite kwin_wayland[711]: kwin_wayland_drm: No drm events
for gpu "/dev/dri/card1" within last 30 seconds

I am not sure that the pulseaudio events are connected in any way.

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

Reply via email to