{SOLVED} Linux Mint Constantly Freezing

Questions about hardware, drivers and peripherals
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Orbital1403
Level 1
Level 1
Posts: 39
Joined: Wed Jul 08, 2020 12:16 pm

{SOLVED} Linux Mint Constantly Freezing

Post by Orbital1403 »

Dear all,

I can't determine when Linux Mint 20.3 started freezing and in what condition. I tested SSD M.2 an RAM, everything is fine with the hardware.
I use last available kernel 5.13.0-40-generic.

Does anyone have a similar problem or must I wait new kernel version.

Code: Select all

System:    Kernel: 5.13.0-40-generic x86_64 bits: 64 compiler: N/A Desktop: Cinnamon 5.2.7 wm: muffin 5.2.1 dm: LightDM 1.30.0 
           Distro: Linux Mint 20.3 Una base: Ubuntu 20.04 focal 
Machine:   Type: Desktop Mobo: Gigabyte model: B550 AORUS ELITE serial: <filter> UEFI: American Megatrends v: F12 
           date: 01/18/2021 
CPU:       Topology: 6-Core model: AMD Ryzen 5 3600 bits: 64 type: MT MCP arch: Zen L2 cache: 3072 KiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 86245 
           Speed: 2192 MHz min/max: 2200/4208 MHz boost: enabled Core speeds (MHz): 1: 2195 2: 1878 3: 2196 4: 2194 5: 2264 
           6: 2196 7: 2196 8: 2195 9: 2196 10: 2193 11: 2196 12: 2196 
Graphics:  Device-1: NVIDIA TU117 [GeForce GTX 1650] vendor: ASUSTeK driver: nvidia v: 510.60.02 bus ID: 0a:00.0 
           chip ID: 10de:1f82 
           Display: x11 server: X.Org 1.20.13 driver: nvidia unloaded: fbdev,modesetting,nouveau,vesa 
           resolution: 1920x1080~60Hz 
           OpenGL: renderer: NVIDIA GeForce GTX 1650/PCIe/SSE2 v: 4.6.0 NVIDIA 510.60.02 direct render: Yes 
Audio:     Device-1: NVIDIA vendor: ASUSTeK driver: snd_hda_intel v: kernel bus ID: 0a:00.1 chip ID: 10de:10fa 
           Device-2: Advanced Micro Devices [AMD] Starship/Matisse HD Audio vendor: Gigabyte driver: snd_hda_intel v: kernel 
           bus ID: 0c:00.4 chip ID: 1022:1487 
           Device-3: Microdia USB Live camera type: USB driver: snd-usb-audio,uvcvideo bus ID: 1-2:2 chip ID: 0c45:6536 
           serial: <filter> 
           Device-4: Creative Bluetooth Radio type: USB driver: hid-generic,snd-usb-audio,usbhid bus ID: 3-2.1:5 
           chip ID: 041e:3249 serial: <filter> 
           Sound Server: ALSA v: k5.13.0-40-generic 
Network:   Device-1: Realtek RTL8125 2.5GbE vendor: Gigabyte driver: r8169 v: kernel port: f000 bus ID: 08:00.0 
           chip ID: 10ec:8125 
           IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter> 
Drives:    Local Storage: total: 2.27 TiB used: 919.88 GiB (39.6%) 
           ID-1: /dev/nvme0n1 vendor: Gigabyte model: GP-ASM2NE2256GTTDR size: 238.47 GiB speed: 31.6 Gb/s lanes: 4 
           serial: <filter> rev: ECFM22.7 scheme: GPT 
           ID-2: /dev/nvme1n1 vendor: Samsung model: SSD 970 EVO Plus 1TB size: 931.51 GiB speed: 31.6 Gb/s lanes: 4 
           serial: <filter> rev: 2B2QEXM7 scheme: GPT 
           ID-3: /dev/sda vendor: Gigabyte model: GP-GSTFS31240GNTD size: 223.57 GiB speed: 6.0 Gb/s serial: <filter> 
           rev: 61.3 scheme: GPT 
           ID-4: /dev/sdb vendor: Western Digital model: WD20PURZ-85AKKY0 size: 1.82 TiB speed: 6.0 Gb/s rotation: 5400 rpm 
           serial: <filter> rev: 0A80 scheme: GPT 
