Upgrade to Cinnamon 20.3 causes Cinnamon crashes at random

Please post suggestions for improvement of Cinnamon on:
https://github.com/linuxmint/Cinnamon
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
RVDowning
Level 3
Level 3
Posts: 122
Joined: Thu Oct 01, 2015 2:27 pm
Location: Suwanee, Georgia USA

Upgrade to Cinnamon 20.3 causes Cinnamon crashes at random

Post by RVDowning »

Upgraded to Cinnamon 20.3 yesterday and ever since I am getting random Cinnamon crashes. Not sure how to go about diagnosing the problem since I am not a software/Linux heavy.

Also, what is the fastest way to restart Cinnamon after a crash?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
Larry78723
Level 14
Level 14
Posts: 5476
Joined: Wed Jan 09, 2019 7:01 pm
Location: Jasper County, SC, USA

Re: Upgrade to Cinnamon 20.3 causes Cinnamon crashes at random

Post by Larry78723 »

Without some technical information about the machine, we can’t help you. Please post an inxi -Fxpmzr report. This will give us a concise overview of your hardware and how Mint sees it per  How to get help .

Here is how to generate the report and post it:

Open a terminal window (Ctrl-Alt-t). Make it fullscreen to avoid unneeded linebreaks or chopped lines. Copy the following code and paste into the terminal (Ctrl-Shft-V) then hit Enter/Return:

Code: Select all

inxi -Fxpmrz 
exactly as it has been typed here.

Go to Edit, Select All, and then Copy, come back here, click on reply then code tags, </>, and then paste.
Image


The results will help us to help you.
Image
If you have found the solution to your initial post, please open your original post, click on the pencil, and add (Solved) to the Subject, it helps other users looking for help, and keeps the forum clean.
RVDowning
Level 3
Level 3
Posts: 122
Joined: Thu Oct 01, 2015 2:27 pm
Location: Suwanee, Georgia USA

Re: Upgrade to Cinnamon 20.3 causes Cinnamon crashes at random

Post by RVDowning »

Code: Select all

bash: /usr/bin/mint-fortune: No such file or directory
rvd@HomeDesktop:~$ inxi -Fxpmrz
System:    Kernel: 5.4.0-92-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 Desktop: Cinnamon 5.2.7 Distro: Linux Mint 20.3 Una 
           base: Ubuntu 20.04 focal 
Machine:   Type: Desktop Mobo: ASUSTeK model: ROG STRIX B450-F GAMING v: Rev 1.xx serial: <filter> 
           UEFI [Legacy]: American Megatrends v: 2501 date: 07/12/2019 
Battery:   Device-1: hidpp_battery_0 model: Logitech Wireless Mouse M525 charge: 100% (should be ignored) status: Discharging 
Memory:    RAM: total: 15.62 GiB used: 3.13 GiB (20.0%) 
           RAM Report: permissions: Unable to run dmidecode. Root privileges required. 
CPU:       Topology: 6-Core model: AMD Ryzen 5 2600X bits: 64 type: MT MCP arch: Zen+ rev: 2 L2 cache: 3072 KiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 86230 
           Speed: 1887 MHz min/max: 2200/3600 MHz Core speeds (MHz): 1: 1890 2: 1890 3: 4242 4: 2122 5: 1891 6: 1890 7: 4235 
           8: 1952 9: 1895 10: 2063 11: 2059 12: 2120 
Graphics:  Device-1: NVIDIA GK208B [GeForce GT 710] vendor: Micro-Star MSI driver: nvidia v: 460.91.03 bus ID: 08:00.0 
           Display: x11 server: X.Org 1.20.13 driver: nvidia unloaded: fbdev,modesetting,nouveau,vesa 
           resolution: 1920x1080~60Hz, 1920x1080~60Hz 
           OpenGL: renderer: GeForce GT 710/PCIe/SSE2 v: 4.6.0 NVIDIA 460.91.03 direct render: Yes 
