http://bugs.freedesktop.org/show_bug.cgi?id=18398





--- Comment #11 from Aron Hsiao <[email protected]>  2009-11-29 10:22:42 PST 
---
(In reply to comment #8)
> Something like the following always fixes 99% of the corruption issues i'm
> seeing with radeon:
> --- a/src/radeon_exa_funcs.c
> +++ b/src/radeon_exa_funcs.c
> @@ -401,7 +401,7 @@ FUNC_NAME(RADEONDownloadFromScreen)(PixmapPtr pSrc, int x,
> int y, int w, int h,
>       * blitting the bits to one half while copying them out of the other one
> and
>       * then swapping the halves.
>       */
> -    if (info->accelDFS && bpp != 24 && RADEONGetDatatypeBpp(bpp, &datatype) 
> &&
> +    if (info->accelDFS && bpp != 24 && w>32 && RADEONGetDatatypeBpp(bpp,
> &datatype) &&
>         RADEONGetPixmapOffsetPitch(pSrc, &src_pitch_offset) &&
>         (scratch = RADEONCPGetBuffer(pScrn)))
>      {
> 
> 
> I guess it is obvious why; For small pixmaps things are already used before
> they are completely there.
> 

Just discovered this. Am running Fedora 12 and was experiencing small pixmap
corruption, which then bled into things like corruption in Firefox's
places.sqlite (bookmarks) database, via stored favicons that had been
corrupted. Grrr.

Hand-applied Danny's patch above to
xorg-x11-drv-ati-6.13.0-0.11.20091119git437113124.fc12.src.rpm from the Fedora
12 repository and the corruption issue has been resolved with no apparent
decline in stability or performance.

Can no longer duplicate corruption in places where I could always immediately
reproduce before (i.e. by loading Slashdot front page and scrolling Firefox up
and down past the poll options).


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
xorg-driver-ati mailing list
[email protected]
http://lists.x.org/mailman/listinfo/xorg-driver-ati

Reply via email to