GNU bug report logs - #66651
How to pass i915.enable_guc=0 in config.scm to prevent a 'wedged' GPU?

Previous Next

Package: guix;

Reported by: Hugo Buddelmeijer <hugo <at> buddelmeijer.nl>

Date: Fri, 20 Oct 2023 17:44:01 UTC

Severity: normal

Tags: notabug

Done: Tobias Geerinckx-Rice <me <at> tobias.gr>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 66651 <at> debbugs.gnu.org (full text, mbox):

From: Csepp <raingloom <at> riseup.net>
To: Hugo Buddelmeijer <hugo <at> buddelmeijer.nl>
Cc: bug-guix <at> gnu.org, 66651 <at> debbugs.gnu.org
Subject: Re: bug#66651: How to pass i915.enable_guc=0 in config.scm to
 prevent a 'wedged' GPU?
Date: Fri, 20 Oct 2023 20:38:30 +0200
Hugo Buddelmeijer <hugo <at> buddelmeijer.nl> 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.




This bug report was last modified 1 year and 215 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.