From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mathieu Othacehe Subject: Re: KMScon vs. AMD Radeon Date: Thu, 04 Apr 2019 09:38:20 +0200 Message-ID: <87o95mfcer.fsf@gmail.com> References: <20190330152211.2ugzdbvp2hjy3lvl@pelzflorian.localdomain> <871s2lkesq.fsf@gmail.com> <87a7h9jxzd.fsf@gnu.org> <87y34sj122.fsf@gmail.com> <20190402183102.3d951dc2@scratchpost.org> <87tvffilot.fsf@gmail.com> <20190403131944.2b4244c5@scratchpost.org> <20190403205630.30b80f49@scratchpost.org> <87wokaq0gd.fsf@gnu.org> <20190403230244.663ee305@scratchpost.org> <20190404050217.6wsqln62utbl4ock@pelzflorian.localdomain> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:44693) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hBwx7-0006gN-Cb for guix-devel@gnu.org; Thu, 04 Apr 2019 03:38:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hBwx6-0008NQ-AQ for guix-devel@gnu.org; Thu, 04 Apr 2019 03:38:25 -0400 In-reply-to: <20190404050217.6wsqln62utbl4ock@pelzflorian.localdomain> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: "pelzflorian (Florian Pelz)" Cc: Guix-devel , Pierre Neidhardt --=-=-= Content-Type: text/plain 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 --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-wip-Disable-drm-backend-for-install-kmscon.patch >From f90ea22ee4af2db11587b6195c3726f9bab9ec78 Mon Sep 17 00:00:00 2001 From: Mathieu Othacehe 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 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable pelzflorian (Florian Pelz) writes: > On Wed, Apr 03, 2019 at 11:02:44PM +0200, Danny Milosavljevic wrote: >> > To summarize, we=E2=80=99re just missing =E2=80=98--with-video=3Dfbdev= ,drm2d=E2=80=99 and then >> > we=E2=80=99re done, right? >>=20 >> Reading the kmscon source code (configure.ac), it seems that the default >> is "fbdev,drm2d,drm3d". >>=20 >> I suspect that the drm hangs the kernel in Florian's case. >>=20 > > Maybe, the message was this: > > On Thu, Mar 28, 2019 at 01:09:35AM +0100, pelzflorian (Florian Pelz) wrot= e: >> Also in my old install image the image cannot boot on my AMD Radeon >> because it gets stuck at >>=20 >> [ 9.334790] fb0: switching to radeondrmfb from EFI VGA >>=20 --=-=-=--