Subject: Re: cg4 problems revisited...
To: None <brad@anduin.eldar.org>
From: Scott Ellis <sellis@rohan.sdsu.edu>
List: port-sun3
Date: 07/10/1996 20:59:11
In "Re: cg4 problems revisited...", Brad Spencer <brad@anduin.eldar.org>
wrote: 
> 
> [snip]
> 
> >Question B):  Now that I get cg4 initialized..I'm getting the "big
> >pixels" problem again when I run Xsun on cgfour0.  Ideas?  I looked
> >at the sparc cg4 code, and they seem to be addressing the BT dac in a
> >completely different manner than the sun3 port is..but is the dac the
> >problem?  Where should I start looking to solve this problem?
> >
> 
> I suspect that this is the same thing I saw on my 4/110 with a cgfour.
> 
> Basically, the driver get the wrong plane mapped for the X server.
> The X server thinks it has an 8 bit color plane, when, in fact, the 2
> bit mono place is mapped.

That explanation seems to make sense...corresponds to the vertical
'stripes'
I'm seeing which end up about every 4th pixel or so.

Did you determine a fix for the problem?  I'm dinking around with
cg4mmap(),
trying to twiddle with what offset is returned, but not having any success.
I also tried using the BT_INIT() and BT_BLANK() functions from the Sparc
port, w/o any noticable change...I'm running out of places to look. ;-)

    Scott


-- 
   //////////////////////////////////////////////////////////////////////
  //  Scott Ellis   //   sellis@gi.com   //   sellis@rohan.sdsu.edu   //
 //////////////////////////////////////////////////////////////////////
// WARNING: This signature warps  time and space in its vicinity    //