F41 is sluggish after resuming from suspend (fixed by a restart)

I’ve recently started using a new ThinkPad P16v Gen 1 laptop (details below) with Fedora 41 and KDE Plasma. Everything works fine, except when I wake up the laptop from sleep, the system seems to be quite sluggish. I don’t see anything exceptional in terms of CPU/Memory utilization or disk IO throttling. I also don’t get a whole lot from journalctl, except the following, which I do not know is relevant or not:

Mar 19 15:36:01 nchakrab-thinkpadp16vgen1.rmtin.csb kwin_wayland[3666]: kwin_scene_opengl: Invalid framebuffer status:  "GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT"
Mar 19 16:24:25 nchakrab-thinkpadp16vgen1.rmtin.csb kwin_wayland[3666]: kwin_scene_opengl: Invalid framebuffer status:  "GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT"
Mar 19 16:29:01 nchakrab-thinkpadp16vgen1.rmtin.csb kwin_wayland[3666]: kwin_scene_opengl: Invalid framebuffer status:  "GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT"

The power profile is always set to Performance. This issue is fixed right after a restart.

System:
  Kernel: 6.13.6-200.fc41.x86_64 arch: x86_64 bits: 64 compiler: gcc v: 14.2.1
  Desktop: KDE Plasma v: 6.3.3 tk: Qt v: N/A wm: kwin_wayland dm: 1: GDM
    2: SDDM note: stopped Distro: Fedora Linux 41 (Workstation Edition)
Machine:
  Type: Laptop System: LENOVO product: <****> v: ThinkPad P16v Gen 1
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: LENOVO model: <****> serial: <superuser required>
    part-nu: LENOVO_MT_21FF_BU_Think_FM_ThinkPad P16v Gen 1 UEFI: LENOVO
    v: N3VET57W (1.57 ) date: 10/29/2024
Battery:
  ID-1: BAT0 charge: 90.2 Wh (99.7%) condition: 90.5/90.0 Wh (100.6%)
    volts: 17.8 min: 15.5 model: Celxpert 5B11M90093 serial: <filter>
    status: charging
  Device-1: hid-dc:2c:26:3b:5b:cc-battery model: Keychron K2 serial: N/A
    charge: N/A status: N/A
  Device-2: hidpp_battery_1 model: Logitech Wireless Mouse MX Master 2S
    serial: <filter> charge: 55% (should be ignored) status: discharging
