FVWM: Re: Colormap issues

From: Tim Freedom <tim_freedom_at_yahoo.com>
Date: Wed, 2 Oct 2002 14:47:17 -0700 (PDT)

On Tue, 01 Oct 2002 18:03:56 -0400 "Dan Espen" wrote:
> Tim Freedom writes:
>
> > Here's the output of 'xdpyinfo'
> >
> > screen #0:
> > depths (3): 1, 8, 24
> > depth of root window: 8 planes
> ...
> > I believe I have a raptor graphics card that is supposed to support
> > alot more than 256 colors, anyone know how to alter this setting
> > (or to verify that I'm capable of that) ?
>
> xdpyinfo says your card can do three depths, b/w, 8 bit pseudocolor,
> and 24 bit truecolor. The default however is 8 bit.
>
> How you change this depends on your X server.
>
> On a Sun, there are a few different commands, depending on your
> hardware, one of them is m64config, the man page may help.
>
> On Linux, look at your XF86Config file, it should be easy to spot
> what needs changing, or use one of the GUIs supplied.

OK, after some digging I figured out that the video card on the Sun-Ultras
here is set to 8+24 depth (that is 8 __and__ 24 bit) -- in other words its
24-bit enabled, but is capable of showing 8-bit only applications (in case
those applications check, I guess).

Here's the video command and the output,

  $ pgxconfig -prconf

  --- Hardware Configuration for /dev/fbs/gfxp0 ---
  Type: GFX8P
  Board: TSI Raptor GFX 8P
  PROM Information: 1.11 99/07/06 TSI
  DAC: TSI RAMDAC 0x31
  RAM: 8MB
  EDID Data: 1024x768x85, 800x600x85, 640x480x85, 1152x864x85,
  1600x1200x85, 1600x1200x75, 1800x1440x75, 640x480x60, 640x480x75,
  800x600x60, 800x600x75, 1024x768x60, 1024x768x75, 1280x1024x75
  Current resolution setting: 1280x1024x75
  Possible depths: 8, 24, 8+24
  Current depth: 8+24

and

  $ pgxconfig -propt

  --- OpenWindows Configuration for /dev/fbs/gfxp0 ---
  OWconfig: system
  Video Mode: none
  Depth: 24

OK, does 24-bit really work, well I did the following,

  xv -24 -best -perfect -cmap -cgeom -0-0 kittens.jpg

And in the "XV Controls" window it notes using "24-bit mode. Using TrueColor
visual" meaning the solaris Xserver (Xsun) is capable of 24-bit. So I asked
a sys-admin friend and he noted that "xdpyinfo is probably unable to
understand 8+24 mode and is simply returning the first result it sees when
multiple options are available." So I'm not sure how fvwm determines what
the X-server is capable of, but its figuring them to be 8-bit on this
machine when they really need to be 24-bit (is it grabbing xdpyinfo's
output ?). Anything I can do to make fvwm resolve to 24-bit short of
restarting the server with that depth setting explicitly (meaning I'd
have to call the powers that be to change the configuration on this
machine - after a million+1 questions) ? What do other window managers
(like CDE) do to resolve this ?

Thanks

 .tf. (please CC replies)


__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Wed Oct 02 2002 - 16:48:14 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:53 BST