Diagnose system not waking from suspension

Hi all,

Before it happened only occasionally, now it seems consistent: after some time the system is locked and suspended I cannot seem to wake it up with any input; I try to digit on the keyboard or click with the mouse, even tapping the shutdown button (which I know doesn’t shuts the system of, rather usually displays the sessions commands), but nothing happens. The only thing that’s left for me — that I know of — is forcing the shutdown.

This is my system:

  • Operating System: Fedora Linux 43
  • KDE Plasma Version: 6.5.4
  • KDE Frameworks Version: 6.21.0
  • Qt Version: 6.10.1
  • Kernel Version: 6.17.12-300.fc43.x86_64 (64-bit)
  • Graphics Platform: Wayland
  • Processors: 4 × Intel® Core™ i5-2400 CPU @ 3.10GHz
  • Memory: 16 GiB of RAM (15.4 GiB usable)
  • Graphics Processor: llvmpipe
  • Manufacturer: LENOVO
  • Product Name: 7052A9G
  • System Version: ThinkCentre M91p

I think I can reproduce the issue by suspending the system and waiting for some time:

  • The system suspends after 15 minutes of inactivity
  • The screen shuts off after 10 minutes of inactivity, but when Plasma is locked it only waits for 1 minute.

I don’t know precisely if the problem is the screen not lighting up or the system not being waken up, but my monitor stays in stand-by when I try to wake the system up, so I think it’s the suspension.

How can investigate on what’s happening?

Now it woke up successfully. I may need to try letting it going into suspension without locking it first, but I would be grateful if someone could tell me some way of keeping a trace of what happens — a trace that won’t disappear if I have to shut it forcefully

you can use sudo journalctl -b -1 to look at what happened right before it went into suspend (from the last boot), but that won’t tell you anything about what happened when you tried to wake it.

i’ve ended up just using a script that calls sudo systemctl suspend rather than rely on the GUI controls in plasma as they seem fragile and i’m still on plasma 5… would have hoped it got sorted by now for plasma 6.

1 Like

I’m definitely not an expert, but I’ve had some success with switching TTY when debugging these kinds of problems. In itself it doesn’t fix the underlying problem, but it is helpful to be able to log in and view logs in order to troubleshoot further.

Perhaps you can try that to figure out if the system itself is actually powered on or not?

To switch TTY, I use: CTRL+ALT+F3.

If the screen powers on and displays a login prompt in the terminal, then you’ll know that the system is definitely powered on.
I believe you can switch back to the “original” TTY by simply using CTRL+ALT+F1.

If you do not sovle the issue here try asking over at https://discussion.fedoraproject.org/

Can you post the output of inxi -Fzxx so that people know what your hardware details are?

Are you typing on the laptop keyboard or an external one?

If not an external one, can you try plugging in an external one and see if that works.

I tried switching TTY, but it doesn’t seem to wake up, at least in the cases I’m referring to. I’ll definitely try again when it happens, thank you

Thanks. This is a tower pc, not a laptop, therefore I’m on an external keyboard. I see that inxi requires lots of packages for perl. Do you think we can obtain the same information with some built-in command?

The short answer is no. The inxi output is easy to read.

Over on the Fedora forum it’s out go-to way to find out about a systems hardware/software.

You can always uninstall inxi and that will remove all the perl stuff after you are done.

1 Like