Audio:     Device-1: NVIDIA GK208 HDMI/DP Audio vendor: Micro-Star MSI driver: snd_hda_intel v: kernel bus ID: 08:00.1 
           Device-2: Advanced Micro Devices [AMD] Family 17h HD Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel 
           bus ID: 0a:00.3 
           Device-3: Tenx USB AUDIO type: USB driver: hid-generic,snd-usb-audio,usbhid bus ID: 1-2:3 
           Sound Server: ALSA v: k5.4.0-92-generic 
Network:   Device-1: Intel I211 Gigabit Network vendor: ASUSTeK driver: igb v: 5.6.0-k port: e000 bus ID: 03:00.0 
           IF: enp3s0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
Drives:    Local Storage: total: 1.14 TiB used: 79.78 GiB (6.9%) 
           ID-1: /dev/sda vendor: Crucial model: CT250MX200SSD1 size: 232.89 GiB 
           ID-2: /dev/sdb vendor: Seagate model: ST1000DM003-1CH162 size: 931.51 GiB 
Partition: ID-1: / size: 914.06 GiB used: 44.42 GiB (4.9%) fs: ext4 dev: /dev/sdb5 
           ID-2: /boot size: 1.83 GiB used: 211.8 MiB (11.3%) fs: ext2 dev: /dev/sdb1 
           ID-3: /home size: 229.10 GiB used: 35.16 GiB (15.3%) fs: ext4 dev: /dev/sda1 
           ID-4: /run/timeshift/backup raw size: 929.65 GiB size: <superuser/root required> used: <superuser/root required> 
           fs: ext4 dev: /dev/sdb5 
Sensors:   System Temperatures: cpu: 43.8 C mobo: N/A gpu: nvidia temp: 41 C 
           Fan Speeds (RPM): N/A gpu: nvidia fan: 50% 
Repos:     No active apt repos in: /etc/apt/sources.list 
           Active apt repos in: /etc/apt/sources.list.d/google-chrome.list 
           1: deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
           Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 
           1: deb http://packages.linuxmint.com una main upstream import backport #id:linuxmint_main
           2: deb http://archive.ubuntu.com/ubuntu focal main restricted universe multiverse
           3: deb http://archive.ubuntu.com/ubuntu focal-updates main restricted universe multiverse
           4: deb http://archive.ubuntu.com/ubuntu focal-backports main restricted universe multiverse
           5: deb http://security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
           6: deb http://archive.canonical.com/ubuntu/ focal partner
Info:      Processes: 321 Uptime: 4h 20m Init: systemd runlevel: 5 Compilers: gcc: 9.3.0 Shell: bash v: 5.0.17 inxi: 3.0.38 
rvd@HomeDesktop:~$ 
I should also note that the only crash today was when I closed the chrome browser preparatory to shutting down the system.
Last edited by SMG on Mon Jan 10, 2022 4:11 pm, edited 1 time in total.
Reason: Fixed bracket placement so code tags would work properly.
RVDowning
Level 3
Level 3
Posts: 122
Joined: Thu Oct 01, 2015 2:27 pm
Location: Suwanee, Georgia USA

Re: Upgrade to Cinnamon 20.3 causes Cinnamon crashes at random

Post by RVDowning »

Two more crashes today, once when closing Gnumeric and once when closing Chrome. I did get a new Cinnamon update, so will see how that one fares.
fotonix
Level 2
Level 2
Posts: 68
Joined: Thu Jan 17, 2013 7:42 pm

Re: Upgrade to Cinnamon 20.3 causes Cinnamon crashes at random

Post by fotonix »

Welcome to Ryzen and Linux. I also got myself a high-end Ryzen7 (also an Asus ROG Strix!!!) and have had a year of random blackouts, sudden restarts, just plain dead when you turn around ... all random, nothing in any logfile. After much searching and trying various "solutions" I did eventually find something.

1. Apparently AMD make CPU chips in a way that 50/50 work or dud. That was not good news.
2. AMD blame the power supplies of manufacturers for these random faults. Oh, and Windows users see them too.
3. ONE place had some actual meat - identifying the problem as the CPU sleep states (known as C-States)
4. Implementing these is fairly easy, but only reduces the frequency of incidents, not solve them completely.

