Cinnamon repetitive freezes/lags

Please post suggestions for improvement of Cinnamon here
https://github.com/linuxmint/Cinnamon
Post Reply
Silverspur
Level 1
Level 1
Posts: 13
Joined: Sat Jun 25, 2011 4:04 pm
Location: Toulouse, France

Cinnamon repetitive freezes/lags

Post by Silverspur » Tue Jan 24, 2017 4:26 pm

Hi!

I've just installed Linux Mint 18.1 Cinnamon (previous distro was an old LMDE, also with Cinnamon).

I experience the following issue: every 10 to 20 seconds, the GUI freezes for about 1 sec, and then continue as usual. These lags coincide with spurs in CPU activity up to 100%, as shown by this screenshot:
http://www.hostingpics.net/viewer.php?i ... onLags.png
(this was recorded while doing nothing special, and each surge seen on the screenshot caused a lag as described below).

The issue seems to increase with the uptime (the longer the machine has been on for, the longer each lag).

To be noted: the issue is critical when using the mouse wheel on the sound widget to increase/decrease the main sound level. The cursor moves very slowly to its new position, however fast the wheel is actioned.

I have no graphic card in the machine, thus using the Intel chipset with its driver (intel microcode v 3.20151106.1).

The issue seems to be very similar to this post (viewtopic.php?f=208&t=227638) but as far as I'm concerned, no satisfactory answer came out of it :(

Here is some more info on my system:

Code: Select all

> inxi -Fxz
System:    Host: willow Kernel: 4.4.0-59-generic x86_64 (64 bit gcc: 5.4.0)
           Desktop: Cinnamon 3.2.7 (Gtk 3.18.9-1ubuntu3.1)
           Distro: Linux Mint 18.1 Serena
Machine:   Mobo: ASUSTeK model: P8Z68-V PRO GEN3 v: Rev 1.xx
           Bios: American Megatrends v: 0402 date: 11/16/2011
CPU:       Quad core Intel Core i5-2500K (-MCP-) cache: 6144 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 26483
           clock speeds: max: 3700 MHz 1: 2262 MHz 2: 1982 MHz 3: 1690 MHz
           4: 1725 MHz
Graphics:  Card: Intel 2nd Generation Core Processor Family Integrated Graphics Controller
           bus-ID: 00:02.0
           Display Server: X.Org 1.18.4 drivers: intel (unloaded: fbdev,vesa)
           Resolution: 1920x1080@60.00hz
           GLX Renderer: Mesa DRI Intel Sandybridge Desktop
           GLX Version: 3.0 Mesa 11.2.0 Direct Rendering: Yes
Audio:     Card Intel 6 Series/C200 Series Family High Definition Audio Controller
           driver: snd_hda_intel bus-ID: 00:1b.0
           Sound: Advanced Linux Sound Architecture v: k4.4.0-59-generic
Network:   Card: Intel 82579V Gigabit Network Connection
           driver: e1000e v: 3.2.6-k port: f080 bus-ID: 00:19.0
           IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:    HDD Total Size: 560.1GB (28.8% used)
           ID-1: /dev/sda model: OCZ size: 60.0GB
           ID-2: /dev/sdb model: ST500DM002 size: 500.1GB
Partition: ID-1: / size: 20G used: 6.1G (34%) fs: ext4 dev: /dev/sda1
           ID-2: /home size: 385G used: 134G (37%) fs: ext4 dev: /dev/sdb1
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 34.0C mobo: N/A
           Fan Speeds (in rpm): cpu: 0
Info:      Processes: 214 Uptime: 19 min Memory: 1206.9/7888.3MB
           Init: systemd runlevel: 5 Gcc sys: 5.4.0
           Client: Shell (bash 4.3.461) inxi: 2.2.35

Code: Select all

> sudo lshw -C video
[sudo] Mot de passe de silverspur : 
  *-display               
       description: VGA compatible controller
       produit: 2nd Generation Core Processor Family Integrated Graphics Controller
       fabriquant: Intel Corporation
       identifiant matériel: 2
       information bus: pci@0000:00:02.0
       version: 09
       bits: 64 bits
       horloge: 33MHz
       fonctionnalités: msi pm vga_controller bus_master cap_list rom
       configuration: driver=i915 latency=0
       ressources: irq:44 mémoire:fb400000-fb7fffff mémoire:d0000000-dfffffff portE/S:f000(taille=64)

Code: Select all

> glxinfo | grep OpenGL
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) Sandybridge Desktop 
OpenGL core profile version string: 3.3 (Core Profile) Mesa 11.2.0
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 11.2.0
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 11.2.0
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00
OpenGL ES profile extensions:
Any idea?

User avatar
xenopeek
Level 24
Level 24
Posts: 22095
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: Cinnamon repetitive freezes/lags

Post by xenopeek » Tue Jan 24, 2017 4:35 pm

The system log may hold clues. Have a terminal ready and the next time the freeze happens run this command to show the system log for past 5 minutes and share the output here:
journalctl --no-pager -S -5minutes

Please also run this command to show any errors that occurred this boot and share the output also:
journalctl --no-pager -b -p3
Image

Silverspur
Level 1
Level 1
Posts: 13
Joined: Sat Jun 25, 2011 4:04 pm
Location: Toulouse, France

Re: Cinnamon repetitive freezes/lags

Post by Silverspur » Tue Jan 24, 2017 5:17 pm

No luck with the first command: --no entries--
(but it made me realize that some random Chinese IP was repeatedly trying to log as root on my machine :shock:)

Here is the result of the second one:

Code: Select all

journalctl --no-pager -b -p3
-- Logs begin at mar. 2017-01-24 21:34:30 CET, end at mar. 2017-01-24 22:04:39 CET. --
janv. 24 21:34:31 willow ntpdate[1111]: name server cannot be used: Temporary failure in name resolution (-3)
janv. 24 21:34:31 willow NetworkManager[837]: nm_device_get_device_type: assertion 'NM_IS_DEVICE (self)' failed
janv. 24 21:34:32 willow ntpd[1160]: error resolving pool 0.ubuntu.pool.ntp.org: Temporary failure in name resolution (-3)
janv. 24 21:34:32 willow mdm[1171]: PAM unable to dlopen(pam_kwallet.so): /lib/security/pam_kwallet.so: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce type
janv. 24 21:34:32 willow mdm[1171]: PAM adding faulty module: pam_kwallet.so
janv. 24 21:34:33 willow ntpd[1160]: error resolving pool 1.ubuntu.pool.ntp.org: Temporary failure in name resolution (-3)
janv. 24 21:34:34 willow bluetoothd[1279]: Failed to obtain handles for "Service Changed" characteristic
janv. 24 21:34:34 willow bluetoothd[1279]: Not enough free handles to register service
janv. 24 21:34:34 willow bluetoothd[1279]: Error adding Link Loss service
janv. 24 21:34:34 willow bluetoothd[1279]: Not enough free handles to register service
janv. 24 21:34:34 willow bluetoothd[1279]: Not enough free handles to register service
janv. 24 21:34:34 willow bluetoothd[1279]: Not enough free handles to register service
janv. 24 21:34:34 willow bluetoothd[1279]: Current Time Service could not be registered
janv. 24 21:34:34 willow bluetoothd[1279]: gatt-time-server: Input/output error (5)
janv. 24 21:34:34 willow bluetoothd[1279]: Not enough free handles to register service
janv. 24 21:34:34 willow bluetoothd[1279]: Not enough free handles to register service
janv. 24 21:34:34 willow bluetoothd[1279]: Sap driver initialization failed.
janv. 24 21:34:34 willow bluetoothd[1279]: sap-server: Operation not permitted (1)
janv. 24 21:34:34 willow ntpd[1160]: error resolving pool 2.ubuntu.pool.ntp.org: Temporary failure in name resolution (-3)
janv. 24 21:34:35 willow ntpd[1548]: bind(21) AF_INET6 fe80::48cd:e048:da9d:d90d%2#123 flags 0x11 failed: Cannot assign requested address
janv. 24 21:34:35 willow ntpd[1548]: unable to create socket on eno1 (5) for fe80::48cd:e048:da9d:d90d%2#123
janv. 24 21:34:35 willow ntpdate[1438]: the NTP socket is in use, exiting
janv. 24 21:34:36 willow ntpd[1548]: bind(24) AF_INET6 fe80::48cd:e048:da9d:d90d%2#123 flags 0x11 failed: Cannot assign requested address
janv. 24 21:34:36 willow ntpd[1548]: unable to create socket on eno1 (6) for fe80::48cd:e048:da9d:d90d%2#123
janv. 24 21:35:58 willow mdm[1171]: GLib-CRITICAL: g_key_file_get_string: assertion 'key_file != NULL' failed
janv. 24 21:35:58 willow mdm[1171]: GLib-CRITICAL: g_key_file_free: assertion 'key_file != NULL' failed
janv. 24 21:35:59 willow pulseaudio[2054]: [pulseaudio] backend-ofono.c: Failed to register as a handsfree audio agent with ofono: org.freedesktop.DBus.Error.ServiceUnknown: The name org.ofono was not provided by any .service files
janv. 24 21:35:59 willow pulseaudio[2149]: [pulseaudio] pid.c: Daemon already running.

Silverspur
Level 1
Level 1
Posts: 13
Joined: Sat Jun 25, 2011 4:04 pm
Location: Toulouse, France

Re: Cinnamon repetitive freezes/lags

Post by Silverspur » Sat Jan 28, 2017 4:12 pm

(bump) :wink:

JeWu
Level 1
Level 1
Posts: 34
Joined: Fri Dec 16, 2016 8:28 am

Re: Cinnamon repetitive freezes/lags

Post by JeWu » Fri Dec 08, 2017 9:06 am

Same here with Logitech BT Mouse M535.

The bluez developer team seems to ignore the issue for years, considering the vast amount of unsolved forums submissions I found during my web searches. :x

riseman
Level 1
Level 1
Posts: 8
Joined: Fri Aug 14, 2015 12:10 pm

Re: Cinnamon repetitive freezes/lags

Post by riseman » Sat Apr 14, 2018 9:42 pm

I had similar problem too in LM 18.2 and LM 18.3 Cinnamon.
I use laptop and it seems my problem exists only with external display attached.
First I noticed that steadily moving mouse-pointer stumbles every 20 seconds or so. I continuously move my hand but pointer stops for about 500ms.
Next I noticed that all video output is freezing in this moment.

As I remember I have eventually found some workaround for that. It was some rural magic - attach external display with laptop's lid closed or opened...
But LM had a few more painful issues with external display so I removed it from my laptop...

Hoser Rob
Level 10
Level 10
Posts: 3413
Joined: Sat Dec 15, 2012 8:57 am

Re: Cinnamon repetitive freezes/lags

Post by Hoser Rob » Sun Apr 15, 2018 10:13 am

Silverspur wrote:
Tue Jan 24, 2017 5:17 pm
... (but it made me realize that some random Chinese IP was repeatedly trying to log as root on my machine :shock:)...
I wish that was shocking. At any given time you're online there's very likely someone trying to get in.

Aren't you glad you use Linux rather than WIndows?

Post Reply

Return to “Cinnamon”