CPU:
  Info: 8-core model: AMD Ryzen 7 PRO 7840HS w/ Radeon 780M Graphics bits: 64
    type: MT MCP arch: Zen 4 rev: 1 cache: L1: 512 KiB L2: 8 MiB L3: 16 MiB
  Speed (MHz): avg: 1098 min/max: 400/5137 boost: enabled cores: 1: 1098
    2: 1098 3: 1098 4: 1098 5: 1098 6: 1098 7: 1098 8: 1098 9: 1098 10: 1098
    11: 1098 12: 1098 13: 1098 14: 1098 15: 1098 16: 1098 bogomips: 121373
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
  Device-1: Advanced Micro Devices [AMD/ATI] Phoenix1 vendor: Lenovo
    driver: amdgpu v: kernel arch: RDNA-3 pcie: speed: 16 GT/s lanes: 16 ports:
    active: DP-2,HDMI-A-1 off: eDP-1 empty: DP-1, DP-3, DP-4, DP-5, DP-6,
    Writeback-1 bus-ID: c4:00.0 chip-ID: 1002:15bf temp: 35.0 C
  Device-2: Bison Integrated Camera driver: uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 bus-ID: 3-1:2 chip-ID: 5986:118c
  Display: wayland server: Xwayland v: 24.1.6 compositor: kwin_wayland
    driver: gpu: amdgpu display-ID: 0
  Monitor-1: DP-2 model: BenQ GW2480 res: 1920x1080 hz: 60 dpi: 93
    diag: 604mm (23.8")
  Monitor-2: HDMI-A-1 model: BenQ GW2480 res: 1920x1080 hz: 60 dpi: 93
    diag: 604mm (23.8")
  Monitor-3: eDP-1 model: Lenovo 0x41b5 res: 1920x1200 dpi: 142
    diag: 406mm (16")
  API: EGL v: 1.5 platforms: device: 0 drv: radeonsi device: 1 drv: swrast
    gbm: drv: kms_swrast surfaceless: drv: radeonsi wayland: drv: radeonsi x11:
    drv: radeonsi
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 25.0.1 glx-v: 1.4
    direct-render: yes renderer: AMD Radeon 780M (radeonsi phoenix LLVM 19.1.7
    DRM 3.61 6.13.6-200.fc41.x86_64) device-ID: 1002:15bf display-ID: :0.0
  API: Vulkan v: 1.4.304 surfaces: xcb,xlib,wayland device: 0
    type: integrated-gpu driver: N/A device-ID: 1002:15bf device: 1 type: cpu
    driver: N/A device-ID: 10005:0000
  Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo
    de: kscreen-console,kscreen-doctor wl: wayland-info x11: xdriinfo,
    xdpyinfo, xprop, xrandr
Audio:
  Device-1: Advanced Micro Devices [AMD/ATI] Rembrandt Radeon High Definition
    Audio vendor: Lenovo driver: snd_hda_intel v: kernel pcie: speed: 16 GT/s
    lanes: 16 bus-ID: c4:00.1 chip-ID: 1002:1640
  Device-2: Advanced Micro Devices [AMD] ACP/ACP3X/ACP6x Audio Coprocessor
    vendor: Lenovo driver: snd_pci_ps v: kernel pcie: speed: 16 GT/s lanes: 16
    bus-ID: c4:00.5 chip-ID: 1022:15e2
  Device-3: Advanced Micro Devices [AMD] Family 17h/19h/1ah HD Audio
    vendor: Lenovo driver: snd_hda_intel v: kernel pcie: speed: 16 GT/s
    lanes: 16 bus-ID: c4:00.6 chip-ID: 1022:15e3
  API: ALSA v: k6.13.6-200.fc41.x86_64 status: kernel-api
  Server-1: JACK v: 1.9.22 status: off
  Server-2: PipeWire v: 1.2.7 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin
Network:
  Device-1: Qualcomm QCNFA765 Wireless Network Adapter vendor: Lenovo
    driver: ath11k_pci v: kernel pcie: speed: 5 GT/s lanes: 1 bus-ID: 01:00.0
    chip-ID: 17cb:1103
  IF: wlp1s0 state: up mac: <filter>
Bluetooth:
  Device-1: USI driver: btusb v: 0.8 type: USB rev: 1.1 speed: 12 Mb/s
    lanes: 1 bus-ID: 1-3:3 chip-ID: 10ab:9309
  Report: btmgmt ID: hci0 rfk-id: 1 state: up address: <filter> bt-v: 5.3
    lmp-v: 12
Drives:
  Local Storage: total: 953.87 GiB used: 19.96 GiB (2.1%)
  ID-1: /dev/nvme0n1 vendor: SK Hynix model: HFS001TEJ9X162N
    size: 953.87 GiB speed: 63.2 Gb/s lanes: 4 serial: <filter> temp: 43.9 C
Partition:
  ID-1: / size: 952.27 GiB used: 19.62 GiB (2.1%) fs: btrfs dev: /dev/dm-0
    mapped: luks-612f7037-5617-4b9e-a502-63ba405a91a0
  ID-2: /boot size: 973.4 MiB used: 345 MiB (35.4%) fs: ext4
    dev: /dev/nvme0n1p2
  ID-3: /boot/efi size: 598.8 MiB used: 7.6 MiB (1.3%) fs: vfat
    dev: /dev/nvme0n1p1
  ID-4: /home size: 952.27 GiB used: 19.62 GiB (2.1%) fs: btrfs
    dev: /dev/dm-0 mapped: luks-612f7037-5617-4b9e-a502-63ba405a91a0
Swap:
  ID-1: swap-1 type: zram size: 8 GiB used: 0 KiB (0.0%) priority: 100
    dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 37.0 C mobo: N/A
  Fan Speeds (rpm): fan-1: 3686 fan-2: 3690
Info:
  Memory: total: 64 GiB available: 61.44 GiB used: 11.31 GiB (18.4%)
  Processes: 511 Power: uptime: 21h 26m wakeups: 1 Init: systemd v: 256
    target: graphical (5) default: graphical
  Packages: pm: rpm pkgs: N/A note: see --rpm Compilers: gcc: 14.2.1
    Shell: Zsh v: 5.9 running-in: code inxi: 3.3.37

Is anyone else facing the same problem? Any help around this is really appreciated.

1 Like

I’ve also seen the following show up in journalctl right after resuming from suspend:

Mar 21 11:12:07 nchakrab-thinkpadp16vgen1.rmtin.csb kernel: pci 0000:02:00.0: Unable to change power state from D3hot to D0, device inaccessible

I believe this issue is being tracked in 2266265 – Thinkpad P16v sometimes resumes with CPU frequency locked to 400-500 MHz. The issue happens if you unplug the power while the system is suspended.

If it’s the same issue, the fix is being worked on by the FW team. Waiting on the ETA when the fix BIOS will be available.

If you believe it’s something different let me know.

Mark

1 Like

@mpearson Thank you for the update. This does seem to be the same issue.

Do you know if there’s a workaround for now?

I think if you unplug and plug it back it then it fixes it…but I’m running the trial BIOS on mine right now so can’t test and can’t find the reference to the workaround in my notes.

You can also unplug before suspending to avoid it.

Thank you!