Raspberry Pi 4 fails to wake at login prompt

Bug #1865379 reported by spike speigel
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Invalid
Undecided
Unassigned
xorg-server (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Raspberry Pi 4 running Ubuntu server 20.04 Focal (and perhaps 19.10 Eoan) fails to wake from sleep when no user is logged in and the screen is sitting at the gdm login prompt.

This has happened on two different systems. One system uses the official RPi 7 inch touchscreen via (LCD DSI Display Connector). The other system has a 10 inch non-touchscreen from SunFounder via (Micro HDMI).

Nothing wakes the Pi: Keyboard, mouse, or touchscreen.

After a user logs in and the screen locks on sleep the system wakes just fine with a lock screen.

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: gdm3 3.34.1-1ubuntu1
ProcVersionSignature: User Name 5.4.0-1001.1-raspi2 5.4.8
Uname: Linux 5.4.0-1001-raspi2 armv7l
ApportVersion: 2.20.11-0ubuntu18
Architecture: armhf
CurrentDesktop: XFCE
Date: Sun Mar 1 20:03:12 2020
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=C.UTF-8
 SHELL=/bin/bash
SourcePackage: gdm3
UpgradeStatus: Upgraded to focal on 2020-02-28 (2 days ago)
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu18
Architecture: armhf
CurrentDesktop: XFCE
DisplayManager: gdm3
DistroRelease: Ubuntu 20.04
GsettingsChanges:
 b'org.gnome.desktop.input-sources' b'sources' b"[('xkb', 'us')]"
 b'org.gnome.desktop.interface' b'gtk-im-module' b"'ibus'"
Package: gnome-shell 3.35.91-1ubuntu2
PackageArchitecture: armhf
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=C.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: User Name 5.4.0-1001.1-raspi2 5.4.8
RelatedPackageVersions: mutter-common 3.35.91-1ubuntu1
Tags: focal uec-images third-party-packages
Uname: Linux 5.4.0-1001-raspi2 armv7l
UpgradeStatus: Upgraded to focal on 2020-02-28 (20 days ago)
UserGroups: adm audio cdrom dialout dip floppy lxd netdev plugdev sudo video
_MarkForUpload: True
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu18
Architecture: armhf
CurrentDesktop: XFCE
DisplayManager: gdm3
DistroRelease: Ubuntu 20.04
GsettingsChanges:
 b'org.gnome.desktop.app-folders' b'folder-children' b"['Utilities', 'Sundry', 'YaST']"
 b'org.gnome.desktop.input-sources' b'sources' b"[('xkb', 'us')]"
 b'org.gnome.desktop.interface' b'gtk-im-module' b"'gtk-im-context-simple'"
Package: gnome-shell 3.35.91-1ubuntu2
PackageArchitecture: armhf
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=C.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: User Name 5.4.0-1001.1-raspi2 5.4.8
RelatedPackageVersions: mutter-common 3.35.91-1ubuntu1
Tags: focal uec-images third-party-packages
Uname: Linux 5.4.0-1001-raspi2 armv7l
UpgradeStatus: Upgraded to focal on 2020-01-12 (69 days ago)
UserGroups: adm audio cdrom dialout dip floppy lxd netdev plugdev sudo video
_MarkForUpload: True
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu18
Architecture: armhf
BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
CompositorRunning: None
CurrentDesktop: XFCE
DistUpgraded: 2020-01-11 19:42:56,183 DEBUG Running PostInstallScript: './xorg_fix_proprietary.py'
DistroCodename: focal
DistroRelease: Ubuntu 20.04
DistroVariant: ubuntu
ExtraDebuggingInterest: Yes
GraphicsCard:

Lsusb:
 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 Bus 001 Device 004: ID 8086:0808 Intel Corp.
 Bus 001 Device 003: ID 046d:c52b Logitech, Inc. Unifying Receiver
 Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Package: xorg-server (not installed)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=C.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: coherent_pool=1M 8250.nr_uarts=1 cma=64M cma=256M video=HDMI-A-1:1280x800@60 smsc95xx.macaddr=DC:A6:32:1F:4B:D2 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 net.ifnames=0 dwc_otg.lpm_enable=0 console=ttyS0,115200 console=tty1 root=LABEL=writable rootfstype=ext4 elevator=deadline rootwait fixrtc quiet splash
ProcVersionSignature: User Name 5.4.0-1001.1-raspi2 5.4.8
Tags: focal uec-images ubuntu reproducible
Uname: Linux 5.4.0-1001-raspi2 armv7l
UpgradeStatus: Upgraded to focal on 2020-01-12 (72 days ago)
UserGroups: adm audio cdrom dialout dip floppy lxd netdev plugdev sudo video
_MarkForUpload: True
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.100-4
version.libgl1-mesa-dri: libgl1-mesa-dri 20.0.0-1ubuntu1
version.libgl1-mesa-glx: libgl1-mesa-glx 20.0.0-1ubuntu1
version.xserver-xorg-core: xserver-xorg-core 2:1.20.7-2ubuntu2
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:19.1.0-1
version.xserver-xorg-video-intel: xserver-xorg-video-intel N/A
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.16-1

Revision history for this message
spike speigel (frail-knight) wrote :
description: updated
summary: - Raspberry Pi fails to wake from login
+ Raspberry Pi fails to wake at login prompt
summary: - Raspberry Pi fails to wake at login prompt
+ Raspberry Pi 4 fails to wake at login prompt
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Please:

1. Run this command to send us more information about the installation:

   apport-collect 1865379

2. Follow these instructions:

   https://wiki.ubuntu.com/Bugs/Responses#Missing_a_crash_report_or_having_a_.crash_attachment

no longer affects: gdm3 (Ubuntu)
Changed in gnome-shell (Ubuntu):
status: New → Incomplete
Revision history for this message
spike speigel (frail-knight) wrote : Dependencies.txt

apport information

tags: added: apport-collected third-party-packages
description: updated
Revision history for this message
spike speigel (frail-knight) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
spike speigel (frail-knight) wrote : ShellJournal.txt

apport information

Revision history for this message
spike speigel (frail-knight) wrote :

There is an error report link, how should that be communicated?

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Error report links are public unless you feel something particularly personal has been shown on that page. So please paste the link here. And if you prefer you can change this bug page to Private using the setting at the top right of this page.

Changed in gnome-shell (Ubuntu):
status: Incomplete → New
status: New → Incomplete
Revision history for this message
spike speigel (frail-knight) wrote :

This morning that system has stopped booting. I am not sure why. I can try and pull the SD card out and get the ID for the error report. If not, then I will need to pull all this information again from the second system that is displaying the same behavior.

Revision history for this message
spike speigel (frail-knight) wrote : Dependencies.txt

apport information

description: updated
Revision history for this message
spike speigel (frail-knight) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
spike speigel (frail-knight) wrote : ShellJournal.txt

apport information

Revision history for this message
spike speigel (frail-knight) wrote :
Revision history for this message
spike speigel (frail-knight) wrote :

I noted the ones that were light-locker. The others were apport and cups-browsed.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

The links in comment #12 aren't relevant sorry. And the log in comment #11 shows Xwayland went away so that seems to be why gnome-shell gave up. So I will move this bug to Xorg and next please run:

  apport-collect 1865379

again.

affects: gnome-shell (Ubuntu) → xorg-server (Ubuntu)
Revision history for this message
spike speigel (frail-knight) wrote : CurrentDmesg.txt

apport information

tags: added: reproducible ubuntu
description: updated
Revision history for this message
spike speigel (frail-knight) wrote : DpkgLog.txt

apport information

Revision history for this message
spike speigel (frail-knight) wrote : Lspci.txt

apport information

Revision history for this message
spike speigel (frail-knight) wrote : Lsusb-t.txt

apport information

Revision history for this message
spike speigel (frail-knight) wrote : Lsusb-v.txt

apport information

Revision history for this message
spike speigel (frail-knight) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
spike speigel (frail-knight) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
spike speigel (frail-knight) wrote : ProcInterrupts.txt

apport information

Revision history for this message
spike speigel (frail-knight) wrote : ProcModules.txt

apport information

Revision history for this message
spike speigel (frail-knight) wrote : UdevDb.txt

apport information

Revision history for this message
spike speigel (frail-knight) wrote : XorgLog.txt

apport information

Revision history for this message
spike speigel (frail-knight) wrote : XorgLogOld.txt

apport information

Revision history for this message
spike speigel (frail-knight) wrote : Xrandr.txt

apport information

Revision history for this message
spike speigel (frail-knight) wrote : xdpyinfo.txt

apport information

Revision history for this message
spike speigel (frail-knight) wrote :

Also wanted to note that when I ran apport-collect 1865379 this time that it noted package xorg-server not found. I don't know if that is relevant, or perhaps that makes sense??

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

That's just a bug in the script. The script only supports binary package names and Launchpad only tracks source package names. So it's sometimes hard to get them to agree. It's not relevant here.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thanks again. I can't see any relevant errors in the above attachments so we are back to...

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.

Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
spike speigel (frail-knight) wrote :

Hello, I have not forgotten about this.

1.) Does not exist.
2.) I've already reported.

