Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 04-22-09, 11:22 AM   #1
save
Registered User
 
Join Date: Oct 2008
Posts: 7
Default [Bug Report] KDE4 Plasma looses theming and fonts with 180.44/180.51/185.19

Hi,

since several month I've the problem that running KDE 4.2.2 some time ( 2-3 h ) the plasma desktop "looses" its theming and fails to display fonts. (please see attached screenshots of how this looks).
At the time as this happens I've the following messages in my $HOME/.xsessions log file:

...
In file image/qpixmap_x11.cpp, line 1424: Out of memory
QPainter::begin: Paint device returned engine == 0, type: 3
QPainter::setCompositionMode: Painter not active
...

If I kill & restart plasma everything is fine for the next 2 - 3 hours. I've talked to some plasma guys if this behaviour could be plasma's fault but they told me that this is not the case instead they pointed out it could be a memory leak caused by the nvidia drivers.

I've attached the nvidia_bug_report log and an abstract of my .xsession log. Please let me know if there is information missing which helps you to debug this error.

My Setup:

Intel Quad Core CPU
GeForce 8500 GT (rev a1)
180.51 nvidia driver
Attached Thumbnails
Click image for larger version

Name:	corrupt_plasma.jpg
Views:	272
Size:	55.9 KB
ID:	36568  
Attached Files
File Type: gz nvidia-bug-report.log.gz (36.8 KB, 73 views)
File Type: txt memory_problem_qt.txt (2.8 KB, 1813 views)
save is offline   Reply With Quote
Old 05-03-09, 04:18 AM   #2
jui
Registered User
 
Join Date: May 2009
Posts: 4
Default Re: [Bug Report] KDE4 Plasma looses theming and fonts with 180.44/180.51/185.19

I have the same problem since I use KDE 4 (4.1, 4.2, 4.2.2). NV Driver version is: 180.44-0.1, I have 64 bit architecture and NV GForce 7800 GT.

QPainter::setCompositionMode: Painter not active
QPainter::end: Painter not active, aborted
QPainter::begin: Paint device returned engine == 0, type: 3
QPainter::setCompositionMode: Painter not active
QPainter::end: Painter not active, aborted
QPainter::begin: Paint device returned engine == 0, type: 3
QPainter::setCompositionMode: Painter not active
QPainter::end: Painter not active, aborted
QPainter::begin: Paint device returned engine == 0, type: 3
QPainter::setCompositionMode: Painter not active
QPainter::end: Painter not active, aborted
QPainter::begin: Paint device returned engine == 0, type: 3
QPainter::setCompositionMode: Painter not active
QPainter::end: Painter not active, aborted


Any idea ?
jui is offline   Reply With Quote
Old 05-03-09, 11:40 AM   #3
AaronP
NVIDIA Corporation
 
AaronP's Avatar
 
Join Date: Mar 2005
Posts: 2,487
Default Re: [Bug Report] KDE4 Plasma looses theming and fonts with 180.44/180.51/185.19

It's pretty unlikely that this is caused by a memory leak in the NVIDIA driver. More likely, plasma is leaking pixmaps or client-side X resources. A good first step would be to determine which process has the leak: when the errors start occurring, does top report a lot of memory allocated to the plasma process? Likewise, please run xrestop and see how much memory it attributes to the plasma process.
AaronP is offline   Reply With Quote
Old 05-04-09, 06:16 AM   #4
jui
Registered User
 
Join Date: May 2009
Posts: 4
Default Re: [Bug Report] KDE4 Plasma looses theming and fonts with 180.44/180.51/185.19

I didn't noticed anything special using xrestop after and before QPainter crash bottom bar:

Before:
xrestop - Display: localhost:0
Monitoring 53 clients. XErrors: 0
Pixmaps: 82719K total, Other: 171K total, All: 82891K total

