On Fri, 2001-11-30 at 17:17, Derrik Pates wrote:
> On Fri, 30 Nov 2001, Gareth Hughes wrote:
> 
> > If I remember correctly, the hardware requires pitches to be multiples
> > of 64 (that's pixels, not bytes).  It's been a while, but we don't do
> > that sort of thing for nothing...
> 
> Well, how would an 800x600 display work on it then? The iBook's display is
> 800x600, and as it works now (the 64 X pScrn->bitsPerPixel value) the X
> server always gets the wrong line pitch (832) because 800 is not a round
> multiple of 64. With the existing code, the X server has to be forced into
> doing the "right" thing. With my change, it does the right thing
> completely by itself.

horizontal resolution != line pitch


> I don't have the Rage128 docs, I can only tell you what I'm seeing here -
> and that's what I'm seeing. If the docs claim that the line pitch must be
> a multiple of 64 pixels, maybe the docs are incorrect. (Would it be the
> first time?)

Probably not, still I suspect your change doesn't address the real
problem. I think the problem is that the r128 driver doesn't use the
same pitch as aty128fb. Your change just happens to make it use the same
one.

Maybe the slowness and cursor problems you experience are related to
your not using a multiple of 64 for the pitch?


-- 
Earthling Michel Dänzer (MrCooper)/ Debian GNU/Linux (powerpc) developer
XFree86 and DRI project member   /  CS student, Free Software enthusiast

_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to