Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Problem with X11R5 (Xdec server) on DEC 5000 MX
@ 1992-01-13 20:30 Alan Judge
  1992-01-15  2:13 ` Dan R. Greening
  0 siblings, 1 reply; 5+ messages in thread
From: Alan Judge @ 1992-01-13 20:30 UTC (permalink / raw)


We just installed X11R5 (pl8) today on our 5000s and 2100s.  Everything
seems to be fine on the 2100 mono and colour machines, but on the 5000 mono
(greyscale?) we get a bizarre problem:

	xdpyinfo reports that the screen is 8 bit, greyscale

	But, no matter what colours one uses, it only seems to be
	possible to get either black or white out of it.


Incidentally, the same problem exists with the 4.2 Ultrix server.


Any ideas?
--
Alan Judge   ajudge@maths.tcd.ie  a.k.a. amjudge@cs.tcd.ie +353-1-7021782

Like punning, programming is a play on words.	-- Alan Perlis


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Problem with X11R5 (Xdec server) on DEC 5000 MX
  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
  0 siblings, 1 reply; 5+ messages in thread
From: Dan R. Greening @ 1992-01-15  2:13 UTC (permalink / raw)


ajudge@maths.tcd.ie (Alan Judge) writes:
>We just installed X11R5 (pl8) today on our 5000s and 2100s.  Everything
>seems to be fine on the 2100 mono and colour machines, but on the 5000 mono
>(greyscale?) we get a bizarre problem:
>
>	xdpyinfo reports that the screen is 8 bit, greyscale
>
>	But, no matter what colours one uses, it only seems to be
>	possible to get either black or white out of it.
>
>Incidentally, the same problem exists with the 4.2 Ultrix server.
>Any ideas?

Yes, there is a bug in the DEC R5 server, which DEC has not yet deigned to fix.
I have screamed about it periodically, but I have been ignored.

There is actually a patch for the Ultrix 4.2 server, I believe, which you
can get from your DEC service person.

You at least the third person to complain of the R5 problem in comp.windows.x.
Please call and complain, or complain here.  If you don't, it won't be fixed.  
DEC people don't consider it a problem since it's not the 'official released 
product'.  

Regards,
-- 
____
\  /Dan Greening    Software Transformation   1601 Saratoga-Sunnyvale Rd, #100
 \/dgreen@sti.com   (408) 973-8081 x313       Cupertino, CA 95014


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Problem with X11R5 (Xdec server) on DEC 5000 MX
  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>
  0 siblings, 2 replies; 5+ messages in thread
From: david carlton @ 1992-01-16  0:09 UTC (permalink / raw)


[ apologies if you see this multiple times. ]

In article <1992Jan15.021314.13919@sti.com>, dgreen@sti.com (Dan R. Greening) writes:
> ajudge@maths.tcd.ie (Alan Judge) writes:

>>We just installed X11R5 (pl8) today on our 5000s and 2100s.  Everything
>>seems to be fine on the 2100 mono and colour machines, but on the 5000 mono
>>(greyscale?) we get a bizarre problem:

[ description deleted. ]

> Yes, there is a bug in the DEC R5 server, which DEC has not yet
> deigned to fix.  I have screamed about it periodically, but I have
> been ignored.

DEC doesn't distribute the R5 server - MIT does.  While DEC does have
problems, this one isn't theirs to maintain.

> You at least the third person to complain of the R5 problem in
> comp.windows.x.  Please call and complain, or complain here.  If you
> don't, it won't be fixed.  DEC people don't consider it a problem
> since it's not the 'official released product'.

It's not a DEC product at all - it's an MIT product.  I think that a
much more productive thing to do would be to send in a bug report to
the MIT X people.

I'm including a patch to mit/server/ddx/cfb/cfbscrinit.c which I
received from gregoire@inrs-telecom.uquebec.ca (Jean Charles Gregoire)
which solved the problem for me at the end of this file, for the sake
of other people who may be having this problem.  Apply it to your
X11R5 sources, rebuild.

david carlton
carlton@husc.harvard.edu

       The entire CHINESE WOMEN'S VOLLEYBALL TEAM all share ONE
       personality -- and have since BIRTH!!

*** mit/server/ddx/cfb/cfbscrinit.c.dist	Fri Jun 28 12:40:26 1991
--- mit/server/ddx/cfb/cfbscrinit.c		Mon Nov 11 15:08:09 1991
***************
*** 66,72 ****
      0,  PseudoColor, _BP,  1<<PSZ,   PSZ,  0,   0,   0,   0,   0,   0,
      0,  DirectColor, _BP, _CE,       PSZ,  _RM, _GM, _BM, _RS, _GS, _BS,
      0,  GrayScale,   _BP,  1<<PSZ,   PSZ,  0,   0,   0,   0,   0,   0,
!     0,  StaticGray,  _BP,  1<<PSZ,   PSZ,  0,   0,   0,   0,   0,   0,
  #endif
      0,  StaticColor, _BP,  1<<PSZ,   PSZ,  _RM, _GM, _BM, _RS, _GS, _BS,
      0,  TrueColor,   _BP, _CE,       PSZ,  _RM, _GM, _BM, _RS, _GS, _BS
--- 66,73 ----
      0,  PseudoColor, _BP,  1<<PSZ,   PSZ,  0,   0,   0,   0,   0,   0,
      0,  DirectColor, _BP, _CE,       PSZ,  _RM, _GM, _BM, _RS, _GS, _BS,
      0,  GrayScale,   _BP,  1<<PSZ,   PSZ,  0,   0,   0,   0,   0,   0,
! /*    0,  StaticGray,  _BP,  1<<PSZ,   PSZ,  0,   0,   0,   0,   0,   0, */
!     0,  StaticGray,  _BP,  2,   1,  0,   0,   0,   0,   0,   0,
  #endif
      0,  StaticColor, _BP,  1<<PSZ,   PSZ,  _RM, _GM, _BM, _RS, _GS, _BS,
      0,  TrueColor,   _BP, _CE,       PSZ,  _RM, _GM, _BM, _RS, _GS, _BS


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Problem with X11R5 (Xdec server) on DEC 5000 MX
  1992-01-16  0:09   ` david carlton
