Bug 31639

Summary: Screen corruption on RV710 [Radeon HD 4350] with RenderAccel enabled
Product: xorg Reporter: Benoit Durif <hitech.durif>
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-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Xorg log
none
Corrupted screen of firefox taken using ksnapshot
none
/var/log/messages none

Description Benoit Durif 2010-11-15 13:26:43 UTC
Created attachment 40287 [details] [review]
Xorg log

Hello,

My graphic card is 
01:00.0 VGA compatible controller: ATI Technologies Inc RV710 [Radeon HD 4350] (prog-if 00 [VGA controller])

If I specify no particular option to xorg I get little black and grey bars.
See attached screnshot.

If I add the lines below in a conf file there is no corruption except
when I the confirmation box is displayed when I logout from KDE. 
Section "Device"
   Identifier "Device0"
   Option  "RenderAccel" "off"
EndSection

Systel id fedora14
xf86-video-ati and mesa are from today's git master.
libdrm-2.4.22-1.fc14.x86_64
xorg-x11-server-Xorg-1.9.1-2.fc14.x86_64
xorg-x11-server-common-1.9.1-2.fc14.x86_64

Regards,
Benoit
Comment 1 Benoit Durif 2010-11-15 13:32:27 UTC
I have added "irqpoll" quirck for the kernel to take IRQ used by USB for mouse
and keyboard.
Not sure it can be related.
Comment 2 Benoit Durif 2010-11-15 13:45:03 UTC
Created attachment 40288 [details]
Corrupted screen of firefox taken using ksnapshot

Screenshot of firefox window showing typical corruption.
It also happens on the background and on the panel.
Comment 3 Alex Deucher 2010-11-15 13:48:38 UTC
Is this a recent regression in git?  If so, can you bisect?
Comment 4 Benoit Durif 2010-11-15 13:57:02 UTC
Created attachment 40289 [details]
/var/log/messages
Comment 5 Benoit Durif 2010-11-15 14:07:36 UTC
I cannot tell if this is a regression as I got this second hand hardware recently.

The original Radeon X300 card worked ok.
Only when I swapped it for an HD4350 I started to see those corruptions.
I also tried with a friend's HD4350 from another brand and see the same corruption.
Comment 6 Benoit Durif 2010-11-16 14:24:32 UTC
I went back to the commit below and still see the corruption.

commit f7a91ece264af9f3fd2fc18e99aefcda93ce9f5c
Author: Michel Dänzer <daenzer@vmware.com>
Date:   Mon Jun 14 08:52:16 2010 +0200

    Convert x(c)alloc/xfree to m/calloc/free.
    
    Fixes deprecation warnings with xserver master and should also work with older
    xservers.

The corruption are visible:
1. on the KDE panel,
2. on the bubbles that show up when cursor is over an icon on the panel or the desktop,
3. on the backgroud when KDE asks for confirmation to logout,
4. on regions of windows that are shown just after beeing scrolled behind the panel. Looks like panel corruption gets replicated on the windows (this is with desktop effects disabled).

With Gnome I have observed only problem number 3.

Benoit
Comment 7 Adam Jackson 2018-06-12 19:10:48 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.