[comp.sys.hp] Setting depth on hp root window

waldorf@venice.SEDD.TRW.COM (jerry waldorf) (10/05/89)

I am using an HP 9000/330 workstation running 7.0 HP-UX with MOTIF window 
manager.

I am trying to change the depth of the pixmap for the root window
from 6 to 8. 

I have tried using xrdb, changing /usr/lib/X11/X0screen to "/dev/crt depth 8"
and that does not work.  Does anybody have any suggestions.

Am I trying to change a parameter that is hardware dependent, or is it 
software configurable?

kam@hpcvlx.cv.hp.com (Keith Marchington) (10/06/89)

> I am using an HP 9000/330 workstation running 7.0 HP-UX with MOTIF window 
> manager.

> I am trying to change the depth of the pixmap for the root window
> from 6 to 8. 

The depth of the root window is dependent on the display hardware that
you are using.  It is read by the X server from the hardware and is
not settable under software.  It reflects the physical configuration
of the hardware.  From your information, I would have to guess that
you are using a 98547A graphics card which has 6 planes of frame
buffer memory.

> I have tried using xrdb, changing /usr/lib/X11/X0screen to "/dev/crt depth 8"
> and that does not work.  Does anybody have any suggestions.

> Am I trying to change a parameter that is hardware dependent, or is it 
> software configurable?

Yes, it is hardware dependent.

Keith Marchington

tomg@hpcvlx.cv.hp.com (Thomas J. Gilg) (10/07/89)

> I am using an HP 9000/330 workstation running 7.0 HP-UX with MOTIF window 
> manager.
> 
> I am trying to change the depth of the pixmap for the root window
> from 6 to 8. 

I suspect you have either an HP 9000/319C (a sealed 330), an hp98549 
graphics display card, or an hp98547 graphics display card.  In all
three cases, they are 1024x768 at 6 planes deep (hardware).

> I have tried using xrdb, changing /usr/lib/X11/X0screen to "/dev/crt depth 8"
> and that does not work.  Does anybody have any suggestions.
> 
> Am I trying to change a parameter that is hardware dependent, or is it 
> software configurable?

Its a hardware dependent situation.  For your situation, the following
Xnscreen file entries are allowable:

  /dev/crt                ( defaults to default hardware depth = 6 )
  /dev/crt doublebuffer   ( 3/3 Double buffer )

With some of the other HP display subsystems, several depths are available,
but only as multiples of 8.  Sorry we can't get you up to 8,

 Thomas Gilg
tomg@cv.hp.com