System:
Kernel: 6.17.12-300.fc43.x86_64 arch: x86_64 bits: 64 compiler: gcc
v: 15.2.1
Desktop: KDE Plasma v: 6.5.4 tk: Qt v: N/A wm: kwin_wayland dm: SDDM
Distro: Fedora Linux 43 (KDE Plasma Desktop Edition)
Machine:
Type: Desktop System: LENOVO product: 7052A9G v: ThinkCentre M91p
serial:
Mobo: LENOVO model: N/A serial: Firmware: BIOS
vendor: LENOVO v: 9HKT58AUS date: 06/10/2014
CPU:
Info: quad core model: Intel Core i5-2400 bits: 64 type: MCP
arch: Sandy Bridge rev: 7 cache: L1: 256 KiB L2: 1024 KiB L3: 6 MiB
Speed (MHz): avg: 1624 min/max: 1600/3400 cores: 1: 1624 2: 1624 3: 1624
4: 1624 bogomips: 24738
Flags-basic: avx ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
Device-1: Intel 2nd Generation Core Processor Family Integrated Graphics
vendor: Lenovo ThinkCentre M91p driver: i915 v: kernel arch: Gen-6 ports:
active: VGA-1 empty: DP-1,HDMI-A-1 bus-ID: 00:02.0 chip-ID: 8086:0102
Device-2: Cubeternet EtronTech CMOS based eSP570 WebCam [Onyx Titanium
TC101] driver: snd-usb-audio,uvcvideo type: USB rev: 2.0 speed: 480 Mb/s
lanes: 1 bus-ID: 1-1.2:4 chip-ID: 1e4e:0109
Display: wayland server: X.org v: 1.21.1.21 with: Xwayland v: 24.1.9
compositor: kwin_wayland driver: X: loaded: modesetting
alternate: fbdev,vesa dri: crocus gpu: i915 display-ID: 0
Monitor-1: VGA-1 model: Hyundai ImageQuest N91S res: 1280x1024 hz: 75
dpi: 86 diag: 482mm (19")
API: EGL v: 1.5 platforms: device: 0 drv: crocus device: 1 drv: swrast
gbm: drv: crocus surfaceless: drv: crocus wayland: drv: crocus x11:
drv: crocus
API: OpenGL v: 4.5 compat-v: 3.3 vendor: intel mesa v: 25.2.7 glx-v: 1.4
direct-render: yes renderer: Mesa Intel HD Graphics 2000 (SNB GT1)
device-ID: 8086:0102 display-ID: :0.0
API: Vulkan v: 1.4.328 surfaces: N/A device: 0 type: cpu
driver: mesa llvmpipe 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: Intel 6 Series/C200 Series Family High Definition Audio
vendor: Lenovo ThinkCentre M91p driver: snd_hda_intel v: kernel
bus-ID: 00:1b.0 chip-ID: 8086:1c20
Device-2: Cubeternet EtronTech CMOS based eSP570 WebCam [Onyx Titanium
TC101] driver: snd-usb-audio,uvcvideo type: USB rev: 2.0 speed: 480 Mb/s
lanes: 1 bus-ID: 1-1.2:4 chip-ID: 1e4e:0109
Device-3: C-Media Audio Adapter (Unitek Y-247A)
driver: cmedia_hs100b,snd-usb-audio,usbhid type: USB rev: 1.1 speed: 12 Mb/s
lanes: 1 bus-ID: 1-1.4:5 chip-ID: 0d8c:0014
API: ALSA v: k6.17.12-300.fc43.x86_64 status: kernel-api
Server-1: PipeWire v: 1.4.9 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: Intel 82579LM Gigabit Network vendor: Lenovo ThinkCentre M91p
driver: e1000e v: kernel port: f080 bus-ID: 00:19.0 chip-ID: 8086:1502
IF: eno1 state: up speed: 1000 Mbps duplex: full mac:
Drives:
Local Storage: total: 912.89 GiB used: 180.02 GiB (19.7%)
ID-1: /dev/sda vendor: Seagate model: ST500DM002-1BD142 size: 465.76 GiB
speed: 6.0 Gb/s serial: temp: 27 C
ID-2: /dev/sdb vendor: Crucial model: CT480BX500SSD1 size: 447.13 GiB
speed: 3.0 Gb/s serial: temp: 37 C
Partition:
ID-1: / size: 93.13 GiB used: 16.79 GiB (18.0%) fs: btrfs dev: /dev/sdb4
ID-2: /boot size: 1.8 GiB used: 497.3 MiB (27.0%) fs: ext4 dev: /dev/sdb3
ID-3: /boot/efi size: 487 MiB used: 19.3 MiB (4.0%) fs: vfat
dev: /dev/sdb2
ID-4: /home size: 351.66 GiB used: 15.02 GiB (4.3%) fs: btrfs
dev: /dev/sdb5
Swap:
ID-1: swap-1 type: zram size: 8 GiB used: 0 KiB (0.0%) priority: 100
dev: /dev/zram0
Sensors:
System Temperatures: cpu: 33.0 C mobo: N/A
Fan Speeds (rpm): N/A
Info:
Memory: total: 16 GiB note: est. available: 15.44 GiB used: 3.54 GiB (23.0%)
Processes: 303 Power: uptime: 18m wakeups: 0 Init: systemd v: 258
default: graphical
Packages: pm: rpm pkgs: N/A note: see --rpm pm: flatpak pkgs: 8
Compilers: N/A Shell: Bash v: 5.3.0 running-in: konsole inxi: 3.3.40