Manjaro keeps "shutting down" untimely

I’m experiencing big troubles with my Lenovo Thinkpad T14 with AMD Ryzen.

It keeps shutting down after a few minutes of uptime. Actually it doesn’t really shutdown, i’ve got a black screen and I can hear the fan go wild, and the power led button is still on.

There is no active apps or anything it just happens randomly.
I checked the last boot log using journalctl but nothing there. And i’m not really experienced to debug anything.
The problem appear with last version of kernel 6.5, 6.6 and 6.7. It appeared with previous update of manjaro stable but I can’t remember wich one, surely something like december. I did the last stable update and the problem remain. I’m using KDE

This is my workstation and i’ve been unable to work for two days :confused:
Can someone help me find the issue here ? I can try to boot it to give command output if that can help.

System:
  Kernel: 6.7.0-0-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
    clocksource: hpet available: acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.7-x86_64
    root=UUID=0a069106-342a-4417-9015-dc7277ae4439 rw quiet apparmor=1
    security=apparmor udev.log_priority=3
  Desktop: KDE Plasma v: 5.27.10 tk: Qt v: 5.15.12 wm: kwin_x11 dm: SDDM
    Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop System: LENOVO product: 20UDCTO1WW v: ThinkPad T14 Gen 1
    serial: <filter> Chassis: type: 10 serial: <filter>
  Mobo: LENOVO model: 20UDCTO1WW serial: <filter> UEFI: LENOVO
    v: R1BET58W(1.27 ) date: 10/20/2020
Battery:
  ID-1: BAT0 charge: 32.4 Wh (99.1%) condition: 32.7/50.5 Wh (64.7%)
    volts: 12.8 min: 11.6 model: LGC 5B10W139 type: Li-poly serial: <filter>
    status: not charging cycles: 833
Memory:
  System RAM: total: 16 GiB available: 14.86 GiB used: 6.29 GiB (42.3%)
  Array-1: capacity: 64 GiB slots: 2 modules: 1 EC: None
    max-module-size: 32 GiB note: est.
  Device-1: DIMM 0 type: DDR4 detail: synchronous unbuffered (unregistered)
    size: 16 GiB speed: 3200 MT/s volts: curr: 1.2 min: 1.2 max: 1.2
    width (bits): data: 64 total: 64 manufacturer: Micron Technology
    part-no: 4ATS2G64HZ-3G2B1 serial: N/A
  Device-2: DIMM 0 type: no module installed
