tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Paul Das <paul.das () ntlworld ! com>
To: tru64-unix-managers
Subject: Colour depth on CDE
Date: Fri, 10 Aug 2001 18:25:02 +0000	[thread overview]
Message-ID: <102653669621869.tru64-unix-managers.marc@archive.invalid> (raw)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: multipart/mixed; boundary="------=_NextPart_000_001D_01C121D2.27056BC0", Size: 16357 bytes --]

This is a multi-part message in MIME format.

------=_NextPart_000_001D_01C121D2.27056BC0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Managers,

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).=20

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






------=_NextPart_000_001D_01C121D2.27056BC0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2614.3500" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Managers,</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I'm running 4.0F on a 433Au =
workstation. There have=20
been a few summaries in the past on how to change the CDE colour depth, =
which=20
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=20
depth I am achieving is 8 (with a default installation). The card has =
2MB memory=20
(I think - see below). Essentially I want to improve the screen colour =
display=20
to whatever my card will achieve. Previous summaries refer to the =
Xservers file=20
in /usr/dt/config/Xservers, /etc/dt/config/Xservers &amp;=20
/usr/lib/X11/xdm/Xservers and the /usr/var/X11/XServer.conf file, =
specifying=20
options for -depth, TrueColor, -vclass etc, none of which seem to =
increase the=20
colour depth (although TrueColour seems to&nbsp;increase the colour =
depth=20
slightly) after a stop/start of the X server (S95 script). </FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Could the problem be that my card is =
not capable=20
(at this resolution-due to memory) of increasing by more than 8-bit ? - =
I've=20
tried lower res but this has no increase in depth.</FONT><FONT =
face=3DArial=20
size=3D2>The output from xdypinfo (below) has various visual id's - are =
these the=20
combinations possible with the card ?</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Does anyone have a definitive answer on =
this (ie=20
which files/options to set for cde, output of xdpyinfo, card =
capabilities),=20
documentation in this area seems to be somewhat lacking.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Regards</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2># sizer -gr<BR>1024x768<BR># sizer=20
-gt<BR>ZLXp2-EV5</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>#grep tga =
/var/adm/messgaes<BR>Aug&nbsp; 9=20
18:28:15&nbsp; vmunix: tga0: depth 8, map size 2MB, =
1024x768<BR>Aug&nbsp; 9=20
18:28:15&nbsp; vmunix: tga0: ZLXp2-E, Revision: 34<BR>Aug&nbsp; 9 =
18:28:15&nbsp;=20
vmunix: kernel console: tga0<BR><BR>#xdpyinfo<BR>name of=20
display:&nbsp;&nbsp;&nbsp; :0.0<BR>version number:&nbsp;&nbsp;&nbsp;=20
11.0<BR>vendor string:&nbsp;&nbsp;&nbsp; DECWINDOWS Digital Equipment=20
Corporation Digital UNIX V4.0<BR>vendor release =
number:&nbsp;&nbsp;&nbsp;=20
1<BR>maximum request size:&nbsp; 4194300 bytes<BR>motion buffer =
size:&nbsp;=20
100<BR>bitmap unit, bit order, padding:&nbsp;&nbsp;&nbsp; 32, LSBFirst,=20
32<BR>image byte order:&nbsp;&nbsp;&nbsp; LSBFirst<BR>number of =
supported pixmap=20
formats:&nbsp;&nbsp;&nbsp; 6<BR>supported pixmap =
formats:<BR>&nbsp;&nbsp;&nbsp;=20
depth 1, bits_per_pixel 1, scanline_pad 32<BR>&nbsp;&nbsp;&nbsp; depth =
4,=20
bits_per_pixel 8, scanline_pad 32<BR>&nbsp;&nbsp;&nbsp; depth 8, =
bits_per_pixel=20
8, scanline_pad 32<BR>&nbsp;&nbsp;&nbsp; depth 12, bits_per_pixel 32,=20
scanline_pad 32<BR>&nbsp;&nbsp;&nbsp; depth 24, bits_per_pixel 32, =
scanline_pad=20
32<BR>&nbsp;&nbsp;&nbsp; depth 32, bits_per_pixel 32, scanline_pad =
32<BR>keycode=20
range:&nbsp;&nbsp;&nbsp; minimum 8, maximum 255<BR>focus:&nbsp; window =
0xc00034,=20
revert to Parent<BR>number of extensions:&nbsp;&nbsp;&nbsp;=20
20<BR>&nbsp;&nbsp;&nbsp; Adobe-DPS-Extension<BR>&nbsp;&nbsp;&nbsp;=20
BIG-REQUESTS<BR>&nbsp;&nbsp;&nbsp; DEC-XTRAP<BR>&nbsp;&nbsp;&nbsp;=20
DOUBLE-BUFFER<BR>&nbsp;&nbsp;&nbsp; DPMS<BR>&nbsp;&nbsp;&nbsp;=20
DPSExtension<BR>&nbsp;&nbsp;&nbsp;=20
Keyboard-Management-Extension<BR>&nbsp;&nbsp;&nbsp;=20
MIT-SCREEN-SAVER<BR>&nbsp;&nbsp;&nbsp; MIT-SHM<BR>&nbsp;&nbsp;&nbsp;=20
MIT-SUNDRY-NONSTANDARD<BR>&nbsp;&nbsp;&nbsp;=20
Multi-Buffering<BR>&nbsp;&nbsp;&nbsp; SHAPE<BR>&nbsp;&nbsp;&nbsp;=20
SYNC<BR>&nbsp;&nbsp;&nbsp; Shared-Memory Transport<BR>&nbsp;&nbsp;&nbsp; =

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

------=_NextPart_000_001D_01C121D2.27056BC0--

                 reply	other threads:[~2001-08-10 18:25 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

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