Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Jul 1998 15:11:23 +0930
From:      Greg Lehey <grog@lemis.com>
To:        Daniel Lee Greer <greer@jabba.greerhome.louisville.ky.us>, freebsd-questions@FreeBSD.ORG
Subject:   Re: More Colors in X
Message-ID:  <19980720151123.A12714@freebie.lemis.com>
In-Reply-To: <35B29A9C.7E3D25E@jabba.greerhome.louisville.ky.us>; from Daniel Lee Greer on Sun, Jul 19, 1998 at 09:17:17PM -0400
References:  <35B29A9C.7E3D25E@jabba.greerhome.louisville.ky.us>

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.  I have also seen to edit the .xinitrc or
> the .Xresources, or the XF86Config file.  I have tried all of these
> unsucsessfully.  Now, it may be that netscape just wont work in more
> than 256 colors but I find that hard to believe.  To give you a bit of
> info, I am using a S3Virge 2 MEG video card running X in 1024X768 trying
> to run it in 16BIT, as that is max with 2 MEGS of video RAM, I have set
> my X program to execute /usr/X11R6/bin/XF86_S3V I have tried with just
> the XF86_S3 but I am unable to start the server.  I really would love to
> figure this out, but I guess I am really missing something pretty
> simple.  If there is someone out there that may be able to help me with
> this issue, I would be very much indebted to them.  Oh, another thig, to
> mention, I am running the mwm window manager.

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:

Section "Screen"
    Driver      "accel"
    Device      "ATI Graphics Ultra Pro"
    Monitor     "My Monitor"
    Subsection "Display"
        Depth       8
        Modes       "1024x768" "1280x1024" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "640x480" "800x600"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       32
        Modes       "640x480" "800x600"
        ViewPort    0 0
    EndSubsection
EndSection

Make sure that you have a Subsection with Depth 16.

Greg
--
See complete headers for address and phone numbers
finger grog@lemis.com for PGP public key

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?19980720151123.A12714>