From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Marusich Subject: Re: Computer suspends even when I tell it not to Date: Wed, 19 Jun 2019 22:44:42 -0700 Message-ID: <87sgs4n73p.fsf@gmail.com> References: <87h88s3l22.fsf@gmail.com> <877e9o58ja.fsf@netris.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:55795) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hdpsR-0004gF-K1 for help-guix@gnu.org; Thu, 20 Jun 2019 01:44:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hdpsQ-0007iz-GC for help-guix@gnu.org; Thu, 20 Jun 2019 01:44:51 -0400 Received: from mail-pf1-x431.google.com ([2607:f8b0:4864:20::431]:32940) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hdpsQ-0007hs-1U for help-guix@gnu.org; Thu, 20 Jun 2019 01:44:50 -0400 Received: by mail-pf1-x431.google.com with SMTP id x15so1023756pfq.0 for ; Wed, 19 Jun 2019 22:44:49 -0700 (PDT) In-Reply-To: <877e9o58ja.fsf@netris.org> (Mark H. Weaver's message of "Fri, 14 Jun 2019 14:24:46 -0400") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Mark H Weaver Cc: help-guix@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi Mark, Pierre, and others, Thank you for taking the time to offer suggestions. Pierre Neidhardt writes: > Maybe unrelated, but I've noticed that when I log out it goes to sleep > too (only sometimes?). > > When it wakes up, it shows the GDM clock, which I can slide to log in > again. > > I use GDM and EXWM. This is pretty much the same as the behavior I see. At first I thought the machine was going to sleep a long time after I logged out, but the other day I definitely observed it immediately go to sleep when I logged out, which seems wrong. I also recall a little notification showing up briefly at the top of the screen, at the GDM login screen, saying something along the lines of "The computer will suspend soon if you take no further action". Mark H Weaver writes: > FWIW, I've never seen this on my Thinkpad X200 running Guix. I also use > GNOME, although I use it under Wayland, by running > > XDG_SESSION_TYPE=3Dwayland exec dbus-run-session gnome-session > > from within a text console. I don't use GDM, because our GDM package > does not yet support Wayland. > > Note that GDM is enabled in my OS config and gets launched on every > boot, but I then shut it down manually using "herd stop xorg-server". > After doing so, I need to type "Alt+SysRq+r" to recover the use of my > keyboard. > >> Does anyone else experience this? What else can I try? > > It might be worth trying to do what I describe above, to rule out the > possibility that GDM is responsible. I tried this, but I couldn't lock the screen. Anecdotally, I feel like the issue has happened when I lock the screen, and also when I log out, but after a little poking around in this wayland session I wasn't able to reproduce the issue, so I tried something else. Instead of running the session, I simply stopped xorg-server and recovered the use of my keyboard like you suggested. The issue did NOT occur, even though I left my computer unattended overnight. I guess that means it's a GNOME or GDM issue, but it's still unclear. > What kind of machine is it? If it's a laptop, I wonder if your laptop's > embedded controller is entering suspend mode automatically. I do NOT experience this issue on my x200 laptop. I DO experience this issue on a desktop. They're using roughly the same software - both are using GNOME, not using wayland, and I've run "guix pull" fairly recently on both of them. So it might be something hardware specific, but if so it's strange that Pierre also sees the same issue. I'll dig into the logs of my desktop and see if there is anything helpful from around the time of the suspend. I guess I'll poke around at how we're running GDM, too. Still not many clues to go on. =2D-=20 Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEy/WXVcvn5+/vGD+x3UCaFdgiRp0FAl0LHUsACgkQ3UCaFdgi Rp377w/+Ksf0881TsWxpsiLk8nk2atJoysOuLvGPFwwofMaPONfP9Bj290+HlhAN dQbpouGsnXjaN45wNKuZIB1027soqXq1OgcZnBZADIcokKxYECxUZcCFGlYKO3FO LyrPUPp2QoAI6Pc9Utr2hHBIBmlxVPD1MO2ov3Zuo5CH5PcT+2our2zh3z7wh317 jCbF03y1FD3vYvKWhJlcYFu7j8M/BN0pgJqD4SRegHkn95Fz4tTiUd7MdyfLHvnc Hnba4YzkUuMlcq1Bi5+btWy7osFF/094VIhOqJ/bot4vDTqltmZvoRLbaLnOLBLN rBM4GNGB6gXShErlvqH+heEP7VrG39Jbu3VGgmPgH7TSyR3Beo6kGCr3gPYz4/QQ Z+VPAqnDS9RYla7GtOumeMobKl/BC8NqLzdgf4Kfn5HmFpIG8OR2G1xnPRwgE0S7 Pr7XrzsQPUatQqKUgsTtzLdvNvVFU0XwWCHpRJbtY75AELmbpQwtpZ7QVuppAahD kU43S2n/Lq6nTQfgr8k6r0kUgcSR0saJsA6TADlyCStjbSCCKLdxwuHJ4u4ng6JA i+Og4lrwz5uOrsY2Td/dFBMNg4hl1X+96PBSqT63t3oE+b6NW4JDP7FCTmanHlAn y/XeMhlUNmXUbsMvdEJefAo4+Kyf5hWRRBlRQxIzFDqCTzv0T9E= =qnoL -----END PGP SIGNATURE----- --=-=-=--