[comp.windows.x] 2-bit display

ja2f+@andrew.cmu.edu (Jinmo Ahn) (04/24/91)

I am having trouble running ozone and netrek on a Nextstation with X.
I am telneted/xhosted to a pmax.   Now, when I run netrek I get the the
following:

berwyn.andrew.cmu.edu> netrek -h bronco.ece.cmu.edu
If the default netrek server is full :
   netrek -h u.ergo.cs.cmu.edu
   netrek -h auk.warp.cs.cmu.edu
Other external servers :
   netrek -h armstrong.cs.buffalo.edu
   netrek -p 592 -h sequent.berkeley.edu

X Error of failed request:  BadAccess (attempt to access private
resource denied
)
  Major opcode of failed request:  89 (X_StoreColors)
  Minor opcode of failed request:  0
  Resource id in failed request:  0x0
  Serial number of failed request:  48
  Current serial number in output stream:  53
berwyn.andrew.cmu.edu>

Other games like cbzone or xmahjongg works fine.  Someone told me it has
to do with next's 2-bit plane verse's pmax's 1 bit.  How, can I get
around this problem?

Jim

mouse@lightning.mcrcim.mcgill.EDU (der Mouse) (05/04/91)

> I am having trouble running ozone and netrek on a Nextstation with X.
> I am telneted/xhosted to a pmax.   Now, when I run netrek I get the
> the following:

[...]
> X Error of failed request:  BadAccess (attempt to access private resource denied)
>   Major opcode of failed request:  89 (X_StoreColors)

> Other games like cbzone or xmahjongg works fine.  Someone told me it
> has to do with next's 2-bit plane verse's pmax's 1 bit.

Probably.  Programs tend to assume that any server they speak to is
either 8-bit PseudoColor or 1-bit StaticGray (ie, a "traditional color"
or a "traditional monochrome") server.

The NeXT is 2-bit StaticGray, which confuses some programs.  I have
seen code that assumes that anything deeper than 1 bit is color.  It
seems something like this afflicts netrek as well.  We had this problem
locally with xtank.

> How, can I get around this problem?

Fix the program.  Not much else to be done, unless perhaps you want to
insert a protocol filter to make the NeXT appear to be a 1-bit server.

You could, I suppose, run the MIT X-in-a-NextStep-window R3-based
server, which is a 1-bit StaticGray server.

					der Mouse

			old: mcgill-vision!mouse
			new: mouse@larry.mcrcim.mcgill.edu