Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Jul 1998 08:34:39 -0700 (PDT)
From:      patl@phoenix.volant.org
To:        Greg Lehey <grog@lemis.com>
Cc:        Daniel Lee Greer <greer@jabba.greerhome.louisville.ky.us>, freebsd-questions@FreeBSD.ORG
Subject:   Re: More Colors in X
Message-ID:  <ML-3.3.900948879.1191.patl@asimov>
In-Reply-To: <19980720151123.A12714@freebie.lemis.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> On Sunday, 19 July 1998 at 21:17:17 -0400, Daniel Lee Greer wrote:
> > Hello, I have just recently installed FreeBSD 2.2.5 and am running X so
> > that I can use Netscape.  I am having a problem getting X to run in more
> > than just the standard 256 colors.  I have looked thruout the mailing
> > list archives, and it seems that the number one answer that everyone
> > seems to give is that you should invoke startx -- -bpp 16 (Or whatever)
> > to get that many bit planes. ...
> 
> First, you should take a look at the output of startx.  You'll have to
> catch it somewhere like this:
> 
>   $ startx 2>&1 > /tmp/startx.log
> 
> You might find out what the problem is by reading that output.
> Otherwise post it and I'll take a look.  You should also check that
> your /etc/XF86Config file contains definitions for 16 bpp.  You should
> have something like this:
> 
> ...

You should also be aware that due to the generally brain-dead design
of X11 color handling, the individual programs must also explicitly
support your chosen color depth.  Most X programs seem to support 8bpp.
Some also support 24bpp.  A few support 15, 16, and/or 32 bpp.

Usually the server will support 8bpp visuals when the default is a
higher number; so it is quite possible that even if you have XFree86
configured to default to 16bpp, Netscape will still display using
only 8bpp.  (Remember, the basic Netscape Unix code was designed for
use on workstations.  They generally jump from 8bpp directly to 24 or
32 bpp; 15 and 16 bpp framebuffers are very rare in that environment.)



-Pat

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?ML-3.3.900948879.1191.patl>