Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: gringort@wsl.dec.com (Joel Gringorten)
Subject: Re: Problem with X11R5 (Xdec server) on DEC 5000 MX
Date: 17 Jan 92 17:08:30 GMT	[thread overview]
Message-ID: <1992Jan17.090830@wsl.dec.com> (raw)
In-Reply-To: 1992Jan17.160052.17134@mpifr-bonn.mpg.de

In article <1992Jan17.160052.17134@mpifr-bonn.mpg.de>, spz@speckled.mpifr-bonn.mpg.de (Petra Zeidler) writes:
|> Hi all,
|> 
|> as far as I know the problem does not lie with R5 nor with software
|> at all, but rather is a hardware problem on the 5000 series.
|> The mono station should identify itself as 'StaticGray 1bit' but
|> identifies as 'StaticGray 8bit' instead.

No, it's a server problem, not a hardware problem.  The hardware has
a depth of one (monochrome) but a pixel stride of 8, which means one
byte is used to address each pixel, of which only bit 0 is significant.
Most other mono frame buffers have 8 pixels per byte.  The MX was designed
this way so that we could use our very fast CFB code to drive it, which
is faster than the (relatively unoptimized) MFB code.  It wasn't until late 
in the project that it was discovered that the server
made a lot of incorrect tests on pixel addressability, freely assuming
that depth and pixel stride were interchangeable;  they're not.  The
workaround for this is that the root window depth had to be set to 8
in order for the server to run at all.

This problem was worked-around in Ultrix 4.2A by "wrapping" the CFB code 
for the MX.  I believe that MIT is also working on the CX code to handle
the pixel stride problem. 

-joel


      parent reply	other threads:[~1992-01-17 17:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1992-01-13 20:30 Problem with X11R5 (Xdec server) on DEC 5000 MX Alan Judge
1992-01-15  2:13 ` Dan R. Greening
1992-01-16  0:09   ` david carlton
1992-01-16 18:32     ` Dan R. Greening
     [not found]     ` <1992Jan17.160052.17134@mpifr-bonn.mpg.de>
1992-01-17 17:08       ` Joel Gringorten [this message]
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