Bug 262824 - Display corruption when enabling desktop effects...
Summary: Display corruption when enabling desktop effects...
Status: RESOLVED UPSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: compositing (show other bugs)
Version: git master
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-11 06:31 UTC by Dawit Alemayehu
Modified: 2011-02-06 20:07 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
X org log file (39.44 KB, text/plain)
2011-01-11 06:33 UTC, Dawit Alemayehu
Details
kernel drm output (1.43 KB, text/plain)
2011-01-11 06:34 UTC, Dawit Alemayehu
Details
graphics hardware info (2.65 KB, text/plain)
2011-01-11 06:34 UTC, Dawit Alemayehu
Details
kwin debug output... (800 bytes, text/plain)
2011-01-11 06:35 UTC, Dawit Alemayehu
Details
GLEW Extension Info (178.89 KB, text/plain)
2011-01-11 06:37 UTC, Dawit Alemayehu
Details
screenshot... (306.33 KB, image/jpeg)
2011-01-11 07:34 UTC, Dawit Alemayehu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dawit Alemayehu 2011-01-11 06:31:33 UTC
Version:           SVN (using Devel) 
OS:                Linux

Whenever I attempt to enable desktop effects, I get a massive display corruption as can be seen in the attached screenshot. I attempted to troubleshoot it as much as I can, but I do not see what could possibly be causing this. It might be a driver related issue, but I thought I report this here first.

Reproducible: Always
Comment 1 Dawit Alemayehu 2011-01-11 06:33:54 UTC
Created attachment 55843 [details]
X org log file
Comment 2 Dawit Alemayehu 2011-01-11 06:34:21 UTC
Created attachment 55844 [details]
kernel drm output
Comment 3 Dawit Alemayehu 2011-01-11 06:34:59 UTC
Created attachment 55845 [details]
graphics hardware info
Comment 4 Dawit Alemayehu 2011-01-11 06:35:55 UTC
Created attachment 55846 [details]
kwin debug output...

This output was obtained by enabling the kwin debug area and then attempting to enable desktop effects...
Comment 5 Dawit Alemayehu 2011-01-11 06:37:13 UTC
Created attachment 55847 [details]
GLEW Extension Info
Comment 6 Dawit Alemayehu 2011-01-11 07:34:10 UTC
Created attachment 55850 [details]
screenshot...
Comment 7 Thomas Lübking 2011-01-11 15:27:18 UTC
buffer corruption -> it's likely a driver bug (or just broken HW ;-)

(ordered) wild guesses, try to disable:
- vsync
- blur
- sharpen
- (looking glas)
(and set the scale method to smooth)
Comment 8 Martin Flöser 2011-01-11 18:05:27 UTC
Add Fredrik to CC as he is our Radeon expert. (This is a R300 with Gallium - nice testing setup)
Comment 9 René Serral 2011-01-14 20:01:45 UTC
Strangely I experienced a similar issue today with a recent SVN update of the 4.6 branch.

However in my case the graphics card is a Intel GM965/GL960, using the 2.13.0 (after the bug I tried upgrading to 2.14.0 with exactly the same results). I can provide any information you need regarding my configuration, but it used to work with an update of the branch around three days ago.

Best
Comment 10 René Serral 2011-01-14 20:18:12 UTC
Forget my last comment, it was caused by an incomplete upgrade of my distribution.

Best.
Comment 11 Dawit Alemayehu 2011-01-21 01:47:58 UTC
(In reply to comment #7)
> buffer corruption -> it's likely a driver bug (or just broken HW ;-)
> 
> (ordered) wild guesses, try to disable:
> - vsync
> - blur
> - sharpen
> - (looking glas)
> (and set the scale method to smooth)

No difference with all except disabling the "vsync" option. If I disable the "vsync" option, I get the standard error message about not being able to activate desktop effects, i.e :

"Failed to activate desktop effects using the given configuration options. Settings will be reverted to their previous values.

Check your X configuration. You may also consider changing advanced options, especially changing the compositing type."
Comment 12 Dawit Alemayehu 2011-01-21 05:49:28 UTC
I tried with all the latest (read: testing aka bleeding edge) for my distro (ArchLinux):

ati-dri 7.10-1
kernel26 2.6.37-1
libdrm 2.4.23-1
libgl 7.10-1
mesa 7.10-1

No difference. BTW, this very same hardware used to work fine with desktop effects as recently as KDE 4.5. At some point between then and now this particular problems showed up. I refrained from reporting it in hopes it would go away with either the driver update or kwin update as usual, but it seems this time that is not the case.

Then again, the open source ati drivers, for which the r300 is supposed to be the most complete and stable, have been nothing but problematic for me for a long time on a four year old graphics hardware. In some releases everything worked perfectly fine and in others it simply works horribly.

Oh well... no bling for me and I so thoroughly enjoyed dragging my windows with the wobbly windows effect on... :(
Comment 13 Dawit Alemayehu 2011-02-06 20:07:28 UTC
This is a driver bug because I get the same display corruption in a simple 3D game, asteroids3D.