System logout when turn off the screen or suspend Ubuntu 18.04

Bug #1781826 reported by Mohammad Hizzani
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
gnome-shell (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

When turn off the screen or suspend, and resume the system is logged out, this mostly happens with nvidia driver (390 or 396). I noticed that when close the lid and reopen the system is still working and all of a sudden it appears a login screen and when login all programs as killed as it was logged out. And most of times after login it locks and prompts an unlock screen.

I tried to switch to nouveau driver and the problem seems not to happen, but that leaves me with a poor performance in terms of graphics.

I tried to reset the setting in dconf using dconf-editor to reset the system recursively, at the beginning seems to be solved but it gets back.

I need to mention that I faced the same problem when using budgie flavor, I thought that it might be a budgie problem but it appears to be a gnome problem since budgie is based on gnome and on both the problem happens when using Nvidia drivers.
---
ProblemType: Bug
ApportVersion: 2.20.9-0ubuntu7.2
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
DisplayManager: gdm3
DistroRelease: Ubuntu 18.04
NonfreeKernelModules: nvidia_modeset nvidia
Package: gnome-shell 3.28.2-0ubuntu0.18.04.1
PackageArchitecture: amd64
ProcVersionSignature: Ubuntu 4.15.0-29.31-generic 4.15.18
Tags: bionic
Uname: Linux 4.15.0-29-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
_MarkForUpload: True
---
ProblemType: Bug
ApportVersion: 2.20.9-0ubuntu7.2
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
DisplayManager: gdm3
DistroRelease: Ubuntu 18.04
NonfreeKernelModules: nvidia_modeset nvidia
Package: gnome-shell 3.28.2-0ubuntu0.18.04.1
PackageArchitecture: amd64
ProcVersionSignature: Ubuntu 4.15.0-29.31-generic 4.15.18
Tags: bionic
Uname: Linux 4.15.0-29-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
_MarkForUpload: True
---
ProblemType: Bug
ApportVersion: 2.20.9-0ubuntu7.2
Architecture: amd64
DisplayManager: gdm3
DistroRelease: Ubuntu 18.04
NonfreeKernelModules: nvidia_modeset nvidia
Package: gnome-shell 3.28.2-0ubuntu0.18.04.1
PackageArchitecture: amd64
ProcVersionSignature: Ubuntu 4.15.0-29.31-generic 4.15.18
Tags: bionic
Uname: Linux 4.15.0-29-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

_MarkForUpload: True

tags: added: suspend-resume
description: updated
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Firstly, please run this command to send us more information from the machine:

  apport-collect 1781826

Secondly, it sounds like some part of the system has crashed. Please:

1. Apply the workaround from bug 994921.

2. Look in /var/crash for crash files and if found run:
     ubuntu-bug YOURFILE.crash
   and tell us the ID of the newly-created bug.

3. If step 2 failed then look at https://errors.ubuntu.com/user/ID where ID is the contents of the /var/lib/whoopsie/whoopsie-id file on the machine. Do you find any links to recent problems on the machine? If so then please send them to us.

Changed in gnome-shell (Ubuntu):
status: New → Incomplete
tags: added: nvidia
tags: added: gnome-shell-extension
Revision history for this message
Mohammad Hizzani (moh.hiz) wrote : Dependencies.txt

apport information

tags: added: apport-collected bionic
description: updated
Revision history for this message
Mohammad Hizzani (moh.hiz) wrote : GsettingsChanges.txt

apport information

Revision history for this message
Mohammad Hizzani (moh.hiz) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Mohammad Hizzani (moh.hiz) wrote : ProcEnviron.txt

apport information

tags: added: xorg
removed: apport-collected bionic
Revision history for this message
Mohammad Hizzani (moh.hiz) wrote :

I added bug report to nvidia-graphic-drivers the bug report number is 1782882

Revision history for this message
Mohammad Hizzani (moh.hiz) wrote : Dependencies.txt

apport information

tags: added: apport-collected bionic
description: updated
Revision history for this message
Mohammad Hizzani (moh.hiz) wrote : GsettingsChanges.txt

apport information

Revision history for this message
Mohammad Hizzani (moh.hiz) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Mohammad Hizzani (moh.hiz) wrote : ProcEnviron.txt

apport information

Revision history for this message
Mohammad Hizzani (moh.hiz) wrote : Dependencies.txt

apport information

description: updated
Revision history for this message
Mohammad Hizzani (moh.hiz) wrote : GsettingsChanges.txt

apport information

Revision history for this message
Mohammad Hizzani (moh.hiz) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Mohammad Hizzani (moh.hiz) wrote : ProcEnviron.txt

apport information

Changed in gnome-shell (Ubuntu):
status: Incomplete → New
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It sounds like some part of the system has crashed. To help us find the cause of the crash please follow these steps:

1. Look in /var/crash for crash files and if found run:
    ubuntu-bug YOURFILE.crash
Then tell us the ID of the newly-created bug.

2. If step 1 failed then look at https://errors.ubuntu.com/user/ID where ID is the content of file /var/lib/whoopsie/whoopsie-id on the machine. Do you find any links to recent problems on that page? If so then please send the links to us.

3. If step 2 also failed then apply the workaround from bug 994921, reboot, reproduce the crash, and retry step 1.

Please take care to avoid attaching .crash files to bugs as we are unable to process them as file attachments. It would also be a security risk for yourself.

Changed in gnome-shell (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in gnome-shell (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.