Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Dec 1995 21:19:20 -0500 (EST)
From:      Richard Toren <rpt@miles.sso.loral.com>
To:        Jason Gilbert <jason@homewood.net>
Cc:        questions@freebsd.org
Subject:   Re: # of colors displayed under XFree86
Message-ID:  <Pine.SUN.3.91.951213210530.21975A-100000@miles>
In-Reply-To: <199512132343.RAA23866@koala.scott.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Jason;
  I went through the same thing 2 weeks ago with an ATI Pro Turbo.

>I've tried adding the -bpp 16 option at the command line(I don't 
>think it is having any effect)

   run xdpyinf | more
and look for the depth lines:

	...
	number of supported pixmap formats:    2
	supported pixmap formats:
    		depth 1, bits_per_pixel 1, scanline_pad 32
    		depth 16, bits_per_pixel 16, scanline_pad 32   <====
	keycode range:    minimum 8, maximum 134
	...
This will tell you the number of bits per pixel

>I've tried adding the -bpp 16 option 

Where?  I found I had to put it in 'startx' as follows:
userclientrc=$HOME/.xinitrc
userserverrc=$HOME/.xserverrc
sysclientrc=/usr/X11R6/lib/X11/xinit/xinitrc
sysserverrc=/usr/X11R6/lib/X11/xinit/xserverrc
clientargs=""
serverargs="-bpp 16"                                 <===

Hope that helps. Just a bit of warning. When I went to TrueColor visual, 
some packages broke. I have pixedit on my ctwm tools menu, and it 
couldn't find the pallet to play with. Xfig also had problems allocating 
colors when I tried to bring in a GIF file as an object. But xv displays 
look real good now. Using xbench, I found that my x-stones went from 
203196 in 8-bit mode down to 90375 in 16-bit mode.

                         ====================================================
Rip Toren               | The bad news is that C++ is not an object-oriented |
rpt@miles.sso.loral.com | programming language. .... The good news is that   |
                        | C++ supports object-oriented programming.          |
                        |    C++ Programming & Fundamental Concepts          |
                        |     by Anderson & Heinze                           |
                         ====================================================
On Wed, 13 Dec 1995, Jason Gilbert wrote:

> I have been trying in vain for the past week to figure out how to 
> display more than 256 colors under XFree86.  I have all the 
> information that is required in the configuration program (chip type, 
> RAMDAC, video memory, etc.)  I entered it all and it still does not 
> seem to work.  I have a STB Powergraph Pro video card and a Gateway 
> 2000 17" vivitron monitor.  I'm only looking for at least 32K color 
> (or more would be nice) and it works fine under windows 3.1.
> I've tried adding the -bpp 16 option at the command line(I don't 
> think it is having any effect) and setting 
> the VISUAL="PseudoColor" to TrueColor and DirectColor.  The colors 
> seem to lessen under Direct and display worse.  Under True,  the 
> colors are fine until I start netscape and then when I move the 
> pointer any where off of the netscape window the colors become 
> psychadelic and when I move it back the colors return inside the 
> window but the border is messed up.  The colors inside the window on 
> graphics are still splochy(sp?).  This is mainly what I want to get 
> rid of.
> Sorry this is so wordy.  Any help would be greatly appreciated.
> Thanks in Advance,
> 
> Jason
> Jason Gilbert
> jason@scott.net/jason@homewood.net
> http://www.homewood.net/
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SUN.3.91.951213210530.21975A-100000>