Partition: ID-1: / size: 233.24 GiB used: 15.83 GiB (6.8%) fs: ext4 dev: /dev/nvme0n1p2 
Sensors:   System Temperatures: cpu: 42.1 C mobo: 28.0 C gpu: nvidia temp: 43 C 
           Fan Speeds (RPM): N/A gpu: nvidia fan: 0% 
Repos:     No active apt repos in: /etc/apt/sources.list 
           Active apt repos in: /etc/apt/sources.list.d/gnumdk-lollypop-focal.list 
           1: deb http://ppa.launchpad.net/gnumdk/lollypop/ubuntu focal main
           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/lucioc-sayonara-focal.list 
           1: deb http://ppa.launchpad.net/lucioc/sayonara/ubuntu focal main
           Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 
           1: deb https://mintlinux.mirror.wearetriple.com/packages una main upstream import backport
           2: deb http://mirror.unix-solutions.be/ubuntu focal main restricted universe multiverse
           3: deb http://mirror.unix-solutions.be/ubuntu focal-updates main restricted universe multiverse
           4: deb http://mirror.unix-solutions.be/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/papirus-papirus-focal.list 
           1: deb http://ppa.launchpad.net/papirus/papirus/ubuntu focal main
           Active apt repos in: /etc/apt/sources.list.d/skype-stable.list 
           1: deb [arch=amd64] https://repo.skype.com/deb stable main
           Active apt repos in: /etc/apt/sources.list.d/teamviewer.list 
           1: deb https://linux.teamviewer.com/deb stable main
Info:      Processes: 373 Uptime: 2m Memory: 15.57 GiB used: 2.12 GiB (13.6%) Init: systemd v: 245 runlevel: 5 Compilers: 
           gcc: 9.4.0 alt: 9 Shell: bash v: 5.0.17 running in: gnome-terminal inxi: 3.0.38
Thx a lot
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 4 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
morded93
Level 1
Level 1
Posts: 4
Joined: Sun May 08, 2022 3:08 pm

Re: Linux Mint Constantly Freezing

Post by morded93 »

I have the same issue. Different Kernel (5-15-0-22) but it will run fine for days, and then freeze and a hard reset is required. The last error in my syslog has to do with a failure in the screen saver (running Cinnamon - latest available via APT UPDATE) on 20.3. I would start there but your problem may not be my problem.
Orbital1403
Level 1
Level 1
Posts: 39
Joined: Wed Jul 08, 2020 12:16 pm

Re: Linux Mint Constantly Freezing

Post by Orbital1403 »

Dear morded93,

Thx a lot, it makes sense, many times I noticed this freezing when screensaver was active. I will try to turn off my screensaver and test it for a few days.
Orbital1403
Level 1
Level 1
Posts: 39
Joined: Wed Jul 08, 2020 12:16 pm

Re: Linux Mint Constantly Freezing

Post by Orbital1403 »

Dear morded93,

Unfortunately it is not up to the screensaver, it would be too simple :?

I will have to investigate further, maybe it's a problem with nvidia drivers or kernel....unfortunately I can only guess.

Thx a lot
User avatar
SMG
Level 25
Level 25
Posts: 31972
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Linux Mint Constantly Freezing

Post by SMG »

Freeze issue are often hardware dependent. That means unless you are posting to give Orbital1403 suggestions for their issue, you should be following the forum rules and creating your own topic to get help and not posting here asking for help. It is difficult for anyone helping to be able to keep track of multiple users/hardware/situations in the same topic.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
User avatar
SMG
Level 25
Level 25
Posts: 31972
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Linux Mint Constantly Freezing

Post by SMG »

Moderator note: ShakunBaichoo's issue can now be found here Screen freezing periodically on HP Z2 Tower G4 Workstation.

nocube's issue can now be found here Linux Mint Freezing several times a week on Lenovo laptop.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
User avatar
SMG
Level 25
Level 25
Posts: 31972
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Linux Mint Constantly Freezing

