linuxmint / cinnamon

A Linux desktop featuring a traditional layout, built from modern technology and introducing brand new innovative features.
GNU General Public License v2.0
4.53k stars 736 forks source link

Slow loading time of Cinnamon at every laptop launch #9356

Open Nokia808 opened 4 years ago

Nokia808 commented 4 years ago
 * Cinnamon version: 4.4.8
 * Distribution: Fedora 32
 * Graphics hardware *and* driver used: Hybrid VGA (Intel Corporation HD Graphic 5500 + Radeon R7 M265 2GB)
 * 64 bit

I have slow loading time for Cinnamon DE. I measure it by time counter starting from entrance of login password (click of enter key after typing login password) till appearance of wallpaper to be 1 & 1/2 minutes. I tried to disable play slide option for wallpapers & using single wallpaper, & tried to disable many DE startup applications but no improvement ! I tried to disable Plank, but also not useful ...

I attached here xsession-error contents (I copied/past to txt file).

screen-shot

document.txt

My system further hardware info is as following: Lenovo ThinkPad e550 with Intel core i7 5500 CPU @ 2.40 GH X 2, RAM = 8 GB, HHD = 1 TB

leigh123linux commented 4 years ago

Maybe you should try either a new user account or a clean install of F32. You have filed multiple issues that don't reproduce here.

Cinnamon warning: Log level 128: unsetenv() is not thread-safe and should not be used after threads are created
Clutter-Message: 14:33:26.835: Sync method: PRESENTATION TIME
Failed to play sound: Sound disabled
Cjs-Message: 14:33:27.494: JS LOG: About to start Cinnamon
** Message: 14:33:27.583: nemo-desktop: session is cinnamon, establishing proxy
Cjs-Message: 14:33:27.722: JS LOG: [LookingGlass/info] Cinnamon.AppSystem.get_default() started in 224 ms
Cjs-Message: 14:33:27.739: JS LOG: [LookingGlass/info] loading user theme: /usr/share/themes/Mint-Y-Dark-Aqua/cinnamon/cinnamon.css
Cjs-Message: 14:33:27.769: JS LOG: [LookingGlass/info] added icon directory: /usr/share/themes/Mint-Y-Dark-Aqua/cinnamon
Cinnamon warning: Log level 128: posix_spawn avoided (fd close requested) 
Cjs-Message: 14:33:28.039: JS LOG: [LookingGlass/info] PlacesManager: Updating devices
Cjs-Message: 14:33:28.064: JS LOG: [LookingGlass/info] loaded at Wed Jun 03 2020 14:33:28 GMT+0100 (BST)
Cjs-Message: 14:33:28.064: JS LOG: Cinnamon started at Wed Jun 03 2020 14:33:28 GMT+0100 (BST)
Cjs-Message: 14:33:28.089: JS LOG: [LookingGlass/info] ExtensionSystem started in 0 ms
Cjs-Message: 14:33:28.089: JS LOG: [LookingGlass/info] DeskletManager started in 0 ms
Cjs-Message: 14:33:28.089: JS LOG: [LookingGlass/info] SearchProviderManager started in 0 ms
openGL version 4.6 detected (GL3 Cogl Driver)
MetaSyncRing disabled: couldn't find required GL extensions, or the minimum safe openGL version was not met
Cjs-Message: 14:33:28.246: JS LOG: [LookingGlass/info] Loaded applet show-desktop@cinnamon.org in 100 ms
Cjs-Message: 14:33:28.346: JS LOG: [LookingGlass/info] Loaded applet calendar@cinnamon.org in 98 ms
Cjs-Message: 14:33:28.365: JS LOG: [LookingGlass/info] Loaded applet removable-drives@cinnamon.org in 18 ms
Cjs-Message: 14:33:28.375: JS LOG: [LookingGlass/info] Role locked: tray
Cjs-Message: 14:33:28.380: JS LOG: [LookingGlass/info] Loaded applet systray@cinnamon.org in 16 ms
Cjs-Message: 14:33:28.420: JS LOG: [LookingGlass/info] Loaded applet keyboard@cinnamon.org in 40 ms
Cjs-Message: 14:33:28.433: JS LOG: [LookingGlass/info] Loaded applet xapp-status@cinnamon.org in 12 ms
Cjs-Message: 14:33:28.448: JS LOG: [LookingGlass/info] Role locked: notifications
Cjs-Message: 14:33:28.496: JS LOG: [LookingGlass/info] Loaded applet notifications@cinnamon.org in 64 ms
St-Message: 14:33:28.500: cogl npot texture sizes SUPPORTED
Cinnamon warning: Log level 128: posix_spawn avoided (automatic reaping requested) (fd close requested) 
Cjs-Message: 14:33:28.531: JS LOG: [LookingGlass/info] Loaded applet printers@cinnamon.org in 34 ms
Cjs-Message: 14:33:28.592: JS LOG: [LookingGlass/info] Role locked: panellauncher
Cjs-Message: 14:33:28.598: JS LOG: [LookingGlass/info] Loaded applet grouped-window-list@cinnamon.org in 68 ms
Cjs-Message: 14:33:28.636: JS LOG: [LookingGlass/info] Loaded applet power@cinnamon.org in 38 ms
Cjs-Message: 14:33:28.824: JS LOG: [LookingGlass/info] Loaded applet sound@cinnamon.org in 188 ms

