Bug 1218022 - Crash when disconnecting power while laptop is asleep
Summary: Crash when disconnecting power while laptop is asleep
Status: NEW
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: KDE Workspace (Plasma) (show other bugs)
Version: Current
Hardware: x86-64 openSUSE Tumbleweed
: P5 - None : Major (vote)
Target Milestone: ---
Assignee: E-Mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-13 13:32 UTC by Guillaume Pinchon
Modified: 2023-12-13 14:32 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Guillaume Pinchon 2023-12-13 13:32:46 UTC
When the laptop is put asleep with power connected and power gets disconnected, next time it's woken up the lockscreen crashes, the year of system date is set to 2077 and CPU is locked at around 500Mhz, changing the CPU scheduler via TLP doesn't seem to change anything and only a reboot fixes the issue.

System properties :
Operating System: openSUSE Tumbleweed 20231211
KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.112.0
Qt Version: 5.15.11
Kernel Version: 6.6.3-1-default (64-bit)
Graphics Platform: X11
Processors: 16 × AMD Ryzen 7 7840HS with Radeon 780M Graphics
Memory: 27.1 Gio of RAM
Graphics Processor: AMD Radeon Graphics
Manufacturer: LENOVO
Product Name: 82Y8
System Version: Yoga Pro 7 14APH8
Comment 1 Guillaume Pinchon 2023-12-13 14:32:04 UTC
inxi in case that helps...

System:
  Kernel: 6.6.3-1-default arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
    clocksource: tsc available: hpet,acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.6.3-1-default
    root=UUID=e5ee07a4-9e40-4865-9050-a95e421ba7aa splash=silent
    mitigations=auto quiet security=apparmor
  Desktop: KDE Plasma v: 5.27.10 tk: Qt v: 5.15.11 wm: kwin_x11 vt: 2
    dm: SDDM Distro: openSUSE Tumbleweed 20231211
Machine:
  Type: Laptop System: LENOVO product: 82Y8 v: Yoga Pro 7 14APH8
    serial: <superuser required> Chassis: type: 10 v: Yoga Pro 7 14APH8
    serial: <superuser required>
  Mobo: LENOVO model: LNVNB161216 v: No DPK serial: <superuser required>
    UEFI: LENOVO v: MLCN23WW date: 09/01/2023
Battery:
  ID-1: BAT0 charge: 35.9 Wh (47.4%) condition: 75.8/73.0 Wh (103.8%)
    power: 6.6 W volts: 15.5 min: 15.5 model: SMP L22M4PF4 type: Li-poly
    serial: <filter> status: discharging cycles: 19
  Device-1: hidpp_battery_0 model: Logitech M720 Triathlon Multi-Device
    Mouse serial: <filter> charge: 55% (should be ignored) rechargeable: yes
    status: discharging
Memory:
  System RAM: total: 28 GiB available: 27.1 GiB used: 3.35 GiB (12.4%)
  RAM Report: permissions: Unable to run dmidecode. Root privileges
    required.
