From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 1823 invoked from network); 6 Aug 1998 17:08:01 -0000 Received: from styx.cs.kuleuven.ac.be (root@134.58.40.3) by mail2.redhat.com with SMTP; 6 Aug 1998 17:08:01 -0000 Received: from mercator.cs.kuleuven.ac.be (root@mercator.cs.kuleuven.ac.be [134.58.45.22]) by styx.cs.kuleuven.ac.be (8.9.0/8.9.0) with ESMTP id TAA03396 for ; Thu, 6 Aug 1998 19:07:42 +0200 (MET DST) Received: from localhost (geert@localhost [127.0.0.1]) by mercator.cs.kuleuven.ac.be (8.8.5/8.8.5) with SMTP id TAA20963 for ; Thu, 6 Aug 1998 19:07:41 +0200 Date: Thu, 6 Aug 1998 19:07:40 +0200 (CEST) From: Geert Uytterhoeven To: axp-list@redhat.com Subject: Re: Running 2.1 kernels with aboot In-Reply-To: <199808061649.MAA17949@boojum.cs.brown.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Thu, 6 Aug 1998, Tim Rowley wrote: > Jay.Estabrook@digital.com wrote: > > IMHO, I think it better that selecting TGA support either: > > > > 1. includes 24-plane as well as 8-plane by default, or > > 2. asks specifically which you want (and allows both). > > > > I'm currently leaning toward #1; any discussion? > > My patch did #1 -- additional code is quite small, so I think > the default should be to include it. In the vger tree, the default is to include both FBCON_CFB{8,32}. Or are you talking about the TGA specific parts? These could easily depend on FBCON_HAS_CFB{8,32}, too. > > > Actually the 2.1.xxx fbcon TGA driver worked fine on the -E2 as > > > written to Geert. I submitted a small patch that fixed some > > > quirks (available in the list archive) that has been added to the > > > vger tree. I don't believe they've been merged with official > > > tree yet. > > > > Uh, do those patches make TUX show up in color on the 24-plane? :-) :-) > > Never had a chance to really look at the logo, as it quickly gets > whipped off the screen by boot messages. I vaguely remember it > being a strange looking black&white picture. In 8 bpp, it looks fine (without beer :-(. > > Simply change the "visual" type of the 24-plane to DIRECTCOLOR instead > > of TRUECOLOR in drivers/video/tgafb.c (the code works, but the terminology > > may not be correct). > > Sounds like a patch for Geert. Hmm... if we use the 24-plane TGA > code just a DIRECTCOLOR device the palette setup code could be > thrown away. Do any programs actually use the palette routines > of the console? It's the other way around: DIRECTCOLOR uses a palette, TRUECOLOR doesn't (xc/doc/specs/Xserver/ddx.tbl.ms). Yes, the original frame buffer code was wrong w.r.t. this. Greetings, Geert -- Geert Uytterhoeven Geert.Uytterhoeven@cs.kuleuven.ac.be Wavelets, Linux/{m68k~Amiga,PPC~CHRP} http://www.cs.kuleuven.ac.be/~geert/ Department of Computer Science -- Katholieke Universiteit Leuven -- Belgium