Suspend / shutdown sometimes leave the system up and running but unresponsive

Hello, I installed Fedora 44 KDE on my 2017 gaming laptop, a MSI GE73VR.

Sometimes, when I suspend or shutdown the computer, with or without pending updates, the OS completes the operation but leaves my computer on, fans running, with an unresponsive black screen. The only way out is to long-press the power button and kill the computer.

If it was suspend, I lose whatever what left running. If an update was pending, it goes on normally after I power on the computer, then it shutdowns again normally.

Here is a journal extract from last month:

sept. 18 18:04:49 magilligan audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u>
sept. 18 18:04:49 magilligan audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:>
sept. 18 18:04:49 magilligan systemd[1]: Reached target poweroff.target - System Power Off.
sept. 18 18:04:49 magilligan systemd[1]: Shutting down.
sept. 18 18:04:49 magilligan audit: BPF prog-id=45 op=UNLOAD
sept. 18 18:04:49 magilligan audit: BPF prog-id=47 op=UNLOAD
sept. 18 18:04:49 magilligan audit: BPF prog-id=46 op=UNLOAD
sept. 18 18:04:49 magilligan audit: BPF prog-id=66 op=UNLOAD
sept. 18 18:04:49 magilligan audit: BPF prog-id=65 op=UNLOAD
sept. 18 18:04:49 magilligan audit: BPF prog-id=56 op=UNLOAD
sept. 18 18:04:49 magilligan audit: BPF prog-id=55 op=UNLOAD
sept. 18 18:04:49 magilligan audit: BPF prog-id=70 op=UNLOAD
sept. 18 18:04:49 magilligan audit: BPF prog-id=69 op=UNLOAD
sept. 18 18:04:49 magilligan audit: BPF prog-id=48 op=UNLOAD
sept. 18 18:04:49 magilligan audit: BPF prog-id=50 op=UNLOAD
sept. 18 18:04:49 magilligan audit: BPF prog-id=49 op=UNLOAD
sept. 18 18:04:49 magilligan audit: BPF prog-id=100 op=UNLOAD
sept. 18 18:04:49 magilligan audit: BPF prog-id=99 op=UNLOAD
sept. 18 18:04:49 magilligan audit: BPF prog-id=61 op=UNLOAD
sept. 18 18:04:49 magilligan audit: BPF prog-id=60 op=UNLOAD
sept. 18 18:04:49 magilligan audit: BPF prog-id=53 op=UNLOAD
sept. 18 18:04:49 magilligan audit: BPF prog-id=52 op=UNLOAD
sept. 18 18:04:49 magilligan audit: BPF prog-id=41 op=UNLOAD
sept. 18 18:04:49 magilligan systemd-shutdown[1]: Syncing filesystems and block devices.
sept. 18 18:04:50 magilligan systemd-shutdown[1]: Sending SIGTERM to remaining processes...
sept. 18 18:04:50 magilligan systemd-journald[536]: Received SIGTERM from PID 1 (systemd-shutdow).
sept. 18 18:04:50 magilligan systemd-journald[536]: Journal stopped

Nothing seems out of the ordinary, and yet it didn’t shutdown after this.

Before Fedora 44, I had installed Bazzite (43 or 44, I don’t remember) and didn’t have this issue, so it’s not a kernel problem. I switched to Fedora because I needed an older driver for my GPU, a GTX 1070. This issue might come from a dysfunction in the Fedora-specific update hook, but I don’t know how to verify this.

Any help would be appreciated.

Complete system specs:

Operating System: Fedora Linux 44
KDE Plasma Version: 6.7.5
KDE Frameworks Version: 6.30.0
Qt Version: 6.11.2
Kernel Version: 7.2.9-200.fc44.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-7700HQ CPU @ 2.80GHz
Memory: 16 Gio of RAM (15.5 Gio usable)
Graphics Processor 1: Intel® HD Graphics 630
Graphics Processor 2: NVIDIA GeForce GTX 1070
Manufacturer: Micro-Star International Co., Ltd.
Product Name: GE73VR 7RF
System Version: REV:1.0

Do you have any external devices connected? Are you using current vendor firmware? Have you installed any non-original hardware such as SSD or RAM?

With this sort of issue, posting the output from running inxi -ezxx as web-discoverable pre-formatted text may bring help from other users with similar hardware.

Do you have any external devices connected?

