all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#74390: Need for simpledrm
@ 2024-11-17  1:47 gay--- via Bug reports for GNU Guix
  0 siblings, 0 replies; only message in thread
From: gay--- via Bug reports for GNU Guix @ 2024-11-17  1:47 UTC (permalink / raw)
  To: 74390

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)
...




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-11-17 22:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-17  1:47 bug#74390: Need for simpledrm gay--- via Bug reports for GNU Guix

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.