Sometimes, my computer doesn't shut down or suspend properly.
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
-
- Level 3
- Posts: 115
- Joined: Thu Jan 06, 2022 8:10 pm
Sometimes, my computer doesn't shut down or suspend properly.
Every once in a while, usually after my computer has been continuously turned on for several days, it'll be unable to suspend or shut down properly.
It's a laptop, dual booted, using Linux Mint Cinnamon. When this problem occurs, I find that upon closing my laptop's lid, the screen doesn't actually turn off (go black). Instead, it displays this:
Then, after I unlock it, it shows this:
Then, when I try to shut down, it doesn't shut down. It just shows the same thing you see in the first image again. Then, when I type in the password, it restarts. It doesn't take me to the BIOS screen, like it's supposed to, it just loads the desktop and plays the startup theme. So, when this bug occurs, literally the only way to shut down is to press and hold the power button.
I don't even remotely understand what's going on. I tried looking throughout the forum for help, but found nobody with the same issue. Help would be greatly appreciated. If you need any extra information, I'd be more than happy to show it to you. I'd show you the results of inxi, but it's been a while and I forgot what the options were that I was supposed to put in.
Thank you!
It's a laptop, dual booted, using Linux Mint Cinnamon. When this problem occurs, I find that upon closing my laptop's lid, the screen doesn't actually turn off (go black). Instead, it displays this:
Then, after I unlock it, it shows this:
Then, when I try to shut down, it doesn't shut down. It just shows the same thing you see in the first image again. Then, when I type in the password, it restarts. It doesn't take me to the BIOS screen, like it's supposed to, it just loads the desktop and plays the startup theme. So, when this bug occurs, literally the only way to shut down is to press and hold the power button.
I don't even remotely understand what's going on. I tried looking throughout the forum for help, but found nobody with the same issue. Help would be greatly appreciated. If you need any extra information, I'd be more than happy to show it to you. I'd show you the results of inxi, but it's been a while and I forgot what the options were that I was supposed to put in.
Thank you!
Last edited by LockBot on Sat Aug 26, 2023 10:00 pm, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Sometimes, my computer doesn't shut down or suspend properly.
Don't do that - at least temporarily.I find that upon closing my laptop's lid . . .
Instead, Suspend the system and then close the lid when all systems stop.
Type this in a terminal and post the response:
Code: Select all
systemd-inhibit --listsystemd-inhibit --list
https://askubuntu.com/questions/1187748 ... ed-for-reb
Here is mine:
Code: Select all
$ systemd-inhibit --list
WHO UID USER PID COMM WHAT >
ModemManager 0 root 1100 ModemManager sleep >
NetworkManager 0 root 972 NetworkManager sleep >
UPower 0 root 1254 upowerd sleep >
mike 1000 mike 521689 csd-power handle-lid-switch >
mike 1000 mike 521651 csd-media-keys handle-power-key:handle-suspend-key:handle-hiberna>
mike 1000 mike 521689 csd-power sleep >
6 inhibitors listed.
$
-
- Level 3
- Posts: 115
- Joined: Thu Jan 06, 2022 8:10 pm
Re: Sometimes, my computer doesn't shut down or suspend properly.
Results of the command:
This is what happens if I remove the --listsystemd-inhibit option:
Code: Select all
systemd-inhibit: unrecognized option '--listsystemd-inhibit'
Code: Select all
WHO UID USER PID COMM WHAT >
ModemManager 0 root 947 ModemManager sleep >
NetworkManager 0 root 896 NetworkManager sleep >
UPower 0 root 1378 upowerd sleep >
chris 1000 chris 1382 csd-power handle-lid-switch >
chris 1000 chris 1338 csd-media-keys handle-power-key:handle-suspend-k>
chris 1000 chris 1382 csd-power sleep >
6 inhibitors listed.
Re: Sometimes, my computer doesn't shut down or suspend properly.
When you do this:
Can you suspend and wake multiple times with no problems?
If so, lets see your Power Management settings.
I don't use a laptop much, so others are likely to come up with the answer for you.
Does the laptop wake up properly by pressing any key?Instead, Suspend the system and then close the lid when all systems stop.
Can you suspend and wake multiple times with no problems?
If so, lets see your Power Management settings.
I don't use a laptop much, so others are likely to come up with the answer for you.
-
- Level 3
- Posts: 115
- Joined: Thu Jan 06, 2022 8:10 pm
Re: Sometimes, my computer doesn't shut down or suspend properly.
Right now, the laptop does wake properly when I press a key. However, I'm not sure if that will be the case when this bug next happens.
Here's a screenshot of my power management settings:
Here's a screenshot of my power management settings:
Re: Sometimes, my computer doesn't shut down or suspend properly.
Please open the System Reports app and click the System Information tab on the left. Your computer's information should come up in the right pane. Then click the Copy button in the lower right and paste the results into a reply window here so we can see how Linux Mint views your hardware.
A woman typing on a laptop with LM20.3 Cinnamon.
-
- Level 3
- Posts: 115
- Joined: Thu Jan 06, 2022 8:10 pm
Re: Sometimes, my computer doesn't shut down or suspend properly.
Also, sorry for taking so long to get back
-
- Level 3
- Posts: 115
- Joined: Thu Jan 06, 2022 8:10 pm
Re: Sometimes, my computer doesn't shut down or suspend properly.
Also, the bug is happening again. I tried reentering the command, and now 7 inhibitors are listed:
Code: Select all
WHO UID USER PID COMM WHAT >
Disk Manager 0 root 957 udisksd shutdown:sleep:idle >
ModemManager 0 root 986 ModemManager sleep >
NetworkManager 0 root 921 NetworkManager sleep >
UPower 0 root 1391 upowerd sleep >
chris 1000 chris 1401 csd-power handle-lid-switch >
chris 1000 chris 1352 csd-media-keys handle-power-key:handle-suspend-k>
chris 1000 chris 1401 csd-power sleep >
7 inhibitors listed.
Re: Sometimes, my computer doesn't shut down or suspend properly.
That is not a good sign.MathMachine4 wrote: ⤴Sun Mar 05, 2023 4:56 pm It shows nothing.png
Also, sorry for taking so long to get back
Try running
Code: Select all
inxi -Fxxxrz
</>
from the mini toolbar above the textbox where you type your reply and then place your cursor between the code tags and paste the results of the command between the code tags [code]
Results[/code]
.A woman typing on a laptop with LM20.3 Cinnamon.
-
- Level 3
- Posts: 115
- Joined: Thu Jan 06, 2022 8:10 pm
Re: Sometimes, my computer doesn't shut down or suspend properly.
I typed . It displayed this:
And then the terminal froze. I waited a few minutes, nothing happened, so I used ctrl+c to get it to stop.
Code: Select all
inxi -Fxxxrz
Code: Select all
System:
Kernel: 5.15.0-67-generic x86_64 bits: 64 compiler: N/A
Desktop: Cinnamon 5.2.7 wm: muffin 5.2.0 dm: LightDM 1.30.0
Distro: Linux Mint 20.3 Una base: Ubuntu 20.04 focal
Machine:
Type: Laptop System: HP product: HP Laptop 15-gw0xxx
v: Type1ProductConfigId serial: <filter> Chassis: type: 10
serial: <filter>
Mobo: HP model: 87D1 v: 38.24 serial: <filter> UEFI: Insyde v: F.20
date: 03/11/2021
Battery:
ID-1: BAT1 charge: 27.1 Wh condition: 36.7/40.9 Wh (90%) volts: 11.9/11.3
model: Hewlett-Packard PABAS0241231 type: Li-ion serial: <filter>
status: Discharging
CPU:
Topology: Quad Core model: AMD Ryzen 5 3500U with Radeon Vega Mobile Gfx
bits: 64 type: MT MCP arch: Zen+ rev: 1 L2 cache: 2048 KiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
bogomips: 33535
Speed: 1252 MHz min/max: 1400/2100 MHz boost: enabled Core speeds (MHz):
1: 1248 2: 1259 3: 1365 4: 1309 5: 1245 6: 1218 7: 1259 8: 1215
Graphics:
Device-1: AMD Picasso vendor: Hewlett-Packard driver: amdgpu v: kernel
bus ID: 04:00.0 chip ID: 1002:15d8
Display: x11 server: X.Org 1.20.13 driver: amdgpu,ati
unloaded: fbdev,modesetting,vesa resolution: 1920x1080~60Hz
OpenGL: renderer: AMD Radeon Vega 8 Graphics (RAVEN DRM 3.42.0
5.15.0-67-generic LLVM 12.0.0)
v: 4.6 Mesa 21.2.6 direct render: Yes
Audio:
Device-1: AMD Raven/Raven2/Fenghuang HDMI/DP Audio vendor: Hewlett-Packard
driver: snd_hda_intel v: kernel bus ID: 04:00.1 chip ID: 1002:15de
Device-2: AMD Raven/Raven2/FireFlight/Renoir Audio Processor
vendor: Hewlett-Packard driver: snd_pci_acp3x v: kernel bus ID: 04:00.5
chip ID: 1022:15e2
Device-3: AMD Family 17h HD Audio vendor: Hewlett-Packard
driver: snd_hda_intel v: kernel bus ID: 04:00.6 chip ID: 1022:15e3
Sound Server: ALSA v: k5.15.0-67-generic
Re: Sometimes, my computer doesn't shut down or suspend properly.
It sounds like there is likely a problem with your network card/device. That is the section which prints after Audio and I have seen this happen once or twice to others.MathMachine4 wrote: ⤴Sun Mar 05, 2023 8:28 pmAnd then the terminal froze. I waited a few minutes, nothing happened, so I used ctrl+c to get it to stop.
A woman typing on a laptop with LM20.3 Cinnamon.
-
- Level 3
- Posts: 115
- Joined: Thu Jan 06, 2022 8:10 pm
Re: Sometimes, my computer doesn't shut down or suspend properly.
Is that what's causing my laptop to fail to suspend/shut down?
Re: Sometimes, my computer doesn't shut down or suspend properly.
It could be. Hardware devices are given the signal to power down after the operating system shuts down. If the device is not working properly, then it may not be shutting down.MathMachine4 wrote: ⤴Sun Mar 05, 2023 9:03 pm Is that what's causing my laptop to fail to suspend/shut down?
A woman typing on a laptop with LM20.3 Cinnamon.
-
- Level 3
- Posts: 115
- Joined: Thu Jan 06, 2022 8:10 pm
Re: Sometimes, my computer doesn't shut down or suspend properly.
Do you know how I can fix this?
Re: Sometimes, my computer doesn't shut down or suspend properly.
If there is something wrong with the card, it might need replaced.
I would first suggest seeing if you can find out what type of network card(s) your computer has. I would think you could get the info from the HP website.
Are you connecting with wireless or bluetooth or Ethernet? Having you been having problems with your connections?
A woman typing on a laptop with LM20.3 Cinnamon.
-
- Level 3
- Posts: 115
- Joined: Thu Jan 06, 2022 8:10 pm
- powerwagon75
- Level 4
- Posts: 338
- Joined: Sun Feb 28, 2016 4:05 pm
- Location: USA
Re: Sometimes, my computer doesn't shut down or suspend properly.
MM4,
In your original post, first photo with the authenticate pop-up, did you click on “Details” to see what was requesting authorization?
In your original post, first photo with the authenticate pop-up, did you click on “Details” to see what was requesting authorization?
Custom Antec Outside tower w/Mint 20.2
HP lap w/Mint 20.3
Optiplex 960 "Frankenbox" w/Fedora 39/Mint 19.2/Mint 20.2
Advantech TPC-1551T w/LinuxLite
Acer C720 Chromebook w/GalliumOS
Mac PPC G4 w/Lubuntu
-
- Level 3
- Posts: 115
- Joined: Thu Jan 06, 2022 8:10 pm
-
- Level 3
- Posts: 115
- Joined: Thu Jan 06, 2022 8:10 pm
Re: Sometimes, my computer doesn't shut down or suspend properly.
Sorry, my bad, I sent the wrong photo! ACK!
Re: Sometimes, my computer doesn't shut down or suspend properly.
Are you running some type of background process, maybe? I'm not sure what might be blocking your ability to suspend.
That looks suspiciously like the one you already sent.
Here is someone with what appears to be a similar computer that had problems with the Wifi device Realtek RTL8821CE 802.11ac PCIe Adapter not working. Low signal or not picking up networks available so it could be a hardware issue.
This topic RTL8821CE keeps stopping working. Disappears entirely from device manager (computer cannot find it). indicates there is HP diagnostic software one can run, but I don't know if that is in the BIOS/UEFI or something for which you would need a Windows install. (Maybe you could run Windows from a usb drive to run the test?)
Check to see if you are able to get output for
Code: Select all
lspci -knn | grep Net -A3; rfkill list
A woman typing on a laptop with LM20.3 Cinnamon.