Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 311509 - Screen corruption, x11-base/xorg-server-1.7.6 with xf86-video-ati
Summary: Screen corruption, x11-base/xorg-server-1.7.6 with xf86-video-ati
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-26 21:11 UTC by Michael Mounteney
Modified: 2010-06-09 19:01 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
sample corruption screenshot (corruption.png,227.46 KB, image/png)
2010-03-26 21:12 UTC, Michael Mounteney
Details
emerge --info (in,3.86 KB, text/plain)
2010-03-26 21:13 UTC, Michael Mounteney
Details
Xorg log (Xorg.0.log,33.05 KB, text/plain)
2010-04-18 23:30 UTC, Michael Mounteney
Details
screen shot showing corruption (full-screen.png,326.43 KB, image/png)
2010-04-22 06:33 UTC, Michael Mounteney
Details
sample screenshot for gtk+ application (corruption.png,257.40 KB, image/png)
2010-04-22 08:30 UTC, Andreas K. Hüttel
Details
Xorg log (Xorg.0.log,44.62 KB, text/plain)
2010-04-22 08:31 UTC, Andreas K. Hüttel
Details
xorg.conf (xorg.conf,4.86 KB, text/plain)
2010-04-22 08:32 UTC, Andreas K. Hüttel
Details
emerge --info output (emerge-info.txt,4.44 KB, text/plain)
2010-04-22 08:32 UTC, Andreas K. Hüttel
Details
dmesg boot messages (dmesg.txt,60.85 KB, text/plain)
2010-04-22 08:38 UTC, Andreas K. Hüttel
Details
kernel configuration (config.txt,55.37 KB, text/plain)
2010-04-22 08:38 UTC, Andreas K. Hüttel
Details
kernel configuration (2.6.31-gentoo-r10, no radeonfb) (config.txt,53.81 KB, text/plain)
2010-04-22 10:26 UTC, Andreas K. Hüttel
Details
dmesg boot messages (2.6.31-gentoo-r10, no radeonfb) (dmesg.txt,56.21 KB, text/plain)
2010-04-22 10:27 UTC, Andreas K. Hüttel
Details
Xorg log (2.6.31-gentoo-r10, no radeonfb) (Xorg.0.log,42.28 KB, text/plain)
2010-04-22 10:27 UTC, Andreas K. Hüttel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Mounteney 2010-03-26 21:11:32 UTC
Occasionally when moving a window, screen corruption similar to that shown in the attachment will occur.  It is frequently around the button or toolbar area but has appeared in an email text pane.  It appears to be at the widget/control level as shading+unshading or moving off and on screen do not clear it.  HOWEVER 'effects' with compositing are enabled so the usual window redrawing rules probably don't apply.  Minimising and restoring the window DOES clear it.

lspci reports: 01:05.0 VGA compatible controller: ATI Technologies Inc Radeon XPRESS 200M 5955 (PCIE)
Comment 1 Michael Mounteney 2010-03-26 21:12:32 UTC
Created attachment 225375 [details]
sample corruption screenshot
Comment 2 Michael Mounteney 2010-03-26 21:13:10 UTC
Created attachment 225377 [details]
emerge --info
Comment 3 Andreas K. Hüttel archtester gentoo-dev 2010-04-18 20:01:50 UTC
Please attach your xorg.conf and Xorg.0.log
Which versions of kde, qt, xorg-server and of the driver are you using?
Comment 4 Michael Mounteney 2010-04-18 23:30:28 UTC
Created attachment 228347 [details]
Xorg log
Comment 5 Michael Mounteney 2010-04-18 23:31:03 UTC
No xorg.conf as this is a 'pure' HAL setup.  Xorg.0.log attached.

KDE 4.4.2, Qt 4.6.2 (Qt-core: 4.6.2-r1), xorg-server 1.7.6, xf86-video-ati 6.13.0.
Comment 6 Michael Mounteney 2010-04-22 06:33:47 UTC
Created attachment 228687 [details]
screen shot showing corruption

The attachment 'full-screen.png' shows corruption and might shed some light on the cause.  I clicked on the konqueror browser window horizontal scroll bar to pan to the right of the web page.  As can be seen, this has caused the green and purple background colour *from another window* *running a different, non-KDE application* to be copied into the browser window.  So it seems that the root cause of the corruption is colour data somehow being taken from the wrong part of the screen.

The other application is 'fullrecall' which does is not a KDE application and does not use the Qt widget set.
Comment 7 Andreas K. Hüttel archtester gentoo-dev 2010-04-22 08:23:56 UTC
I can confirm this, I see the same corruption. It's not a KDE issue though; here it started at the moment of the x11-base/xorg-server-1.7.6 stabilization / upgrade. I have desktop effects disabled, and one of the apps showing the worst corruption is freeciv.

Both x11-drivers/xf86-video-ati-6.13.0 and xf86-video-ati-6.12.6 are affected.

