unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: Luis Felipe <luis.felipe.la@protonmail.com>
Cc: 55707@debbugs.gnu.org, 55488@debbugs.gnu.org
Subject: bug#55488: GDM, GNOME: Can't start desktop session after upgrade
Date: Thu, 02 Jun 2022 23:02:19 +0200	[thread overview]
Message-ID: <87o7zalqxw.fsf@gnu.org> (raw)
In-Reply-To: <TSaXpZVm1bRDOoefNbGepAhg5X6Iho264kzHCZDljAGWQsqvG8JnajOQyQJVoYuHnWjX2nzhTlvERFdyQnuC-DPyTcUwJKKu3FxUo6YdNm0=@protonmail.com> (Luis Felipe's message of "Thu, 02 Jun 2022 19:44:42 +0000")

Hola,

Luis Felipe <luis.felipe.la@protonmail.com> skribis:

>> Could it be https://issues.guix.gnu.org/55707? At boot time, if you
>> switch to tty12 (by pressing alt-f12) as soon as it’s available, do you
>> see messages that get printed pretty slowly, like 4–5 lines per second?
>
> Maybe? I recorded a video. Image is low quality, but speed is accurate (I changed to tty12 at second 33):
>
> https://luis-felipe.gitlab.io/media/2022/06/guix-system-ab98b51e-boot-TTY12.webm

Oh yes, that’s exactly what I observed on another machine recently.
I’ll trace to investigate further when I can access it.

In the meantime, could you try the following config, which disables
logging on tty12, to see if it boots quicker?  The config changes is
twofold; first, after the ‘use-modules’ form of your OS config, add:

--8<---------------cut here---------------start------------->8---
(define %syslog.conf
  ;; Custom syslog.conf without /dev/tty12 logging.
  (plain-file "custom-syslog.conf"
              (let loop ((lines (string-split (plain-file-content %default-syslog.conf)
                                              #\newline))
                         (result '()))
                (match lines
                  (()
                   (string-join (reverse result) "\n"))
                  ((head . tail)
                   (if (string-contains head "/dev/tty12")
                       (loop tail result)         ;drop this line
                       (loop tail (cons head result))))))))
--8<---------------cut here---------------end--------------->8---

Second, in the ‘services’ field of your config, replace
‘%desktop-services’ with:

--8<---------------cut here---------------start------------->8---
(modify-services %desktop-services
  (syslog-service-type
   _ => (syslog-configuration
         (config-file %syslog.conf))))
--8<---------------cut here---------------end--------------->8---

Dunno if it’s silly, but at least it’ll allow us to check whether it’s
just the framebuffer that’s slowing things down or if it’s something
else.

Thanks for your help!

Ludo’.




  reply	other threads:[~2022-06-02 21:03 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-17 18:49 bug#55488: GDM, GNOME: Can't start desktop session after upgrade Luis Felipe via Bug reports for GNU Guix
2022-05-18  8:44 ` Ludovic Courtès
2022-05-18 14:33   ` Luis Felipe via Bug reports for GNU Guix
2022-05-31  9:29     ` Ludovic Courtès
2022-05-31 20:50       ` Luis Felipe via Bug reports for GNU Guix
2022-06-01 19:55         ` Ludovic Courtès
2022-06-02 19:44           ` Luis Felipe via Bug reports for GNU Guix
2022-06-02 21:02             ` Ludovic Courtès [this message]
2022-06-02 23:51               ` bug#55707: " Luis Felipe via Bug reports for GNU Guix
2022-06-03 22:54                 ` Ludovic Courtès
2022-06-04 17:07                   ` Ludovic Courtès
2022-06-04 17:35                     ` bug#55488: bug#55707: syslogd logging kernel messages slowly? Ludovic Courtès
2022-06-04 19:30                     ` Ludovic Courtès
2022-06-05 15:25                       ` Luis Felipe via Bug reports for GNU Guix
2022-06-06 10:00                         ` Ludovic Courtès
2022-06-06 16:31                           ` Luis Felipe via Bug reports for GNU Guix
2022-06-06 20:46                             ` Ludovic Courtès
2022-06-05 13:19                   ` bug#55488: GDM, GNOME: Can't start desktop session after upgrade Luis Felipe via Bug reports for GNU Guix
2022-06-06 18:11                     ` Luis Felipe via Bug reports for GNU Guix
2022-06-06 20:50                       ` bug#55488: bug#55707: syslogd logging kernel messages slowly? Ludovic Courtès
2022-06-06 23:09 ` bug#55488: GDM, GNOME: Can't start desktop session after upgrade Luis Felipe via Bug reports for GNU Guix
2022-06-06 23:11 ` Luis Felipe via Bug reports for GNU Guix

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=87o7zalqxw.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=55488@debbugs.gnu.org \
    --cc=55707@debbugs.gnu.org \
    --cc=luis.felipe.la@protonmail.com \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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).