Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* Color depth on CDE
@ 2001-08-13 23:52 pd
  2001-08-14 14:19 ` Paul Victor Novarese
  0 siblings, 1 reply; 2+ messages in thread
From: pd @ 2001-08-13 23:52 UTC (permalink / raw)


I'm running 4.0F on a 433Au workstation. There have been a few summaries in
the past on how to change the CDE colour depth, which have so far failed for
me.I have a ZLXp2-EV5 graphics card with the card settings set to a
resolution of 1024x768 (which is fine for me). The colour depth I am
achieving is 8 (with a default installation). The card has 2MB memory (I
think - see below). Essentially I want to improve the screen colour display
to whatever my card will achieve. Previous summaries refer to the Xservers
file in /usr/dt/config/Xservers, /etc/dt/config/Xservers &
/usr/lib/X11/xdm/Xservers and the /usr/var/X11/XServer.conf file, specifying
options for -depth, TrueColor, -vclass etc, none of which seem to increase
the colour depth (although TrueColour seems to increase the colour depth
slightly) after a stop/start of the X server (S95 script).

Could the problem be that my card is not capable (at this resolution-due to
memory) of increasing by more than 8-bit ? - I've tried lower res but this
has no increase in depth.The output from xdypinfo (below) has various visual
id's - are these the combinations possible with the card ?

Does anyone have a definitive answer on this (ie which files/options to set
for cde, output of xdpyinfo, card capabilities), documentation in this area
seems to be somewhat lacking.

Regards



# sizer -gr
1024x768
# sizer -gt
ZLXp2-EV5

#grep tga /var/adm/messgaes
Aug  9 18:28:15  vmunix: tga0: depth 8, map size 2MB, 1024x768
Aug  9 18:28:15  vmunix: tga0: ZLXp2-E, Revision: 34
Aug  9 18:28:15  vmunix: kernel console: tga0

#xdpyinfo
name of display:    :0.0
version number:    11.0
vendor string:    DECWINDOWS Digital Equipment Corporation Digital UNIX V4.0
vendor release number:    1
maximum request size:  4194300 bytes
motion buffer size:  100
bitmap unit, bit order, padding:    32, LSBFirst, 32
image byte order:    LSBFirst
number of supported pixmap formats:    6
supported pixmap formats:
    depth 1, bits_per_pixel 1, scanline_pad 32
    depth 4, bits_per_pixel 8, scanline_pad 32
    depth 8, bits_per_pixel 8, scanline_pad 32
    depth 12, bits_per_pixel 32, scanline_pad 32
    depth 24, bits_per_pixel 32, scanline_pad 32
    depth 32, bits_per_pixel 32, scanline_pad 32
keycode range:    minimum 8, maximum 255
focus:  window 0xc00034, revert to Parent
number of extensions:    20
    Adobe-DPS-Extension
    BIG-REQUESTS
    DEC-XTRAP
    DOUBLE-BUFFER
    DPMS
    DPSExtension
    Keyboard-Management-Extension
    MIT-SCREEN-SAVER
    MIT-SHM
    MIT-SUNDRY-NONSTANDARD
    Multi-Buffering
    SHAPE
    SYNC
    Shared-Memory Transport
    XC-MISC
    XIE
    XInputExtension
    XKEYBOARD
    XTEST
    XVideo
default screen number:    0
number of screens:    1

screen #0:  dimensions:    1024x768 pixels (342x275 millimeters)
  resolution:    76x71 dots per inch
  depths (1):    8
  root window id:    0x2d
  depth of root window:    8 planes
  number of colormaps:    minimum 1, maximum 1
  default colormap:    0x21
  default number of colormap cells:    8
  preallocated pixels:    black 0, white 255
  options:    backing-store YES, save-unders YES
  largest cursor:    64x64
  current input event mask:    0x30003c
    ButtonPressMask          ButtonReleaseMask        EnterWindowMask
    LeaveWindowMask          SubstructureRedirectMask FocusChangeMask
  number of visuals:    10
  default visual id:  0x28
  visual:
    visual id:    0x22
    class:    PseudoColor
    depth:    8 planes
    available colormap entries:    256
    red, green, blue masks:    0x0, 0x0, 0x0
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x23
    class:    PseudoColor
    depth:    8 planes
    available colormap entries:    256
    red, green, blue masks:    0x0, 0x0, 0x0
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x24
    class:    DirectColor
    depth:    8 planes
    available colormap entries:    8 per subfield
    red, green, blue masks:    0xe0, 0x1c, 0x3
    significant bits in color specification:    3 bits
  visual:
    visual id:    0x25
    class:    GrayScale
    depth:    8 planes
    available colormap entries:    256
    red, green, blue masks:    0x0, 0x0, 0x0
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x26
    class:    StaticGray
    depth:    8 planes
    available colormap entries:    256
    red, green, blue masks:    0x0, 0x0, 0x0
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x27
    class:    StaticColor
    depth:    8 planes
    available colormap entries:    256
    red, green, blue masks:    0xe0, 0x1c, 0x3
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x28
    class:    TrueColor
    depth:    8 planes
    available colormap entries:    8 per subfield
    red, green, blue masks:    0xe0, 0x1c, 0x3
    significant bits in color specification:    3 bits
  visual:
    visual id:    0x29
    class:    TrueColor
    depth:    8 planes
    available colormap entries:    8 per subfield
    red, green, blue masks:    0xe0, 0x1c, 0x3
    significant bits in color specification:    3 bits
  visual:
    visual id:    0x2a
    class:    TrueColor
    depth:    8 planes
    available colormap entries:    8 per subfield
    red, green, blue masks:    0xe0, 0x1c, 0x3
    significant bits in color specification:    3 bits
  visual:
    visual id:    0x2b
    class:    TrueColor
    depth:    8 planes
    available colormap entries:    8 per subfield
    red, green, blue masks:    0xe0, 0x1c, 0x3
    significant bits in color specification:    3 bits









^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Color depth on CDE
  2001-08-13 23:52 Color depth on CDE pd
@ 2001-08-14 14:19 ` Paul Victor Novarese
  0 siblings, 0 replies; 2+ messages in thread
