From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bengt Richter Subject: bug#40538: installer: Support uvesafb to install on machines without KMS. Date: Sun, 12 Apr 2020 08:37:02 +0200 Message-ID: <20200412063702.GA4097@LionPure> References: <20200410125447.smn6xhcixe7hpday@pelzflorian.localdomain> <87tv1rv21e.fsf@gnu.org> <20200410145858.cekc55kjog3eblbu@pelzflorian.localdomain> Reply-To: Bengt Richter Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:60347) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jNWFn-000146-Js for bug-guix@gnu.org; Sun, 12 Apr 2020 02:38:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jNWFm-0003VI-Jd for bug-guix@gnu.org; Sun, 12 Apr 2020 02:38:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45773) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jNWFm-0003VE-Gc for bug-guix@gnu.org; Sun, 12 Apr 2020 02:38:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jNWFm-0004dU-Ej for bug-guix@gnu.org; Sun, 12 Apr 2020 02:38:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Content-Disposition: inline In-Reply-To: <20200410145858.cekc55kjog3eblbu@pelzflorian.localdomain> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane-mx.org@gnu.org Sender: "bug-Guix" To: "pelzflorian (Florian Pelz)" Cc: 40538@debbugs.gnu.org Hi Ludo, Florian, On +2020-04-10 16:58:58 +0200, pelzflorian (Florian Pelz) wrote: > On Fri, Apr 10, 2020 at 04:38:37PM +0200, Ludovic Courtès wrote: > > AIUI, uvesafb is needed for ksmcon (or presumably X11) to work, but it’s > > not necessary to get the standard Linux framebuffer/console running > > (indeed, you were able to ctrl-alt-f3 to get a terminal). Is this > > correct? > > Yes, all correct. Did you mean s/ksmcon/kmscon/ ? If that is a descendant of David Herrmann's work, I wonder if it wouldn't just look for /sys/class/drm/card0 and, if found, ignore /dev/fb0 and the uvesafb (along with the latter's user stuff requirements). > > > > If that’s the case, then I think it’s acceptable for now to install a > > system that lacks uvesafb. Of course X11 won’t work (right?), > > Yes, right. > Is that as absolutely right as it sounds? I had thought that some version of Wayland/weston had a back end that could run on plain /dev/fb0, and if so could provide Xwayland for X11 clients. Of course, if /sys/class/drm/card0 is available, Wayland will prefer that, and you're home free for all kinds of GUIs. > > which is > > not great, but people can hopefully address it at the console until we > > have a better fix, possibly using ‘kernel-module-configuration-service’ > > as you write. > > > > WDYT? > > I agree. > > I will try making a patch including your suggestions in a few hours. > > > > > 2. Does "modprobe.d/uvesafb.conf" work? I thought there was nothing > > taking care of creating “modprobe.d” automatically. > > I think I tested this version of the patch and it worked. One can > test on QEMU by passing nomodeset (without uvesafb the installer stays > black, I think). It also matches the description of > kernel-module-loader-service-type that was recently added to the > manual. > > Regards, > Florian > > > -- Regards, Bengt Richter