How to fix sudden slow-down of animations Cinnamon

Please post suggestions for improvement of Cinnamon here
https://github.com/linuxmint/Cinnamon
Post Reply
RTLinux
Level 1
Level 1
Posts: 4
Joined: Sat Nov 21, 2015 8:59 pm

How to fix sudden slow-down of animations Cinnamon

Post by RTLinux » Sat Dec 19, 2015 2:30 am

Rather often (though randomly), when I wake my Linux Mint Rafaela Cinnamon up from suspended state, all the animations in Cinnamon suddenly become very laggy - workspace switching, zoom out/in, even things like videos on Youtube, it's not even just Cinnamon. When I open up my System Monitor, I see the Cinnamon CPU usage has spiked to 40, though it is generally under 20. Overall, the CPU Usage increases significantly. My solution is to suspend it again and wake it up again. Is there any way to just prevent this from happening? Please tell me how to supply additional information to help solve this problem.

User avatar
chrisra
Level 1
Level 1
Posts: 28
Joined: Wed Dec 30, 2015 1:39 pm

Re: How to fix sudden slow-down of animations Cinnamon

Post by chrisra » Wed Dec 30, 2015 1:51 pm

I have the same problem, and "animations" in the title is really the wrong term, everything is slow. It is `cinnamon --replace` taking a lot of CPU time, e.g. 90% (of one core) while playing a video on YouTube, 40% while moving a window around, and so on. Also for me the behaviour stays after suspending or rebooting (or restarting innamon itself).

Shortly before this started, I replaced some panel icons, but reverting that change hasn't solved the problem.

I'm also on 17.2 (Rafaela), using a Dell XPS 13.

User avatar
chrisra
Level 1
Level 1
Posts: 28
Joined: Wed Dec 30, 2015 1:39 pm

Re: How to fix sudden slow-down of animations Cinnamon

Post by chrisra » Wed Dec 30, 2015 2:34 pm

According to specs my computer has Intel HD 5500 graphics, lshw -c video says:

Code: Select all

  *-display               
       description: VGA compatible controller
       product: Broadwell-U Integrated Graphics
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       version: 09
       width: 64 bits
       clock: 33MHz
       capabilities: msi pm vga_controller bus_master cap_list rom
       configuration: driver=i915 latency=0
       resources: irq:47 memory:f6000000-f6ffffff memory:e0000000-efffffff ioport:f000(size=64)
(I'm just writing this since other people had problem with this chip and Ubuntu 14.04, if of an entirely different nature: scrambled screen, missing letters... Read more here: https://bugs.launchpad.net/xserver-xorg ... ug/1432194)

One more thing, which may be entirely unrelated, but I honestly do not know:
every single cursor action, e.g. moving the cursor, clicking, leads to an error like this being written into /var/log/Xorg.0.log: (I don't want to think how slow this would make everything if I had a HDD!)

Code: Select all

(EE) BUG: triggered 'if (priv->num_active_touches > priv->num_slots)'
(EE) BUG: ../../src/synaptics.c:2825 in UpdateTouchState()
(EE)
(EE) Backtrace:
(EE) 0: /usr/bin/X (xorg_backtrace+0x48) [0x7fc1b6cffd28]
(EE) 1: /usr/lib/xorg/modules/input/synaptics_drv.so (0x7fc1adbd4000+0x2ce7) [0x7fc1adbd6ce7]
(EE) 2: /usr/lib/xorg/modules/input/synaptics_drv.so (0x7fc1adbd4000+0x5070) [0x7fc1adbd9070]
(EE) 3: /usr/lib/xorg/modules/input/synaptics_drv.so (0x7fc1adbd4000+0x68e2) [0x7fc1adbda8e2]
(EE) 4: /usr/bin/X (0x7fc1b6b57000+0x92e88) [0x7fc1b6be9e88]
(EE) 5: /usr/bin/X (0x7fc1b6b57000+0xbb5c0) [0x7fc1b6c125c0]
(EE) 6: /lib/x86_64-linux-gnu/libpthread.so.0 (0x7fc1b5c53000+0x10340) [0x7fc1b5c63340]
(EE) 7: /lib/x86_64-linux-gnu/libc.so.6 (__select+0x33) [0x7fc1b4763da3]
(EE) 8: /usr/bin/X (WaitForSomething+0x1ac) [0x7fc1b6cfd2cc]
(EE) 9: /usr/bin/X (0x7fc1b6b57000+0x55771) [0x7fc1b6bac771]
(EE) 10: /usr/bin/X (0x7fc1b6b57000+0x598aa) [0x7fc1b6bb08aa]
(EE) 11: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xf5) [0x7fc1b4693ec5]
(EE) 12: /usr/bin/X (0x7fc1b6b57000+0x44dde) [0x7fc1b6b9bdde]
(EE)
(EE) [dix] DLL0665:01 06CB:76AD UNKNOWN: unable to find touch point 0
(EE) [dix] DLL0665:01 06CB:76AD UNKNOWN: unable to find touch point 0
(EE) [dix] DLL0665:01 06CB:76AD UNKNOWN: unable to find touch point 0
(EE) [dix] DLL0665:01 06CB:76AD UNKNOWN: unable to find touch point 0
(EE) [dix] DLL0665:01 06CB:76AD UNKNOWN: unable to find touch point 0
(EE) [dix] DLL0665:01 06CB:76AD UNKNOWN: unable to find touch point 0
(EE) [dix] DLL0665:01 06CB:76AD UNKNOWN: unable to find touch point 0
(EE) [dix] DLL0665:01 06CB:76AD UNKNOWN: unable to find touch point 0
(EE) [dix] DLL0665:01 06CB:76AD UNKNOWN: unable to find touch point 0
(EE) [dix] DLL0665:01 06CB:76AD UNKNOWN: unable to find touch point 0
(EE) [dix] DLL0665:01 06CB:76AD UNKNOWN: unable to find touch point 0
More info from my side, as per inxi -Fxz:

Code: Select all

System:    Host: simmel Kernel: 3.19.0-22-generic x86_64 (64 bit, gcc: 4.8.2) 
           Desktop: Cinnamon 2.6.13  Distro: Linux Mint 17.2 Rafaela
Machine:   System: Dell product: XPS 13 9343
           Mobo: Dell model: 0310JH version: A00 Bios: Dell version: A05 date: 07/14/2015
CPU:       Dual core Intel Core i7-5500U CPU (-HT-MCP-) cache: 4096 KB flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 9577.32 
           Clock Speeds: 1: 2976.843 MHz 2: 2979.562 MHz 3: 2934.656 MHz 4: 2995.781 MHz
Graphics:  Card: Intel Broadwell-U Integrated Graphics bus-ID: 00:02.0 
           X.Org: 1.15.1 drivers: intel (unloaded: fbdev,vesa) Resolution: 3200x1800@60.0hz 
           GLX Renderer: Mesa DRI Intel Broadwell GLX Version: 3.0 Mesa 10.1.3 Direct Rendering: Yes
Audio:     Card-1: Intel Wildcat Point-LP High Definition Audio Controller driver: snd_hda_intel bus-ID: 00:1b.0 
           Card-2: Intel Broadwell-U Audio Controller driver: snd_hda_intel bus-ID: 00:03.0 
           Sound: Advanced Linux Sound Architecture ver: k3.19.0-22-generic
Network:   Card: Broadcom BCM4352 802.11ac Wireless Network Adapter driver: wl bus-ID: 02:00.0
           IF: wlan0 state: up mac: <filter>
Drives:    HDD Total Size: 512.1GB (54.9% used) 1: id: /dev/sda model: SAMSUNG_SSD_PM85 size: 512.1GB 
Partition: ID: / size: 46G used: 20G (45%) fs: ext4 ID: /home size: 424G used: 243G (61%) fs: ext4 
RAID:      No RAID devices detected - /proc/mdstat and md_mod kernel raid module present
Sensors:   System Temperatures: cpu: 77.0C mobo: 25.0C 
           Fan Speeds (in rpm): cpu: N/A 
Info:      Processes: 195 Uptime: 1 day Memory: 1782.6/7515.5MB Runlevel: 2 Gcc sys: 4.8.4 
           Client: Shell (bash 4.3.11) inxi: 1.9.17 

User avatar
chrisra
Level 1
Level 1
Posts: 28
Joined: Wed Dec 30, 2015 1:39 pm

Re: How to fix sudden slow-down of animations Cinnamon

Post by chrisra » Thu Dec 31, 2015 9:50 am

And in case this helps:

I now also installed MATE which does not have the same problem, everything (e.g. video) runs smoothly there. I also made sure to select "Cinnamon" from the session menu instead of "Cinnamon (software rendering)", before it was set to "Automatically detected". Just to be sure i also manually selected "software rendering", and that was even slower - i.e., it's not that the slow-down is caused by Cinnamon falling back to software rendering, the problem is completely different.

The reason I won't switch to MATE is that it doesn't work with my HiDPI display (everything is indecipherably small).

User avatar
chrisra
Level 1
Level 1
Posts: 28
Joined: Wed Dec 30, 2015 1:39 pm

Re: How to fix sudden slow-down of animations Cinnamon

Post by chrisra » Sat Jan 02, 2016 2:35 pm

Some more googling led me to this discussion, among several others:
https://github.com/linuxmint/Cinnamon/issues/4799

Here one suggested solution was right-clicking the panel, selecting "Troubleshoot", and there "Restore all settings to default". (Is there another, less-fiddly way to access these options?)

Anyway this solves it for me, if OP would try this I think we can mark it as solved , and hope that the next person finds it quicker than I did. The mystery still remains, of course. Note that the issue I linked is not officially solved yet.

User avatar
chrisra
Level 1
Level 1
Posts: 28
Joined: Wed Dec 30, 2015 1:39 pm

Re: How to fix sudden slow-down of animations Cinnamon

Post by chrisra » Mon Jan 11, 2016 1:40 pm

One more update: I've correlated the problem (for me) with the Sticky Notes (sticky@scollins) panel applet. The reset to defaults removed it. Adding it: cinnamon slowdown. Removing it: problem gone.
The applet was pretty terrible anyway, just a shame I haven't found anything more like its XFCE4 equivalent. Any tips are welcome!

Post Reply

Return to “Cinnamon”