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

            Bug ID: 504778
           Summary: Lenovo ThinkPad X1 Yoga 3rd Gen: Touchscreen and
                    Tablet Mode Fail After Suspend on Fedora KDE Wayland
    Classification: Plasma
           Product: kwin
      Version First unspecified
       Reported In:
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: major
          Priority: NOR
         Component: wayland-generic
          Assignee: kwin-bugs-n...@kde.org
          Reporter: cenereda...@gmail.com
  Target Milestone: ---

I am experiencing a persistent issue with my Lenovo ThinkPad X1 Yoga 3rd
Generation (model: LENOVO 20LES1FJ2D) running Fedora Linux 42 with KDE Plasma.
After suspending the laptop (e.g., by closing the lid or selecting suspend from
the menu), the touchscreen and tablet mode (including automatic screen
rotation) cease to function upon resume. A full system restart is required to
restore their functionality.

The kernel logs indicate successful suspend and resume operations at the low
level. However, immediately after resume, kscreenlocker_greet reports an EGL
error 0x3000, which seems to prevent proper graphical context and input
reinitialization for Wayland.

**Steps to Reproduce:**
1. Ensure the laptop is running Fedora Linux 42 KDE Plasma (Wayland session).
2. Use the laptop in normal (clamshell) mode.
3. Suspend the system (e.g., close the lid or select suspend from the KDE
Plasma menu).
4. Resume the system.
5. Attempt to use the touchscreen or switch to tablet mode – they will not
function.

**Expected Behavior:**
Upon resuming from suspend, the touchscreen and tablet mode should remain fully
functional, and automatic screen rotation should work as expected.

**Actual Behavior:**
The touchscreen and tablet mode become unresponsive, and automatic screen
rotation does not work. The system behaves as a traditional laptop, requiring a
full system restart to resolve the issue.

**System Information:**
* **Laptop Model:** Lenovo ThinkPad X1 Yoga 3rd Generation (LENOVO 20LES1FJ2D)
* **Operating System:** Fedora Linux 42
* **KDE Plasma Version:** 6.3.5
* **KDE Frameworks Version:** 6.14.0
* **Qt Version:** 6.9.0
* **Kernel Version:** 6.14.6-300.fc42.x86_64 (64-bit)
* **Graphics Platform:** Wayland
* **Graphics Processor:** Intel® UHD Graphics 620
* **Manufacturer:** LENOVO
* **Product Name:** 20LES1FJ2D
* **System Version:** ThinkPad X1 Yoga 3rd

**Additional Information from Logs (`journalctl --since "5 minutes ago" | grep
-i
"touch\|tablet\|input\|wayland\|libinput\|i2c_hid\|suspend\|resume\|kwin\|egl\|qt"`
output after suspend/resume leading to issue):**

maj 25 16:02:55 fedora systemd-logind[901]: The system will suspend now!
maj 25 16:02:55 fedora ModemManager[977]: <msg> [sleep-monitor-systemd]
system is about to suspend
maj 25 16:02:56 fedora systemd[1]: Starting systemd-suspend.service - System
Suspend...
maj 25 16:02:56 fedora systemd-sleep[3487]: Performing sleep operation
'suspend'...
maj 25 16:02:56 fedora kernel: PM: suspend entry (deep)
maj 25 16:03:02 fedora kernel: printk: Suspending console(s) (use
no_console_suspend to debug)
maj 25 16:03:02 fedora kernel: PM: suspend devices took 0.695 seconds
maj 25 16:03:02 fedora kernel: ACPI: PM: Low-level resume complete
maj 25 16:03:02 fedora kernel: PM: resume devices took 0.664 seconds
maj 25 16:03:02 fedora kernel: PM: suspend exit
maj 25 16:03:02 fedora bluetoothd[886]: Controller resume with wake event 0x0
maj 25 16:03:02 fedora systemd-sleep[3487]: System returned from sleep
operation 'suspend'.
maj 25 16:03:02 fedora systemd[1]: systemd-suspend.service: Deactivated
successfully.
maj 25 16:03:02 fedora audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295
ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-suspend
comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=?
res=success'
maj 25 16:03:02 fedora audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295
ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-suspend
comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=?
res=success'
maj 25 16:03:02 fedora systemd[1]: Finished systemd-suspend.service - System
Suspend.
maj 25 16:03:02 fedora systemd[1]: Reached target suspend.target - Suspend.
maj 25 16:03:02 fedora systemd-logind[901]: Operation 'suspend' finished.
maj 25 16:03:02 fedora systemd[1]: Stopped target suspend.target - Suspend.
maj 25 16:03:07 fedora kscreenlocker_greet[3412]: qt.qpa.wayland: Could not
create EGL surface (EGL error 0x3000)


**Hardware Information:**
* `xinput list` output confirms Wacom devices (Virtual core pointer,
xwayland-pointer, xwayland-relative-pointer, xwayland-tablet-stylus,
xwayland-touch) are detected by the system, even when unresponsive.
* Firmware (BIOS/UEFI) is up to date according to `fwupdmgr` results (System
Firmware version 0.1.56, Emb

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

Reply via email to