Suspend, restart and power off don't work, crashes the system and logs me out.

Bug #1926006 reported by Adam Bishop
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-power-manager (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Suspend, restart and power off simply don't work. The system crashes, logs me out and takes me back to the log-in screen. It possibly has something to do with the Nvidia driver (460), but is the same with the Nouveau driver enabled. I used system76-power previously to set Nvidia On-demand, but this does not work any more, and conflicts with nvidia-prime. However, uninstalling both makes no difference - possibly the configuration is badly set and not re-set. The hardware I'm using is possibly a bit niche. The laptop is Huawei Matebook Pro X. I had the problem yesterday on 20.10, and updated today to 21.04 to see if the problem would be resolved, but no luck.

ProblemType: Bug
DistroRelease: Ubuntu 21.04
Package: gnome-power-manager 3.32.0-2
ProcVersionSignature: Ubuntu 5.11.0-7614.15~1618626693~20.10~ecb25cd~dev-generic 5.11.13
Uname: Linux 5.11.0-7614-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu65
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Sat Apr 24 12:12:43 2021
InstallationDate: Installed on 2020-11-12 (162 days ago)
InstallationMedia: Ubuntu 20.10 "Groovy Gorilla" - Release amd64 (20201022)
SourcePackage: gnome-power-manager
UpgradeStatus: Upgraded to hirsute on 2021-04-24 (0 days ago)

Revision history for this message
Adam Bishop (adambishop-it) wrote :
description: updated
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report. Could you try to restart, log back in and then do 'journalctl -b 0 > log' and add the log to the report?

Changed in gnome-power-manager (Ubuntu):
status: New → Incomplete
Revision history for this message
Adam Bishop (adambishop-it) wrote :

Thank you for responding. I tried to restart, but all I got was a flashing cursor in the top left of my screen. So, in the end, I had to reinstall Ubuntu from scratch. The same problem re-occurred again, and forced me to re-install from scratch a third time. This last time, from the very first boot after removing the installation media, I went to the Nvidia app and switched from "On-demand" to "Intel only". This time it rebooted in Wayland, while giving me also the option to boot into X.org or Classic Gnome, and everything worked perfectly, both in Wayland and in X.org. Finally, just to try once more to use my Nvidia card, prepared as I was to re-install fresh one last time, I set Nvidia to "On-demand" and booted into X.org (Wayland wasn't offered) without any problem persisting at all. Therefore, I think the problem is something to do with the Nvidia card not saving the relevant setting in on first boot into "On-demand" mode, and you need to set it to another mode and then switch for the settings to be saved correctly. Otherwise, I can't explain it. I did nothing strange with any other settings, installs or configurations. I believe, therefore, that it is the Nvidia card, with the Nvidia proprietary driver, that is preventing the computer from suspending, sleep, hibernating, starting, powering off (by command or GUI - only button physical button works), or whatever. It seems that the Nvidia card stays active, preventing the system from deactivating. Apart from that it could possibly have something to do with the HDPI screen, that requires fractional scaling to be usable, although I hadn't yet set fractional scaling when I had the problems. Of course I can add the log if you think it would help, but right now I have a perfectly functioning system (apart from the apt get installed Firefox which glitches in the menu and consumes excessive RAM - most likely unrelated - and is resolved by uninstalling the apt install and installing the Firefox Snap). Thanks!

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for gnome-power-manager (Ubuntu) because there has been no activity for 60 days.]

Changed in gnome-power-manager (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.