Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!hplabs!hp-pcd!hpcvlx!kam From: kam@hpcvlx.cv.hp.com (Keith Marchington) Newsgroups: comp.sys.hp Subject: Re: HPUX 6.5 help with X?screens image mode config Message-ID: <101950057@hpcvlx.cv.hp.com> Date: 25 Oct 89 23:51:39 GMT References: <71804@tut.cis.ohio-state.edu> Organization: Hewlett-Packard Co., Corvallis, OR, USA Lines: 51 rosenbl@cis.ohio-state.edu (Robert Rosenblum) writes: > We're trying to configure our X?screens file to support both 8 and > 24 bit X windows in the image planes. It looks like this: > > /dev/crt depth 24 depth 8 > > > But when X starts up, it complains and says this: > > Error in line 1 of your /usr/lib/X11/X1screens file. > Only one depth may be requested in image mode > Using first requested depth of 24. > > The "Using Starbase with the X11 Windows System" manual received > with HP-UX 6.5 has an example where two depths are specified (on pg. 3-2): > > /dev/crt depth 6 depth 8 > > So it appears that it is possible to have two window depths. > > Are we doing something wrong? Does anyone know if it is possible > to use both 24 and 8 bit windows in the image planes in any of > the screen configuration modes? No, you are not doing anything wrong. Image mode allows only one depth. The only way to get both 8-bit and 24-bit windows in the image planes is to run in Combined Mode. The manual is wrong about it. (Thanks for pointing out the documentation error :-) The rationale we used in deciding this was that the image planes are only capable of one mode at a time, either 8-bit or 24-bit. If you are running in Image Mode, then the root window would be 8-bit. When the color focus shifted to a 24 bit window, the hardware would change modes making most of the screen utterly obnoxious in appearence. We felt that this was too unappealing. In Combined Mode however, the root window is in the overlay planes. Thus, when you move to a 24 bit window, only other 8-bit windows would be affected, but the root window (and most of your other windows) will remain intact. > > Rob Rosenblum > Hope this explains things sufficiently. Keith Marchington HP Corvallis, Oregon