GNU bug report logs - #74390
Need for simpledrm

Previous Next

Package: guix;

Reported by: gay <at> disroot.org

Date: Sun, 17 Nov 2024 08:06:02 UTC

Severity: normal

To reply to this bug, email your comments to 74390 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#74390; Package guix. (Sun, 17 Nov 2024 08:06:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to gay <at> disroot.org:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sun, 17 Nov 2024 08:06:03 GMT) Full text and rfc822 format available.

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

From: gay <at> disroot.org
To: bug-guix <at> gnu.org
Subject: Need for simpledrm
Date: Sun, 17 Nov 2024 01:47:35 +0000
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)
...




This bug report was last modified 210 days ago.

Previous Next


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