CPU:
  Info: model: AMD Ryzen 5 PRO 4650U with Radeon Graphics socket: FP6 bits: 64
    type: MT MCP arch: Zen 2 gen: 3 level: v3 note: check built: 2020-22
    process: TSMC n7 (7nm) family: 0x17 (23) model-id: 0x60 (96) stepping: 1
    microcode: 0x8600106
  Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
    L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 3 MiB desc: 6x512 KiB L3: 8 MiB
    desc: 2x4 MiB
  Speed (MHz): avg: 1516 high: 2100 min/max: 1400/2100 boost: enabled
    base/boost: 2100/4000 scaling: driver: acpi-cpufreq governor: schedutil
    volts: 1.2 V ext-clock: 100 MHz cores: 1: 2100 2: 1400 3: 1400 4: 2100
    5: 1400 6: 1400 7: 1400 8: 1400 9: 1400 10: 1400 11: 1400 12: 1400
    bogomips: 50327
  Flags: 3dnowprefetch abm adx aes aperfmperf apic arat avic avx avx2 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 extapic extd_apicid
    f16c flushbyasid fma fpu fsgsbase fxsr fxsr_opt ht hw_pstate ibpb ibrs ibs
    irperf lahf_lm lbrv lm mba mca mce misalignsse mmx mmxext monitor movbe
    msr mtrr mwaitx nonstop_tsc nopl npt nrip_save nx osvw overflow_recov pae
    pat pausefilter pclmulqdq pdpe1gb perfctr_core perfctr_llc perfctr_nb
    pfthreshold pge 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 vgif vmcb_clean vme vmmcall
    wbnoinvd wdt xgetbv1 xsave xsavec xsaveerptr xsaveopt
  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 mitigation: untrained return thunk; SMT enabled with STIBP
    protection
  Type: spec_rstack_overflow mitigation: Safe RET
  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: Retpolines, 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 Renoir [Radeon RX Vega 6 ] vendor: Lenovo driver: amdgpu
    v: kernel arch: GCN-5 code: Vega process: GF 14nm built: 2017-20 pcie: gen: 4
    speed: 16 GT/s lanes: 16 ports: active: eDP-1 empty: DP-1,DP-2,HDMI-A-1
    bus-ID: 07:00.0 chip-ID: 1002:1636 class-ID: 0300 temp: 33.0 C
  Device-2: Chicony Integrated Camera driver: uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 2-2:2 chip-ID: 04f2:b6d9
    class-ID: 0e02 serial: <filter>
  Display: server: X.Org v: 21.1.10 compositor: kwin_x11 driver: X:
    loaded: amdgpu unloaded: modesetting alternate: fbdev,vesa dri: radeonsi
    gpu: amdgpu display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
    s-diag: 582mm (22.93")
  Monitor-1: eDP-1 mapped: eDP model: LG Display 0x0676 built: 2020
    res: 1920x1080 hz: 60 dpi: 158 gamma: 1.2 size: 309x174mm (12.17x6.85")
    diag: 355mm (14") ratio: 16:9 modes: max: 1920x1080 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.3.3-manjaro1.1
    glx-v: 1.4 direct-render: yes renderer: AMD Radeon Graphics (radeonsi renoir
    LLVM 16.0.6 DRM 3.56 6.7.0-0-MANJARO) device-ID: 1002:1636 memory: 500 MiB
    unified: no
  API: Vulkan v: 1.3.274 layers: N/A device: 0 type: integrated-gpu name: AMD
    Radeon Graphics (RADV RENOIR) driver: mesa radv v: 23.3.3-manjaro1.1
    device-ID: 1002:1636 surfaces: xcb,xlib
Audio:
  Device-1: AMD Renoir Radeon High Definition Audio vendor: Lenovo
    driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
    bus-ID: 07:00.1 chip-ID: 1002:1637 class-ID: 0403
  Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: Lenovo
    driver: snd_rn_pci_acp3x v: kernel alternate: snd_pci_acp3x, snd_pci_acp5x,
    snd_pci_acp6x, snd_acp_pci, snd_rpl_pci_acp6x, snd_pci_ps,
    snd_sof_amd_renoir, snd_sof_amd_rembrandt, snd_sof_amd_vangogh pcie: gen: 4
    speed: 16 GT/s lanes: 16 bus-ID: 07: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: 07:00.6
    chip-ID: 1022:15e3 class-ID: 0403
  API: ALSA v: k6.7.0-0-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: JACK v: 1.9.22 status: off tools: N/A
  Server-2: PipeWire v: 1.0.0 status: n/a (root, process) with:
    1: pipewire-pulse status: active 2: pipewire-media-session status: active
    3: pipewire-alsa type: plugin tools: pactl,pw-cat,pw-cli
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Lenovo driver: r8169 v: kernel modules: r8168 pcie: gen: 1
    speed: 2.5 GT/s lanes: 1 port: 3400 bus-ID: 02:00.0 chip-ID: 10ec:8168
    class-ID: 0200
  IF: enp2s0f0 state: down mac: <filter>
  Device-2: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel pcie: gen: 2
    speed: 5 GT/s lanes: 1 bus-ID: 03:00.0 chip-ID: 8086:2723 class-ID: 0280
  IF: wlp3s0 state: up mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: dynamic noprefixroute scope: global
  IP v6: <filter> type: noprefixroute scope: link
  Device-3: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Lenovo driver: r8169 v: kernel modules: r8168 pcie: gen: 1
    speed: 2.5 GT/s lanes: 1 port: 2000 bus-ID: 05:00.0 chip-ID: 10ec:8168
    class-ID: 0200
  IF: enp5s0 state: down mac: <filter>
  IF-ID-1: br-d26b92434a45 state: down mac: <filter>
  IP v4: <filter> scope: global broadcast: <filter>
  IF-ID-2: br-e835adb8a9c1 state: down mac: <filter>
  IP v4: <filter> scope: global broadcast: <filter>
  IF-ID-3: docker0 state: down mac: <filter>
  IP v4: <filter> scope: global broadcast: <filter>
  WAN IP: <filter>
Bluetooth:
  Device-1: Intel AX200 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0
    speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 6-4:3 chip-ID: 8087:0029
    class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 3 state: up address: see --recommends
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 476.94 GiB used: 303.21 GiB (63.6%)
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: MZVLB512HBJQ-000L7
    size: 476.94 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
    lanes: 4 tech: SSD serial: <filter> fw-rev: 5M2QEXF7 temp: 28.9 C
    scheme: GPT
  SMART: yes health: PASSED on: 145d 9h cycles: 148,686
    read-units: 167,691,191 [85.8 TB] written-units: 61,122,489 [31.2 TB]
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 332.03 GiB size: 325.75 GiB (98.11%)
    used: 303.18 GiB (93.1%) fs: ext4 block-size: 4096 B dev: /dev/nvme0n1p5
    maj-min: 259:5 label: N/A uuid: 0a069106-342a-4417-9015-dc7277ae4439
  ID-2: /boot/efi raw-size: 260 MiB size: 256 MiB (98.46%)
    used: 33 MiB (12.9%) fs: vfat block-size: 512 B dev: /dev/nvme0n1p1
    maj-min: 259:1 label: SYSTEM uuid: 64F2-0DC1
Swap:
  Alert: No swap data was found.
Unmounted:
  ID-1: /dev/nvme0n1p2 maj-min: 259:2 size: 16 MiB fs: N/A label: N/A uuid: N/A
  ID-2: /dev/nvme0n1p3 maj-min: 259:3 size: 143.66 GiB fs: bitlocker
    label: N/A uuid: N/A
  ID-3: /dev/nvme0n1p4 maj-min: 259:4 size: 1000 MiB fs: ntfs
    label: WinRE_DRV uuid: A85AF4AA5AF47702
USB:
  Hub-1: 1-0:1 info: full speed or root hub 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-2: 2-0:1 info: hi-speed hub with single TT ports: 2 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: 2-2:2 info: Chicony Integrated Camera type: video
    driver: uvcvideo interfaces: 2 rev: 2.0 speed: 480 Mb/s (57.2 MiB/s) lanes: 1
    mode: 2.0 power: 500mA chip-ID: 04f2:b6d9 class-ID: 0e02 serial: <filter>
  Hub-3: 3-0:1 info: super-speed hub ports: 2 rev: 3.0
    speed: 5 Gb/s (596.0 MiB/s) lanes: 1 mode: 3.2 gen-1x1 chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-4: 4-0:1 info: hi-speed hub with single TT ports: 4 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Hub-5: 5-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-6: 6-0:1 info: hi-speed hub with single TT ports: 4 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: 6-2:2 info: Primax Dell N889 Optical Mouse type: mouse
    driver: hid-generic,usbhid interfaces: 1 rev: 2.0 speed: 1.5 Mb/s (183 KiB/s)
    lanes: 1 mode: 1.0 power: 98mA chip-ID: 0461:4d81 class-ID: 0301
  Device-2: 6-4:3 info: Intel AX200 Bluetooth type: bluetooth driver: btusb
    interfaces: 2 rev: 2.0 speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1
    power: 100mA chip-ID: 8087:0029 class-ID: e001
  Hub-7: 7-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
Sensors:
  System Temperatures: cpu: 45.0 C mobo: N/A gpu: amdgpu temp: 35.0 C
  Fan Speeds (rpm): fan-1: 0 fan-2: 0
Info:
  Processes: 424 Uptime: 1m wakeups: 0 Init: systemd v: 255 default: graphical
  tool: systemctl Compilers: gcc: 13.2.1 clang: 16.0.6 Packages: pm: pacman
  pkgs: 2033 libs: 480 tools: pamac,yay pm: flatpak pkgs: 0 Shell: Sudo (sudo)
  v: 1.9.15p5 default: Bash v: 5.2.21 running-in: yakuake inxi: 3.3.31

Normally I would guess that it’s a hardware problem, but if you experienced it in the past und then it worked normal again and now the problem appeared again, it might be indeed a software problem.

Can you try to use a different kernel version?

Welcome to Manjaro! :smiling_face_with_three_hearts:

  1. Please read the information behind this link. It will help you to post necessary information.
  1. Please press the three dots below your post and then press the :pencil2:
  • If you give us information about your system, we can see what we’re talking about and make better suggestions.
  • You can do this by using inxi in a terminal or in console.
sudo inxi --admin --verbosity=7 --filter --no-host --width
  • Personally identifiable information such as serial numbers and MAC addresses are filtered out by this command
  • Presenting the information in this way allows everyone to be familiar with the format and quickly find the items they need without missing anything.
  1. Copy the output from inxi (including the command) and paste it into your post.
  • To make it more readable, add 3 backticks ``` on an extra line before and after the pasted text.

Have you already :mag: for your problem in the forum ? (Wisdom lies in asking → listening → reading :wink: )

Thanks for your replies, I updated the original post with the command ouput.
I’ve search in this category and also in known issues of stable announcements but nothing relates to my issue :confused:

I’ve already tried with kernel 6.6 and 6.5, I guess I can try with 6.1 but that’s a long way.
For example the issue appeared last week during workdays, and nothing in the weekend the system worked normally. And then back again yesterday

Same thing with kernel 6.1.
Yesterday after a proper shutdown it worked all night. This morning it doesn’t, it even happened on the login screen.
If it was hardware it would happen more often and I would have been unable to work last night no ?

There must be a procedure/process to find information about the issue wether it is hardware or software non ? Please any help is welcome

If the OS isn’t even log anything useful, then I would check for hardware related issues first. Doesn’t Lenovo baked some kind of hardware diagnostic into their firmware? Maybe you could run memtest and check if it manages to pass.

You have no swap.
With 16gb thats probably fine most of the time … but I might suggest adding something or other.
zram is usually my suggestion.
But this is unlikely to be the cause of your problems.

Oh … maybe it is swap.

After you run out of your physical memory the system is expected to lock up.

To see a quick zram suggestion click here

Your BIOS is also very out of date, especially considering some of the relatively newish components.
If my search is correct

Thanks for pointing in that direction. I ran all Lenovo test from the bios for memory, CPU, motherboard etc and they all passed :confused: Which would say it’s not hardware.
But… I booted on my windows partition and the problème appeared too, so in the end it may be a hardware issue…
Although I experienced strange connections caused by switching between windows and linux on the machine in times (clock delay issue, touchpad issue)

Thanks for your reply.

Indeed for the swap but I’ve never had any problem with it :confused: And the problem can occur even at startup when nothing is going on. I’ll try zram anyway because we never know !

Oops my bad for the bios I rarely updated it :confused: But now that the system can shutdown at any time, it appears really risky to update it via Lenovo software on windows no ? :s
Is the best option is to download the update and make a bootable usb key ?

I still suspect a hardware issue if two different operating systems are having the same issue. Another thing worth trying: open the notebook and reseat (remove and re-insert) the SSD and RAM. Depending on local humidity, ambient temperature deltas or physical movement it can happen that they develop intermittent connectivity issues. While in there you could also glance over all the other plugs and ribbon cables, maybe something rattled loose.

I would do the usb method.

I maybe would also check if sitting around in BIOS for ~20 minutes causes a similar sudden shutdown.

Thanks for your help, zram may have help a bit but the problem still occur time to time.
At that point there is not much more to do, I’ll try the remaining things we said and if no more success I’ll consider changing laptop.

Thanks again