Bug 170498 - Artifacts with latest update
Summary: Artifacts with latest update
Status: RESOLVED DUPLICATE of bug 171033
Alias: None
Product: kwin
Classification: Plasma
Component: compositing (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-06 01:40 UTC by Kristjan Ugrin
Modified: 2008-10-02 11:23 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
corrupted content (211.38 KB, image/png)
2008-09-06 01:41 UTC, Kristjan Ugrin
Details
crash report (4.24 KB, text/plain)
2008-09-06 01:42 UTC, Kristjan Ugrin
Details
corrupted content (260.46 KB, image/png)
2008-09-14 20:27 UTC, Kristjan Ugrin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kristjan Ugrin 2008-09-06 01:40:09 UTC
Version:           4.1.1 (using KDE 4.1.1)
OS:                Linux
Installed from:    SuSE RPMs

There is a problem with latest kwin and effects.
I use only basic plugins like:
- fade
- minimise
- present
- cover switch

With kwin 4.1.1-57.1 there are many artefacts on screen when using OpenGL desktop effects:
- when switching between windows content might not get properly repainted
- playing videos might result in white/gray stripes around movie where black bars should be
- kwin might crash when furiously doing something visually (like switching mplayer from windowed mode to fullscreen)
- after extended usage screen will go black / gray with only mouse visible. Applications are still active, but you cannot see anything - you have to kill X.

This problems appeared after kwin started to fail selfcheck with nvidia hardware (when a workaround was made for selfcheck).

I'll attach a screenshot and crash report.
Comment 1 Kristjan Ugrin 2008-09-06 01:41:31 UTC
Created attachment 27261 [details]
corrupted content

window content was corrupted when switcihg between opera and yast
Comment 2 Kristjan Ugrin 2008-09-06 01:42:13 UTC
Created attachment 27262 [details]
crash report

Crash with effects. More rare, but present.
Comment 3 Kristjan Ugrin 2008-09-06 01:52:59 UTC
Looking at kwin changelog, 2nd sept. was the biggest suspicious change introduced that might cause this (other than breaking also selfcheck):

Thu 04 Sep 2008 02:00:00 PM CEST
llunak@suse.cz
- temporarily disable kwin self-check until the problem is found
  (bnc#422532)

Wed 03 Sep 2008 02:00:00 PM CEST
dmueller@suse.de
- add libsensors4 support

Tue 02 Sep 2008 02:00:00 PM CEST
llunak@suse.cz
- switch to the kwin branch for 11.1 (e.g. bnc#418772)
Comment 4 Médéric Boquien 2008-09-06 01:53:37 UTC
Hello Kriko,

Could you indicate what is your graphics card and which driver you use. Thank you very much.
Comment 5 Kristjan Ugrin 2008-09-06 01:55:25 UTC
(In reply to comment #4)
> Hello Kriko,
> 
> Could you indicate what is your graphics card and which driver you use. Thank
> you very much.
> 

I have 7600GT with nvidia binary driver - 177.70. Effects were working fine before.
Comment 6 Jonas Nyrén 2008-09-06 01:57:52 UTC
I can confirm this bug. I have the exact same symptoms:
Windows don't get repainted properly all the time
in smplayer fullscreen mode, screen flashes and borders turn grey
had one crash so far, exactly the same as kriko described it: Mouse can still
be moved but there is no (visual) feedback from any programs and when switch
back and forth between X and a VT the screen is now black, but mouse is still
visible.

Opensuse 11 (kde4 factory repo), kde 4.1.1. Bug seems to have surfaced after
last update of kwin (2008-09-04, or possibly 09-02. Hard to say exactly as I
didn't restart kde4 until this morning and then I noticed this bug), I did not
experience this behaviour prior to that update.

I have an nvidia 6600GT, also running latest nvidia 177.70 beta drivers.
Comment 7 Jonas Nyrén 2008-09-06 10:48:35 UTC
Downgraded nvidia drivers to version 173.14.12 to rule out any problems with the beta drivers, and the problem still persists. So this must now be proven to be a completely kde-dependent problem?
Comment 8 Jaakko K. 2008-09-06 19:35:24 UTC
I'm using KDE 4.1.1 (OpenGL effects enabled) from the kde4 factory repo, with 9800GT and the latest beta drivers (177.70), and I don't get any artifacts, everything is working just like with 4.1.
Comment 9 Kristjan Ugrin 2008-09-07 11:55:58 UTC
I can confirm this on Radeon 9250SE with radeon driver too (OpenGL) - content is not properly updated.
It must be a kwin issue (or something in KDE)!
Comment 10 Richard Van Den Boom 2008-09-08 14:46:21 UTC
I have all these problems too.
They appeared after compiling the 4.1.65 packages for me (I'm running trunk).
4.1.64 introduced a regular flicker of all the screen, as if a full screen grey window was displayed for a short time.
This has disappeared in 4.1.65, but the rest occurs now : bad repaints (especially when GTK or wine windows are on screen), weird colours around Xv displays (for instance in the toolbar of Dragonplayer when set fullscreen), and this morning everything disappearing leaving a pale grey screen and just the mouse. Tasks are still running in the background though, when going to the console, I can see kmail, and other KDE programs still running and I started scripts in a Konsole that are still runing right now. So KDE is not rashed as a whole, but Kwin does have an issue.
Compositing self-check doesn't work either here, while everything worked perfectly up to 4.1.63.
Running Slackware-current, and having an ATI RV280 chip with recent git driver (which worked well before 4.1.63, I insist... ;-)).
Best regards,
Comment 11 Ivo Anjo 2008-09-09 01:08:46 UTC
Same here, noticed this after upgrading to 4.1.1 on openSUSE 11.0. I was using XRENDER compositing, but after switching to OpenGL (to try if it was an XRENDER bug), same thing.

As already said in some comments, it is really noticeable with GTK apps. Also when kwin freezes I just switch to a tty, log in and run another instance:
kwin --replace --display :0
and I get my desktop back. Those of you with this problem, try doing that, at least you wont't have to kill X and loose whatever you were doing.

I have an nvidia 8600GT with the 177.70 proprietary driver, although I was using an older version (177.13 or something) when this started; I upgraded in hopes of this being fixed.
Comment 12 Kristjan Ugrin 2008-09-14 20:25:32 UTC
UPDATE: this seems mostly to be happening when running opera (or maybe mostly reproducible).

So, install opera 9.5x

STEPS:
1. open opera, maximize window, navigate to a page - e.g. www.google.com
2. open another opera maximized window (ctrl+n) and navigate to different page, e.g. www.kde-apps.org
3. try to switch between those two windows, content should be broken on some areas

I can reproduce this on nvidia 7600GT (binary driver) and radeon 9250SE (OSS drivers), using OpenGL backend with Texture form pixmap.
Comment 13 Kristjan Ugrin 2008-09-14 20:27:46 UTC
Created attachment 27410 [details]
corrupted content

example of opera and corrupted content

*NOTE it works even with opera and any other qt app, but more hard to reproduce, this is not opera fault, didn't happend before, nor it doesn't without effects or with compiz.
Comment 14 Kristjan Ugrin 2008-09-14 20:54:25 UTC
Those who are all experiencing this, are you using opensuse?
I'm not sure, but it could be only opensuse related. If so, please comment here:
https://bugzilla.novell.com/show_bug.cgi?id=426171

Thank you!
Comment 15 Ivo Anjo 2008-09-14 20:58:42 UTC
I think this was already reported on opensuse here: https://bugzilla.novell.com/show_bug.cgi?id=422532 .

I don't think this is opensuse-only; I think the problem comes from the import of more recent code on opensuse, so only opensuse users are seeing it for now.
Comment 16 Kristjan Ugrin 2008-09-14 21:01:41 UTC
I wrote those comments, but since it is for another bug, they are probably ignoring them.
So I took further actions and opened a proper bug report. I wrote that this could be opensuse only related, because opensuse does patch some things internally (like kernel is heavily patched), but I don't know about kwin.
Comment 17 Kristjan Ugrin 2008-09-21 15:10:16 UTC
Might be related (kwin output):
kwin: X Error (error: <unknown>[DAMAGE+0], request: XDamageDestroy[DAMAGE+2], resource: 0x1601885)
Comment 18 Kristjan Ugrin 2008-09-22 16:38:30 UTC
Anyone affected tried compiz beside me?
I installed compiz fusion and the problem is gone, so it is a kwin problem.
Comment 19 Andries Radu 2008-09-22 17:04:46 UTC
I have the same problem with a fresh compiled version of kde4. I'm using kubuntu and kde4 (KDE 4.2 >= 20080918)
Comment 20 Christoph Feck 2008-09-27 19:28:05 UTC
I compiled SVN r865392 today, and I get white flashes and missing updates, this is clearly visible with e.g. autohiding panel (XRender on intel driver).
Comment 21 Lubos Lunak 2008-10-02 11:23:48 UTC

*** This bug has been marked as a duplicate of bug 171033 ***