2

I am having this weird problem in Ubuntu 22.04. My laptop gets stuck at the shutdown screen every time I use shutdown and I have to manually press the power button for 5 seconds to turn the machine off.

I've tried this solution. it does not work for me. please help me to solve this issue.

saroven
  • 21
  • 1
  • 2

4 Answers4

1

just say my experience (on ubuntu22 today)
//not applicable in all situations

check last poweroff log

after boot, check previous power off syslog.

journalctl -b -1 -r
  • -b -1 //previous boot
  • -r //show log in reverse order
Nov 11 20:10:45 u22 systemd[1]: et.service: Failed with result 'timeout'.
...
Nov 11 20:10:45 u22 systemd[1]: cups-browsed.service: Failed with result 'timeout'.
...
Nov 11 20:09:16 u22 systemd[1731]: Reached target Shutdown. 

It really wait 90 sec timeout..

disable stuck service

mine was 2 service stop timeout,
// 90 seconds force stop as default.

  • et.service
  • cups-browsed

I don't use them, stop & disable it.

sudo systemctl stop et.service
sudo systemctl disable et.service

sudo systemctl stop cups-browsed
sudo systemctl disable cups-browsed

then poweroff succeed in 5 seconds.

ref: https://www.cnblogs.com/apirobot/p/14528996.html

yurenchen
  • 381
  • 2
  • 8
0

I just did sudo apt update and sudo apt upgrade and it fixed the issue for me.

0

I recently upgraded to Ubuntu 22.04.3 and, both the machines that I upgraded, faced this issue.

For me the issue was fixed on both the machines by installing the Nvidia driver version applicable for the Nvidia graphics card on the machines. This is the same solution that is linked in the question, and mentioned here.

The graphics cards on my machines were GeForce RTX 3050 and GeForce RTX 3050 Ti, so I picked the correct driver version from this site.

enter image description here

Replacing the Nouveau driver by the Nvidia driver was done by simply installing the Nvidia driver (version 535 in my case)

$ sudo apt install nvidia-driver-535

Following a reboot, the machines were restored to their normal shutdown behaviour.

0

I had same exact issue on 2021 ROG Zephyrus G14 (GA401QM). This laptop comes with AMD 5800HS CPU and mobile variant of RTX 3060 GPU. The problem occurred after some Ubuntu updates. I tried journalctl -b -1 -r but I haven't found errors there. Also, I noticed that "Additional Drivers" options are gone after an update. The solution from Dhwani Katagade solved my problem. Driver options are back and my laptop shuts down properly.

I can not comment nor vote for Dhwani Katagade answer because of rep policy.

Capitoneo
  • 1
  • 1