Post by SMG »

Orbital1403 wrote: Sun May 08, 2022 5:38 pmmany times I noticed this freezing when screensaver was active. I will try to turn off my screensaver and test it for a few days.
Is there a possibility this is happening when your system goes to sleep? A number of people with Nvidia GPUs have had issues with their system not being able to resume from sleep.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
Orbital1403
Level 1
Level 1
Posts: 39
Joined: Wed Jul 08, 2020 12:16 pm

Re: Linux Mint Constantly Freezing

Post by Orbital1403 »

Hi dear SMG,

I know about this problem, I personally had it. I solved it by restoring the older version of the BIOS.

I just installed the latest version available for Linux Mint 20.3 - 5.13.0-41-generic, maybe it will solve the problem.
I'll let you know in a day or two.

Thx a lot

Have a nice day
User avatar
SMG
Level 25
Level 25
Posts: 31972
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Linux Mint Constantly Freezing

Post by SMG »

Orbital1403 wrote: Tue May 10, 2022 12:36 pmI know about this problem, I personally had it. I solved it by restoring the older version of the BIOS.
How did that solve the problem? Restoring to an older version of a BIOS can re-introduce old problems. Maybe that is why your system is freezing.

There is a workaound for the Nvidia sleep issue that does not involve the BIOS.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
Orbital1403
Level 1
Level 1
Posts: 39
Joined: Wed Jul 08, 2020 12:16 pm

Re: Linux Mint Constantly Freezing

Post by Orbital1403 »

Hi SMG,

I use Gigabyte Aorus BE550 motherboard, with latest version of the BIOS my PC after going into suspend mode remains permanently locked, I can only crash it via the power switch on the power supply. I wrote to Gigabyte, they said that they know about this problem and that I use an earlier version of the BIOS with which I do not have this problem. After Mint freezed first time, the first thing I did was to put back the latest version of the BIOS and there is no change, Mint is freezing again.
User avatar
SMG
Level 25
Level 25
Posts: 31972
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Linux Mint Constantly Freezing

Post by SMG »

Orbital1403 wrote: Tue May 10, 2022 1:57 pmI use Gigabyte Aorus BE550 motherboard, with latest version of the BIOS my PC after going into suspend mode remains permanently locked, I can only crash it via the power switch on the power supply. I wrote to Gigabyte, they said that they know about this problem and that I use an earlier version of the BIOS with which I do not have this problem. After Mint freezed first time, the first thing I did was to put back the latest version of the BIOS and there is no change, Mint is freezing again.
If the Nvidia driver is the issue, the workaround mentioned in this post has worked for many people. If you need detailed instructions for editing the file then see this post and the subsequent ones in that topic.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
Orbital1403
Level 1
Level 1
Posts: 39
Joined: Wed Jul 08, 2020 12:16 pm

Re: Linux Mint Constantly Freezing

Post by Orbital1403 »

Hi dear SMG,
Thx a lot for your input, I will try as you proposed and inform about the result.

👍🙏
Orbital1403
Level 1
Level 1
Posts: 39
Joined: Wed Jul 08, 2020 12:16 pm

Re: (PENDING)Linux Mint Constantly Freezing

Post by Orbital1403 »

After the update with latest NVIDIA drivers, problem is resolved.

Code: Select all

$ nvidia-smi 
Thu May 19 09:25:10 2022       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 510.73.05    Driver Version: 510.73.05    CUDA Version: 11.6     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  NVIDIA GeForce ...  Off  | 00000000:0A:00.0  On |                  N/A |
|  0%   53C    P0    19W /  75W |    321MiB /  4096MiB |      8%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|    0   N/A  N/A      1014      G   /usr/lib/xorg/Xorg                160MiB |
|    0   N/A  N/A      1601      G   cinnamon                           17MiB |
|    0   N/A  N/A      1816      G   ...RendererForSitePerProcess       43MiB |
|    0   N/A  N/A     14262      G   ...646494194090227169,131072       96MiB |
+-----------------------------------------------------------------------------+
Locked

Return to “Hardware Support”