(csd-power:2198): power-plugin-CRITICAL **: 14:33:28.840: abs_to_percentage: assertion 'max > min' failed
Cjs-Message: 14:33:28.888: JS LOG: [LookingGlass/info] Loaded applet network@cinnamon.org in 64 ms
Cjs-Message: 14:33:28.995: JS LOG: [LookingGlass/info] Loaded applet weather@mockturtl in 106 ms
Cinnamon warning: Log level 128: posix_spawn avoided (automatic reaping requested) (fd close requested) 
Cjs-Message: 14:33:29.138: JS LOG: Unknown network device type, is 14
Cjs-Message: 14:33:29.158: JS LOG: Unknown network device type, is 29
Cjs-Message: 14:33:29.581: JS LOG: [LookingGlass/info] Loaded applet menu@cinnamon.org in 586 ms
Cjs-Message: 14:33:29.582: JS LOG: [LookingGlass/info] AppletManager started in 1518 ms
Cjs-Message: 14:33:29.587: JS LOG: [LookingGlass/info] Cinnamon took 2092 ms to start

And my hardware isn't anything special :-)

$ inxi -Fzi
System:
  Kernel: 5.6.15-300.fc32.x86_64 x86_64 bits: 64 Desktop: Cinnamon 4.4.8 
  Distro: Fedora release 32 (Thirty Two) 
Machine:
  Type: Desktop Mobo: GIGABYTE model: MZGLKAP-00 v: 1.x serial: <filter> 
  UEFI: American Megatrends v: F6 date: 03/19/2019 
CPU:
  Topology: Quad Core model: Intel Celeron J4105 bits: 64 type: MCP 
  L2 cache: 4096 KiB 
  Speed: 799 MHz min/max: 800/2500 MHz Core speeds (MHz): 1: 706 2: 799 
  3: 798 4: 799 
Graphics:
  Device-1: Intel UHD Graphics 605 driver: i915 v: kernel 
  Display: x11 server: Fedora Project X.org 1.20.8 driver: modesetting 
  unloaded: fbdev,vesa resolution: 3840x2160~60Hz 
  OpenGL: renderer: Mesa Intel UHD Graphics 600 (GLK 2) v: 4.6 Mesa 20.0.7 
Audio:
  Device-1: Intel Celeron/Pentium Silver Processor High Definition Audio 
  driver: snd_hda_intel 
  Device-2: Thesycon System & Consulting D10 type: USB driver: snd-usb-audio 
  Sound Server: ALSA v: k5.6.15-300.fc32.x86_64 
Network:
  Device-1: Intel Dual Band Wireless-AC 3168NGW [Stone Peak] driver: iwlwifi 
  IF: wlp2s0 state: down mac: <filter> 
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  driver: r8169 
  IF: enp3s0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
  IP v4: <filter> type: dynamic noprefixroute scope: global 
  IP v6: <filter> type: noprefixroute scope: global 
  IP v6: <filter> type: noprefixroute scope: global 
  IP v6: <filter> type: noprefixroute scope: link 
  IF-ID-1: azirevpn-uk1 state: unknown speed: N/A duplex: N/A mac: N/A 
  IP v4: <filter> scope: global 
  IP v6: <filter> scope: global 
  WAN IP: No WAN IP found. Connected to web? SSL issues? Try --no-dig 
Drives:
  Local Storage: total: 465.76 GiB used: 293.26 GiB (63.0%) 
  ID-1: /dev/nvme0n1 vendor: Crucial model: CT500P1SSD8 size: 465.76 GiB 
Partition:
  ID-1: / size: 48.97 GiB used: 27.52 GiB (56.2%) fs: ext4 dev: /dev/dm-0 
  ID-2: /boot size: 975.9 MiB used: 231.6 MiB (23.7%) fs: ext4 
  dev: /dev/nvme0n1p2 
  ID-3: /home size: 399.45 GiB used: 265.06 GiB (66.4%) fs: ext4 
  dev: /dev/dm-2 
Swap:
  ID-1: swap-1 type: partition size: 7.73 GiB used: 445.5 MiB (5.6%) 
  dev: /dev/dm-1 
Sensors:
  System Temperatures: cpu: 42.0 C mobo: N/A 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 240 Uptime: 6d 16h 44m Memory: 7.58 GiB used: 4.57 GiB (60.3%) 
  Shell: bash inxi: 3.1.00 
Nokia808 commented 4 years ago

