Bug 185671

Summary: KDE hangs with white screen for windows when windows get closed
Product: [Plasma] kwin Reporter: Hemant Kumar <gethemant>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: gethemant, lemma
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Unspecified   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Hemant Kumar 2009-02-27 07:37:23 UTC
Version:            (using KDE 4.2.0)
Installed from:    Ubuntu Packages

I am using KDE 4.2 from Ubuntu Intrepid backports. I am not using compositioning and have Nvidia 8400GM graphics card with 180.29 version of Nvidia drivers.

Steps to reproduce:
1. Open 2 emacs frames (with C-x-5-2) and have lots of files open in them. Close them using C-x,C-c.

What happens:
1. KDE/Kwin freezes momentarily leaving white colored image in place of those Emacs windows for a while and after few seconds of freeze it automatically comes back and everything is normal again.

What should happen:
1. Emacs windows should close cleanly without freezing kwin.Note that, this problem isn't specific to Emacs. It happens with Konsole too, but it seems whatever window thats being closed should have lot of artifacts (or in other words shouldn't be a plain hello world application). 

Comments:
I will be glad to provide debugging information, If I can.But unfortunately I am not sure how to collect debug information there. The problem might be also with driver.
Comment 1 Hemant Kumar 2009-03-28 08:51:28 UTC
Can we get at least a confirmation on this bug? Or can anyone direct me how to submit some more information about what happens when KWin freezes? I tried searching through syslog,.xsession-errors,dmesg but nothing worthwhile came up.

Problem is really annoying and needs fixing IMHO.
Comment 2 Martin Flöser 2009-03-28 10:15:00 UTC
I would bet on it's a problem of NVIDIA driver. Such problems are really hard to confirm as it mostly requires to have the same hardware, running the same software versions, etc.

You might have a look at /var/log/Xorg.0.log when the problem happens. You might also try to just disable compositing when usinge emacs if it helps
Comment 3 Hemant Kumar 2009-04-30 11:36:45 UTC
I have filed a bug report with Nvidia developers, but I guess the bug is severe enough to have some attention from developers as well.

Couple of days back, I upgraded my laptop and workstation both to Kubuntu 9.04, both have nvidia graphics card (although my laptop has 8400M GS where as desktop has 6800 Turbo) and I can reproduce this problem on both the machines. 

Here is my bug report on Nvidia forums ( http://www.nvnews.net/vbulletin/showthread.php?t=132220 )
Comment 4 Hemant Kumar 2009-05-08 10:18:56 UTC
Very well, I have tried with latest Nvidia drivers as well as KDE 4.2.3 and still KDE freezes when you close certain Windows (such as Firefox with lot of tabs).
Comment 5 Michael Leupold 2010-10-10 18:14:30 UTC
I can't reproduce this bug on KDE trunk r1184315 on a NVIDIA 8600 GTS with 256.35 driver. Can you still reproduce this bug?
Comment 6 Thomas Lübking 2012-03-17 14:57:39 UTC
Bug reported against 4.2.0, no reply since 15 months and most important:
"I am not using compositioning"

The entire thing sounds like ARGB windows and a bug in the nvidia driver, in case you should actually still suffer from this issue, feel free to head over to forum.kde.org and seek for help.