I will have to apply the patch outlined in 3.) and cause the crash again. However, this system uses an SD card, and the first system had a corrupted boot partition after crashing a series of times. This crash might prevent me from collecting the data the crash creates.

I will give it a shot.

Revision history for this message
Juerg Haefliger (juergh) wrote :

I've noticed that the kernel you're running is quite old. Are you still able to reproduce this issue with a current image from http://cdimage.ubuntu.com/ubuntu-server/daily-preinstalled/current/?

Also, how did you install xfce? Can you please detail the steps so we can try to reproduce the issue? Lastly, when your display goes off, does it turn off (go into standby) or is it just blanked?

Revision history for this message
Sebastien Bacher (seb128) wrote :

Deleting the focal targetting, please tag is rls-ff-incoming with explanation of why it should be an issue targetted to focal if you believe it's an important bug to get resolved

no longer affects: linux (Ubuntu Focal)
no longer affects: xorg-server (Ubuntu Focal)
Revision history for this message
Pamela Fong (katsiki) wrote :

The symptom you reported seems the same as this one reported for Ubuntu 20.10,

https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/1909678

Try the suggested workaround.

Revision history for this message
Juerg Haefliger (juergh) wrote :

No response to my question in #34 from April of last year so setting 'linux (Ubuntu)' to 'Invalid'.

Changed in linux (Ubuntu):
status: Confirmed → Invalid
Changed in xorg-server (Ubuntu):
status: Incomplete → Invalid
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.