guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: KMScon vs. AMD Radeon


From: Mathieu Othacehe
Subject: Re: KMScon vs. AMD Radeon
Date: Thu, 04 Apr 2019 09:38:20 +0200
User-agent: mu4e 1.0; emacs 26.1

Hi all,

Thanks for your investigation Danny. Florian and Pierre, could you try
this new patch :) ?

If it fails, you can also try to press 'e' in GRUB and add 'nomodeset'
to the kernel command line arguments.

Thanks for your help,

Mathieu

>From f90ea22ee4af2db11587b6195c3726f9bab9ec78 Mon Sep 17 00:00:00 2001
From: Mathieu Othacehe <address@hidden>
Date: Thu, 4 Apr 2019 09:31:31 +0200
Subject: [PATCH] wip: Disable drm backend for install kmscon.

---
 gnu/packages/terminals.scm | 9 +++++++++
 gnu/system/install.scm     | 2 ++
 2 files changed, 11 insertions(+)

diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm
index 2d46585865..740443aab1 100644
--- a/gnu/packages/terminals.scm
+++ b/gnu/packages/terminals.scm
@@ -40,6 +40,7 @@
   #:use-module (guix download)
   #:use-module (guix git-download)
   #:use-module (guix packages)
+  #:use-module (guix utils)
   #:use-module (gnu packages)
   #:use-module (gnu packages autotools)
   #:use-module (gnu packages check)
@@ -308,6 +309,14 @@ multi-seat support, a replacement for @command{mingetty}, 
and more.")
       (supported-systems (filter (cut string-suffix? "-linux" <>)
                                  %supported-systems)))))
 
+(define-public kmscon-fbdev-only
+  (package
+    (inherit kmscon)
+    (name "kmscon-fbdev-only")
+    (arguments
+     `(#:configure-flags '("--with-video=fbdev")
+       ,@(package-arguments kmscon)))))
+
 (define-public libtermkey
   (package
     (name "libtermkey")
diff --git a/gnu/system/install.scm b/gnu/system/install.scm
index aad1deb913..6d0d7cfd48 100644
--- a/gnu/system/install.scm
+++ b/gnu/system/install.scm
@@ -45,6 +45,7 @@
   #:use-module (gnu packages cryptsetup)
   #:use-module (gnu packages package-management)
   #:use-module (gnu packages disk)
+  #:use-module (gnu packages terminals)
   #:use-module (gnu packages texinfo)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages nvi)
@@ -232,6 +233,7 @@ You have been warned.  Thanks for being so brave.\x1b[0m
 
           (service kmscon-service-type
                    (kmscon-configuration
+                    (kmscon kmscon-fbdev-only)
                     (virtual-terminal "tty1")
                     (login-program (installer-program))))
 
-- 
2.17.1

pelzflorian (Florian Pelz) writes:

> On Wed, Apr 03, 2019 at 11:02:44PM +0200, Danny Milosavljevic wrote:
>> > To summarize, we’re just missing ‘--with-video=fbdev,drm2d’ and then
>> > we’re done, right?
>> 
>> Reading the kmscon source code (configure.ac), it seems that the default
>> is "fbdev,drm2d,drm3d".
>> 
>> I suspect that the drm hangs the kernel in Florian's case.
>> 
>
> Maybe, the message was this:
>
> On Thu, Mar 28, 2019 at 01:09:35AM +0100, pelzflorian (Florian Pelz) wrote:
>> Also in my old install image the image cannot boot on my AMD Radeon
>> because it gets stuck at
>> 
>> [    9.334790] fb0: switching to radeondrmfb from EFI VGA
>> 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]