From owner-freebsd-questions Wed Nov 13 13:30:16 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 094C037B417 for ; Wed, 13 Nov 2002 13:30:08 -0800 (PST) Received: from InterJet.dellroad.org (adsl-63-194-81-26.dsl.snfc21.pacbell.net [63.194.81.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id D878843E7B for ; Wed, 13 Nov 2002 13:30:06 -0800 (PST) (envelope-from archie@dellroad.org) Received: from arch20m.dellroad.org (arch20m.dellroad.org [10.1.1.20]) by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id WAA14781; Tue, 12 Nov 2002 22:01:15 -0800 (PST) Received: from arch20m.dellroad.org (localhost [127.0.0.1]) by arch20m.dellroad.org (8.12.6/8.12.6) with ESMTP id gAD61ROS020077; Tue, 12 Nov 2002 22:01:27 -0800 (PST) (envelope-from archie@arch20m.dellroad.org) Received: (from archie@localhost) by arch20m.dellroad.org (8.12.6/8.12.6/Submit) id gAD61Q0C020076; Tue, 12 Nov 2002 22:01:26 -0800 (PST) From: Archie Cobbs Message-Id: <200211130601.gAD61Q0C020076@arch20m.dellroad.org> Subject: Re: XFree86 can't allocate colors on 4.7-RELEASE In-Reply-To: <20021112232319.47285c93.flynn@energyhq.homeip.net> To: Miguel Mendez Date: Tue, 12 Nov 2002 22:01:26 -0800 (PST) Cc: Archie Cobbs , freebsd-questions@FreeBSD.org, paulbeard@mac.com X-Mailer: ELM [version 2.4ME+ PL99b (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > On Tue, 12 Nov 2002 13:23:10 -0800 (PST) > > I recently upgraded an IBM A20m laptop to 4.7-RELEASE and it appears > > that the new version of the X server is broken. > > No, it isn't, the problem is that you're running at 8bit colour depth, > hence, the problems with colour allocation. Change the default colour > depth to 16 or 24, that should fix it. Either by starting X with 'startx > -- -bpp 16' or by editing the config file. > > Here's the relevant part of the log... > ----- > (II) Setting vga for screen 0. > (==) ATI(0): Chipset: "ati". > (==) ATI(0): Depth 8, (==) framebuffer bpp 8 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Thanks! That fixes it. Now I got all the colors and the log shows: (**) ATI(0): Depth 24, (--) framebuffer bpp 32 (--) Depth 24 pixmap format is 32 bpp But, um, was this supposed to be obvious? :-) My (wrong) intuition thought that using fewer bits per pixel would mean less memory required, thus helping things out, or something... Anyway, thanks mucho for the help! -Archie __________________________________________________________________________ Archie Cobbs * Packet Design * http://www.packetdesign.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message