Here it is. This patch (the brain is Michel Dänzer, I was just an
idea-to-patch translator) resolves the "Xv not working at some
resolutions" for me. It seems it works very well.

        Xav

--- xc/programs/Xserver/hw/xfree86/drivers/ati/r128_video.c.orig        
2002-09-30 17:39:09.000000000 +0200
+++ xc/programs/Xserver/hw/xfree86/drivers/ati/r128_video.c     2002-09-30 
17:37:28.000000000 +0200
@@ -682,20 +682,20 @@
 
    pScreen = screenInfo.screens[pScrn->scrnIndex];
 
-   new_linear = xf86AllocateOffscreenLinear(pScreen, size, 16,
+   new_linear = xf86AllocateOffscreenLinear(pScreen, size, 8,
                                                NULL, NULL, NULL);
 
    if(!new_linear) {
        int max_size;
 
-       xf86QueryLargestOffscreenLinear(pScreen, &max_size, 16,
+       xf86QueryLargestOffscreenLinear(pScreen, &max_size, 8,
                                                PRIORITY_EXTREME);
 
        if(max_size < size)
           return NULL;
 
        xf86PurgeUnlockedOffscreenAreas(pScreen);
-       new_linear = xf86AllocateOffscreenLinear(pScreen, size, 16,
+       new_linear = xf86AllocateOffscreenLinear(pScreen, size, 8,
                                                NULL, NULL, NULL);
    }
 

Reply via email to