PC still automatically enters S3 suspend while in the process of manually installing updates (or at least the downloading step before installation) #854
Describe the bug
When manually installing updates, the PC is still able to automatically enter S3 suspend.
That being said, it wasn't actually installing updates when it entered S3 suspend, rather it was still downloading them before the actual install process, so perhaps this makes a difference.
To Reproduce
Steps to reproduce the behavior:
Have S3 suspend enabled in your PC's BIOS/UEFI (a lot of newer laptops lack this function, no idea about newer desktops)
In Mint's power options, have it set to automatically suspend after a period of time
In mintUpdate, select a bunch of updates and install them
Assuming that your internet is slow enough, the download is large enough, or the suspend time-out is short enough, you should see that your PC will enter S3 suspend even though the PC was in the middle of installing updates (or rather downloading the updates for installation)
Expected behavior
Installing updates should prevent the PC from entering S3 suspend, especially when you're manually installing updates rather than automatically.
Distribution:
Linux Mint 21.1 Cinnamon
Software version:
v5.6.8
Logs:
12.31@14:55 ++ Launching Update Manager
12.31@14:55 ++ Changes to the package cache detected, triggering refresh
12.31@14:55 ++ Starting refresh (local only)
12.31@14:55 ++ Initial refresh will happen in 0 day(s), 0 hour(s) and 10 minute(s)
12.31@14:55 ++ Tracker: Mintupdate update button was pressed recently: 6 days ago
12.31@14:55 ++ Found 45 software updates
12.31@14:55 ++ Refresh finished
12.31@15:08 ++ Update Manager is in tray mode, performing initial refresh
12.31@15:08 ++ Starting refresh (retrieving lists of updates from remote servers)
12.31@15:08 ++ Refreshing available Cinnamon updates from the server
12.31@15:08 ++ Refreshing available Flatpak updates
12.31@15:08 ++ Found 46 software updates
12.31@15:08 ++ Refresh finished
12.31@15:08 ++ Recurring refresh will happen in 0 day(s), 1 hour(s) and 59 minute(s)
12.31@15:11 ++ Starting refresh (retrieving lists of updates from remote servers)
12.31@15:11 ++ Refreshing available Cinnamon updates from the server
12.31@15:11 ++ Refreshing available Flatpak updates
12.31@15:11 ++ Found 46 software updates
12.31@15:11 ++ Refresh finished
12.31@15:11 ++ Install requested by user
12.31@15:11 ++ Will install avahi-autoipd
12.31@15:11 ++ Will install avahi-utils
12.31@15:11 ++ Will install libavahi-common-data
12.31@15:11 ++ Will install libavahi-common-data:i386
12.31@15:11 ++ Will install libavahi-core7
12.31@15:11 ++ Will install avahi-daemon
12.31@15:11 ++ Will install libavahi-common3
12.31@15:11 ++ Will install libavahi-common3:i386
12.31@15:11 ++ Will install libavahi-glib1
12.31@15:11 ++ Will install libavahi-client3
12.31@15:11 ++ Will install libavahi-client3:i386
12.31@15:11 ++ Will install libctf-nobfd0
12.31@15:11 ++ Will install libbinutils
12.31@15:11 ++ Will install binutils-x86-64-linux-gnu
12.31@15:11 ++ Will install libctf0
12.31@15:11 ++ Will install binutils-common
12.31@15:11 ++ Will install binutils
12.31@15:11 ++ Will install libcurl4
12.31@15:11 ++ Will install libcurl4:i386
12.31@15:11 ++ Will install libcurl3-gnutls
12.31@15:11 ++ Will install libcurl3-gnutls:i386
12.31@15:11 ++ Will install curl
12.31@15:11 ++ Will install ghostscript-x
12.31@15:11 ++ Will install libgs9-common
12.31@15:11 ++ Will install ghostscript
12.31@15:11 ++ Will install libgs9
12.31@15:11 ++ Will install libc6:i386
12.31@15:11 ++ Will install libc6
12.31@15:11 ++ Will install locales
12.31@15:11 ++ Will install libc-dev-bin
12.31@15:11 ++ Will install libc-bin
12.31@15:11 ++ Will install libc-devtools
12.31@15:11 ++ Will install libc6-dbg
12.31@15:11 ++ Will install libc6-dev
12.31@15:11 ++ Will install libgnutls30
12.31@15:11 ++ Will install libgnutls30:i386
12.31@15:11 ++ Will install libgstreamer-plugins-bad1.0-0
12.31@15:11 ++ Will install gstreamer1.0-plugins-bad
12.31@15:11 ++ Will install libreoffice-l10n-en-gb
12.31@15:11 ++ Will install libreoffice-l10n-en-za
12.31@15:11 ++ Will install liblibreoffice-java
12.31@15:11 ++ Will install libreoffice-calc
12.31@15:11 ++ Will install libreoffice-gnome
12.31@15:11 ++ Will install uno-libs-private
12.31@15:11 ++ Will install libreoffice-base-core
12.31@15:11 ++ Will install libreoffice-core
12.31@15:11 ++ Will install libreoffice-common
12.31@15:11 ++ Will install ure
12.31@15:11 ++ Will install libreoffice-draw
12.31@15:11 ++ Will install libuno-purpenvhelpergcc3-3
12.31@15:11 ++ Will install libreoffice-help-pt-br
12.31@15:11 ++ Will install libuno-cppu3
12.31@15:11 ++ Will install libreoffice-impress
12.31@15:11 ++ Will install libreoffice-l10n-de
12.31@15:11 ++ Will install libreoffice-l10n-es
12.31@15:11 ++ Will install libreoffice-l10n-fr
12.31@15:11 ++ Will install libreoffice-l10n-it
12.31@15:11 ++ Will install libreoffice-l10n-pt
12.31@15:11 ++ Will install libreoffice-l10n-ru
12.31@15:11 ++ Will install libuno-cppuhelpergcc3-3
12.31@15:11 ++ Will install fonts-opensymbol
12.31@15:11 ++ Will install libreoffice-l10n-pt-br
12.31@15:11 ++ Will install libunoloader-java
12.31@15:11 ++ Will install libreoffice-help-zh-cn
12.31@15:11 ++ Will install libreoffice-help-zh-tw
12.31@15:11 ++ Will install libreoffice-style-colibre
12.31@15:11 ++ Will install libreoffice-writer
12.31@15:11 ++ Will install libuno-salhelpergcc3-3
12.31@15:11 ++ Will install libreoffice-l10n-zh-cn
12.31@15:11 ++ Will install libreoffice-l10n-zh-tw
12.31@15:11 ++ Will install libreoffice-base-drivers
12.31@15:11 ++ Will install libreoffice-help-de
12.31@15:11 ++ Will install libreoffice-help-es
12.31@15:11 ++ Will install libreoffice-help-fr
12.31@15:11 ++ Will install libreoffice-help-it
12.31@15:11 ++ Will install libreoffice-help-pt
12.31@15:11 ++ Will install libreoffice-help-ru
12.31@15:11 ++ Will install libreoffice-sdbc-hsqldb
12.31@15:11 ++ Will install libreoffice-help-common
12.31@15:11 ++ Will install python3-uno
12.31@15:11 ++ Will install libuno-sal3
12.31@15:11 ++ Will install libreoffice-base
12.31@15:11 ++ Will install libreoffice-math
12.31@15:11 ++ Will install libreoffice-gtk3
12.31@15:11 ++ Will install ure-java
12.31@15:11 ++ Will install libreoffice-java-common
12.31@15:11 ++ Will install libreoffice-help-en-gb
12.31@15:11 ++ Will install libreoffice-help-en-us
12.31@15:11 ++ Will install libssh-4
12.31@15:11 ++ Will install libssh-4:i386
12.31@15:11 ++ Will install libssh-gcrypt-4
12.31@15:11 ++ Will install libnghttp2-14
12.31@15:11 ++ Will install libnghttp2-14:i386
12.31@15:11 ++ Will install openjdk-11-jre
12.31@15:11 ++ Will install openjdk-11-jre-headless
12.31@15:11 ++ Will install openssh-client
12.31@15:11 ++ Will install libperl5.34
12.31@15:11 ++ Will install libperl5.34:i386
12.31@15:11 ++ Will install perl
12.31@15:11 ++ Will install perl-base
12.31@15:11 ++ Will install perl-modules-5.34
12.31@15:11 ++ Will install libpoppler-qt5-1
12.31@15:11 ++ Will install libpoppler-cpp0v5
12.31@15:11 ++ Will install poppler-utils
12.31@15:11 ++ Will install libpoppler-glib8
12.31@15:11 ++ Will install libpoppler-glib8:i386
12.31@15:11 ++ Will install libpoppler118
12.31@15:11 ++ Will install libpoppler118:i386
12.31@15:11 ++ Will install python3.10
12.31@15:11 ++ Will install libpython3.10-minimal
12.31@15:11 ++ Will install libpython3.10-stdlib
12.31@15:11 ++ Will install libpython3.10
12.31@15:11 ++ Will install libpython3.10-dev
12.31@15:11 ++ Will install python3.10-dev
12.31@15:11 ++ Will install python3.10-minimal
12.31@15:11 ++ Will install python3-cryptography
12.31@15:11 ++ Will install tar
12.31@15:11 ++ Will install xxd
12.31@15:11 ++ Will install vim-common
12.31@15:11 ++ Will install vim-tiny
12.31@15:11 ++ Will install gir1.2-javascriptcoregtk-4.0
12.31@15:11 ++ Will install gir1.2-webkit2-4.0
12.31@15:11 ++ Will install libjavascriptcoregtk-4.0-18
12.31@15:11 ++ Will install libwebkit2gtk-4.0-37
12.31@15:11 ++ Will install xserver-xorg-core
12.31@15:11 ++ Will install xserver-xorg-legacy
12.31@15:11 ++ Will install xserver-common
12.31@15:11 ++ Will install xserver-xephyr
12.31@15:11 ++ Will install xwayland
12.31@15:11 ++ Will install libyajl2
12.31@15:11 ++ Will install zfs-zed
12.31@15:11 ++ Will install zfs-initramfs
12.31@15:11 ++ Will install libnvpair3linux
12.31@15:11 ++ Will install libuutil3linux
12.31@15:11 ++ Will install libzpool5linux
12.31@15:11 ++ Will install libzfs4linux
12.31@15:11 ++ Will install zfsutils-linux
12.31@15:11 ++ Will install linux-headers-generic
12.31@15:11 ++ Will install linux-generic
12.31@15:11 ++ Will install linux-image-generic
12.31@15:11 ++ Will install linux-libc-dev
12.31@15:11 ++ Will install alsa-ucm-conf
12.31@15:11 ++ Will install apparmor
12.31@15:11 ++ Will install libapparmor1
12.31@15:11 ++ Will install libapparmor1:i386
12.31@15:11 ++ Will install cryptsetup-bin
12.31@15:11 ++ Will install cryptsetup-initramfs
12.31@15:11 ++ Will install libcryptsetup12
12.31@15:11 ++ Will install cryptsetup
12.31@15:11 ++ Will install firmware-sof-signed
12.31@15:11 ++ Will install fonts-noto-color-emoji
12.31@15:11 ++ Will install ifupdown
12.31@15:11 ++ Will install irqbalance
12.31@15:11 ++ Will install lintian
12.31@15:11 ++ Will install linux-firmware
12.31@15:11 ++ Will install kpartx
12.31@15:11 ++ Will install kpartx-boot
12.31@15:11 ++ Will install openvpn
12.31@15:11 ++ Will install systemd-hwe-hwdb
12.31@15:11 ++ Will install palemoon
12.31@15:11 ++ Ready to launch synaptic
(synaptic:7533): Gtk-CRITICAL **: 15:11:50.587: gtk_widget_hide: assertion 'GTK_IS_WIDGET (widget)' failed
12.31@15:37 ++ Return code:0
12.31@15:37 ++ Install finished
12.31@15:51 ++ Starting refresh (local only)
12.31@15:51 ++ System is up to date
12.31@15:51 ++ Refresh finished
Additional context
This was discovered on a Thinkpad T420. In terms of modern laptops, I can at least say the Framework Laptop supports S3 suspend in its BIOS/UEFI.
Describe the bug When manually installing updates, the PC is still able to automatically enter S3 suspend.
That being said, it wasn't actually installing updates when it entered S3 suspend, rather it was still downloading them before the actual install process, so perhaps this makes a difference.
To Reproduce Steps to reproduce the behavior:
Expected behavior Installing updates should prevent the PC from entering S3 suspend, especially when you're manually installing updates rather than automatically.
Distribution:
Software version: v5.6.8
Logs: 12.31@14:55 ++ Launching Update Manager 12.31@14:55 ++ Changes to the package cache detected, triggering refresh 12.31@14:55 ++ Starting refresh (local only) 12.31@14:55 ++ Initial refresh will happen in 0 day(s), 0 hour(s) and 10 minute(s) 12.31@14:55 ++ Tracker: Mintupdate update button was pressed recently: 6 days ago 12.31@14:55 ++ Found 45 software updates 12.31@14:55 ++ Refresh finished 12.31@15:08 ++ Update Manager is in tray mode, performing initial refresh 12.31@15:08 ++ Starting refresh (retrieving lists of updates from remote servers) 12.31@15:08 ++ Refreshing available Cinnamon updates from the server 12.31@15:08 ++ Refreshing available Flatpak updates 12.31@15:08 ++ Found 46 software updates 12.31@15:08 ++ Refresh finished 12.31@15:08 ++ Recurring refresh will happen in 0 day(s), 1 hour(s) and 59 minute(s) 12.31@15:11 ++ Starting refresh (retrieving lists of updates from remote servers) 12.31@15:11 ++ Refreshing available Cinnamon updates from the server 12.31@15:11 ++ Refreshing available Flatpak updates 12.31@15:11 ++ Found 46 software updates 12.31@15:11 ++ Refresh finished 12.31@15:11 ++ Install requested by user 12.31@15:11 ++ Will install avahi-autoipd 12.31@15:11 ++ Will install avahi-utils 12.31@15:11 ++ Will install libavahi-common-data 12.31@15:11 ++ Will install libavahi-common-data:i386 12.31@15:11 ++ Will install libavahi-core7 12.31@15:11 ++ Will install avahi-daemon 12.31@15:11 ++ Will install libavahi-common3 12.31@15:11 ++ Will install libavahi-common3:i386 12.31@15:11 ++ Will install libavahi-glib1 12.31@15:11 ++ Will install libavahi-client3 12.31@15:11 ++ Will install libavahi-client3:i386 12.31@15:11 ++ Will install libctf-nobfd0 12.31@15:11 ++ Will install libbinutils 12.31@15:11 ++ Will install binutils-x86-64-linux-gnu 12.31@15:11 ++ Will install libctf0 12.31@15:11 ++ Will install binutils-common 12.31@15:11 ++ Will install binutils 12.31@15:11 ++ Will install libcurl4 12.31@15:11 ++ Will install libcurl4:i386 12.31@15:11 ++ Will install libcurl3-gnutls 12.31@15:11 ++ Will install libcurl3-gnutls:i386 12.31@15:11 ++ Will install curl 12.31@15:11 ++ Will install ghostscript-x 12.31@15:11 ++ Will install libgs9-common 12.31@15:11 ++ Will install ghostscript 12.31@15:11 ++ Will install libgs9 12.31@15:11 ++ Will install libc6:i386 12.31@15:11 ++ Will install libc6 12.31@15:11 ++ Will install locales 12.31@15:11 ++ Will install libc-dev-bin 12.31@15:11 ++ Will install libc-bin 12.31@15:11 ++ Will install libc-devtools 12.31@15:11 ++ Will install libc6-dbg 12.31@15:11 ++ Will install libc6-dev 12.31@15:11 ++ Will install libgnutls30 12.31@15:11 ++ Will install libgnutls30:i386 12.31@15:11 ++ Will install libgstreamer-plugins-bad1.0-0 12.31@15:11 ++ Will install gstreamer1.0-plugins-bad 12.31@15:11 ++ Will install libreoffice-l10n-en-gb 12.31@15:11 ++ Will install libreoffice-l10n-en-za 12.31@15:11 ++ Will install liblibreoffice-java 12.31@15:11 ++ Will install libreoffice-calc 12.31@15:11 ++ Will install libreoffice-gnome 12.31@15:11 ++ Will install uno-libs-private 12.31@15:11 ++ Will install libreoffice-base-core 12.31@15:11 ++ Will install libreoffice-core 12.31@15:11 ++ Will install libreoffice-common 12.31@15:11 ++ Will install ure 12.31@15:11 ++ Will install libreoffice-draw 12.31@15:11 ++ Will install libuno-purpenvhelpergcc3-3 12.31@15:11 ++ Will install libreoffice-help-pt-br 12.31@15:11 ++ Will install libuno-cppu3 12.31@15:11 ++ Will install libreoffice-impress 12.31@15:11 ++ Will install libreoffice-l10n-de 12.31@15:11 ++ Will install libreoffice-l10n-es 12.31@15:11 ++ Will install libreoffice-l10n-fr 12.31@15:11 ++ Will install libreoffice-l10n-it 12.31@15:11 ++ Will install libreoffice-l10n-pt 12.31@15:11 ++ Will install libreoffice-l10n-ru 12.31@15:11 ++ Will install libuno-cppuhelpergcc3-3 12.31@15:11 ++ Will install fonts-opensymbol 12.31@15:11 ++ Will install libreoffice-l10n-pt-br 12.31@15:11 ++ Will install libunoloader-java 12.31@15:11 ++ Will install libreoffice-help-zh-cn 12.31@15:11 ++ Will install libreoffice-help-zh-tw 12.31@15:11 ++ Will install libreoffice-style-colibre 12.31@15:11 ++ Will install libreoffice-writer 12.31@15:11 ++ Will install libuno-salhelpergcc3-3 12.31@15:11 ++ Will install libreoffice-l10n-zh-cn 12.31@15:11 ++ Will install libreoffice-l10n-zh-tw 12.31@15:11 ++ Will install libreoffice-base-drivers 12.31@15:11 ++ Will install libreoffice-help-de 12.31@15:11 ++ Will install libreoffice-help-es 12.31@15:11 ++ Will install libreoffice-help-fr 12.31@15:11 ++ Will install libreoffice-help-it 12.31@15:11 ++ Will install libreoffice-help-pt 12.31@15:11 ++ Will install libreoffice-help-ru 12.31@15:11 ++ Will install libreoffice-sdbc-hsqldb 12.31@15:11 ++ Will install libreoffice-help-common 12.31@15:11 ++ Will install python3-uno 12.31@15:11 ++ Will install libuno-sal3 12.31@15:11 ++ Will install libreoffice-base 12.31@15:11 ++ Will install libreoffice-math 12.31@15:11 ++ Will install libreoffice-gtk3 12.31@15:11 ++ Will install ure-java 12.31@15:11 ++ Will install libreoffice-java-common 12.31@15:11 ++ Will install libreoffice-help-en-gb 12.31@15:11 ++ Will install libreoffice-help-en-us 12.31@15:11 ++ Will install libssh-4 12.31@15:11 ++ Will install libssh-4:i386 12.31@15:11 ++ Will install libssh-gcrypt-4 12.31@15:11 ++ Will install libnghttp2-14 12.31@15:11 ++ Will install libnghttp2-14:i386 12.31@15:11 ++ Will install openjdk-11-jre 12.31@15:11 ++ Will install openjdk-11-jre-headless 12.31@15:11 ++ Will install openssh-client 12.31@15:11 ++ Will install libperl5.34 12.31@15:11 ++ Will install libperl5.34:i386 12.31@15:11 ++ Will install perl 12.31@15:11 ++ Will install perl-base 12.31@15:11 ++ Will install perl-modules-5.34 12.31@15:11 ++ Will install libpoppler-qt5-1 12.31@15:11 ++ Will install libpoppler-cpp0v5 12.31@15:11 ++ Will install poppler-utils 12.31@15:11 ++ Will install libpoppler-glib8 12.31@15:11 ++ Will install libpoppler-glib8:i386 12.31@15:11 ++ Will install libpoppler118 12.31@15:11 ++ Will install libpoppler118:i386 12.31@15:11 ++ Will install python3.10 12.31@15:11 ++ Will install libpython3.10-minimal 12.31@15:11 ++ Will install libpython3.10-stdlib 12.31@15:11 ++ Will install libpython3.10 12.31@15:11 ++ Will install libpython3.10-dev 12.31@15:11 ++ Will install python3.10-dev 12.31@15:11 ++ Will install python3.10-minimal 12.31@15:11 ++ Will install python3-cryptography 12.31@15:11 ++ Will install tar 12.31@15:11 ++ Will install xxd 12.31@15:11 ++ Will install vim-common 12.31@15:11 ++ Will install vim-tiny 12.31@15:11 ++ Will install gir1.2-javascriptcoregtk-4.0 12.31@15:11 ++ Will install gir1.2-webkit2-4.0 12.31@15:11 ++ Will install libjavascriptcoregtk-4.0-18 12.31@15:11 ++ Will install libwebkit2gtk-4.0-37 12.31@15:11 ++ Will install xserver-xorg-core 12.31@15:11 ++ Will install xserver-xorg-legacy 12.31@15:11 ++ Will install xserver-common 12.31@15:11 ++ Will install xserver-xephyr 12.31@15:11 ++ Will install xwayland 12.31@15:11 ++ Will install libyajl2 12.31@15:11 ++ Will install zfs-zed 12.31@15:11 ++ Will install zfs-initramfs 12.31@15:11 ++ Will install libnvpair3linux 12.31@15:11 ++ Will install libuutil3linux 12.31@15:11 ++ Will install libzpool5linux 12.31@15:11 ++ Will install libzfs4linux 12.31@15:11 ++ Will install zfsutils-linux 12.31@15:11 ++ Will install linux-headers-generic 12.31@15:11 ++ Will install linux-generic 12.31@15:11 ++ Will install linux-image-generic 12.31@15:11 ++ Will install linux-libc-dev 12.31@15:11 ++ Will install alsa-ucm-conf 12.31@15:11 ++ Will install apparmor 12.31@15:11 ++ Will install libapparmor1 12.31@15:11 ++ Will install libapparmor1:i386 12.31@15:11 ++ Will install cryptsetup-bin 12.31@15:11 ++ Will install cryptsetup-initramfs 12.31@15:11 ++ Will install libcryptsetup12 12.31@15:11 ++ Will install cryptsetup 12.31@15:11 ++ Will install firmware-sof-signed 12.31@15:11 ++ Will install fonts-noto-color-emoji 12.31@15:11 ++ Will install ifupdown 12.31@15:11 ++ Will install irqbalance 12.31@15:11 ++ Will install lintian 12.31@15:11 ++ Will install linux-firmware 12.31@15:11 ++ Will install kpartx 12.31@15:11 ++ Will install kpartx-boot 12.31@15:11 ++ Will install openvpn 12.31@15:11 ++ Will install systemd-hwe-hwdb 12.31@15:11 ++ Will install palemoon 12.31@15:11 ++ Ready to launch synaptic
(synaptic:7533): Gtk-CRITICAL **: 15:11:50.587: gtk_widget_hide: assertion 'GTK_IS_WIDGET (widget)' failed 12.31@15:37 ++ Return code:0 12.31@15:37 ++ Install finished 12.31@15:51 ++ Starting refresh (local only) 12.31@15:51 ++ System is up to date 12.31@15:51 ++ Refresh finished
Additional context This was discovered on a Thinkpad T420. In terms of modern laptops, I can at least say the Framework Laptop supports S3 suspend in its BIOS/UEFI.