Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PC does not suspend properly. #2356

Open
James-Joe opened this issue May 4, 2022 · 20 comments
Open

PC does not suspend properly. #2356

James-Joe opened this issue May 4, 2022 · 20 comments

Comments

@James-Joe
Copy link

         /////////////               
     /////////////////////            ------------ 
  ///////*767////////////////         OS: Pop!_OS 22.04 LTS x86_64 
//////7676767676*//////////////       Host: B550M DS3H 

/////76767//7676767////////////// Kernel: 5.16.19-76051619-generic
/////767676///76767/////////////// Uptime: 7 mins
///////767676///76767.///7676
/////// Packages: 2325 (dpkg), 12 (flatpak)
/////////767676//76767///767676//////// Shell: bash 5.1.16
//////////76767676767////76767///////// Resolution: 1920x1080
///////////76767676//////7676////////// DE: GNOME 42.0
////////////,7676,///////767/////////// WM: Mutter
/////////////*7676///////76//////////// WM Theme: Pop
///////////////7676//////////////////// Theme: Pop-dark [GTK2/3]
///////////////7676///767//////////// Icons: Pop [GTK2/3]
//////////////////////'//////////// Terminal: gnome-terminal
//////.7676767676767676767,////// CPU: AMD Ryzen 5 5600X (12) @ 3.700GH
/////767676767676767676767///// GPU: NVIDIA GeForce RTX 3060 Lite Has
/////////////////////////// Memory: 2812MiB / 16005MiB
/////////////////////
/////////////

Issue/Bug Description:
Whenever I suspend my PC it does not fully suspend. Everything turns off, but the fan turns off briefly then starts back up again. I cannot wake up the computer using the mouse or keyboard. Power button not responsive. Have to turn power off at the mains.

