Bug 5120

Summary: CW fails to validate some backing pixmaps
Product: xorg Reporter: Aaron Plattner <aplattner>
Component: Server/GeneralAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: high CC: fourdan
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Aaron Plattner 2005-11-22 12:28:51 UTC
If the backing pixmap for a window is migrated between video and system RAM, its
serial number is updated but the corresponding window's is not.  If a GC is
validated before the pixmap is migrated and then used again afterward,
VALIDATE_DRAWABLE_AND_GC will decide not to validate it because its serial
number matches the window's.  This can lead to rendering corruption or segfaults
when the wrong GC ops are used to perform the rendering.
Comment 1 Aaron Plattner 2005-11-24 07:51:01 UTC
We have a workaround for this in the nvidia driver now, so Release Wranglers, if
you decide not to care about this issue then go ahead and mark the bug WONTFIX.
Comment 2 Eric Anholt 2005-12-01 16:14:32 UTC
It might be nice to come up with a fix for this, but I don't think it's critical
for release, if NVIDIA has managed to work around it.  Removing from blocker
list with agreement from submitter.
Comment 3 Eric Anholt 2006-06-16 15:39:18 UTC
I've fixed the ops to validate the backing gc/drawable if the serial number has
been bumped, fixing a reproducable instance of this bug with XAA.  I think that
covers it, so marking closed.
Comment 4 Eric Anholt 2006-06-16 15:39:37 UTC
*** Bug 7246 has been marked as a duplicate of this bug. ***

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.