Summary: | Amarok uses lots of CPU | ||
---|---|---|---|
Product: | [Applications] amarok | Reporter: | Frédéric COIFFIER <frederic.coiffier> |
Component: | general | Assignee: | Amarok Developers <amarok-bugs-dist> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 2.4.1.90 | ||
Target Milestone: | 2.4.2 | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Frédéric COIFFIER
2011-07-22 07:51:41 UTC
I have relaunched Amarok in debug mode : When Amarok is in systray and consumes lots of CPU, no debug messages are printed but there lot's of X's errors : X Error: BadDrawable (invalid Pixmap or Window parameter) 9 Extension: 149 (RENDER) Minor opcode: 4 (RenderCreatePicture) Resource id: 0x6e1d083 X Error: RenderBadPicture (invalid Picture parameter) 168 Extension: 149 (RENDER) Minor opcode: 7 (RenderFreePicture) Resource id: 0x6e1d081 X Error: BadPixmap (invalid Pixmap parameter) 4 Major opcode: 54 (X_FreePixmap) Resource id: 0x6e1d080 X Error: BadGC (invalid GC parameter) 13 Major opcode: 60 (X_FreeGC) Resource id: 0x6e1d082 X Error: BadDrawable (invalid Pixmap or Window parameter) 9 Major opcode: 55 (X_CreateGC) Resource id: 0x6e1d083 X Error: BadAlloc (insufficient resources for operation) 11 Major opcode: 53 (X_CreatePixmap) Resource id: 0x6e1d086 X Error: BadDrawable (invalid Pixmap or Window parameter) 9 Extension: 149 (RENDER) Minor opcode: 4 (RenderCreatePicture) Resource id: 0x6e1d086 X Error: RenderBadPicture (invalid Picture parameter) 168 Extension: 149 (RENDER) Minor opcode: 7 (RenderFreePicture) Resource id: 0x6e1d084 X Error: BadPixmap (invalid Pixmap parameter) 4 Major opcode: 54 (X_FreePixmap) Resource id: 0x6e1d083 X Error: BadGC (invalid GC parameter) 13 Major opcode: 60 (X_FreeGC) Resource id: 0x6e1d085 X Error: BadDrawable (invalid Pixmap or Window parameter) 9 Major opcode: 55 (X_CreateGC) Resource id: 0x6e1d086 X Error: BadAlloc (insufficient resources for operation) 11 Major opcode: 53 (X_CreatePixmap) Resource id: 0x6e1d089 In your second example, Amarok uses 1% of CPU, is this really the line you wanted to insert? Could you be a tad more precise about your graphics settings and compositing? In fact, it consumes CPU by phase during several minutes at 85%, several minutes around 1%... On my second line, it's the cumulated CPU time (45 min after 2h of execution) which is important (and the Amarok has stayed in systray without playing anything). In fact, I've found an important clue : the problem occurs ONLY when I'm remotely connected to my computer (with NX protocol [ http://www.nomachine.com/ ], a VNC-like) and ONLY when Amarok is minized in the systray. But I don't why there are so many XRender calls when Amarok is minized... Have you an explanation ? You didn't answer my second question :) Yes, you're right : in fact, with a remote connection, I can't use composition (no OpenGL). Message in systemsettings : "Desktop effects are not available on this system due to the following technical issues: Required X extensions (XComposite and XDamage) are not available." Thank you for the feedback, let's see if a developer can sort this out. Just for completeness sake: do you run Amarok in minimized mode? Also, do you use any external scripts and which applets do you use in the context view? Yes, the problem occurs only : - when Amarok is *started minimized* in the systray/notification area - when I'm remotely connected In the context view, I have just the Recently Added Albums. Other applets are empty as I don't play any music. And I'm using the Ultimate Lyrics script but this one doesn't run as no song is played. Thank you for the feedback. *** This bug has been marked as a duplicate of bug 279144 *** |