From owner-freebsd-questions Wed Dec 13 18:20:38 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id SAA22492 for questions-outgoing; Wed, 13 Dec 1995 18:20:38 -0800 (PST) Received: from wdl1.wdl.loral.com (wdl1.wdl.loral.com [137.249.32.1]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id SAA22474 for ; Wed, 13 Dec 1995 18:20:32 -0800 (PST) Received: from miles.sso.loral.com (miles.wdl.loral.com) by wdl1.wdl.loral.com (5.x/WDL-2.4-1.0) id AA05662; Wed, 13 Dec 1995 18:19:59 -0800 Received: by miles.sso.loral.com (4.1/SSO-SUN-2.04) id AA21991; Wed, 13 Dec 95 21:19:21 EST Date: Wed, 13 Dec 1995 21:19:20 -0500 (EST) From: Richard Toren X-Sender: rpt@miles To: Jason Gilbert Cc: questions@freebsd.org Subject: Re: # of colors displayed under XFree86 In-Reply-To: <199512132343.RAA23866@koala.scott.net> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org Precedence: bulk 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/ >