res-base Wins GCs Fnts Pxms Misc Pxm mem Other Total PID Identifier
5200000 22 11 0 373 449 14508K 11K 14520K 32466 Qt-subapplication
1600000 129 2 0 356 836 12435K 22K 12458K 4520 kwin
4600000 0 22 0 35 32 7458K 1K 7459K ? <unknown>
6400000 0 22 0 25 21 7225K 1K 7226K ? <unknown>
5600000 8 5 0 210 266 4095K 6K 4101K 30957 Krusader
2e00000 8 2 0 135 200 3011K 4K 3016K 31475 CZ-Tunes - Silent Service II :: Amarok 2
1200000 6 2 0 51 79 200K 2K 202K 4744 kupdateapplet
5400000 3 1 0 48 61 170K 1K 171K 29984 kdesu
0800000 7 1 0 24 47 154K 1K 155K 4584 kmix
1800000 5 1 0 129 173 149K 4K 153K 4561 Qt-subapplication

After:
xrestop - Display: localhost:0
Monitoring 50 clients. XErrors: 0
Pixmaps: 107149K total, Other: 226K total, All: 107376K total

res-base Wins GCs Fnts Pxms Misc Pxm mem Other Total PID Identifier
5200000 24 14 0 2855 2958 28273K 70K 28343K 29957 Qt-subapplication
1600000 121 2 0 357 823 26840K 22K 26863K 4520 kwin
4600000 0 22 0 35 32 7458K 1K 7459K ? <unknown>
6400000 0 22 0 25 21 7225K 1K 7226K ? <unknown>
5600000 8 5 0 210 266 4095K 6K 4101K 30957 Krusader
2e00000 8 2 0 135 197 3011K 4K 3016K 31475 CZ-Tunes - Silent Service II :: Amarok 2
1200000 6 2 0 51 78 200K 2K 202K 4744 kupdateapplet
5400000 3 1 0 48 61 170K 1K 171K 29984 kdesu
0800000 7 1 0 24 46 154K 1K 155K 4584 kmix
1800000 5 1 0 129 171 149K 4K 153K 4561 Qt-subapplication

It's happen randomly. 3-5 hours all is ok, and suddenly bottom bar (task manager) disappear or stop working properly and I get loop message:

QPainter::setCompositionMode: Painter not active
QPainter::end: Painter not active, aborted
QPainter::begin: Paint device returned engine == 0, type: 3
QPainter::setCompositionMode: Painter not active
QPainter::end: Painter not active, aborted
QPainter::begin: Paint device returned engine == 0, type: 3
QPainter::setCompositionMode: Painter not active
QPainter::end: Painter not active, aborted
QPainter::begin: Paint device returned engine == 0, type: 3
QPainter::setCompositionMode: Painter not active
QPainter::end: Painter not active, aborted
QPainter::begin: Paint device returned engine == 0, type: 3
QPainter::setCompositionMode: Painter not active
QPainter::end: Painter not active, aborted
QPainter::begin: Paint device returned engine == 0, type: 3
QPainter::setCompositionMode: Painter not active

I have tried reinstall KDE, install different QT versions - no results.
jui is offline   Reply With Quote
Old 05-04-09, 03:33 PM   #5
Smertios
Registered User
 
Join Date: May 2009
Posts: 1
Default Re: [Bug Report] KDE4 Plasma looses theming and fonts with 180.44/180.51/185.19

Hello,

I can confirm this bug on my system here as well. It's the latest Kubuntu 9.04 (KDE 4.2.2) on an AMD64 running a GeForce 9500 GT with driver 180.44 from Ubuntu repository.

I get the same bunch of messages:
Code:
QPainter::begin: Paint device returned engine == 0, type: 3
QPainter::setCompositionMode: Painter not active
QPainter::end: Painter not active, aborted
QPainter::begin: Paint device returned engine == 0, type: 3
QPainter::setCompositionMode: Painter not active
QPainter::end: Painter not active, aborted
xrestop does not show any peculiarities:
Code:
xrestop - Display: :1
          Monitoring 53 clients. XErrors: 8
          Pixmaps:  153433K total, Other:     448K total, All:  153881K total

