Corrupt Back Buffer?  
Author Message
Tom Waters





PostPosted: Windows Presentation Foundation (WPF), Corrupt Back Buffer? Top

I have a fairly complex app that suddenly has been displaying what looks like a corrupt back buffer... as if the backing store for the window is confused about it's size or something.

When the app starts everything looks fine, but whenever i mouse over any control that changes state on mouse over, the whole rest of the window gets corrupted with what looks like the right image render with the wrong "width" if you know what i mean.

There are no errors in the debug output while this happens...

Here's what it looks like before I mouse over the button:

http://i126.photobucket.com/albums/p110/xamlgeek/notcorrupt.png

And here what it looks like after:

http://i126.photobucket.com/albums/p110/xamlgeek/corrupt.png

Is this a driver issue And if so, why did it just start happening today after months of never seeing it. I have refactored a bunch of my code, but done nothing really new or trickier...

This is on Windows XP Pro SP2, Dell D-820 laptop, RC1 WPF bits, NVidia Quadro NVS 120M




Visual Studio 200820  
 
 
Seema Ramchandani MSFT





PostPosted: Windows Presentation Foundation (WPF), Corrupt Back Buffer? Top

Hi Tom,

If you think you are seeing a video driver issue, please first try updating your video driver from the dell or nvidia website.

For debugging:

  1. Try running the program on a computer with a different video card. If it only repros on one machine, chances are that this is a video driver issue. (If you don't have another machine with Avalon, you can send it to seemar@microsoft and I can try it  )
  2. Try disabling our hardware rendering and seeing if the issue remains
    From
    http://blogs.msdn.com/seema/archive/2006/06/05/618503.aspx

To disable HW acceleration for Avalon on a machine, add the following to your registry:
[HKEY_CURRENT_USER\Software\Microsoft\Avalon.Graphics] "DisableHWAcceleration"=dword:00000001
(To re-set HW acceleration, delete the above registry key or replace the above with a 0 value dword)

If all symptoms point to an issue with Avalon, then follow the steps at the bottom of this blogpost on hardware issues.

Thanks! Seema