I tried using the following issue to solve my problem (#449) but to no avail.

My kernelstub:
OS:..................Pop!_OS 22.04
Root partition:....../dev/nvme0n1p3
Root FS UUID:........0a2e464e-2fed-417b-bea7-29fd616135ab
ESP Path:............/boot/efi
ESP Partition:......./dev/nvme0n1p1
ESP Partition #:.....1
NVRAM entry #:.......-1
Boot Variable #:.....0000
Kernel Boot Options:.quiet loglevel=0 systemd.show_status=false splash mem_sleep_default=deep
Kernel Image Path:.../boot/vmlinuz-5.16.19-76051619-generic
Initrd Image Path:.../boot/initrd.img-5.16.19-76051619-generic
Force-overwrite:.....False

kernelstub : INFO Configuration details:

ESP Location:................../boot/efi
Management Mode:...............True
Install Loader configuration:..True
Configuration version:.........3

I recently update my OS to 22.04 and still the problem persists. Can anyone give any further help on this?

@linuxgnuru
Copy link

What hardware are you running?

@James-Joe
Copy link
Author

What hardware are you running?
CPU: AMD Ryzen 5 5600X (12) @ 3.700GH
GPU: NVIDIA GeForce RTX 3060 Lite Has
Power Supply: RPG Rampage 850W Semi-modular
Motherboard: AMD Ryzen B550M DS3H

@linuxgnuru
Copy link

Do you have any bluetooth devices connected while you try to suspend?

@James-Joe
Copy link
Author

Do you have any bluetooth devices connected while you try to suspend?

No. Keyboard and mouse are wired connections.

@tnfru
Copy link

tnfru commented May 11, 2022

I have the same problem. When suspending the fans turn on like crazy and my laptop is completely unresponsive beside to holding down the power button until it is powered off.
I'm really worried about damages this can cause if it happens in a backpack.

NAME="Pop!_OS"
VERSION="22.04 LTS"
ID=pop
ID_LIKE="ubuntu debian"
PRETTY_NAME="Pop!_OS 22.04 LTS"
VERSION_ID="22.04"
HOME_URL="https://pop.system76.com/"
SUPPORT_URL="https://support.system76.com/"
BUG_REPORT_URL="https://github.com/pop-os/pop/issues"
PRIVACY_POLICY_URL="https://system76.com/privacy"
VERSION_CODENAME=jammy
UBUNTU_CODENAME=jammy
LOGO=distributor-logo-pop-os

Desperately looking for any kind of way to fix this.

@qusqui21
Copy link

qusqui21 commented May 13, 2022

I have bluetooth headset which when connected, is causing computer to wake up from suspend. If i turn it off, then suspend works fine.

@alex-fddz
Copy link

Same exact issue here. Although I loved Pop, it's driving me crazy since as a student I constantly move between dorm, classrooms and library.
Supposedly there is a workaround, not sure if with pm-suspend... Does anyone know about it or how to set it up? I'll do some research and come back later on if I find anything interesting... (running on an A10 laptop)

@tnfru
Copy link

tnfru commented May 23, 2022

It has become less frequent for me - just happens sometimes, no particular indicator.

@qusqui21
Copy link

It has become less frequent for me - just happens sometimes, no particular indicator.

well i tested this issue, and like i said when headset is off or bluetooth disabled its not waking up. But its always waking when headset is on and paired i am hearing, xxx disconnected and after 10s xxx connected. after closing cover or clicking off on laptop which i set to action sleep.

@thekevshow
Copy link

thekevshow commented May 24, 2022

I am having the same issue. Core i9 12000k, nvidia 3080 ti, GIGABYTE Z690 AORUS PRO. Simply seems to come back then just dies, no screen or anything, I don't think this is an nvidia driver issue either from testing there. Any thoughts, is this just confirmed the current kernel is having this issue? Super frustrating.

Also @alex-fddz pm-suspend did not work for me, idk if there is something I am suppose to do other than using it as per what I would suspect as default config.

@tnfru
Copy link

tnfru commented May 24, 2022

Suspsension does not work for me if bluetooth is enabled and any device is connected. Suspending is the same as lock then.

@thekevshow
Copy link

This is still an issue. Is there any plans to resolve this. Has nothing to do with bluetooth for me.

@Lucas-Servi
Copy link

This is still an issue. Even on the newest Kernel

OS: Pop!_OS 22.04 LTS x86_64
Host: ROG Zephyrus G14 GA401QC_GA401Q
Kernel: 6.0.3-76060003-generic

@lucashtc
Copy link

lucashtc commented Nov 7, 2022

I have fixed it. I basically disabled POP!_os powermanagement and let Linux do it itself.

Go into extensions and disable System76 Power extension

  1. systemctl stop system76-power
  2. systemctl disable system76-power
  3. Reboot

@adrianloy
Copy link

Still an issue for me too, on a new thinkpad. Disabling power extension did not help for me.

@derekkddj
Copy link

I have the same problemn with a Lenovo thinkpad T4

@anji5h
Copy link

anji5h commented May 30, 2023

I have fixed it. I basically disabled POP!_os powermanagement and let Linux do it itself.

Go into extensions and disable System76 Power extension

  1. systemctl stop system76-power
  2. systemctl disable system76-power
  3. Reboot

This worked for me.

@usamasindhu
Copy link

usamasindhu commented Jun 4, 2023

In my case fan turn on automatically duing sleep and this has to do something with power management which is fixed by stoping it. Thanks @lucashtc

@mgudarzi
Copy link

My issue was the Bluetooth. I fixed it by adding a custom script under /lib/systemd/system-sleep/.

I name it toggle-bluetooth.

make sure you give it run permission after -> sudo chmod +x /lib/systemd/system-sleep/toggle-bluetooth

`#!/bin/sh

case $1/$2 in
pre/)
# Commands to run before entering sleep
echo "Disabling Bluetooth before suspend..."
rfkill block bluetooth
;;
post/
)
# Commands to run after waking up from sleep
echo "Enabling Bluetooth after suspend..."
rfkill unblock Bluetooth
;;
esac
`

@ahfauth
Copy link

ahfauth commented Apr 23, 2024

@mgudarzi I think mine is also bluetooth related but your code didnt work. Does it need in the beginning and at the end? Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests