Bug 179081 - Desktop Effects lock Display after about 20 minutes
Summary: Desktop Effects lock Display after about 20 minutes
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-29 21:55 UTC by Peter Gückel
Modified: 2009-03-11 20:14 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Gückel 2008-12-29 21:55:17 UTC
Version:           4.1.85 (using Devel)
OS:                Linux
Installed from:    Compiled sources

When I enable Desktop Effects (verified with both OpenGL and XRender, although XRender is very slow and not really usable, hence I only use OpenGL), I can use the system for about 20 minutes. Then, suddenly, I notice that some plasmoids on the screen disappear (notes, for example, but the text remains) and in firefox, I am no longer able to open new tabs by clicking on a hyperlink, and I am unable to open any kde programs, not even Alt-F2, and the kmenu displays the names only, but the icons are missing. The system is unusable and I cannot even log out: I am forced to kill the X Server with ctrl-alt-backspace. I see a message on the black screen that says "Too many files in system". I restart the X Server and re-log in and all seems to work again (sometimes I think that it is slower and clicks in dolphin, for example, seem not to be as responsive, as it seems to take a long time for directories to be opened, but I cannot state this with certainty). I am able to use the system, again for about 20 minutes or perhaps up to 30, then it locks up again. This occures even when I have the screensaver running for a time and I don't use the system: I have to kill X and log back in when I want to resume working. I am using an onboard Intel 82G965 Integrated Graphics, and OpenGL is 1.4 Mesa 7.3-devel, with the i915 kernel module. I tried to 'grin and bear it', continuing to use the system as it was, logging out and back in again, but after about a day, I could no longer work that way and have had to disable Desktop Effects. I have reported the problem to bugzilla.redhat.com (Rex Dieter), but the consensus appears to be that the problem is "upstream" at kde.
Comment 1 lucas 2008-12-30 01:05:06 UTC
Can you link the Red Hat bug report please?
Comment 2 Peter Gückel 2008-12-30 01:28:46 UTC
Thanks for reminding me. I had intended to do so:

https://bugzilla.redhat.com/show_bug.cgi?id=468110
Comment 3 Peter Gückel 2009-01-12 03:06:22 UTC
I have updated to kde 4.2 beta 1 and the problem persists: "Too many open files in system" after about 30 minutes of use. It becomes impossible to save files or open programs when this occurs, necessitating killing X and logging back in.
Comment 4 Peter Gückel 2009-01-12 20:08:50 UTC
My mistake! I upgraded to rc1 (kde-4.1.96).
Comment 5 Joshua Bushey-Anello 2009-01-23 00:52:58 UTC
I am also experiencing this problem, though it takes longer for it to manifest for me. I can keep an eye on when it happens by periodically checking /proc/sys/fs/file-nr, when it spikes I know I need to save my work and/or turn off compositing for the rest of my session. Is there any iformation I can give to help figure out what is causing this?
Comment 6 Peter Gückel 2009-02-08 21:46:49 UTC
To keep you current, I have switched to Fedora Rawhide (now F11 alpha), since the last 2 weeks and the problem has disappeared. I suspect that either the X server or the xorg Intel driver was responsible.
Comment 7 Joshua Bushey-Anello 2009-02-08 21:57:24 UTC
Good to hear. A few days ago I was curious and switched the option "AccelMethod" in my xorg.conf to "XAA" and that turned out to be an almost solution as well. It doesn't handle Desktop Effects + Video and is noticeably slower and more error prone but it's better than XRender for people who don't want to switch to rawhide (just turn off Desktop Effects to play video).
Comment 8 Peter Gückel 2009-02-09 00:21:48 UTC
Fedora no longer uses xorg.conf (although one can, to force non-standard configs) and I prefer to keep it that way (one less headache for me to maintain and set up). I also had to turn off desktop effects, but now I can actually enjoy them. It is really nice :-)
Comment 9 Martin Flöser 2009-02-09 11:36:35 UTC
I am not sure what to do about this bug. It seems it only happens to Fedora users and upgrading or changing settings in xorg.conf solves it.

To me this bug is either downstream or invalid.