Yes. A simple Logitech keyboard, a wireless mouse, a wireless eSynic mini-keyboard, and a pair of speakers on the jack output. There is another story here where I had to use hdajackretask to make them work as expected (ie. as “internal speaker” rather than headphones). It’s an issue with ALSA I couldn’t solve regardless of the distro.

Are you using current vendor firmware?

Yes, the original one. The update tool is a Windows executable. I didn’t manage to make a bootable Windows USB to run it, so I gave up.

Have you installed any non-original hardware such as SSD or RAM?

Yes. RAM is 2 x 8Go G.Skill RipJaws Series (DDR4 2400 MHz CL16). I don’t remember about the SSD, but it’s likely. The HDD too. I tinkered with it a lot.

Here is the the inxi output:

System:
  Kernel: 7.2.9-200.fc44.x86_64 arch: x86_64 bits: 64 compiler: gcc v: 16.2.1
  Desktop: KDE Plasma v: 6.7.5 tk: Qt v: N/A wm: kwin_wayland dm: N/A
    Distro: Fedora Linux 44 (KDE Plasma Desktop Edition)
Machine:
  Type: Laptop System: Micro-Star product: GE73VR 7RF v: REV:1.0
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: Micro-Star model: MS-17C1 v: REV:1.0 serial: <superuser required>
    part-nu: 17C1.1 Firmware: UEFI vendor: American Megatrends v: E17C1IMS.10A
    date: 03/13/2018
Battery:
  ID-1: BAT1 charge: 39.7 Wh (93.7%) condition: 42.3/53.2 Wh (79.5%)
    volts: 12.11 min: 10.86 model: MSI BIF0_9 serial: N/A charging:
    status: not charging cycles: N/A
