From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 6BM3JwLKMmXaJwEA9RJhRA:P1 (envelope-from ) for ; Fri, 20 Oct 2023 20:42:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 6BM3JwLKMmXaJwEA9RJhRA (envelope-from ) for ; Fri, 20 Oct 2023 20:42:10 +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 3B0BE601A1 for ; Fri, 20 Oct 2023 20:42:09 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=riseup.net header.s=squak header.b=kfQxFXhO; dmarc=fail reason="SPF not aligned (relaxed)" header.from=riseup.net (policy=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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1697827330; a=rsa-sha256; cv=none; b=kcbyNc2XsD9EJBn9hv0pBC05j2QpggtlekYN12Zz6+Me42FLCwXhIHnNy+S/yMcdV2IQE/ Jns5id3snQzU74AXOc3Oc0vnm9VWkbsB6jHrHtsmJ94e24Mr29s8TSXXNG+gkCnLm+I/ZK 96kybncTlm3y1F0lQzt38lWin4qRD3jpo+rSSOscGz3QXWYN4zcGaD7y5r53p6mboEMH8r wTlxWFuqRT816Iz55nVdkXNQh41/iNMwLb+OvppD1iGDayQLtN0IYRZOrxIxQCVShfG9n6 xvGswm9XDDG4f63U8X78cz75oxPu7Dz5SMoVDYvzzK2gVWc78MlaA0OZygdvvQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=riseup.net header.s=squak header.b=kfQxFXhO; dmarc=fail reason="SPF not aligned (relaxed)" header.from=riseup.net (policy=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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1697827330; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to: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: dkim-signature; bh=GQ+xjCCghp261u3xuJxDpxN6OL75l2tBa2DAjJrxuQw=; b=FnHOSZ1nv/t913fXgb9M3pPW2QoNBoK71s6uil8U89FLdD0omwPPYtXxWEQGeJsi24aMfR ndrJrLtRqvgMtXYuxUEjieO0cT2d7Ii38Y1wdAKLNKDYf9TqgxMgWTW9RXBHGgkwpA48jj GDHNX1EtfNKhU+Zihs1EgIoM7IjFb7ugdYvr52TEft7uY33SOp74sx3Y/yDgfAbPh5Hryr wARtx6R1SK/IhzHdvlgq2c0ndhxx0lrTZALdi3tgw8BUs1KbiJS/VvKxDBiMRoleicC60k jwQjdtPNTIqHODtP1kMyG192mDnFckrJbVpNrcLTAN8ipb58e/CIHJVrruoc8A== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qtuRX-0004Gs-QB; Fri, 20 Oct 2023 14:41:56 -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 1qtuRF-0003vd-GF for bug-guix@gnu.org; Fri, 20 Oct 2023 14:41:39 -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 1qtuRD-0001jE-DV for bug-guix@gnu.org; Fri, 20 Oct 2023 14:41:35 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qtuRe-000168-Aq for bug-guix@gnu.org; Fri, 20 Oct 2023 14:42:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#66651: How to pass i915.enable_guc=0 in config.scm to prevent a 'wedged' GPU? Resent-From: Csepp Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 20 Oct 2023 18:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66651 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Hugo Buddelmeijer Cc: 66651@debbugs.gnu.org X-Debbugs-Original-Cc: bug-guix@gnu.org, 66651@debbugs.gnu.org Received: via spool by 66651-submit@debbugs.gnu.org id=B66651.16978273184209 (code B ref 66651); Fri, 20 Oct 2023 18:42:02 +0000 Received: (at 66651) by debbugs.gnu.org; 20 Oct 2023 18:41:58 +0000 Received: from localhost ([127.0.0.1]:41433 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qtuRa-00015p-GW for submit@debbugs.gnu.org; Fri, 20 Oct 2023 14:41:58 -0400 Received: from mx0.riseup.net ([198.252.153.6]:47626) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qtuRY-00015Y-7w for 66651@debbugs.gnu.org; Fri, 20 Oct 2023 14:41:58 -0400 Received: from fews02-sea.riseup.net (fews02-sea-pn.riseup.net [10.0.1.112]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx0.riseup.net (Postfix) with ESMTPS id 4SBthg2BWmz9s64; Fri, 20 Oct 2023 18:41:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1697827283; bh=GQ+xjCCghp261u3xuJxDpxN6OL75l2tBa2DAjJrxuQw=; h=References:From:To:Cc:Subject:Date:In-reply-to:From; b=kfQxFXhOZFHCT0Nh6RxF234yFRg8J7NoIWk/2W+0i5j+lEZZX2ywYm1RAJ8ikiiUw zWWyFms3rfx5884ntY6tGth66mmJFDoHkIngMbwDM3hJ4OHBG6LafX/YgsxBT4dFlQ jrXEOIOtVaZj0h+ZTbWYukzduGVkUBDD0wnAzKgU= X-Riseup-User-ID: D07F2DBC2EAE7660508B9B4BF5047DC7608068189A35CC1312895156B9E81576 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews02-sea.riseup.net (Postfix) with ESMTPSA id 4SBthf4PbzzFqgg; Fri, 20 Oct 2023 18:41:22 +0000 (UTC) References: From: Csepp Date: Fri, 20 Oct 2023 20:38:30 +0200 In-reply-to: Message-ID: MIME-Version: 1.0 Content-Type: text/plain 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx1.migadu.com X-Migadu-Spam-Score: 5.41 X-Spam-Score: 5.41 X-Migadu-Queue-Id: 3B0BE601A1 X-TUID: 6En0M8FbCZP/ Hugo Buddelmeijer writes: > The i915 driver will try to load the GuC firmware, at least for Iris > Xe chips. Loading the GuC firmware fails because it is non-free and > deblobbed. As a result, some software, like sway, will not work. > > It is possible to manually pass the i915.enable_guc=0 kernel parameter > at boot from grub. Then everything works as intended. However, it > seems not possible to set this parameter from config.scm. > > So at the moment my system is not fully declarative, as I have to type > in a kernel parameter at boot; does anyone perhaps have advice on how > can this be done better? > ... You can use the kernel-arguments option in the operating-system config. Untested: (kernel-arguments (cons "i915.enable_guc=0" %default-kernel-arguments)) This should work, in theory. I suspect that the sysctl thing doesn't work because it is done too late in the boot process.