[comp.windows.x] Color Frame Buffer Problem and X11R4 Server

david@eng.sun.com (sometimes my arms bend back) (06/01/90)

In article <9005311716.AA28403@xenon.lcs.mit.edu> keith@EXPO.LCS.MIT.EDU
(Keith Packard) writes:
>Make sure you build the server using the same revision of SunOS as you will be
>running on the clients -- the header files which describe the frame buffer
>structure changed when the SparcStation came out.

If anyone really cares, the problem is that the SunOS 4.0.3 version of
<sundev/cg6reg.h> defines some mmap offsets in terms of NBPG (the page
size of the machine you're compiling on (more or less)), which is bad
because the SS-1 has a different page size than Sun-3s and other Sun-4s
(4K instead of 8K).  The 4.0.3c and 4.1 versions of this include file
correctly define the mmap offsets, which are the same on all systems.

-- 
David DiGiacomo, Sun Microsystems, Mt. View, CA  david@eng.sun.com