Bug 244041 - kwin desktop effects
Summary: kwin desktop effects
Status: RESOLVED DUPLICATE of bug 243991
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: git master
Platform: Unlisted Binaries Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-09 15:35 UTC by mtz.inc ..
Modified: 2010-08-28 15:50 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
a picture showing corrupted window when effects are enabled (116.08 KB, image/png)
2010-07-09 15:35 UTC, mtz.inc ..
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mtz.inc .. 2010-07-09 15:35:03 UTC
Created attachment 48718 [details]
a picture showing corrupted window when effects are enabled

Version:           SVN (using Devel) 
OS:                Linux

kde4-config -v:
Qt: 4.6.3
KDE Development Platform: 4.5.60 (KDE 4.5.60 (KDE 4.6 >= 20100627))

I update from svn almost weekly and this problem started showing up sometime after 4.5 beta2. Updating kwin folder to beta2 solves this problem and this shows the problem was introduced after this point.

when i enable desktop effects, opened windows show up normally and then a few seconds later they look like they are getting repainted or something and a lower half of the window show up on the upper half and the window become unsable. The window can respond to clicks but any change of the window as a result of the click does not repaint the window.

The only way to make the window appear normal is to guess where the title bar is and move it a little bit and the window will go back to normal for a few seconds and the whole thing will start all over again.

effects i have enabled are:

log in, log out,shadow,wobby windows, dialog parent, box switch, desktop grid, flip switch and present window.

I have nvidia fx 5500 card and i am using the latest driver from their website, version 173.14.25

attached is a picture showing how corrupted windows get after  few seconds after a window shows up

Reproducible: Didn't try
Comment 1 mtz.inc .. 2010-07-30 01:31:39 UTC
just pulled kde 4.5.0 from tags branch and install it and i am still seeing the above behavior. 

The bug is always reproducible, the "i didnt try" statement above was auto produced by an option i see didnt and didnt check.

I am now using kde-4.5-beta2 kwin kdebase code to have effects on without the problem mentioned above. 

I wonder why nobody else has seen this ..
Comment 2 Martin Flöser 2010-07-30 06:57:27 UTC
Please try to disable the blur effect. If that does not help try to add your
graphicscard to the blacklists (as you have 4.5.0 you find it in
~/.kde[4]{0,1}/share/config/kwinrc)
Comment 3 mtz.inc .. 2010-07-30 08:45:26 UTC
it would have been nice if you also mentioned how to get the info to add to the config file from the card and how the info is to be added to the config file.

The blur effect is disabled.

i added the following in both blur and Lanczos section and the problem is still there
NVIDIA=GeForce FX 5500/AGP/SSE2:-:2.1.2 NVIDIA 173.14.25

i then replaced the above line with the following and try again the problem is there there:
NVIDIA=GeForce FX 5500/AGP/SSE2:-:2.1.2

"kwin --replace" command produces the following info hence i think i gave the right info

kwin(7775) KWin::CompositingPrefs::detectDriverAndVersion: GL vendor is "NVIDIA Corporation" 
kwin(7775) KWin::CompositingPrefs::detectDriverAndVersion: GL renderer is "GeForce FX 5500/AGP/SSE2" 
kwin(7775) KWin::CompositingPrefs::detectDriverAndVersion: GL version is "2.1.2 NVIDIA 173.14.25" 
kwin(7775) KWin::CompositingPrefs::detectDriverAndVersion: Detected driver "nvidia" , version "173.14.25"
Comment 4 Martin Flöser 2010-08-28 15:50:36 UTC
I think it's a duplicate of bug #243991 which is about a regression in legacy nvidia driver. If the bug is still present in 4.5.1 please reopen.

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