GNU bug report logs - #74390
Need for simpledrm

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: gay@HIDDEN; dated Sun, 17 Nov 2024 08:06:02 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 17 Nov 2024 08:05:58 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Nov 17 03:05:58 2024
Received: from localhost ([127.0.0.1]:55817 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tCaI9-0004BD-GH
	for submit <at> debbugs.gnu.org; Sun, 17 Nov 2024 03:05:58 -0500
Received: from lists.gnu.org ([209.51.188.17]:41594)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <gay@HIDDEN>) id 1tCUOB-0003DI-Ax
 for submit <at> debbugs.gnu.org; Sat, 16 Nov 2024 20:47:51 -0500
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 <gay@HIDDEN>) id 1tCUOB-00010W-41
 for bug-guix@HIDDEN; Sat, 16 Nov 2024 20:47:47 -0500
Received: from layka.disroot.org ([178.21.23.139])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <gay@HIDDEN>) id 1tCUO8-0003aC-MB
 for bug-guix@HIDDEN; Sat, 16 Nov 2024 20:47:46 -0500
Received: from mail01.disroot.lan (localhost [127.0.0.1])
 by disroot.org (Postfix) with ESMTP id 9DF7325271
 for <bug-guix@HIDDEN>; Sun, 17 Nov 2024 02:47:40 +0100 (CET)
X-Virus-Scanned: SPAM Filter at disroot.org
Received: from layka.disroot.org ([127.0.0.1])
 by localhost (disroot.org [127.0.0.1]) (amavis, port 10024) with ESMTP
 id H9ZX2SYb3IEI for <bug-guix@HIDDEN>; Sun, 17 Nov 2024 02:47:35 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail;
 t=1731808055; bh=HK2AtNWQj0zm9gN2MQByMdUxFHFeY6SxS0EZ2NFuOkk=;
 h=Date:From:To:Subject;
 b=HZ/OjN+j6w8huM/SB/vsirjcImYWLydwqUQXCKTyhJmJzp5Q11WikaUbUbf+shGsA
 aIGdPk+HlEgdAacUIpUrDND+meRNJ5KBoo2t8kcx21jnzZJobihFnSMHw2GN+8bLy1
 Y3fkNy4B1XJw6pHClF4qSfBjC3/A/sstJMyzuwI7fsPdwhCl2wU1SH+gbDq7/pJaIr
 TIxvMntZ7sfBJe4viEMS14vGXXKRcQnS6S3b57wBftN8ibtpSkX3cJbnpCfn7JMksy
 VoGXO954cxLSBMZyJblY0dO1rjzXfuA+VJt4Cg7kBkhER8RegVo0OrK6wLvTvslG/5
 y83SZh63DHfaA==
MIME-Version: 1.0
Date: Sun, 17 Nov 2024 01:47:35 +0000
From: gay@HIDDEN
To: bug-guix@HIDDEN
Subject: Need for simpledrm
Message-ID: <4a5158e3ce150be036bc4def4d833a0d@HIDDEN>
X-Sender: gay@HIDDEN
Content-Type: text/plain; charset=UTF-8;
 format=flowed
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=178.21.23.139; envelope-from=gay@HIDDEN;
 helo=layka.disroot.org
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001,
 SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Sun, 17 Nov 2024 03:05:56 -0500
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)

TLDR: relevant kernel configs are CONFIG_SYSFB_SIMPLEFB (only on x86?), 
CONFIG_DRM_SIMPLEDRM, at the same time it's necessary to disable 
CONFIG_FB_EFI and CONFIG_FB_SIMPLE

Hi,

I run Guix System, after upgrading from 1.4 to snapshot gdm refuses to 
start even if I disable wayland in its config, it seems to require 
kernel drm driver, unfortunately amdgpu absolutely requires proprietary 
firmware, so for such situations there is simpledrm.

I tried building custom kernel myself, but build gets killed by OOM, it 
appears 8 GB RAM is nowadays very little, I also tried disabling 
building wlan, amdgpu, radeon, xe and i915 as they don't work with my 
laptop anyway, kernel builds successfully, but then linux-modules 
package throws error complaining that it cannot find USB drivers 
(what???).

/etc/config.scm:

...

(define %linux-libre-simpledrm-config (append
  `(("CONFIG_DRM_SIMPLEDRM" . m)
    ("CONFIG_SYSFB_SIMPLEFB" .m)
     ;; ("CONFIG_DRM_AMDGPU" . #f)
     ;; ("CONFIG_DRM_RADEON" . #f)
     ;; ("CONFIG_DRM_XE" . #f)
     ;; ("CONFIG_DRM_I915" . #f)
     ;; ("CONFIG_WLAN" . #f)
    ("CONFIG_FB_EFI" . #f)
    ("CONFIG_FB_SIMPLE" . #f))
  ((@@ (gnu packages linux) default-extra-linux-options) "6.11")))

(define linux-libre-simpledrm
   ((@@ (gnu packages linux) make-linux-libre*)
    (@@ (gnu packages linux) linux-libre-version)
    (@@ (gnu packages linux) linux-libre-gnu-revision)
    (@@ (gnu packages linux) linux-libre-source)
    '("x86_64-linux")
    #:extra-version "simpledrm"
    #:extra-options %linux-libre-simpledrm-config))

(operating-system
   (kernel linux-libre-simpledrm)
...




Acknowledgement sent to gay@HIDDEN:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#74390; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 12 Jan 2025 05:45:02 UTC

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