From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103734,95c7f30fbd7faaaf X-Google-Attributes: gid103734,public X-Google-Thread: 10b612,95c7f30fbd7faaaf X-Google-Attributes: gid10b612,public X-Google-Thread: 1164f8,95c7f30fbd7faaaf X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1992-01-17 10:47:11 PST Xref: sparky comp.windows.x:5765 comp.sys.dec:1243 comp.unix.ultrix:2050 Path: sparky!uunet!ukma!wupost!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!zazen!decwrl!pa.dec.com!wsl.dec.com!gringort From: gringort@wsl.dec.com (Joel Gringorten) Newsgroups: comp.windows.x,comp.sys.dec,comp.unix.ultrix Subject: Re: Problem with X11R5 (Xdec server) on DEC 5000 MX Message-ID: <1992Jan17.090830@wsl.dec.com> Date: 17 Jan 92 17:08:30 GMT References: <1992Jan13.203012.15039@maths.tcd.ie> <1992Jan15.021314.13919@sti.com> <1992Jan17.160052.17134@mpifr-bonn.mpg.de> Sender: news@PA.dec.com (News) Reply-To: gringort@wsl.dec.com (Joel Gringorten) Organization: DEC Western Software Lab 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