Felix,

I tried this patch but it looked the same here, it only worked with DisableTile On. What's your card? i'm using a savage4 chip ID 8A22.

I'm also wondering why your patch indicate line number 2601 while here it's on #1757. Are we using the same source? :)

bye.
At 02:11 PM 26/9/2003, Felix K�hling wrote:
I think I found it. Try this patch with patch -p0 in
xc/programs/Xserver/hw/xfree86/drivers/savage:

--- ./savage_driver.c.~1.10.10.5.~      2003-09-26 14:00:23.000000000 +0200
+++ ./savage_driver.c   2003-09-26 19:03:30.000000000 +0200
@@ -2601,7 +2601,7 @@
     pScrn = xf86Screens[pScreen->myNum];
     psav = SAVPTR(pScrn);

-    displayWidth = pScrn->displayWidth;
+    displayWidth = psav->ulAperturePitch / (pScrn->bitsPerPixel >> 3);

     if (psav->rotate) {
        height = pScrn->virtualX;

The ulAperturePitch wasn't used otherwise and this appears to be the
right place. It works for me with and without tile mode.

Felix

On Fri, 26 Sep 2003 17:35:09 +0200
Felix K�hling <[EMAIL PROTECTED]> wrote:

> I found at least a workaround for the problem. Set
>
> Option "DisableTile" "on"
>
> in the Device section of XF86Config-4. I think this has something to do
> with the frame buffer layout. Accellerated stuff seems to get it right.
> But non-accelerated stuff accesses the frame buffer in the wrong way.
> Try Option "Accel" "off" and you'll see what I mean. Basically the
> screen is squeezed vertically to half the height.
>
> I havn't found a real fix yet. Does someone with more 2D experience have
> a pointer?
>
> Felix

Rafael M�ximo





------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to