Files follow...
Comment 8 Andreas K. Hüttel archtester gentoo-dev 2010-04-22 08:30:05 UTC
Created attachment 228693 [details]
sample screenshot for gtk+ application
Comment 9 Andreas K. Hüttel archtester gentoo-dev 2010-04-22 08:31:24 UTC
Created attachment 228697 [details]
Xorg log
Comment 10 Andreas K. Hüttel archtester gentoo-dev 2010-04-22 08:32:11 UTC
Created attachment 228699 [details]
xorg.conf
Comment 11 Andreas K. Hüttel archtester gentoo-dev 2010-04-22 08:32:39 UTC
Created attachment 228701 [details]
emerge --info output
Comment 12 Chí-Thanh Christopher Nguyễn gentoo-dev 2010-04-22 08:36:33 UTC
Also give dmesg output.

You seem to have kms disabled, but some kind of boot splash? Ensure that you don't use radeonfb, or else things will not work properly.
Comment 13 Andreas K. Hüttel archtester gentoo-dev 2010-04-22 08:37:05 UTC
As a sidenote, since the x11-base/xorg-server-1.7.6 upgrade my display also
irregulary locks up when the screensaver becomes active. No visible screensaver
activity, unchanged image, no pointer visible, and no response to keyboard and
mouse at all. The power button acpi event is still processed and shuts the
machine down though. No useful info in the logs...

I suspect the OpenGL screensavers; since I took them out of the random
screensaver selection, I have not seen this again. May be related to the
corruption, or not...
Comment 14 Andreas K. Hüttel archtester gentoo-dev 2010-04-22 08:38:23 UTC
Created attachment 228703 [details]
dmesg boot messages
Comment 15 Andreas K. Hüttel archtester gentoo-dev 2010-04-22 08:38:40 UTC
Created attachment 228707 [details]
kernel configuration
Comment 16 Samuli Suominen (RETIRED) gentoo-dev 2010-04-22 08:39:34 UTC
not sure why freedesktop-bugs@ was CC'd, it's not a general dumping ground...
Comment 17 Andreas K. Hüttel archtester gentoo-dev 2010-04-22 08:41:46 UTC
Ok that may be the problem here - radeonfb.
Comment 18 Chí-Thanh Christopher Nguyễn gentoo-dev 2010-04-22 08:43:28 UTC
I guess there are two or more different issues in this bug.
What the original reporter sees is probably due to a radeonfb conflict.
Regarding OpenGL applications, these will only work properly on R600+ since kernel 2.6.32.
Comment 19 Andreas K. Hüttel archtester gentoo-dev 2010-04-22 10:26:05 UTC
(In reply to comment #17)
> Ok that may be the problem here - radeonfb.
> 

Negative. I made a 2.6.31-gentoo-r10 kernel without radeonfb, and still have the same problems. Files following...
Comment 20 Andreas K. Hüttel archtester gentoo-dev 2010-04-22 10:26:49 UTC
Created attachment 228727 [details]
kernel configuration (2.6.31-gentoo-r10, no radeonfb)
Comment 21 Andreas K. Hüttel archtester gentoo-dev 2010-04-22 10:27:21 UTC
Created attachment 228729 [details]
dmesg boot messages (2.6.31-gentoo-r10, no radeonfb)
Comment 22 Andreas K. Hüttel archtester gentoo-dev 2010-04-22 10:27:58 UTC
Created attachment 228731 [details]
Xorg log (2.6.31-gentoo-r10, no radeonfb)
Comment 23 Andreas K. Hüttel archtester gentoo-dev 2010-04-22 11:20:42 UTC
(In reply to comment #18)
> Regarding OpenGL applications, these will only work properly on R600+ since
> kernel 2.6.32.

The corruption is unchanged with 2.6.33-gentoo-r1 ... 
(please tell me if I should post the logs again)
Comment 24 dE 2010-05-17 14:26:42 UTC
This is not a Gentoo specific problem. I happens in Ubuntu also.

I recommend closing this bug, the freedesktop guys should take care of this. Talking to them will be more effective but there's already a bug off this, and it's well known.

All we can do is wait.

Tip -- adding fbdev and vesa to to your VIDEO_CARDS variable alongside radeon might increase your your 2d acceleration.
Comment 25 Andreas K. Hüttel archtester gentoo-dev 2010-05-18 07:40:00 UTC
(In reply to comment #24)
> This is not a Gentoo specific problem. I happens in Ubuntu also.
> 
> I recommend closing this bug, the freedesktop guys should take care of this.
> Talking to them will be more effective but there's already a bug off this, and
> it's well known.
> 
> All we can do is wait.

Could you please post the URL of the upstream bug here?
Comment 27 Michael Mounteney 2010-06-09 11:38:24 UTC
It's DRM.

Disable DRM and the problem does not manifest.
Comment 28 Rémi Cardona (RETIRED) gentoo-dev 2010-06-09 19:01:46 UTC
Disabling DRM is *not* recommended. Unfortunately, there seems to be nothing for us to fix, please track the bugs upstream directly.

Thanks