From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id wK5rIEFCMmXh6QAA9RJhRA:P1 (envelope-from ) for ; Fri, 20 Oct 2023 11:02:57 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id wK5rIEFCMmXh6QAA9RJhRA (envelope-from ) for ; Fri, 20 Oct 2023 11:02:57 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 26C694532D for ; Fri, 20 Oct 2023 11:02:57 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1697792577; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post; bh=hZvOGXBzhwFVA2/HvAnBRoRwFtcMbf9N+NVSBK8ZqkE=; b=KBx4VPvPi6mttqmRJqkRE9MYWMsvnRM0LTQnJuNZ5XZh+BI0Pd/PbMKw7WLf5FWxjSgp1i iE+8zCQxiScWZfcv5nTWYB4kQ3mPJsfwFlToCab78tVcBd3CdcfOzOuEZXquf0HCvJyE0s d6tzva8gBNYTiL6K5nqXwTspfWdpXxP+VJJ46hS7Npr+39I38zgev/33xTVUnzrKN6Auwf IAg3InpczQsTzdIyNtuEK/YDLkYAj7coEUdjtmooCPZml8UxkOaj7NyKbj2udq+UpcvfkU +F9OAmAbm26nyA+C6kcoPEegzarYtMnitBGKi84sGP0yoq+P2boLG5DL2KtlgA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1697792577; a=rsa-sha256; cv=none; b=JOdl5ybNCOYyPBwMgJj8Hknwyu8gUp/lYGkKwxKE1ZjDgzK++b7h15OuNIyWI0Gf1eLYiQ ZwSb6hJtGopy/JF8Jqg2B0SJfXy5WqsqEfBy2aWGyg8qQvIRGFaLdfmBAPr8tOUPQy4B/T xFTxPrIuoPoTPwC0Leaju/a2emN4aP4JeOUDpjcZFA0FBooveFuBlX+EYzvhPktZt7mOit DpYKwZMDsMZZU9DgATfi3skE7TjuzDMISnRtkX6DPa8Nfs/Ti8M8Vy3H/RzcMSv5fXm7yE 1VdtmwtO4ZcGTFlsikVlpEmmkzsAf5qpXU6P+HdB6s0OHd3Jn8j9y72/gM2iNQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qtlP3-0003Iq-Qf; Fri, 20 Oct 2023 05:02:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qtlOt-0003GZ-4p for bug-guix@gnu.org; Fri, 20 Oct 2023 05:02:37 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qtlOs-0004Mx-Sa for bug-guix@gnu.org; Fri, 20 Oct 2023 05:02:34 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qtlPJ-0007qe-TM for bug-guix@gnu.org; Fri, 20 Oct 2023 05:03:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#65769: References: In-Reply-To: Resent-From: Hugo Buddelmeijer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 20 Oct 2023 09:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65769 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 65769@debbugs.gnu.org Received: via spool by 65769-submit@debbugs.gnu.org id=B65769.169779253030002 (code B ref 65769); Fri, 20 Oct 2023 09:03:01 +0000 Received: (at 65769) by debbugs.gnu.org; 20 Oct 2023 09:02:10 +0000 Received: from localhost ([127.0.0.1]:38616 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qtlOT-0007nq-J6 for submit@debbugs.gnu.org; Fri, 20 Oct 2023 05:02:10 -0400 Received: from mail-yw1-f174.google.com ([209.85.128.174]:53509) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qtlON-0007lB-Ra for 65769@debbugs.gnu.org; Fri, 20 Oct 2023 05:02:08 -0400 Received: by mail-yw1-f174.google.com with SMTP id 00721157ae682-5a7ac4c3666so5924517b3.3 for <65769@debbugs.gnu.org>; Fri, 20 Oct 2023 02:01:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697792491; x=1698397291; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=hZvOGXBzhwFVA2/HvAnBRoRwFtcMbf9N+NVSBK8ZqkE=; b=NBxTUvW5Ov+jD6cYPA1PnVhk0+t4dhpVUhGJG7lcdcAtiD4ZQR/GDypC5s2sT3hMhn sGehSmTxPRrajmocQKSfxNaaYd8hQtXa/O5zLzuHtBen2iVxOljjvfF3CZykC1Png2FA ROPq2Tr/uF4qmcqGcrIMIHLFTvdhwe2PRBpmF1ScFpZG2mG3aTv5mUHOz1AMFT1H4On5 atLDsCaeWvZVl+JfyESYbyQPUR5UnH0Vx5WaPp3oDCx50Od8lDKkgKry0iRmE+O8hpBN LZUVFztPfxo2xXtGQ+EjxuTtMO4lMbvpzDnpCT0xi48lKqpOU1dWqpBbj4VX4jsv+ZkR juGw== X-Gm-Message-State: AOJu0YxoYnCM0YctabpSk9A6BgvoOGePUMRhGV8jcI3Dh0ttBf27jpN8 FuztF2U1HFPjS2wBXo0a08go8kBTQVtnD6c9ZZ/EafNoBxc= X-Google-Smtp-Source: AGHT+IHrGhKLGY+VtJn81xbNqdBDS0UqEg0TIy+PZFTEZNeLRZJUOifbej3rpp7W6Gf58lOg3ys7k0vPYX17a6nPVjQ= X-Received: by 2002:a05:6902:1083:b0:d8b:1407:f61d with SMTP id v3-20020a056902108300b00d8b1407f61dmr1511156ybu.26.1697792490881; Fri, 20 Oct 2023 02:01:30 -0700 (PDT) MIME-Version: 1.0 From: Hugo Buddelmeijer Date: Fri, 20 Oct 2023 09:01:30 +0000 Message-ID: Content-Type: text/plain; charset="UTF-8" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Spam-Score: -5.64 X-Migadu-Queue-Id: 26C694532D X-Migadu-Scanner: mx0.migadu.com X-Migadu-Spam-Score: -5.64 X-TUID: Zgk1P781oWaN Hi chirs, Josselin, unmatchedparenthesis, Thank you for your example configs! It allowed me to get sway up and running under Guix. For those interested, here is my configuration: https://gist.github.com/hugobuddel/cd08fc2980c6901ff4a2df5c57531e46 However, I might switch to something else for now, as I'm having too much trouble with running Sway. My main goal is to move to a window manager that makes it easy to store my home configuration, for example with guix home; I found dconf too convoluted. Using wayland or a tiling WM is only a secondary goal for me. Maybe i3 or XFCE would suite me just fine. The main problems I faced, in detail below: 1) I cannot get Sway/wayland to work with the libre kernel; this is probably due to my hardware, but X works fine. 2) I have to create the /run/user/936 directory manually. The 936 is the `greeter` user, which occassionally changes. 3) Power management does not work. That might not be related to Sway at all, but is an important showstopper for me right now. It would be greatly appreciated if someone could post an example Guix config for Sway that should run out of the box with the libre kernel without any extra channels. For example on a virtual machine. Then we have a shared starting point that we can all confirm to work, so we can detangle issues specific to our own hardware and software configuration, and issues related to Sway+Guix in general. Cheers, Hugo 1) Sway on libre kernel. Having a libre system is one of my reasons for using Guix, so I'd prefer a libre kernel. However, for me the libre kernel does not work with sway. I expect this is a problem with my hardware, but I mention it anyway, since I haven't seen a Sway configuration that uses the libre kernel. My machine is a System 76 Lemure Pro with an "Intel Corporation Alder Lake-UP3 GT2 [Iris Xe Graphics]". Relevant logs (not necessarily all from the same session...): - dmesg: https://gist.github.com/hugobuddel/5a593d91e93bb106056c05f8d2db4a96 - /var/log/greetd-1.log: https://gist.github.com/hugobuddel/6ba7a3fb5b15d20851ade6fdf9c4ee87 - /tmp/sway-greeter.448.log: https://gist.github.com/hugobuddel/f447d69a8502b02d103163fd0b2cfc86 I don't particularly care about hardware acceleration for now, so if it is possible to run Sway in just software, then that would be fine with me as well. 2) /run/user/936 Running the attached config as-is will result in the subject of this tread: the blank screen with cursor at the top left. I have to figure out what the id is of the greeter user, and then create the appropriate directory. Something like: GREETERID=$(id -u greeter) mkdir "/run/user/${GREETERID}" chmod greeter:users "/run/user/${GREETERID}" I don't know how the id of the greeter user is determined. It has changed after doing a `guix system reconfigure`, but only occasionally. I create these directories manually at the moment. 3) Power management: this might not be related to Sway, but maybe I'm solving too many problems at the same time, and power management is the showstopper for using this laptop. So I'll ensure that power manament works properly before experimenting with Sway.