The fix (part one)
a. you have to be root, so "sudo su" or whatever you do.
b. edit the file '/etc/default/grub' and look for the line with your default startup: GRUB_CMDLINE_LINUX_DEFAULT="....."
c. Append these two values within the quotes: processor.max_cstate=5 powersave=off
d. Save the file and run: update-grub
e. reboot your system

BUT... after a few rather terse and tense months with the laptop supplier (putting it diplomatically), I decided they will not refund me as I run Linux and so I can kiss $2000 bye-bye and may as well play with the toy some more. SO I have been trying out almost a dozen different distros and combinations with different desktops. I have an affinity for Cinnamon, but have tried almost every other one that is even semi-viable.

My latest test is to install fresh, then wait for the laptop to enter naptime, 10-20 minutes, depending on the config. Then I wake it up. No problems at all... EXCEPT CINNAMON !! The laptop fails to wake and one can only power down. A summary of the last 2 weeks of my life:

Linux Lite (xcfe) - fine. Manjaro xfce - fine. Mint xcfe - fine. Mabox (openbox) - fine. Manjaro MATE - fine. RebornOS KDE plasma - fine.
Manjaro cinnamon - boom. Mint cinnamon - boom. RebornOS cinnamon - boom.

There is something seriously afoot in the wake-code in cinnamon that does not play well with Ryzen and Radeon. I have zero problems with other machines which are Intel / Nvidia.

The fix (part two)
I looked up my old GitHub id to maybe post a report there, nope, that email died long ago. I am not registering a new account with MS.GitHub.
The fix is for the cinnamon devs to compare their reawaken code to that in xfce, plasma, etc. Something is fishy with Cinnamon and Ryzen/ Radeon.

I hope this issue gets some traction and action. I love cinnamon, but have to seriously look for a new desktop for my daily work.
#include <std_disclaimer.h>
RVDowning
Level 3
Level 3
Posts: 122
Joined: Thu Oct 01, 2015 2:27 pm
Location: Suwanee, Georgia USA

Re: Upgrade to Cinnamon 20.3 causes Cinnamon crashes at random

Post by RVDowning »

I am using a desktop. My only crashes seem to occur when closing Chrome, or sometimes Gnumeric. Guess I can live with it.
fotonix
Level 2
Level 2
Posts: 68
Joined: Thu Jan 17, 2013 7:42 pm

Re: Upgrade to Cinnamon 20.3 causes Cinnamon crashes at random

Post by fotonix »

In another week of more intense testing, I have managed to crash several desktops on the Asus ROG other than Cinnamon.

Today I found this: https://gist.github.com/diracs-delta/87 ... a244b72df0
which goes quite radical to eliminate all sleep states.

I think adjusting your desktop system along these lines may offer a solution.
#include <std_disclaimer.h>
Njoro410
Level 1
Level 1
Posts: 1
Joined: Wed Feb 23, 2022 3:29 am

Re: Upgrade to Cinnamon 20.3 causes Cinnamon crashes at random

Post by Njoro410 »

why does cinnamon 20.3 freeze randomly, sometimes only the cursor will freeze then other times, the whole system freezes.

here's my system info:

Code: Select all

System:    Kernel: 5.4.0-100-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 Desktop: Cinnamon 5.2.7 
           Distro: Linux Mint 20.3 Una base: Ubuntu 20.04 focal 
Machine:   Type: Laptop System: Dell product: Latitude 3510 v: N/A serial: <filter> 
           Mobo: Dell model: 0PD7RH v: A04 serial: <filter> UEFI: Dell v: 1.10.1 date: 08/05/2021 
Battery:   ID-1: BAT0 charge: 40.0 Wh condition: 40.7/39.8 Wh (102%) model: BYD DELL CF5RH12 status: Discharging 
Memory:    RAM: total: 7.54 GiB used: 2.12 GiB (28.1%) 
           RAM Report: permissions: Unable to run dmidecode. Root privileges required. 
CPU:       Topology: Quad Core model: Intel Core i5-10210U bits: 64 type: MT MCP arch: Kaby Lake rev: C L2 cache: 6144 KiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 33599 
           Speed: 700 MHz min/max: 400/4200 MHz Core speeds (MHz): 1: 700 2: 700 3: 700 4: 700 5: 700 6: 700 7: 700 8: 700 
Graphics:  Device-1: Intel UHD Graphics vendor: Dell driver: i915 v: kernel bus ID: 00:02.0 
           Display: x11 server: X.Org 1.20.13 driver: modesetting unloaded: fbdev,vesa resolution: 1366x768~60Hz 
           OpenGL: renderer: Mesa Intel UHD Graphics (CML GT2) v: 4.6 Mesa 21.2.6 direct render: Yes 
Audio:     Device-1: Intel vendor: Dell driver: sof-audio-pci bus ID: 00:1f.3 
           Sound Server: ALSA v: k5.4.0-100-generic 
Network:   Device-1: Intel Wireless-AC 9462 driver: iwlwifi v: kernel port: 4000 bus ID: 00:14.3 
           IF: wlp0s20f3 state: up mac: <filter> 
           Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Dell driver: r8169 v: kernel port: 3000 
           bus ID: 01:00.0 
           IF: eno1 state: down mac: <filter> 
Drives:    Local Storage: total: 1.84 TiB used: 45.78 GiB (2.4%) 
           ID-1: /dev/nvme0n1 vendor: Lexar model: 1TB SSD size: 953.87 GiB 
           ID-2: /dev/sda vendor: Seagate model: ST1000LM035-1RK172 size: 931.51 GiB 
Partition: ID-1: / size: 56.07 GiB used: 37.45 GiB (66.8%) fs: ext4 dev: /dev/nvme0n1p6 
           ID-2: /boot/efi size: 96.0 MiB used: 32.5 MiB (33.8%) fs: vfat dev: /dev/nvme0n1p1 
           ID-3: /home size: 127.87 GiB used: 8.30 GiB (6.5%) fs: ext4 dev: /dev/nvme0n1p8 
           ID-4: swap-1 size: 7.17 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/nvme0n1p7 
Sensors:   System Temperatures: cpu: 39.0 C mobo: N/A 
           Fan Speeds (RPM): cpu: 0 
Repos:     No active apt repos in: /etc/apt/sources.list 
           Active apt repos in: /etc/apt/sources.list.d/google-chrome.list 
           1: deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main
           Active apt repos in: /etc/apt/sources.list.d/microsoft-edge.list 
           1: deb [arch=amd64] https://packages.microsoft.com/repos/edge/ stable main
           Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 
           1: deb https://linuxmint.mirror.liquidtelecom.com/packages una main upstream import backport
           2: deb http://mirror.renu.ac.ug/ubuntu focal main restricted universe multiverse
           3: deb http://mirror.renu.ac.ug/ubuntu focal-updates main restricted universe multiverse
           4: deb http://mirror.renu.ac.ug/ubuntu focal-backports main restricted universe multiverse
           5: deb http://security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
           6: deb http://archive.canonical.com/ubuntu/ focal partner
           Active apt repos in: /etc/apt/sources.list.d/slgobinath-gcalendar-focal.list 
           1: deb http://ppa.launchpad.net/slgobinath/gcalendar/ubuntu focal main
           Active apt repos in: /etc/apt/sources.list.d/spotify.list 
           1: deb http://repository.spotify.com stable non-free
           Active apt repos in: /etc/apt/sources.list.d/vscode.list 
           1: deb [arch=amd64 signed-by=/etc/apt/trusted.gpg.d/packages.microsoft.gpg] https://packages.microsoft.com/repos/vscode stable main
Info:      Processes: 315 Uptime: 3m Init: systemd runlevel: 5 Compilers: gcc: 9.3.0 Shell: bash v: 5.0.17 inxi: 3.0.38
Locked

Return to “Cinnamon”