CPU:
  Info: quad core model: Intel Core i7-7700HQ bits: 64 type: MT MCP
    arch: Kaby Lake rev: 9 cache: L1: 256 KiB L2: 1024 KiB L3: 6 MiB
  Speed (MHz): avg: 800 min/max: 800/3800 cores: 1: 800 2: 800 3: 800 4: 800
    5: 800 6: 800 7: 800 8: 800 bogomips: 44798
  Flags-basic: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel Kaby Lake-H GT2 [HD Graphics 630] vendor: Micro-Star MSI
    driver: i915 v: kernel arch: Gen-9.5 ports: active: eDP-1 empty: none
    bus-ID: 00:02.0 chip-ID: 8086:591b
  Device-2: NVIDIA GP104M [GeForce GTX 1070 Mobile] vendor: Micro-Star MSI
    driver: nouveau v: kernel arch: Pascal pcie: speed: 2.5 GT/s lanes: 16
    ports: active: none empty: DP-1,HDMI-A-1 bus-ID: 01:00.0
    chip-ID: 10de:1ba1 temp: 40.0 C
  Device-3: Bison HD Webcam driver: uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 bus-ID: 1-11:7 chip-ID: 5986:1140
  Display: wayland server: Xwayland v: 24.1.14 compositor: kwin_wayland
    driver: gpu: i915 display-ID: 0
  Monitor-1: eDP-1 model: ChiMei InnoLux 0x1747 res: 1920x1080 hz: 120
    dpi: 128 diag: 437mm (17.2")
  API: EGL v: 1.5 platforms: device: 0 drv: iris device: 1 drv: nouveau
    device: 2 drv: swrast gbm: drv: iris surfaceless: drv: iris wayland:
    drv: iris x11: drv: iris
  API: OpenGL v: 4.6 compat-v: 4.3 vendor: intel mesa v: 26.2.3 glx-v: 1.4
    direct-render: yes renderer: Mesa Intel HD Graphics 630 (KBL GT2)
    device-ID: 8086:591b display-ID: :0.0
  API: Vulkan v: 1.4.341 surfaces: N/A device: 0 type: integrated-gpu
    driver: mesa intel device-ID: 8086:591b device: 1 type: discrete-gpu
    driver: mesa nvk device-ID: 10de:1ba1 device: 2 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 HM175/QM175/CM238 HD Audio vendor: Micro-Star MSI
    driver: snd_hda_intel v: kernel bus-ID: 00:1f.3 chip-ID: 8086:a171
  Device-2: NVIDIA GP104 High Definition Audio driver: snd_hda_intel
    v: kernel pcie: speed: 2.5 GT/s lanes: 16 bus-ID: 01:00.1 chip-ID: 10de:10f0
  API: ALSA v: k7.2.9-200.fc44.x86_64 status: kernel-api
  Server-1: PipeWire v: 1.6.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: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter
    vendor: Rivet Networks driver: ath10k_pci v: kernel pcie: speed: 2.5 GT/s
    lanes: 1 bus-ID: 02:00.0 chip-ID: 168c:003e temp: 53.0 C
  IF: wlp2s0 state: up mac: <filter>
  Device-2: Qualcomm Atheros Killer E2500 Gigabit Ethernet
    vendor: Micro-Star MSI driver: alx v: kernel pcie: speed: 2.5 GT/s lanes: 1
    port: d000 bus-ID: 05:00.0 chip-ID: 1969:e0b1
  IF: enp5s0 state: down mac: <filter>
Bluetooth:
  Device-1: Qualcomm Atheros QCA61x4 Bluetooth 4.0 driver: btusb v: 0.8
    type: USB rev: 2.0 speed: 12 Mb/s lanes: 1 bus-ID: 1-10:6 chip-ID: 0cf3:e300
  Report: btmgmt ID: hci0 rfk-id: 0 state: down bt-service: enabled,running
    rfk-block: hardware: no software: yes address: <filter> bt-v: 4.2 lmp-v: 8
Drives:
  Local Storage: total: 1.14 TiB used: 376.37 GiB (32.2%)
  ID-1: /dev/sda vendor: Toshiba model: THNSNJ256G8NY size: 238.47 GiB
    speed: 6.0 Gb/s serial: <filter>
  ID-2: /dev/sdb vendor: HGST (Hitachi) model: HTS721010A9E630
    size: 931.51 GiB speed: 6.0 Gb/s serial: <filter>
Partition:
  ID-1: / size: 217.26 GiB used: 12.19 GiB (5.6%) fs: btrfs dev: /dev/sda4
  ID-2: /boot size: 1.9 GiB used: 846 MiB (43.5%) fs: ext4 dev: /dev/sda3
  ID-3: /boot/efi size: 598.8 MiB used: 20.1 MiB (3.4%) fs: vfat
    dev: /dev/sda2
  ID-4: /home size: 217.26 GiB used: 12.19 GiB (5.6%) fs: btrfs
    dev: /dev/sda4
Swap:
  ID-1: swap-1 type: zram size: 8 GiB used: 11.6 MiB (0.1%) priority: 100
    dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 40.0 C pch: 45.5 C mobo: N/A gpu: nouveau
    temp: 40.0 C
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 16 GiB available: 15.49 GiB used: 8.17 GiB (52.7%)
  Processes: 345 Power: uptime: 4h 11m wakeups: 0 Init: systemd v: 259
    default: graphical
  Packages: pm: rpm pkgs: N/A note: see --rpm pm: flatpak pkgs: 13
    Compilers: N/A Shell: Bash v: 5.3.9 running-in: konsole inxi: 3.3.41

The IT group for the large enterprise where I worked before retiring replaced laptops that were still working after 7 years, and malfunctioning laptops after 5 years. One consideration is that electrical components like capacitors can degrade with age and create random failures that can’t be diagnosed without test equipment.

You can try the https://linux-hardware.org/ site to see if others with same model are using newer firmware.

inxi shows that you’re using Nouveau, not the Nvidia 580 driver which would probably give you the best experience with that GPU.

You’re right, thank you for pointing that you. I guess I got lucky and the issue was resolved while I migrated. On Bazzite, merely plugging a HDMI cable completely froze the machine.

I already found the procedure to downgrade here, in the common issues, so I’ll do that when I’m brave enough.

Do you think that could be the cause of the issue? That’s possible. The switch between integrated and dedicated graphics seems to be an endless source of headache for this generation of components.

You seem to confuse nouveau with integrated graphics. Nouveau works (reliably, but at a reduced level of performance) with Nvidia hardware and is what you get when installing Fedora before you install an rpmfusion Nvidia driver for your card.

Switching to driver nvidia 580.178.04 didn’t help. On the contrary, it seems to have made things actually worse since it now freezes every time instead of half the times.

Maybe it’s a GTX specific issue (if it is indeed caused by the chipset <=> GPU switch) because my other MSI laptop that has a RTX doesn’t have this problem.

You may find it useful to compare journals for the 2 systems. I would start by using filters to eliminate irrelevant details. With luck that will allow you to produce short files that demonstrate different behaviours.