I'm very afraid that if I will do clean install of Fedora 32, I will end by same issue ....

I will attached new xsession-error file immediately generated after launched system (I observed that it is shorter, & when I trying to copy/past it just after click "copy" I receiving message saying "file changed, do you like to reload it"). I do not know if it can add something or not ... document2.txt

Also, what about hardware ? I have long standing issue with ACPI. Do dmesg of usefulness ?

leigh123linux commented 4 years ago

Try removing the thirdparty applets and desklets as they are adding 31 seconds to the startup

Cjs-Message: 06:58:47.412: JS LOG: [LookingGlass/info] Loaded applet **SpicesUpdate@claudiux** in 9346 ms
Cjs-Message: 06:58:37.621: JS LOG: [LookingGlass/info] DeskletManager started in 9438 ms
Cjs-Message: 06:58:48.690: JS LOG: [LookingGlass/info] AppletManager started in 22102 ms

FTR cinnamon took 35 seconds to start

Cjs-Message: 06:58:48.693: JS LOG: [LookingGlass/info] Cinnamon took 35334 ms to start
leigh123linux commented 4 years ago

I'm very afraid that if I will do clean install of Fedora 32, I will end by same issue ....

Did you try a new user account?

Also, what about hardware ? I have long standing issue with ACPI. Do dmesg of usefulness ?

That isn't our problem

Nokia808 commented 4 years ago

I disabled all 3rd party applet & desklets but no any improvement (as if the numbers of times are laying on us !!) ... No any improvement !!

I did not tried creating new user. I will tried later on ....

If I to make fresh installation, then I will shift from Fedora to new distro. I will select either Debian or OpenSUSE. But the problem is that: Debian though very fast & flexible like mercury (indeed you feel yourself like using Mac OS) + being stable & has no such problems at all, it's packages are old (at least 2 years behind last version). Flatpak minimize this issue, but not every thing existing in FlatHub & flatpak has certain limitations which prevent some programs from shipped in flatpak format .... On other hand, OpenSUSE (leap) is stable & excellent GUI with packages version in between Fedora & Debian, but problem is that it is legally linked to SUSE enterprise & later linked legally with Microsoft which make OpenSUSE blocked from receiving system update/upgrade if user reside inside one of USA blacklist of embargo involved countries like Cuba, North Korea, Syria, Lybia, .......... so that it will be killed in such area. To me I'm inside Iraq & currently Iraq not involved in this blacklist. But there is high risk to be included in this blacklist in near future ....... And here I'm confronted .... Linux Mint have no any sandbox application - apparmor removed by default ......

leigh123linux commented 4 years ago

@Nokia808 Post xsession-error with all 3rd party applet & desklets disabled

Nokia808 commented 4 years ago

@leigh123linux Here it is: document3.txt

Nokia808 commented 4 years ago

@leigh123linux Sorry for delay in further response due to cut in Internet ... Dear developer, I noticed that when I disable all 3rd party extensions/desklets (including "shut-down menu & icons") so become enforced to use system shut-down option of cinnamon, I received the following message about "Plank" - see bellow:

plank

I have to click "Shut Down Anyway" to power my laptop OFF, & when I did so there will be time delay before shut-down while if I used "shut-down menu & icon" applet it will immediately shut-down without such delay ! Why ?

I decided to disable "Plank" & ALL 3rd part extensions/desklets & see what will happened.

I gain shorter cinnamon DE launching time by 35 seconds !! It was 1 & 1/2 minutes & became 51 seconds only ! I tried only Plank but failed, & tried only 3rd party extensions/desklets & also failed ! Only when I disabled BOTH Plank + 3rd party extensions/desklets then I will have improvement ! Moreover, I discovered that "Play background as slides" option HAS NO ANY EFFECT on launching time of cinnamon !! I have 2 GB wallpapers (more than 1019 images). If I enable this option no any increment in launching time happened & if I disabled it there will be no any decrease in launching time !!

This reflect the following: 1) Cinnamon need to urgent fix the delay that resulted from 3rd party extensions/desklets because such delay represent big downside for this DE. It will be very nice if cinnamon can deal with 3rd party extensions/desklets in the same way that it deal with 2 GB (1019 images) so that no delay result from using them ... 2) it should fix delay that result from enable "Plank" at start up because this program needed by many users for cosmetic add to DE. If this impossible & you can fix point (1) above then it will be useful if we have extension or desklet do Plank work .... I remember that there was such 3rd party add-on but now I can not find it !

At least should fix point (1) above. Otherwise it will be big failure of Cinnamon & it will be better to use other DE like XFCE or Mate ...

Please can you from your side install Plank & enable it at startup + install & enabling the following 3rd party extensions/desklets & see how long it will be your cinnamon launching time become ? The following 3rd party add-ons are installed & enabled on my system: a. “Caps/Num Lock with Message try notification” applet b. “Brightness & gamma applet” [I enabled it to start at start up from within it's own setting] c. “Screenshot+Record Desktop” applet d. “Force Quit” applet e. “Cinnamonu” applet f. “Restart Cinnamon” applet g. “Shutdown Menu with Icons” applet After installing it, change command for “switch user” option to dm-tool switch-to-greeter h. “Battery Applet with Monitoring & Shutdown (BMAS)” i. "Internet Search Box" applet j. Analog clock desklet k. Spices Update l. Healthy Eyes Also, I enabled the following buit-in applets that disabled by defaults: a. Scale (just activate it, pre-installed) b. Expo (just activate it, pre-installed)

The question now: you said that "FTR cinnamon took 35 seconds to start". If you mean by FTR, WITHOUT 3RD PARTY ADD-ON (please correct to me if I'm wrong regarding FTR) then is it wise to do clean fresh installation of Fedora 32 ? The difference between 51 seconds (in my case) & the ideal time which is 35 seconds is merely 11 seconds. Does these 11 seconds wise the clean installation ?

Also, I'm waiting your conformation to the need to create new user account to complete the analysis of this issue.

Really I would like to see Cinnamon DE free from bugs & ideal & better than XFCE in resources consumption. Cinnamon DE save me along the previous 4 years ago from evils of GNOME DE. When I bought my laptop 4 years ago, was in my mind install GNU/Linux distro with XFCE ... But I confronted by the fact that XFCE has no built-in nor even add-on for support CapsLock & NumLock keys which is very vital to my laptop because it has no LED for these 2 keys ... Only GNOME & Cinnamon has such support (GNOME has only add-on while Cinnamon has both excellent built-in support option & 3rd party add-on). I tried GNOME & it show me over 1 month usage all evils ! Your Cinnamon DE save me & serve me all these 4 years & I will be ready to service it now to make it better than it's current state ....

leigh123linux commented 4 years ago

Sorry I have zero intention to try plank or any applets, both my PC's have critical rpmfusion task duties. My media PC is responsible for signing the rpmfusion packages and isn't easy to replicate if it gets broken. My workstation is currently running a rpmfusion builder and is also busy being used for ffmpeg-4.3 and cinnamon-4.6 testing.

Try the new user account as it will have all the current f32 dconf and other changes that your current user account is lacking.

Nokia808 commented 4 years ago

@leigh123linux Okay, never mind !

But you said something very interesting ! You said "as it will have all the current f32 dconf and other changes that your current user account is lacking" If the problem with dconf (& other DE cache) then it will be possible & easy to treat problem of current user account by deleting the problematic cache parts (or even whole cache). Can you, kindly, point to me what are the "other" that needed to be deleted ...

Nokia808 commented 4 years ago

@leigh123linux Dear what you meant by "FTR" ? I searched the Internet & found so many meanings - see: https://acronyms.thefreedictionary.com/FTR

Nokia808 commented 4 years ago

@leigh123linux Dear developer I wish you will do not ignore replay to this: I removed Plank completely from my system & noticed a big improvement. Now, after uninstall Plank completely from my system (not just disable it from start up), the loading time of my Cinnamon is 41 second only AND THIS WHILE I STILL HAVE 1 3RD PARTY DESKLET & 6 3RD PARTY APPLETS ARE ENABLED which are:

See https://github.com/linuxmint/cinnamon/issues/9374

Even if I disable Plank from start up but not uninstall it, I was suffering from delay 1 & 1/2 minutes even if I enabled single 3rd party applet ! I was enforced to disable ALL 3rd party add-ons + disable Plank from start up to achieve 51 second loading time ! But now, even with 7 3rd party add-ons still enabled, I achieved 41 second loading time ! Also, I noticed that all my system improved in it's speed.

Now my Cinnamon is just 6 (or say even 7) seconds more than 35 seconds. Is this accepted from technical health point of view ? I'm asking because my current account have all my digital things over previous 4 years, & it will be bothering to copy/past all contents from current user account to new account ... Also, I have many public keys imported & more than these all my emails stored on my hard ...

Edit at 20 / 6 / 2020: I forgot to mention "Battery applet with monitoring & shutdown (BAMS)". I added it to list & correct numbers ...

leigh123linux commented 4 years ago

@leigh123linux Dear what you meant by "FTR" ? I searched the Internet & found so many meanings - see: https://acronyms.thefreedictionary.com/FTR

FTR = For The Record

leigh123linux commented 4 years ago

@leigh123linux Dear developer I wish you will do not ignore replay to this:

I haven't been receiving any github replies due to my fedoraproject.org email address being affected by fedora moving their infra to a new datacentre.

I removed Plank completely from my system & noticed a big improvement. Now, after uninstall Plank completely from my system (not just disable it from start up), the loading time of my Cinnamon is 41 second only AND THIS WHILE I STILL HAVE 1 3RD PARTY DESKLET & 5 3RD PARTY APPLETS ARE ENABLED which are:

* brightness & gamma applet (already enable it at start up also),

* shutdown menu with icons applet

* restart cinnamon applet

* force quit applet

* NumLock/CapLock indicator with notifications applet

* CobiAnalogClock desklet

See #9374

Even if I disable Plank from start up but not uninstall it, I was suffering from delay 1 & 1/2 minutes even if I enabled single 3rd party applet ! I was enforced to disable ALL 3rd party add-ons + disable Plank from start up to achieve 51 second loading time ! But now, even with 6 3rd party add-ons still enabled, I achieved 41 second loading time ! Also, I noticed that all my system improved in it's speed.

Now my Cinnamon is just 6 (or say even 7) seconds more than 35 seconds. Is this accepted from technical health point of view ? I'm asking because my current account have all my digital things over previous 4 years, & it will be bothering to copy/past all contents from current user account to new account ... Also, I have many public keys imported & more than these all my emails stored on my hard ...

Just login to the new account to see if it's quicker than yours.

Nokia808 commented 4 years ago

@leigh123linux Hi again. I tried to remove "dconf" folder only as following:

Then shutdown my system & waited for complete 5 minutes (in fact tne needed only 3 minutes) to allow RAM to evacuated ... Finally, I launch my PC, & login to my current user account. Most of my Cinnamon setting (theme, fonts, animations, applets & panels setting ......) are lost. My Cinnamon appeared to me as if it is came from fresh installation ... I did not see any improvement !

Here I attach xsession-errors. But please notice that this xsession-errors is after I restored nearly all my old settings (fonts, theme, re-enabling some of my 3rd party add ons .... after I loss hope of any improvement after many restarts of my PC). I see it now containing more frank errors. Kindly, see them they may bring a light on what cause this slowing.

after-dconf-removed.txt

leigh123linux commented 4 years ago

@leigh123linux Hi again. I tried to remove "dconf" folder only as following:

* launch my system,

* login to my current user account,

* logout from my current user account, then

* enter to tty terminal using (Ctrl+Alt then press F2),

* from tty terminal I login to my current user account, then
  $ cd /home/muusername/.config
  $ ls
  $ rm -rf dconf

Then shutdown my system & waited for complete 5 minutes (in fact tne needed only 3 minutes) to allow RAM to evacuated ... Finally, I launch my PC, & login to my current user account. Most of my Cinnamon setting (theme, fonts, animations, applets & panels setting ......) are lost. My Cinnamon appeared to me as if it is came from fresh installation ... I did not see any improvement !

Here I attach xsession-errors. But please notice that this xsession-errors is after I restored nearly all my old settings (fonts, theme, re-enabling some of my 3rd party add ons .... after I loss hope of any improvement after many restarts of my PC). I see it now containing more frank errors. Kindly, see them they may bring a light on what cause this slowing.

after-dconf-removed.txt

All I see is errors from the thirdparty applet

(cinnamon:1515): Cjs-WARNING **: 08:40:37.210: JS ERROR: Exception in callback for signal: destroy: TypeError: null has no properties
anonymous/MyApplet.prototype._notifyMessage/<@/home/user1945/.local/share/cinnamon/applets/betterlock/applet.js:129:13
_emit@resource:///org/cinnamon/cjs/modules/signals.js:142:27
Notification.prototype._onDestroy@/usr/share/cinnamon/js/ui/messageTray.js:1029:9
destroy@/usr/share/cinnamon/js/ui/environment.js:118:13
Notification.prototype.destroy@/usr/share/cinnamon/js/ui/messageTray.js:1034:9
anonymous/MyApplet.prototype._notifyMessage@/home/user1945/.local/share/cinnamon/applets/betterlock/applet.js:112:13
anonymous/MyApplet.prototype._updateState@/home/user1945/.local/share/cinnamon/applets/betterlock/applet.js:185:17

(cinnamon:1515): Cjs-WARNING **: 08:40:48.342: JS ERROR: Exception in callback for signal: destroy: TypeError: null has no properties
anonymous/MyApplet.prototype._notifyMessage/<@/home/user1945/.local/share/cinnamon/applets/betterlock/applet.js:129:13
_emit@resource:///org/cinnamon/cjs/modules/signals.js:142:27
Notification.prototype._onDestroy@/usr/share/cinnamon/js/ui/messageTray.js:1029:9
destroy@/usr/share/cinnamon/js/ui/environment.js:118:13
Notification.prototype.destroy@/usr/share/cinnamon/js/ui/messageTray.js:1034:9
anonymous/MyApplet.prototype._notifyMessage@/home/user1945/.local/share/cinnamon/applets/betterlock/applet.js:112:13
anonymous/MyApplet.prototype._updateState@/home/user1945/.local/share/cinnamon/applets/betterlock/applet.js:185:17

(cinnamon:1515): Cjs-WARNING **: 08:40:49.029: JS ERROR: Exception in callback for signal: destroy: TypeError: null has no properties
anonymous/MyApplet.prototype._notifyMessage/<@/home/user1945/.local/share/cinnamon/applets/betterlock/applet.js:129:13
_emit@resource:///org/cinnamon/cjs/modules/signals.js:142:27
Notification.prototype._onDestroy@/usr/share/cinnamon/js/ui/messageTray.js:1029:9
destroy@/usr/share/cinnamon/js/ui/environment.js:118:13
Notification.prototype.destroy@/usr/share/cinnamon/js/ui/messageTray.js:1034:9
anonymous/MyApplet.prototype._notifyMessage@/home/user1945/.local/share/cinnamon/applets/betterlock/applet.js:112:13
anonymous/MyApplet.prototype._updateState@/home/user1945/.local/share/cinnamon/applets/betterlock/applet.js:185:17

(cinnamon:1515): Cjs-WARNING **: 08:40:52.239: JS ERROR: Exception in callback for signal: destroy: TypeError: null has no properties
anonymous/MyApplet.prototype._notifyMessage/<@/home/user1945/.local/share/cinnamon/applets/betterlock/applet.js:129:13
_emit@resource:///org/cinnamon/cjs/modules/signals.js:142:27
Notification.prototype._onDestroy@/usr/share/cinnamon/js/ui/messageTray.js:1029:9
destroy@/usr/share/cinnamon/js/ui/environment.js:118:13
Notification.prototype.destroy@/usr/share/cinnamon/js/ui/messageTray.js:1034:9
anonymous/MyApplet.prototype._notifyMessage@/home/user1945/.local/share/cinnamon/applets/betterlock/applet.js:112:13
anonymous/MyApplet.prototype._updateState@/home/user1945/.local/share/cinnamon/applets/betterlock/applet.js:185:17

(cinnamon:1515): Cjs-WARNING **: 08:40:56.794: JS ERROR: Exception in callback for signal: destroy: TypeError: null has no properties
anonymous/MyApplet.prototype._notifyMessage/<@/home/user1945/.local/share/cinnamon/applets/betterlock/applet.js:129:13
_emit@resource:///org/cinnamon/cjs/modules/signals.js:142:27
Notification.prototype._onDestroy@/usr/share/cinnamon/js/ui/messageTray.js:1029:9
destroy@/usr/share/cinnamon/js/ui/environment.js:118:13
Notification.prototype.destroy@/usr/share/cinnamon/js/ui/messageTray.js:1034:9
anonymous/MyApplet.prototype._notifyMessage@/home/user1945/.local/share/cinnamon/applets/betterlock/applet.js:112:13
anonymous/MyApplet.prototype._updateState@/home/user1945/.local/share/cinnamon/applets/betterlock/applet.js:185:17

(cinnamon:1515): Cjs-CRITICAL **: 08:40:56.830: Object St.Button (0x555728861c90), has been already deallocated - impossible to access to it. This might be caused by the fact that the object has been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs
== Stack trace for context 0x555726c32000 ==
#0 0x555726ebf560 i   /usr/share/cinnamon/js/misc/fileUtils.js line 210 > Function:106 (0x7f6071dc1ab0 @ 77)
#1 0x555726ebf4a0 i   self-hosted:918 (0x7f60a80e6670 @ 394)
#2 0x7fff8928eae0 b   resource:///org/cinnamon/cjs/modules/signals.js:142 (0x7f60a80d8098 @ 386)
#3 0x555726ebf338 i   /usr/share/cinnamon/js/ui/messageTray.js:1845 (0x7f6071e8cb38 @ 196)
#4 0x555726ebf2a8 i   /usr/share/cinnamon/js/ui/messageTray.js:1658 (0x7f6071e8c670 @ 43)
#5 0x555726ebf220 i   /usr/share/cinnamon/js/ui/tweener.js:256 (0x7f60a80e1b38 @ 37)
#6 0x555726ebf180 i   resource:///org/cinnamon/cjs/modules/tweener/tweener.js:204 (0x7f60a80d8ef0 @ 54)
#7 0x555726ebf060 i   resource:///org/cinnamon/cjs/modules/tweener/tweener.js:338 (0x7f60a80d8f78 @ 1742)
#8 0x555726ebefd0 i   resource:///org/cinnamon/cjs/modules/tweener/tweener.js:351 (0x7f60a80de098 @ 100)
#9 0x555726ebef58 i   resource:///org/cinnamon/cjs/modules/tweener/tweener.js:366 (0x7f60a80de120 @ 10)
#10 0x555726ebee88 i   resource:///org/cinnamon/cjs/modules/signals.js:142 (0x7f60a80d8098 @ 386)
#11 0x555726ebedf8 i   /usr/share/cinnamon/js/ui/tweener.js:413 (0x7f60a80e63c8 @ 120)
#12 0x555726ebed70 i   /usr/share/cinnamon/js/ui/tweener.js:389 (0x7f60a80e6340 @ 20)
#13 0x555726ebecb0 i   self-hosted:918 (0x7f60a80e6670 @ 394)
Nokia808 commented 4 years ago

But even without those 3rd applets, loading time is long !

Nokia808 commented 4 years ago

Is there a further need to creating new user account ?

Nokia808 commented 4 years ago

@leigh123linux The error about 3rd party applet "betterlock" seem to be cosmetic because it working without any apparent problem nor a mistake. More importantly, those errors related to this 3rd party applet is not related to loading time because I think it was generated after loading of Cinnamon. The cause which bring me to this feeling is that I did not copy/past the previous xsession error at once after loading DE, but after many minutes. To be sure, I repeated copy/past just after loading of Cinnamon & it is empty from those errors - see attached file. just-after-launching.txt

Nokia808 commented 4 years ago

@leigh123linux The situation now very bad after deletion of dconf folder ! Now my loading time is 56 second AFTER disabling of ALL 3rd party add-ons ! I will try creation new user account in the coming days. But I'm very sure that this will add no thing & new user account will have same problem ... It seem that Cinnamon, currently, has internal errors in it's build-in structure ! What can I do (or we do) after failure of new account creation ?

sklages commented 4 years ago

Is there a further need to creating new user account ?

Sure. @leigh123linux just wanted you to create a new = fresh user account for debugging as there are no "over-the-time-grown" configs. If it is as slow as your standard account, it is worth further investigating. If not, you should migrate your old account (data) to the new one and successively install all your 3rd party stuff (while "monitoring" start-up times).

Nokia808 commented 4 years ago

@leigh123linux @sklages Hi. I created new user account & as II was expected - useless ! Take thhe results:

1) at 1st login to new user, loading time of Cinnamon was 37 sec, 2) 2nd login gave me 29 sec ! I was little happy ! However, I remembered that Cinnamon worsening over time ! So, said to myself: let I wait ..., 3) 3rd login associated with 39 sec, 4) 4th login associated with 36 sec, 5) 5th login associated with 45 sec !!!

Please notice the following:

Now, what is the further step ?

mtwebster commented 4 years ago

Can you run this:

gsettings set org.cinnamon.SessionManager  debug true

and log out and back in, then attach your .xsession-errors again. Thanks

Nokia808 commented 4 years ago

@mtwebster Dear, kindly cover these 2 points:

1) from within which account you need me to perform above command ? From my original account or from new account ?

2) does the above command, should be run as user or with sudo ?

3) to revert it after finish, what I have to run ? Do I have to run: gsettings set org.cinnamon.SessionManager debug false

Thank you.

mtwebster commented 4 years ago

If the new account is also slow (I gather it is) then use that.

No sudo, just run it as is.

yes, that will disable it

Nokia808 commented 4 years ago

@mtwebster Okay, but please wait me, may be tomorrow since, now, I lestening for "The Best of Sergei Rachmaninoff's piano" & now I'm on 52th minute from 3:37:30 of record time.

Nokia808 commented 4 years ago

@mtwebster Sorry for delay. I attach here the xsession-error of my original (old) account. Please notice that I did not copy/past it after logout ! I copy/past it & post it here after power OFF my PC & waiting 3 minutes then I powered ON finally I copy/past & post here. This because I have no problem with loading time of Cinnamon at login after logout, it is only 6 seconds no more. The problem is with loading of Cinnamon at power ON laptop after powering it OFF.

I will attached file of new account after several minutes.

original-user.txt

Nokia808 commented 4 years ago

@mtwebster Hi. I tried the same thing with new user account but it gave me nothing ! No any xsession-error file was generated ! I tried 2 times power ON after power OFF. 1st time loading time of Cinnamon was only 21 seconds ! So, I suspect that the cause of no xsession-error file was this short loading time, & for that I tried for 2nd time. On 2nd trail the loading time was 35 seconds ! And same thing: no xsession-error file !

Why this variability in loading time of Cinnamon ( 21 sec vs 35 sec) ?

Also, I noticed that you leave 2 dashes (empty spaces) in command you gave me: there is 2 empty spaces between "SessionManager" & "debug" ! Is this a typo mistake from your side ? Does this break the command ? I copy/past it as it (with it's 2 empty spaces) with both my original account & with new account ...

I'm waiting your response ...

mtwebster commented 4 years ago

It seems like you have "tracker" installed - is there a need for it? It's used by some programs (like nautilus) to index file contents to make it faster to locate information later. It could be having an impact on startup. I'm not certain how to disable this in fedora, and I don't know whether or not it would affect a new user login. Still, I'd uninstall or disable it unless you must have it.

Nokia808 commented 4 years ago

@mtwebster Dear many thanks for at least discover the cause !

1) to my knowledge, "tracker" is already installed & enabled on Fedora by default. I saw in Fedora community forum, years ago, a post complaining from it ..... I do not know further about it & how to disable it. I think @leigh123linux is the best one who can deal with it because he is Fedora packager for Cinnamon ....

2) However, you did not inform me about empty spaces in command. I tried myself on simple commands like "ls -al" & saw it no matter if leave 2 empty spaces like "ls -al". However, I need to be sure. I did not have data about this before. So, may I asked again: does this break the command or it is no matter ?

3) do you need further for "debug true" further ? If not, kindly, inform me so that I will switch it back to "debug false"

mtwebster commented 4 years ago

It doesn't matter how many spaces in general - that was a typo. and you can turn debug off.

I'm not 100% certain about tracker being the issue but if I was having this problem it would be one of the first things I'd check.

Nokia808 commented 4 years ago

@mtwebster @leigh123linux

I run "sudo dnf remove tracker" to see what it asked to remove & output was:

sudo dnf remove tracker
Dependencies resolved.
================================================================================
 Package              Arch        Version                   Repository     Size
================================================================================
Removing:
 tracker              x86_64      2.3.4-1.fc32              @fedora       2.7 M
Removing dependent packages:
 tracker-miners       x86_64      2.3.3-1.fc32              @fedora       2.9 M
Removing unused dependencies:
 libcue               x86_64      2.2.1-3.fc32              @fedora        91 k
 libgrss              x86_64      0.7.0-10.fc32             @fedora       171 k
 libgsf               x86_64      1.14.47-1.fc32            @fedora       941 k
 libgxps              x86_64      0.3.1-5.fc32              @fedora       193 k
 libiptcdata          x86_64      1.0.5-4.fc32              @fedora       173 k
 libosinfo            x86_64      1.7.1-3.fc32              @fedora       1.0 M
 libquvi              x86_64      0.9.4-16.fc32             @fedora       336 k
 libquvi-scripts      noarch      0.9.20131130-13.fc32      @fedora       501 k
 lua-expat            x86_64      1.3.0-18.fc32             @fedora        80 k
 lua-socket           x86_64      3.0-0.22.rc1.fc32         @fedora       692 k
 osinfo-db            noarch      20200529-1.fc32           @updates      2.0 M
 osinfo-db-tools      x86_64      1.7.0-2.fc32              @fedora       183 k
 totem-pl-parser      x86_64      3.26.5-1.fc32             @fedora       626 k

