[SOLVED] Dell Vostro 14-5480 running Debian 11 bullseye does not shut down
Linux - Laptop and NetbookHaving a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Dell Vostro 14-5480 running Debian 11 bullseye does not shut down
My Debian bullseye (64-bit) does not shut down my Dell Vostro 14-5480. When I select "Shut Down..." from the menu, the screen freezes but the power button remains lit and fan keeps working. Only after I hold down the power button for some seconds, it actually shuts down fully... If I use the commands "poweroff" or "shutdown -h now" the same thing happens.
I have already tried to change grub (adding acpi=force or apm=poweroff), and I do not want to disable acpi (acpi=off).
The last record on the screen is
"ACPI: Preparing to enter system sleep state S5"
"reboot: Power down"
My UEFI/BIOS is updated (vA08) and my system is:
OS: Debian GNU/Linux 11 (bullseye) x86_64
Host: Vostro 14-5480 A08
Kernel: 5.10.0-8-amd64
Shell: bash 5.1.4
DE: GNOME 3.38.4
CPU: Intel i5-5200U (4) @ 2.700GHz
GPU: NVIDIA GeForce 830M
GPU: Intel HD Graphics 5500
Memory: 1891MiB / 3843MiB
Display: x11 server: X.Org 1.20.11 driver: loaded: modesetting,nvidia unloaded: fbdev,nouveau,vesa
Does anyone have an idea about how to solve this problem?
ps: I tried change from x11 to Wayland to make some tests, but I think because I am using GPU NVIDIA, the Xorg server cannot be changed.
since I don't know what the gui is acutally doing is probably best to check if it works correctly at a lower level. So, as root (or with sudo) please try:
Thanks for your suggestion. I tried today to use "sudo systemctl poweroff", but the result was the same of other commands. The screen freezes after the messages:
"ACPI: Preparing to enter system sleep state S5"
"reboot: Power down"
I suspect that the cause is something related to ACPI.
I found out the solution for this problem, and I'll post here to help anyone that is with the same. The system does not shutdown because a loaded daemon (nvidia-persistenced) prevent it. Therefore, I made a script in this pathway: /etc/rc0.d/K01shutdown. It contain these instructions:
#!/bin/bash
echo "Shutting down the computer..."
kill $(ps aux | grep nvidia-persistenced | grep -v grep | awk '{print $2}')
Next I gave permission to be executed:
sudo chmod 755 K01shutdown
After that, it is possible to shutdown normally, and the problem is solved.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.