res-base Wins  GCs Fnts Pxms Misc   Pxm mem  Other   Total   PID Identifier
1c00000    38   20    0 4729 4855    40245K    115K  40360K 24884 Qt-subapplication
Please find my nvidia-bug-report.log attached to this post.
Thank you for your consideration of this matter.
Attached Files
File Type: gz nvidia-bug-report.log.gz (29.4 KB, 83 views)
Smertios is offline   Reply With Quote
Old 05-05-09, 03:19 AM   #6
save
Registered User
 
Join Date: Oct 2008
Posts: 7
Default Re: [Bug Report] KDE4 Plasma looses theming and fonts with 180.44/180.51/185.19

I've posted the link to this forum post to the plasma developer list with the hope that someone of the guys comment on this bug.
save is offline   Reply With Quote
Old 05-05-09, 09:18 AM   #7
wolf08
Registered User
 
Join Date: Mar 2008
Posts: 4
Default Re: [Bug Report] KDE4 Plasma looses theming and fonts with 180.44/180.51/185.19

I seem to remember some talk a few days ago about a Qt bug where X pixmaps were leaked when things were inserted into a cache with the same key.
wolf08 is offline   Reply With Quote
Old 05-05-09, 03:23 PM   #8
jui
Registered User
 
Join Date: May 2009
Posts: 4
Default Re: [Bug Report] KDE4 Plasma looses theming and fonts with 180.44/180.51/185.19

Tomorrow I'll try new KDE 4.3 on openSUSE 11.1. I hope this bug will be fixed...
jui is offline   Reply With Quote

Old 05-05-09, 03:26 PM   #9
Nico.Laus
Registered User
 
Join Date: Apr 2005
Posts: 12
Default Re: [Bug Report] KDE4 Plasma looses theming and fonts with 180.44/180.51/185.19

can't be an NVidia driver bug, because I got this at work (ATI FireGL, open source radeon driver) and on my laptop (intel graphics driver) as well -> must be a plasma bug (very annoying though)
btw: to follow the mailing list without being subscribed to it, here's the link to the mail "save" was referring to: http://mail.kde.org/pipermail/plasma...ay/005526.html

I already had a quick look into reporting that to the kde bug system but found lots of plasma-related bugs and wasn't quite sure how to name this one (it might have even been in there already - some sounded quite alike),
@save: since you already have the bugtraces, could you maybe have another look into that and report that? - you might post a link here for us to vote on it
Nico.Laus is offline   Reply With Quote
Old 05-06-09, 02:59 AM   #10
save
Registered User
 
Join Date: Oct 2008
Posts: 7
Default Re: [Bug Report] KDE4 Plasma looses theming and fonts with 180.44/180.51/185.19

The plasma bug is discussed here:

https://bugs.kde.org/show_bug.cgi?id=183191

Aaron Seigo discussed the pixmap leaking leaking bug in his blog:

http://aseigo.blogspot.com/2009/04/p...ory-usage.html
save is offline   Reply With Quote
Old 05-06-09, 04:19 AM   #11
kernelOfTruth
Gentoo Linux addict
 
Join Date: Nov 2007
Location: Vienna, Austria; Germany; hello world :)
Posts: 202
Default Re: [Bug Report] KDE4 Plasma looses theming and fonts with 180.44/180.51/185.19

*subscribes*

I'll let kde4 run for some hours and then see whether that triggers it too for me (running 185.18.08 on ~amd64, Gentoo)

kde 4.3svn latest from a few days ago
__________________
2.6.30-rc3-zen0+ w. compcache, reiser4 + ccreg40 (lzo-compression + checksumming)
gcc version 4.4.0-pre9999 built 20090425 (prerelease) rev. 146764 (Gentoo SVN)
gcc version 4.4.0 (Gentoo Hardened 4.4.0-r1, espf-0.2.1)
Ubuntu Jaunty/9.04 x86_64 Dell XPS M1330
kernelOfTruth is offline   Reply With Quote
Old 05-06-09, 08:35 AM   #12
jui
Registered User
 
Join Date: May 2009
Posts: 4
Default Re: [Bug Report] KDE4 Plasma looses theming and fonts with 180.44/180.51/185.19

@save thx for the links. I'll disabled seconds in my digital clock widget and now plasma is stable
jui is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 07:54 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.