This issue was not power event related, but was the desktop crashing. Which was caused by installing the OpenRGB app from an external repo rather than the flatpak from Software Manager
Double update: The issue still occured after removal of the external repo and package, and was semi-power event related. Turns out the solution was disabling CPU C-States in the bios, as the system would freeze after an indeterminate period of time while idle (typically 3-4 hours). With CPU C-States disbaled the freezing has stopped and I've been stable for ~60 hours with several 3+ and 8+ hour idle sessions.
I'm having an issue where my PC, when left idle for several hours (~3 or more), will go into what seems to be a sleep/hibernate state and will not wake up without having to power cycle. When this happens, my screens power off, the keyboard is unresponsive (num lock/caps lock will not toggle and switching usb ports has no effect) and the mouse is unresponsive. Short-pressing the power button does nothing and the only way to get the machine working again is with a power cycle.
Interestingly enough, if I only leave my PC alone for an hour or two the screens are off, as I expect from my settings, yet wiggling the mouse or typing on the keyboard will wake it up. And this issue does not occur when I boot Windows.
I've tried disabling the
Code: Select all
/usr/bin/nvidia-sleep.sh
Code: Select all
exit 0
My power management settings are set to
Turn off the screen when inactive for: 15 minutes
Suspend when inactive for: Never
and the Screensaver settings are
inxi -Fxxxrz output:Delay before starting the screensaver: 5 minutes
Lock the computer when put to sleep: off (I toggled that to see if it had any effect - it did not)
Lock the computer after the screensaver starts: on
Delay before locking: Lock immediately
Code: Select all
System:
Kernel: 6.5.0-17-generic x86_64 bits: 64 compiler: N/A
Desktop: Cinnamon 6.0.4 tk: GTK 3.24.33 wm: muffin vt: 7 dm: LightDM 1.30.0
Distro: Linux Mint 21.3 Virginia base: Ubuntu 22.04 jammy
Machine:
Type: Desktop System: ASUS product: N/A v: N/A serial: <superuser required>
Mobo: ASUSTeK model: TUF GAMING B550-PLUS (WI-FI) v: Rev X.0x
serial: <superuser required> UEFI: American Megatrends v: 2423
date: 08/10/2021
CPU:
Info: 12-core model: AMD Ryzen 9 5900X bits: 64 type: MT MCP smt: enabled
arch: Zen 3 rev: 0 cache: L1: 768 KiB L2: 6 MiB L3: 64 MiB
Speed (MHz): avg: 2503 high: 3700 min/max: 2200/4950 boost: enabled
cores: 1: 2200 2: 2975 3: 2200 4: 2200 5: 2200 6: 2200 7: 2200 8: 2200
9: 2200 10: 2200 11: 2200 12: 2200 13: 2800 14: 2200 15: 2200 16: 2200
17: 2200 18: 3700 19: 2200 20: 3599 21: 3700 22: 3700 23: 2200 24: 2200
bogomips: 177597
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
Device-1: NVIDIA TU104 [GeForce RTX 2070 SUPER] vendor: eVga.com.
driver: nvidia v: 545.29.06 pcie: speed: 2.5 GT/s lanes: 16 ports:
active: none off: DP-2,DP-3 empty: DP-1,HDMI-A-1,Unknown-1
bus-ID: 07:00.0 chip-ID: 10de:1e84 class-ID: 0300
Display: x11 server: X.Org v: 1.21.1.4 driver: X: loaded: nvidia
unloaded: fbdev,modesetting,nouveau,vesa gpu: nvidia display-ID: :0
screens: 1
Screen-1: 0 s-res: 5120x1440 s-dpi: 96 s-size: 1355x381mm (53.3x15.0")
s-diag: 1408mm (55.4")
Monitor-1: DP-2 pos: primary,left res: 2560x1440 dpi: 109
size: 597x336mm (23.5x13.2") diag: 685mm (27")
Monitor-2: DP-4 pos: right res: 2560x1440 dpi: 109
size: 597x336mm (23.5x13.2") diag: 685mm (27")
OpenGL: renderer: NVIDIA GeForce RTX 2070 SUPER/PCIe/SSE2
v: 4.6.0 NVIDIA 545.29.06 direct render: Yes
Audio:
Device-1: NVIDIA TU104 HD Audio vendor: eVga.com. driver: snd_hda_intel
v: kernel pcie: speed: 8 GT/s lanes: 16 bus-ID: 07:00.1 chip-ID: 10de:10f8
class-ID: 0403
Device-2: AMD Starship/Matisse HD Audio vendor: ASUSTeK
driver: snd_hda_intel v: kernel pcie: speed: 16 GT/s lanes: 16
bus-ID: 09:00.4 chip-ID: 1022:1487 class-ID: 0403
Device-3: SteelSeries ApS Arctis Pro Wireless type: USB
driver: hid-generic,snd-usb-audio,usbhid bus-ID: 5-4.3:5 chip-ID: 1038:1294
class-ID: 0300
Sound Server-1: ALSA v: k6.5.0-17-generic running: yes
Sound Server-2: PulseAudio v: 15.99.1 running: yes
Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
Device-1: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel pcie: speed: 5 GT/s
lanes: 1 bus-ID: 05:00.0 chip-ID: 8086:2723 class-ID: 0280
IF: wlp5s0 state: down mac: <filter>
Device-2: Realtek RTL8125 2.5GbE vendor: ASUSTeK driver: r8169 v: kernel
pcie: speed: 5 GT/s lanes: 1 port: f000 bus-ID: 06:00.0 chip-ID: 10ec:8125
class-ID: 0200
IF: enp6s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Bluetooth:
Device-1: Intel AX200 Bluetooth type: USB driver: btusb v: 0.8
bus-ID: 1-5:3 chip-ID: 8087:0029 class-ID: e001
Report: hciconfig ID: hci0 rfk-id: 0 state: down
bt-service: enabled,running rfk-block: hardware: no software: yes
address: <filter>
Drives:
Local Storage: total: 8.19 TiB used: 286.07 GiB (3.4%)
ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 970 EVO Plus 2TB
size: 1.82 TiB speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
rev: 2B2QEXM7 temp: 40.9 C scheme: GPT
ID-2: /dev/sda vendor: Western Digital model: WD20EARX-00PASB0
size: 1.82 TiB speed: 6.0 Gb/s type: N/A serial: <filter> rev: AB51
scheme: MBR
ID-3: /dev/sdb vendor: Crucial model: CT2000MX500SSD1 size: 1.82 TiB
speed: 6.0 Gb/s type: SSD serial: <filter> rev: 033 scheme: GPT
ID-4: /dev/sdc vendor: Western Digital model: WD30EZRX-00SPEB0
size: 2.73 TiB speed: 6.0 Gb/s type: HDD rpm: 5400 serial: <filter>
rev: 0A80 scheme: GPT
Partition:
ID-1: / size: 691.01 GiB used: 286.04 GiB (41.4%) fs: ext4
dev: /dev/nvme0n1p5
ID-2: /boot/efi size: 96 MiB used: 31.1 MiB (32.4%) fs: vfat
dev: /dev/nvme0n1p1
Swap:
ID-1: swap-1 type: file size: 2 GiB used: 0 KiB (0.0%) priority: -2
file: /swapfile
Sensors:
System Temperatures: cpu: N/A mobo: N/A gpu: nvidia temp: 48 C
Fan Speeds (RPM): N/A gpu: nvidia fan: 0%
Repos:
Packages: 2417 apt: 2393 flatpak: 24
No active apt repos in: /etc/apt/sources.list
Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
1: deb http://packages.linuxmint.com virginia main upstream import backport
2: deb http://archive.ubuntu.com/ubuntu jammy main restricted universe multiverse
3: deb http://archive.ubuntu.com/ubuntu jammy-updates main restricted universe multiverse
4: deb http://archive.ubuntu.com/ubuntu jammy-backports main restricted universe multiverse
5: deb http://security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
Active apt repos in: /etc/apt/sources.list.d/thopiekar-openrgb-jammy.list
1: deb [signed-by=/etc/apt/keyrings/thopiekar-openrgb-jammy.gpg] https://ppa.launchpadcontent.net/thopiekar/openrgb/ubuntu jammy main
Info:
Processes: 484 Uptime: 29m wakeups: 1 Memory: 31.24 GiB
used: 3.81 GiB (12.2%) Init: systemd v: 249 runlevel: 5 Compilers:
gcc: 11.4.0 alt: 11/12 Shell: Bash v: 5.1.16 running-in: gnome-terminal
inxi: 3.3.13
Code: Select all
Static hostname: Dodecacore
Icon name: computer-desktop
Chassis: desktop
Machine ID: 0d1ce2a36a2743a796257183b53a05bd
Boot ID: 768e3e686b9b43c2991d28861cfefab9
Operating System: Linux Mint 21.3
Kernel: Linux 6.5.0-17-generic
Architecture: x86-64
Hardware Vendor: ASUS
Hardware Model: System Product Name
Linux Dodecacore 6.5.0-17-generic #17~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Jan 16 14:32:32 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
Code: Select all
journalctl -b -1 | tee >(gzip --stdout > journalctl_new_$USER.gz)
https://termbin.com/ezle
It looks like a kernel update was just released which I have not rebooted to try, and I may check Asus's website to see if there's a bios update. I will try switching to the 535 nvidia driver tonight before I go to sleep in hopes I wake up happy to a PC that also wakes up =)
Toggling things one at a time over the course of the week has driven me a bit batty, so I'm hoping someone may have more insight than I do in tracking the problem down.
Is there some setting I missed to tell Mint to not go into sleep/hibernate after 3 or 4 hours? Or is there something else anyone can think of to try?
Thanks for the help!