Follow

Next problem with my new dual-boot: powering off (with the "power off" button at the upper right of the screen) doesn't work. It takes me to a black screen announcing that it has shut down, but I have to physically turn off the power. The Windows side doesn't this problem.

I tried a web search and found a maze of twisty little StackExchange posts, no two alike. Many had no responses or several different responses, each with one vote. Some were over ten years old, despite asking my search engine (Qwant) to show me answers from the last month. At least one suggested recompiling the kernel, because linux.

Has anyone else run into this and found a solution?

@peterdrake Same problem here with Fedora. No solution yet apart from waiting for updates to the kernel, or perhaps nvidia-drivers, or whatever else might be causing the problem.

@aebrockwell Installing new NVIDIA drivers seems to have fixed the problem!

linuxconfig.org/how-to-install

I'm not sure how the graphics card driver is involved in turning the machine on and off, but I mostly stay away from the hardware end of things. I'll probably learn more about it during this Ubuntu adventure.

@khird

@peterdrake Something about NVIDIA drivers and Ubuntu... I was just fighting with them for hours the other night, trying to find the right NVIDIA driver (from a couple dozen, with unclear documentation) to fix some GPU setting, which ended up not being Ubuntu-compatible anyway. But hey, at least I learned how to monitor GPU processes in the process! "watch nvidia-smi" is fun...

@colditzjb I'm going to end up hand-smelting my own wires by the end of this, aren't I?

@peterdrake There's a prettier version - "nvitop" - that shows angry red text when I get within 1% of overrunning the GPU memory. @andresmh : here's me blowing things up, trying to run LLMs again.

@peterdrake diagnostically, it might be useful to try 'sudo shutdown -h now' to see where the problem lies. If that works, it suggests the desktop environment's power button isn't triggering the OS to shutdown. If it doesn't, it implies that your OS can't talk to the hardware, so you're maybe missing some firmware or compatibility layer.

@khird @peterdrake

I run into this issue all the time with a variety of distros and machines. "telinit 0' almost always works (or whatever the systemd equivalent is).

Sometimes a shutdown process will pause for 30 secs or a few minutes before shutting down. It should show a countdown timer or give some other indication when it does that, but if the display gets zapped you may not see that; so you might try just waiting 10 minutes to see if it eventually shuts down.

Also, just pushing the power button once will often initiate an orderly shutdown.

@aebrockwell

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.