And here is the dmesg
** Attachment added: "dmesg"
https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/1907687/+attachment/5442536/+files/dmesg.txt
** Description changed:
Since upgrading to Ubuntu 20.10 on my Dell XPS 9380, I now experience an
unwanted sleep immediately after login. It seems to only occur when I
am at my office, where I use dual 1440p displays connected via USB-C,
and close my laptop lid immediately after power-on.
Previously, the system would boot and use my external displays without
- issue. Now very shortly after I login, my system goes to sleep. My
- workaround is to simply open the lid until I see a screen, and close it,
- and then everything returns to normal.
+ issue. Now very shortly after I login (enough time to launch a terminal
+ a cat my syslog), my system goes into a sleep state. My workaround is
+ to simply open the lid until I see the laptop panel light up, and
+ immediately close it, and then everything returns to normal on my
+ external displays right back where I left it.
- A excerpt from attached dmest shows wireless ready at 21s and then
+ An excerpt from attached dmesg shows wireless ready at 21s and then
deauthenticating at 34s after I login.
- [ 21.378061] IPv6: ADDRCONF(NETDEV_CHANGE): wlp2s0: link becomes ready
- [ 22.528077] kauditd_printk_skb: 35 callbacks suppressed
- [ 22.528078] audit: type=1400 audit(1607608802.264:47): apparmor="DENIED"
operation="open"
- profile="/usr/sbin/cupsd" name="/proc/1091/attr/apparmor/current" pid=1091
comm="cupsd"
+ [ 21.378061] IPv6: ADDRCONF(NETDEV_CHANGE): wlp2s0: link becomes ready
+ [ 22.528077] kauditd_printk_skb: 35 callbacks suppressed
+ [ 22.528078] audit: type=1400 audit(1607608802.264:47): apparmor="DENIED"
operation="open"
+ profile="/usr/sbin/cupsd" name="/proc/1091/attr/apparmor/current" pid=1091
comm="cupsd"
requested_mask="r" denied_mask="r" fsuid=0 ouid=0
- [ 23.146095] rfkill: input handler disabled
- [ 27.861772] logitech-hidpp-device 0003:046D:4023.0006: HID++ 2.0 device
connected.
- [ 30.927312] Bluetooth: RFCOMM TTY layer initialized
- [ 30.927317] Bluetooth: RFCOMM socket layer initialized
- [ 30.927321] Bluetooth: RFCOMM ver 1.11
- [ 31.131406] rfkill: input handler enabled
- [ 33.688341] rfkill: input handler disabled
- [ 33.900456] audit: type=1400 audit(1607608813.640:48): apparmor="DENIED"
operation="capable"
- profile="/snap/core/10444/usr/lib/snapd/snap-confine" pid=3278
comm="snap-confine" capability=4
+ [ 23.146095] rfkill: input handler disabled
+ [ 27.861772] logitech-hidpp-device 0003:046D:4023.0006: HID++ 2.0 device
connected.
+ [ 30.927312] Bluetooth: RFCOMM TTY layer initialized
+ [ 30.927317] Bluetooth: RFCOMM socket layer initialized
+ [ 30.927321] Bluetooth: RFCOMM ver 1.11
+ [ 31.131406] rfkill: input handler enabled
+ [ 33.688341] rfkill: input handler disabled
+ [ 33.900456] audit: type=1400 audit(1607608813.640:48): apparmor="DENIED"
operation="capable"
+ profile="/snap/core/10444/usr/lib/snapd/snap-confine" pid=3278
comm="snap-confine" capability=4
capname="fsetid"
- [ 34.031152] wlp2s0: deauthenticating from c4:71:54:05:39:d1 by local
choice (Reason:
+ [ 34.031152] wlp2s0: deauthenticating from c4:71:54:05:39:d1 by local
choice (Reason:
3=DEAUTH_LEAVING)
Output from systemctl confirms my wakeup from a sleep state using my
open-lid method described above. For anyone else on a 9380, it is worth
noting my hostname identifies an older 9365 XPS model I had previously.
- root@imac-XPS-13-9365:~# systemctl status sleep.target
- ● sleep.target - Sleep
- Loaded: loaded (/lib/systemd/system/sleep.target; static)
- Active: inactive (dead)
- Docs: man:systemd.special(7)
-
- Dec 10 09:00:43 imac-XPS-13-9365 systemd[1]: Reached target Sleep.
- Dec 10 09:00:57 imac-XPS-13-9365 systemd[1]: Stopped target Sleep.
+ root@imac-XPS-13-9365:~# systemctl status sleep.target
+ ● sleep.target - Sleep
+ Loaded: loaded (/lib/systemd/system/sleep.target; static)
+ Active: inactive (dead)
+ Docs: man:systemd.special(7)
+
+ Dec 10 09:00:43 imac-XPS-13-9365 systemd[1]: Reached target Sleep.
+ Dec 10 09:00:57 imac-XPS-13-9365 systemd[1]: Stopped target Sleep.
I assume it must be something to do with gdm not detecting external
monitors after login, however I do not close the lid, so I am still not
sure why a sleep state is triggered. Current packages listed below.
- root@imac-XPS-13-9365:~# dpkg -l | grep gdm
- ii gdm3 3.38.1-2ubuntu1.1
amd64
- GNOME Display Manager
- ii gir1.2-gdm-1.0:amd64 3.38.1-2ubuntu1.1
amd64
- GObject introspection data for the GNOME Display Manager
- ii libgdm13.38.1-2ubuntu1.1
amd64
- GNOME Display