@ 1992-01-16 18:32     ` Dan R. Greening
       [not found]     ` <1992Jan17.160052.17134@mpifr-bonn.mpg.de>
  1 sibling, 0 replies; 5+ messages in thread
From: Dan R. Greening @ 1992-01-16 18:32 UTC (permalink / raw)


carlton@husc10.harvard.edu (david carlton) writes:
>
>dgreen@sti.com (Dan R. Greening) writes:
>>[problems with DEC monochrome server.]
>
>DEC doesn't distribute the R5 server - MIT does.  While DEC does have
>problems, this one isn't theirs to maintain.

Actually most servers are in a gray-area of responsibility (even though the
copyright essentially says no one is responsible).  The Sun server is the
only server fully maintained by MIT, as far as I know.  The other servers are
contributed by hardware manufacturers, and sometimes modified by MIT.

In any event, I am extremely grateful for your patch.  If it works, I shall
no longer annoy people on the net with this problem.  I will take the
initiative to submit it as a bug-report with patch if it fixes my problem.

Thanks again.
-- 
____
\  /Dan Greening    Software Transformation   1601 Saratoga-Sunnyvale Rd, #100
 \/dgreen@sti.com   (408) 973-8081 x313       Cupertino, CA 95014


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Problem with X11R5 (Xdec server) on DEC 5000 MX
       [not found]     ` <1992Jan17.160052.17134@mpifr-bonn.mpg.de>
@ 1992-01-17 17:08       ` Joel Gringorten
  0 siblings, 0 replies; 5+ messages in thread
From: Joel Gringorten @ 1992-01-17 17:08 UTC (permalink / raw)


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1992-01-17 17:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox