From: gay--- via Bug reports for GNU Guix <bug-guix@gnu.org>
To: 74390@debbugs.gnu.org
Subject: bug#74390: Need for simpledrm
Date: Sun, 17 Nov 2024 01:47:35 +0000 [thread overview]
Message-ID: <4a5158e3ce150be036bc4def4d833a0d@disroot.org> (raw)
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)
...
reply other threads:[~2024-11-17 22:07 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4a5158e3ce150be036bc4def4d833a0d@disroot.org \
--to=bug-guix@gnu.org \
--cc=74390@debbugs.gnu.org \
--cc=gay@disroot.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).