
UNSOLVED
Closed
ATI RADEON display corruption / redraw bug / tearing
Hi, I have run into a display bug on my Inspiron 9100 with RADEON MOBILITY 9800. It only happens with some applications, and I have reproduced it with a simple test application I wrote (technical details are at the bottom for anyone interested). The following images show the problem. When a certain type of window overlaps a window being updated, most noticeable when the window behind is scrolling, the window in front "tears" or gets dragged with the scrolling window.
In these images the Sample window is the application which exhibits the display glitch. Each time a key is pressed a line is printed in the Command Prompt window behind. When the Command Prompt scrolls it drags a portion of the Sample window with it. The first frame is before any scrolling has occured. The second frame is after one line scroll due to a single keypress. The last frame is after several lines have been scrolled due to several keypresses.
I have put the sample program up at
http://essemer.com.au/test.exe (the source code is at
http://essemer.com.au/test.cpp for anyone who doesn't trust the executable -- I won't be insulted :smileysurprised:. If anyone with or without ATI RADEON systems could run it and let me know the results I'd appreciate it. At this stage it looks like an ATI bug but it would be good to have a little more evidence before reporting it to Dell and ATI.
The test program can be run as is from the console, but it also accepts a single parameter which is the number of seconds to sleep each time a key is pressed. You can use this in the following way:
- Have a fullscreen IE window open with a long (scrollable webpage open).
- Run test.exe with a 5 second sleep (eg. "test 5").
- Press a key, and perform the following steps within 5 seconds.
- Click on the IE window behind the Sample (test.exe) window and notice that the Sample window appears to still be visible, but it's not, it's the display glitch.
- Scroll the IE window and notice that the Sample window gets dragged with it.
- When part of the Sample window has scrolled off the top or bottom of the IE window, scroll back in the other direction and noticed that the portion of the Sample window that was onscreen is still visible but the portion that scrolled offscreen does not get redrawn.
Technical details
The Sample window in test.exe is using a feature of Windows (WM_SETREDRAW) that allows redraws to be delayed. This is useful to reduce display flicker when many updates are performed quickly. In the case of this test mock-up redraws are disabled, KeyDown is printed, and redraws are reenabled -- the disabling of redraws is for a very brief moment of time, as the feature is designed to be used. I was not able to reproduce this problem on the single non-ATI system that I tried.
Responses (1)
Solutions (0)

smr
64 Posts
233
0
Posted August 16th, 2005 04:00