CPU:
  Info: model: AMD Ryzen 7 7840HS with Radeon 780M Graphics bits: 64
    type: MT MCP arch: Zen 4 gen: 5 level: v4 note: check built: 2022+
    process: TSMC n5 (5nm) family: 0x19 (25) model-id: 0x74 (116) stepping: 1
    microcode: 0xA704101
  Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
    L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 8 MiB desc: 8x1024 KiB
    L3: 16 MiB desc: 1x16 MiB
  Speed (MHz): avg: 400 min/max: 400/5137:5293:5449:6080:5924:5608:5764
    scaling: driver: amd-pstate-epp governor: powersave cores: 1: 400 2: 400
    3: 400 4: 400 5: 400 6: 400 7: 400 8: 400 9: 400 10: 400 11: 400 12: 400
    13: 400 14: 400 15: 400 16: 400 bogomips: 121422
  Flags: 3dnowprefetch abm adx aes amd_lbr_v2 aperfmperf apic arat avx avx2
    avx512_bf16 avx512_bitalg avx512_vbmi2 avx512_vnni avx512_vpopcntdq
    avx512bw avx512cd avx512dq avx512f avx512ifma avx512vbmi avx512vl bmi1
    bmi2 bpext cat_l3 cdp_l3 clflush clflushopt clwb clzero cmov cmp_legacy
    constant_tsc cpb cppc cpuid cqm cqm_llc cqm_mbm_local cqm_mbm_total
    cqm_occup_llc cr8_legacy cx16 cx8 de decodeassists erms extapic
    extd_apicid f16c flush_l1d flushbyasid fma fpu fsgsbase fxsr fxsr_opt
    gfni ht hw_pstate ibpb ibrs ibrs_enhanced ibs invpcid irperf lahf_lm lbrv
    lm mba mca mce misalignsse mmx mmxext monitor movbe msr mtrr mwaitx
    nonstop_tsc nopl npt nrip_save nx ospke osvw overflow_recov pae pat
    pausefilter pclmulqdq pdpe1gb perfctr_core perfctr_llc perfctr_nb
    perfmon_v2 pfthreshold pge pku pni popcnt pse pse36 rapl rdpid rdpru
    rdrand rdseed rdt_a rdtscp rep_good sep sha_ni skinit smap smca smep ssbd
    sse sse2 sse4_1 sse4_2 sse4a ssse3 stibp succor svm svm_lock syscall tce
    topoext tsc tsc_scale umip v_spec_ctrl v_vmsave_vmload vaes vgif
    vmcb_clean vme vmmcall vnmi vpclmulqdq wbnoinvd wdt x2apic x2avic xgetbv1
    xsave xsavec xsaveerptr xsaveopt xsaves
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow status: Vulnerable: Safe RET, no microcode
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Enhanced / Automatic IBRS, IBPB:
    conditional, STIBP: always-on, RSB filling, PBRSB-eIBRS: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: AMD Phoenix1 vendor: Lenovo driver: amdgpu v: kernel arch: RDNA-3
    code: Phoenix process: TSMC n4 (4nm) built: 2023+ pcie: gen: 4
    speed: 16 GT/s lanes: 16 ports: active: eDP-1 empty: DP-1, DP-2, DP-3,
    DP-4, DP-5, DP-6, HDMI-A-1 bus-ID: 63:00.0 chip-ID: 1002:15bf
    class-ID: 0300 temp: 34.0 C
  Device-2: Luxvisions Innotech Integrated RGB Camera driver: uvcvideo
    type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-1:2
    chip-ID: 30c9:00a8 class-ID: fe01 serial: <filter>
  Display: x11 server: X.Org v: 21.1.9 with: Xwayland v: 23.2.2
    compositor: kwin_x11 driver: X: loaded: modesetting unloaded: fbdev,vesa
    dri: radeonsi gpu: amdgpu display-ID: :0 screens: 1
  Screen-1: 0 s-res: 2560x1600 s-dpi: 144 s-size: 451x282mm (17.76x11.10")
    s-diag: 532mm (20.94")
  Monitor-1: eDP-1 model: AU Optronics 0x7aa7 built: 2022 res: 2560x1600
    hz: 90 dpi: 208 gamma: 1.2 size: 312x195mm (12.28x7.68") diag: 368mm (14.5")
    ratio: 16:10 modes: max: 2560x1600 min: 640x480
  API: EGL v: 1.5 hw: drv: amd radeonsi platforms: device: 0 drv: radeonsi
    device: 1 drv: swrast surfaceless: drv: radeonsi x11: drv: radeonsi
    inactive: gbm,wayland
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 23.2.1 glx-v: 1.4
    direct-render: yes renderer: AMD Radeon Graphics (gfx1103_r1 LLVM 17.0.5
    DRM 3.54 6.6.3-1-default) device-ID: 1002:15bf memory: 3.91 GiB
    unified: no
  API: Vulkan v: 1.3.268 layers: 9 device: 0 type: integrated-gpu name: AMD
    Radeon Graphics (RADV GFX1103_R1) driver: mesa radv v: 23.2.1
    device-ID: 1002:15bf surfaces: xcb,xlib
Audio:
  Device-1: AMD Rembrandt Radeon High Definition Audio vendor: Lenovo
    driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
    bus-ID: 63:00.1 chip-ID: 1002:1640 class-ID: 0403
  Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: Lenovo
    driver: snd_pci_ps v: kernel alternate: snd_pci_acp3x, snd_rn_pci_acp3x,
    snd_pci_acp5x, snd_pci_acp6x, snd_acp_pci, snd_rpl_pci_acp6x,
    snd_sof_amd_renoir, snd_sof_amd_rembrandt, snd_sof_amd_vangogh pcie:
    gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 63:00.5 chip-ID: 1022:15e2
    class-ID: 0480
  Device-3: AMD Family 17h/19h HD Audio vendor: Lenovo driver: snd_hda_intel
    v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 63:00.6
    chip-ID: 1022:15e3 class-ID: 0403
  API: ALSA v: k6.6.3-1-default status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: PipeWire v: 1.0.0 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: MEDIATEK MT7922 802.11ax PCI Express Wireless Network Adapter
    vendor: Lenovo driver: mt7921e v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 1
    bus-ID: 01:00.0 chip-ID: 14c3:0616 class-ID: 0280
  IF: wlp1s0 state: up mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: temporary dynamic scope: global
  IP v6: <filter> type: dynamic mngtmpaddr noprefixroute scope: global
  IP v6: <filter> type: noprefixroute scope: link
  WAN IP: <filter>
Bluetooth:
  Device-1: Foxconn / Hon Hai Wireless_Device driver: btusb v: 0.8 type: USB
    rev: 2.1 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-5:2 chip-ID: 0489:e0d8
    class-ID: e001 serial: <filter>
  Report: btmgmt ID: hci0 rfk-id: 2 state: up address: <filter> bt-v: 5.2
    lmp-v: 11 status: discoverable: no pairing: no class-ID: 6c010c
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 476.94 GiB used: 308.51 GiB (64.7%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: SanDisk
    model: SKHynix HFS512GEJ9X115N size: 476.94 GiB block-size: physical: 512 B
    logical: 512 B speed: 63.2 Gb/s lanes: 4 tech: SSD serial: <filter>
    fw-rev: 51020A12 temp: 33.9 C scheme: GPT
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 476.44 GiB size: 476.44 GiB (100.00%)
    used: 308.47 GiB (64.7%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
    label: N/A uuid: e5ee07a4-9e40-4865-9050-a95e421ba7aa
  ID-2: /.snapshots raw-size: 476.44 GiB size: 476.44 GiB (100.00%)
    used: 308.47 GiB (64.7%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
    label: N/A uuid: e5ee07a4-9e40-4865-9050-a95e421ba7aa
  ID-3: /boot/efi raw-size: 512 MiB size: 511 MiB (99.80%)
    used: 37.8 MiB (7.4%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1 label: N/A
    uuid: A1C3-B30E
  ID-4: /boot/grub2/i386-pc raw-size: 476.44 GiB size: 476.44 GiB (100.00%)
    used: 308.47 GiB (64.7%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
    label: N/A uuid: e5ee07a4-9e40-4865-9050-a95e421ba7aa
  ID-5: /boot/grub2/x86_64-efi raw-size: 476.44 GiB
    size: 476.44 GiB (100.00%) used: 308.47 GiB (64.7%) fs: btrfs
    dev: /dev/nvme0n1p2 maj-min: 259:2 label: N/A
    uuid: e5ee07a4-9e40-4865-9050-a95e421ba7aa
  ID-6: /home raw-size: 476.44 GiB size: 476.44 GiB (100.00%)
    used: 308.47 GiB (64.7%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
    label: N/A uuid: e5ee07a4-9e40-4865-9050-a95e421ba7aa
  ID-7: /opt raw-size: 476.44 GiB size: 476.44 GiB (100.00%)
    used: 308.47 GiB (64.7%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
    label: N/A uuid: e5ee07a4-9e40-4865-9050-a95e421ba7aa
  ID-8: /root raw-size: 476.44 GiB size: 476.44 GiB (100.00%)
    used: 308.47 GiB (64.7%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
    label: N/A uuid: e5ee07a4-9e40-4865-9050-a95e421ba7aa
  ID-9: /srv raw-size: 476.44 GiB size: 476.44 GiB (100.00%)
    used: 308.47 GiB (64.7%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
    label: N/A uuid: e5ee07a4-9e40-4865-9050-a95e421ba7aa
  ID-10: /usr/local raw-size: 476.44 GiB size: 476.44 GiB (100.00%)
    used: 308.47 GiB (64.7%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
    label: N/A uuid: e5ee07a4-9e40-4865-9050-a95e421ba7aa
  ID-11: /var raw-size: 476.44 GiB size: 476.44 GiB (100.00%)
    used: 308.47 GiB (64.7%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
    label: N/A uuid: e5ee07a4-9e40-4865-9050-a95e421ba7aa
Swap:
  Alert: No swap data was found.
Unmounted:
  Message: No unmounted partitions found.
USB:
  Hub-1: 1-0:1 info: hi-speed hub with single TT ports: 5 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Device-1: 1-5:2 info: Foxconn / Hon Hai Wireless_Device type: bluetooth
    driver: btusb interfaces: 3 rev: 2.1 speed: 480 Mb/s (57.2 MiB/s) lanes: 1
    mode: 2.0 power: 100mA chip-ID: 0489:e0d8 class-ID: e001 serial: <filter>
  Hub-2: 2-0:1 info: super-speed hub ports: 2 rev: 3.1
    speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-3: 3-0:1 info: hi-speed hub with single TT ports: 1 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Device-1: 3-1:2 info: Luxvisions Innotech Integrated RGB Camera
    type: video driver: uvcvideo interfaces: 5 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 power: 500mA
    chip-ID: 30c9:00a8 class-ID: fe01 serial: <filter>
  Hub-4: 4-0:1 info: super-speed hub ports: 1 rev: 3.1
    speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-5: 5-0:1 info: hi-speed hub with single TT ports: 1 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Hub-6: 6-0:1 info: super-speed hub ports: 1 rev: 3.1
    speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-7: 7-0:1 info: hi-speed hub with single TT ports: 1 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Hub-8: 8-0:1 info: super-speed hub ports: 1 rev: 3.1
    speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
    class-ID: 0900
Sensors:
  System Temperatures: cpu: 40.4 C mobo: 32.0 C
  Fan Speeds (rpm): N/A
Info:
  Processes: 404 Uptime: 0h 2m wakeups: 0 Init: systemd v: 254
  default: graphical tool: systemctl Compilers: gcc: 13.2.1 alt: 13 Packages:
  pm: rpm pkgs: N/A note: see --rpm tools: yast,zypper pm: flatpak pkgs: 24
  Shell: Bash v: 5.2.21 running-in: konsole inxi: 3.3.31