Bug 22519

Summary: Corruption on Radeon 9700 w/ KMS, esp. after cold boot
Product: xorg Reporter: Nicolai Hähnle <nhaehnle>
Component: Driver/RadeonAssignee: xf86-video-ati maintainers <xorg-driver-ati>
Status: RESOLVED INVALID QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: git   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
example of the corruption (after a reboot)
none
lspci -v
none
Xorg.0.log
none
dmesg none

Description Nicolai Hähnle 2009-06-28 01:11:37 UTC
As far back as I can test, I get random corruption while using KMS in regular applications, both with and without Compiz. I will attach a sample screenshot showing the corruption.

The graphics card is a Radeon 9700 (R300 ND), full lspci will be attached.

The one very curious feature about this bug is that it is consistently *much* worse (but still appears to be totally random) after a cold boot in the morning. After a reboot, or after turning off the PC for a minute and then switching it on again, the corruption will often not appear at all, and when it appears it will be significantly less (the attached screenshot was taken after a reboot). Simply restarting the X server does *not* have the same effect as a reboot.

Note that the corruption seems to occur or change only on rendering something; that is, as long as I don't move the mouse or do anything else, the picture on the screen is stable.

Sometimes, pixmaps that appeared to be corrupted become fixed after a while: As an example, while browsing one of the Gnome menus, the icons in the menu would often become corrupt. Browsing some more, they sometimes fix themselves, though I can't really put my finger on any pattern.

My software setup is:
- kernel: linus' tree (4075ea8c54a7506844a69f674990241e7766357b)
- xf86-video-ati: kms-support branch (a9f7fb134b9b4b50e9188a812dc7013b8e171e3f)
- libdrm: master (2fa2db138ba989bfa1a8cd9ab66d83fb7369249e)

Finally, some anecdotal backstory: I experienced a similar post-cold boot problem many years ago with the exact same graphics card with fglrx (i.e. the exact same physical piece of hardware). Back then, I would get flickering noise on the monitor (which was *not* visible on screenshots) after a cold boot. The noise would go away after a reboot. However, this happened years ago with fglrx; it didn't happen with later versions of fglrx, and I never saw it with the free driver(s).
Comment 1 Nicolai Hähnle 2009-06-28 01:13:57 UTC
Created attachment 27202 [details]
example of the corruption (after a reboot)
Comment 2 Nicolai Hähnle 2009-06-28 01:14:33 UTC
Created attachment 27203 [details]
lspci -v
Comment 3 Nicolai Hähnle 2009-06-28 01:14:52 UTC
Created attachment 27204 [details]
Xorg.0.log
Comment 4 Nicolai Hähnle 2009-06-28 01:15:07 UTC
Created attachment 27205 [details]
dmesg
Comment 5 Michel Dänzer 2010-04-02 10:26:12 UTC
Nicolai, is this still happening with current snapshots?
Comment 6 Adam Jackson 2018-06-12 19:08:51 UTC
Mass closure: This bug has been untouched for more than six years, and is not
obviously still valid. Please reopen this bug or file a new report if you continue to experience issues with current releases.

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.