From: Paul Victor Novarese @ 2001-08-14 14:19 UTC (permalink / raw)


"pd" <gandhikid@hotmail.com> wrote in message news:<gGZd7.28469$zs.264306@news11-gui.server.ntli.net>...

> I have a ZLXp2-EV5 graphics card with the card settings set to a
> resolution of 1024x768 (which is fine for me). The colour depth I am
> achieving is 8 (with a default installation). The card has 2MB memory (I
> think - see below). 

> # sizer -gr
> 1024x768
> # sizer -gt
> ZLXp2-EV5
> 
> #grep tga /var/adm/messgaes
> Aug  9 18:28:15  vmunix: tga0: depth 8, map size 2MB, 1024x768
> Aug  9 18:28:15  vmunix: tga0: ZLXp2-E, Revision: 34
> Aug  9 18:28:15  vmunix: kernel console: tga0

Technically, 2MB is enough to do 16-bit color at resolutions
up to 1152 X 870; however, this looks like a PowerStorm 3D30 
which I believe will only do 8-bit color.  You could try the 
following, however:

At the end of /usr/lib/X11/Xserver.conf:

! you specify command line arguments here
args <
        -pn -screen 1024x768 -depth 16 -vsync 75
>

You may need to adjust your vsync as appropriate to your
monitor.

HTH

--
paul victor novarese            KF4ZLI
novarese AT novarese DOT net    http://gammatron.weblogger.com

find / -user you -name "*base*" -exec chown us {} \;


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-08-14 14:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-08-13 23:52 Color depth on CDE pd
2001-08-14 14:19 ` Paul Victor Novarese

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox