Need for simpledrm

  • Open
  • quality assurance status badge
Details
One participant
  • gay
Owner
unassigned
Submitted by
gay
Severity
normal
G
(address . bug-guix@gnu.org)
4a5158e3ce150be036bc4def4d833a0d@disroot.org
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)
...
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 74390@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 74390
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch