unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Chris Marusich <cmmarusich@gmail.com>
To: Mark H Weaver <mhw@netris.org>
Cc: help-guix@gnu.org
Subject: Re: Computer suspends even when I tell it not to
Date: Wed, 19 Jun 2019 22:44:42 -0700	[thread overview]
Message-ID: <87sgs4n73p.fsf@gmail.com> (raw)
In-Reply-To: <877e9o58ja.fsf@netris.org> (Mark H. Weaver's message of "Fri, 14 Jun 2019 14:24:46 -0400")

[-- Attachment #1: Type: text/plain, Size: 2821 bytes --]

Hi Mark, Pierre, and others,

Thank you for taking the time to offer suggestions.

Pierre Neidhardt <mail@ambrevar.xyz> 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 <mhw@netris.org> 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=wayland 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.

-- 
Chris

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

  reply	other threads:[~2019-06-20  5:44 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-14  3:25 Computer suspends even when I tell it not to Chris Marusich
2019-06-14  7:29 ` Pierre Neidhardt
2019-06-14  9:33   ` hub.lombard
2019-06-16  9:52   ` Pierre Neidhardt
2019-06-14 18:24 ` Mark H Weaver
2019-06-20  5:44   ` Chris Marusich [this message]
2019-06-20  8:53     ` Pierre Neidhardt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87sgs4n73p.fsf@gmail.com \
    --to=cmmarusich@gmail.com \
    --cc=help-guix@gnu.org \
    --cc=mhw@netris.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).