Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Nov 2002 22:01:26 -0800 (PST)
From:      Archie Cobbs <archie@dellroad.org>
To:        Miguel Mendez <flynn@energyhq.homeip.net>
Cc:        Archie Cobbs <archie@dellroad.org>, freebsd-questions@FreeBSD.org, paulbeard@mac.com
Subject:   Re: XFree86 can't allocate colors on 4.7-RELEASE
Message-ID:  <200211130601.gAD61Q0C020076@arch20m.dellroad.org>
In-Reply-To: <20021112232319.47285c93.flynn@energyhq.homeip.net>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200211130601.gAD61Q0C020076>