From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <bug-guix-bounces+larch=yhetil.org@gnu.org>
Received: from mp12.migadu.com ([2001:41d0:306:2d92::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms8.migadu.com with LMTPS
	id IKtqC8mFMmVnygAAauVa8A:P1
	(envelope-from <bug-guix-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Fri, 20 Oct 2023 15:51:05 +0200
Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp12.migadu.com with LMTPS
	id IKtqC8mFMmVnygAAauVa8A
	(envelope-from <bug-guix-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Fri, 20 Oct 2023 15:51:05 +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 C3D653D191
	for <larch@yhetil.org>; Fri, 20 Oct 2023 15:51:04 +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=1697809865;
	h=from:from:sender:sender:reply-to:subject:subject:date:date:
	 message-id:message-id:to:cc: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=v8BmPaRsWB5d+4pHZQ80Hq8suSUrU/SSWe1V2DooCJE=;
	b=teLo+HF3rwmSLbrWxyasOlHwrooj/LVs3t6YG7tbulNSGqScSVt9VlVJqY0J88yoXlb5XY
	ppw8LMTEpHunxvsv31MgbadjRr8FTcSvVIfWE9qeT9QXUA5CFKsDqGHUcCt4xczdEBwoZL
	4kkO1++22XWSr2g4bjR7uCkXO0BF6mFdbeG6UIdzhamNvhaiaL5370x3XaScf+8NRrkdHA
	zK2HPitnfTbkU7ffXZnpF9pnvvgsMiLLjRa2dnGKK7H/IJIU+Fd/79uh/zOT1ppGSEpsQP
	PzmKYlGkUFhkL8fK5ajEGNuORcLDxl9m+tDn/qppqHV7rYWlk989AHdk5P3nnw==
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
ARC-Seal: i=1; s=key1; d=yhetil.org; t=1697809865; a=rsa-sha256; cv=none;
	b=ndbxp9WGIGB56sgn/oQ2TpA3F6/Sg9YpDnAnBZkPS7vUI2tSyCBKNbMoJq5SJo/BdJ5qTD
	em3vJ0kGoW9watCN8JjI2rXVMGHLvP7ExkMqlxhVKcJZQpydy9PUVSuZoRXKyHmgBUBNxh
	F+IBZy6P8yUCRzNR6/tUK4+ip+uQwtDHmYVf46mE1JvraoYa1khMNuJ/kJRmzwSWu7MULo
	aIDsr08XwMUTx/RllFGCMhWAlL4M9L0NkVlg3z72/2PJ2LmdVT9zc+c5VbBcSp0wuIojY2
	LSMHtuZYEc0M71KdyYVIiSzJbkO5OWdgcgkKh7MXw+wI9FxFIny8ekyiRlhEVw==
Received: from localhost ([::1] helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <bug-guix-bounces@gnu.org>)
	id 1qtptj-0008Hd-CB; Fri, 20 Oct 2023 09:50:43 -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 <Debian-debbugs@debbugs.gnu.org>)
 id 1qtpta-0008A2-TT
 for bug-guix@gnu.org; Fri, 20 Oct 2023 09:50:35 -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 <Debian-debbugs@debbugs.gnu.org>)
 id 1qtpta-0003NZ-Jr
 for bug-guix@gnu.org; Fri, 20 Oct 2023 09:50:34 -0400
Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1qtpu1-0005YF-Ph
 for bug-guix@gnu.org; Fri, 20 Oct 2023 09:51:01 -0400
X-Loop: help-debbugs@gnu.org
Subject: bug#65769: 
Resent-From: Hugo Buddelmeijer <hugo@buddelmeijer.nl>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: bug-guix@gnu.org
Resent-Date: Fri, 20 Oct 2023 13:51:01 +0000
Resent-Message-ID: <handler.65769.B65769.169780981021265@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: followup 65769
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
Cc: 65769@debbugs.gnu.org
Received: via spool by 65769-submit@debbugs.gnu.org id=B65769.169780981021265
 (code B ref 65769); Fri, 20 Oct 2023 13:51:01 +0000
Received: (at 65769) by debbugs.gnu.org; 20 Oct 2023 13:50:10 +0000
Received: from localhost ([127.0.0.1]:38977 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1qtptC-0005Wv-Dr
 for submit@debbugs.gnu.org; Fri, 20 Oct 2023 09:50:10 -0400
Received: from mail-yb1-f179.google.com ([209.85.219.179]:61477)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <blackshift@gmail.com>) id 1qtpt9-0005Wg-CY
 for 65769@debbugs.gnu.org; Fri, 20 Oct 2023 09:50:08 -0400
Received: by mail-yb1-f179.google.com with SMTP id
 3f1490d57ef6-d77ad095f13so812659276.2
 for <65769@debbugs.gnu.org>; Fri, 20 Oct 2023 06:49:40 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1697809774; x=1698414574;
 h=cc:subject:message-id:date:from:in-reply-to:references:mime-version
 :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=v8BmPaRsWB5d+4pHZQ80Hq8suSUrU/SSWe1V2DooCJE=;
 b=mkfSWt3GyFCuRUKGHD6FNTadqkGccqGsnsgqpQAnxSlgjr0RBK5FoBtyjssdZVVsNL
 tMRAP5fg//s2Ogt1Ar+W2L/fJZwlxR/3xB2NXODokVBeecf8ChM07nDTObTmFIwVQadp
 T0kGXF8vnuHhQr05Wz9Ur4RGz25OSyhnuqM4C+CKOijAGR7AUyrImoUyGfAAN7q1F4CC
 HZzfAmE+4l/z1AsYk5rxyseyuqSlc/J9RpHVxRiU13qoVjNqyJHF7uiiZOxhEZl+XKp1
 Eg13U2ISPSzhvQ3ZAR5x/Sv+4dA/CvmyyK8NFtZafXGgybsQ3R28XEDzeiDs5dvfR3kq
 W+hw==
X-Gm-Message-State: AOJu0Yx76e2tdHC/inPpakO+gHUH0nef4o13b0nQcpvxjUgEa/HpE+yw
 s47diMsQHQkiQuyFHfPXgXLnKPGNscMRTEa1pVL5/GAgQuc=
X-Google-Smtp-Source: AGHT+IHdTSdXzyEqzLoDghjiSqgWApyMKH0LI7OXx7/9i8j2inDJfHxx5V9VybWSoTHohxBYrNfFpvcUaHjrYZ1yJHY=
X-Received: by 2002:a25:e0c8:0:b0:d9c:2c30:ebb1 with SMTP id
 x191-20020a25e0c8000000b00d9c2c30ebb1mr1949147ybg.12.1697809774271; Fri, 20
 Oct 2023 06:49:34 -0700 (PDT)
MIME-Version: 1.0
References: <ZPfsKrd1Xsm_gHL4@guix-xps>
 <CA+Jv8O1uVKrOST5-tW-dx5UK3StKRF2V8Gp56fzDALTER0gr8A@mail.gmail.com>
 <CWD6HVE5HFES.27T40KFYIL9XN@masaki>
 <CA+Jv8O0pAotpZ1aoTCOFONN+nv+QSXpOvwT=r1LcL_7nok5xKA@mail.gmail.com>
In-Reply-To: <CA+Jv8O0pAotpZ1aoTCOFONN+nv+QSXpOvwT=r1LcL_7nok5xKA@mail.gmail.com>
From: Hugo Buddelmeijer <hugo@buddelmeijer.nl>
Date: Fri, 20 Oct 2023 13:49:23 +0000
Message-ID: <CA+Jv8O0C5D2V3UsJZsf2CcznDo7OoEvLMoDJVewZn6jqsCS1xQ@mail.gmail.com>
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 <bug-guix.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-guix>,
 <mailto:bug-guix-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/bug-guix>
List-Post: <mailto:bug-guix@gnu.org>
List-Help: <mailto:bug-guix-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-guix>,
 <mailto:bug-guix-request@gnu.org?subject=subscribe>
Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org
Sender: bug-guix-bounces+larch=yhetil.org@gnu.org
X-Migadu-Country: US
X-Migadu-Flow: FLOW_IN
X-Migadu-Spam-Score: -3.62
X-Spam-Score: -3.62
X-Migadu-Queue-Id: C3D653D191
X-Migadu-Scanner: mx2.migadu.com
X-TUID: xZUiDnc2VO7f

Ok, just one more update on the hardware issue: I 'resolved' it, and
maybe I can help others by commenting here.

Specifying i915.enable_guc=0 as a kernel parameter at boot will ensure
the kernel doesn't get 'wedged' and now sway works on the libre kernel
too. I get the blinking cursor again if I forget.

I tried adding the kernel parameter to the config like this:

            (sysctl-service-type config =>
                     (sysctl-configuration
                      (settings (append '(("i915.enable_guc" . "0"))
                                        %default-sysctl-settings))))

But that does not work, so I have to add the parameter at boot time.
Maybe I'll create a new issue for that.

So now I can go back to actually using sway, and fixing my power
management! And perhaps, if it becomes annoying enough, the creation
of the /run/user/<greeter id> directory...

Hugo


On Fri, 20 Oct 2023 at 12:14, Hugo Buddelmeijer <hugo@buddelmeijer.nl> wrote:
>
> Thank you bdju!
>
> Your config also does not work for me, so my specific problem is
> probably hardware related. Thanks for helping me isolate the problem.
> Apparently I was naive in assuming that i915 would mean things would
> just work. (Well, X works.)
>
> I also get a blank screen with the cursor at the top of the screen
> (sometimes), but my problem seems unrelated to this issue, because
> greetd/wlgreet is now not involved. I will therefore not discuss my
> problem here further.
>
> Hugo
>
> On Fri, 20 Oct 2023 at 12:02, bdju <bdju@tilde.team> wrote:
> >
> > On Fri Oct 20, 2023 at 4:01 AM CDT, Hugo Buddelmeijer wrote:
> > > 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
> > >
> >
> > I am running Sway on Guix System with the libre kernel. My hardware is a
> > ThinkPad T440p, intel graphics. I do not use any channels.
> >
> > I've attached my config.scm, manifest, and sway config files in case
> > it's useful to you.