Transaction Summary
================================================================================
Remove  15 Packages

Freed space: 12 M
Is this ok [y/N]: N
Operation aborted.

I think the situation with Cinnamon is safe to remove it - opposite to GNOME DE. However, I'm not sure.

I reviewed an old copy from Fedora community forum that I token since years. It said to disable tracker, run: sudo systemctl disable tracker

I tried 1st "systemctl status tracker" but it show me that no such service. It seem that the case is changed on Fedora so that it removed from systemd unites ...

I found the following: https://gnome.pages.gitlab.gnome.org/tracker/docs/commandline/ https://gnome.pages.gitlab.gnome.org/tracker/faq/

I did not see - correct to me if wrong - an option to disable tracker at start up ! So, best way is to remove it.

However, let we see what @leigh123linux will said about this issue. He is from Fedora & know about this.

leigh123linux commented 4 years ago

It's safe to remove tracker, I would replace totem with ffmpegthumbnailer for the thumbnailer function.

Nokia808 commented 4 years ago

@leigh123linux Hello ! I have no totem on my system. I'm using VLC

I will remove tracker & see what it will happen.

But one thing I need to know: does "debug" is true or false by default on Fedora regarding the command: gsettings set org.cinnamon.SessionManager debug ....."


Edit: do you refer to totem-pl-parser when you asked for installing "ffmpegthumbnailer" ?

Nokia808 commented 4 years ago

@leigh123linux @mtwebster

I tried after removal of "tracker". The results were as following:

These are for my original (old) user account. I did not tried new account, yet. I will tried it after this post.

Also, please notice that the 1st & 2nd log-in trails were with custom theme elements. But the 3rd trail was with default Cinnamon theme elements of Fedora 32.

Bellow xsession-error file for each.

after-remove-tracker-1st-login.txt after-remove-tracker-2nd-login.txt after-remove-tracker-3rd-login.txt

Really disappointing !

Nokia808 commented 4 years ago

@leigh123linux @mtwebster

Hi again. I tried the new account for 2 times.

Note: the loading time for my original (old) user account on this log-in from switched OFF laptop so as to post this replay was only 41 sec ! Why this variability in loading time ?!

By the way, the is an option at log-in screen: Cinnamon (Software randerine), what is this & how it differ from usual "Cinnamon" option ?

Lurux commented 4 years ago

Hey, I'll just reference this more complete issue for cross-reference: #9376

I hope someone will be able to solve this problem...

akred commented 3 years ago

Hi,

I have the same error message related to betterlock applet, and I have a memory leak that I tried to identify due to cinnamon. Did you try to remove the applet and see if the issue is still there ?