Freezing 1-3 times every day and randomly restarting itself

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
bbi1
Level 1
Level 1
Posts: 37
Joined: Sat Jul 31, 2021 8:30 pm

Freezing 1-3 times every day and randomly restarting itself

Post by bbi1 »

I've got a new high spec Dell XPS 15 laptop which is less than a year old. I dual loaded Linux Mint 20 the very 1st day I got the laptop alongside Windows, which came pre-installed when I bought the laptop. Therefore I've been using Mint on this laptop for over 7 months already. I also upgraded to Mint 20.1 then recently 20.2 when the updates were available.

Ever since using the original Linux Mint 20 (and also with Mint 20.1 and 20.2) the system would randomly freeze anywhere between one to three times a day (zero times if I'm very lucky), which requires me to hold down the power button for 10 seconds on the laptop to hard shut down it. I was under the impression that Mint is way more stable than Windows and shouldn't be freezing, but it seems way worse than Windows with how much it's freezing.

Another problem started happening a few months ago. Whenever I suspend my laptop then wake it up and enter the password to get back into Mint, it logs me into Mint then either immediately restarts the laptop by itself or within 10 seconds after logging back in it does that. Then my laptop doesn't recognise that my AC power adapter is connected to the USB-C port because if I let Mint or even Windows boot back up and I login to either operating system, it uses my battery only even with the AC power adapter always plugged in. If I try to disconnect & reconnect the AC power adapter it doesn't recognise it's connected, so I've got to shut down whichever operating system. So what I have to do is instead of letting it reboot Mint or Windows is that I need to hold down the power button until the laptop turns off whenever it reboots itself. Then I need to remove the AC adapter from the USB-C port and reconnect it while the laptop is off, then I'll see the power light at the front of the laptop turn on. Then I boot up the laptop and let it boot into Mint or Windows.

Anyone have any solutions for this please?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 16 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
bbi1
Level 1
Level 1
Posts: 37
Joined: Sat Jul 31, 2021 8:30 pm

Re: Freezing 1-3 times every day and randomly restarting itself

Post by bbi1 »

Below are my system specs:

Code: Select all

System:    Kernel: 5.4.0-80-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 Desktop: Cinnamon 5.0.5 
           wm: muffin dm: LightDM Distro: Linux Mint 20.2 Uma base: Ubuntu 20.04 focal 
Machine:   Type: Laptop System: Dell product: XPS 15 9500 v: N/A serial: <filter> Chassis: 
           type: 10 serial: <filter> 
           Mobo: Dell model: 05XYW7 v: A00 serial: <filter> UEFI: Dell v: 1.6.1 date: 12/24/2020 
Battery:   ID-1: BAT0 charge: 77.2 Wh condition: 77.2/84.3 Wh (92%) volts: 13.0/11.4 
           model: BYD DELL M59JH05 serial: <filter> status: Full 
CPU:       Topology: 6-Core model: Intel Core i7-10750H bits: 64 type: MT MCP arch: N/A 
           L2 cache: 12.0 MiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 62399 
           Speed: 900 MHz min/max: 800/5000 MHz Core speeds (MHz): 1: 900 2: 900 3: 900 4: 900 
           5: 900 6: 900 7: 900 8: 900 9: 900 10: 900 11: 900 12: 900 
Graphics:  Device-1: Intel UHD Graphics vendor: Dell driver: i915 v: kernel bus ID: 00:02.0 
           chip ID: 8086:9bc4 
           Device-2: NVIDIA vendor: Dell driver: nouveau v: kernel bus ID: 01:00.0 
           chip ID: 10de:1f95 
           Display: x11 server: X.Org 1.20.9 driver: modesetting unloaded: fbdev,vesa 
           resolution: 3840x2400~60Hz 
           OpenGL: renderer: Mesa Intel UHD Graphics (CML GT2) v: 4.6 Mesa 20.2.6 
           direct render: Yes 
Audio:     Device-1: Intel Comet Lake PCH cAVS vendor: Dell driver: snd_hda_intel v: kernel 
           bus ID: 00:1f.3 chip ID: 8086:06c8 
           Sound Server: ALSA v: k5.4.0-80-generic 
Network:   Device-1: Intel Wi-Fi 6 AX201 vendor: Bigfoot Networks driver: iwlwifi v: kernel 
           port: 4000 bus ID: 00:14.3 chip ID: 8086:06f0 
           IF: wlp0s20f3 state: up mac: <filter> 
Drives:    Local Storage: total: 953.87 GiB used: 876.23 GiB (91.9%) 
           ID-1: /dev/nvme0n1 vendor: Toshiba model: KXG60ZNV1T02 NVMe 1024GB size: 953.87 GiB 
           speed: 31.6 Gb/s lanes: 4 serial: <filter> 
Partition: ID-1: / size: 479.62 GiB used: 438.06 GiB (91.3%) fs: ext4 dev: /dev/nvme0n1p7 
USB:       Hub: 1-0:1 info: Full speed (or root) Hub ports: 16 rev: 2.0 chip ID: 1d6b:0002 
           Hub: 1-3:2 info: VIA Labs USB2.0 Hub ports: 4 rev: 2.1 chip ID: 2109:2211 
           Device-1: 1-3.1:4 info: Logitech M105 Optical Mouse type: Mouse 
           driver: hid-generic,usbhid rev: 2.0 chip ID: 046d:c077 
           Device-2: 1-3.2:6 info: Dell type: Billboard driver: N/A rev: 2.0 chip ID: 413c:b080 
           Device-3: 1-10:3 info: Shenzhen Goodix FingerPrint type: <vendor specific> driver: N/A 
           rev: 2.0 chip ID: 27c6:533c 
           Device-4: 1-11:5 info: Microdia Integrated_Webcam_HD type: Video driver: uvcvideo 
           rev: 2.0 chip ID: 0c45:6d14 
           Device-5: 1-14:7 info: Intel type: Bluetooth driver: btusb rev: 2.0 chip ID: 8087:0026 
           Hub: 2-0:1 info: Full speed (or root) Hub ports: 10 rev: 3.1 chip ID: 1d6b:0003 
           Hub: 2-1:2 info: VIA Labs USB3.0 Hub ports: 1 rev: 3.1 chip ID: 2109:0211 
           Hub: 3-0:1 info: Full speed (or root) Hub ports: 2 rev: 2.0 chip ID: 1d6b:0002 
           Hub: 4-0:1 info: Full speed (or root) Hub ports: 2 rev: 3.1 chip ID: 1d6b:0003 
Sensors:   System Temperatures: cpu: 34.0 C mobo: N/A gpu: nouveau temp: 39 C 
           Fan Speeds (RPM): N/A 
Repos:     No active apt repos in: /etc/apt/sources.list 
           Active apt repos in: /etc/apt/sources.list.d/brave-browser-release.list 
           1: deb [arch=amd64] https: //brave-browser-apt-release.s3.brave.com/ stable main
           Active apt repos in: /etc/apt/sources.list.d/deki-firejail-focal.list 
           1: deb http: //ppa.launchpad.net/deki/firejail/ubuntu focal main
           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 https: //mirror.aarnet.edu.au/pub/linuxmint-packages uma main upstream import backport
           2: deb http: //mirror.realcompute.io/ubuntu focal main restricted universe multiverse
           3: deb http: //mirror.realcompute.io/ubuntu focal-updates main restricted universe multiverse
           4: deb http: //mirror.realcompute.io/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/unit193-encryption-focal.list 
           1: deb http: //ppa.launchpad.net/unit193/encryption/ubuntu focal main
           Active apt repos in: /etc/apt/sources.list.d/vivaldi.list 
           1: deb http: //repo.vivaldi.com/stable/deb/ stable main
Info:      Processes: 388 Uptime: 3m Memory: 62.57 GiB used: 2.41 GiB (3.9%) Init: systemd v: 245 
           runlevel: 5 Compilers: gcc: 9.3.0 alt: 9 Client: Unknown python3.8 client inxi: 3.0.38 
Moonstone Man
Level 16
Level 16
Posts: 6054
Joined: Mon Aug 27, 2012 10:17 pm

Re: Freezing 1-3 times every day and randomly restarting itself

Post by Moonstone Man »

bbi1 wrote: Sun Aug 01, 2021 2:45 am

Code: Select all

System:    Kernel: 5.4.0-80-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 Desktop: Cinnamon 5.0.5 
CPU:       Topology: 6-Core model: Intel Core i7-10750H bits: 64 type: MT MCP arch: N/A 
That could be the cause. Your CPU is too new for that old kernel. Go into update manager and on the View menu select Linux Kernels. Install the latest 5.11 and reboot.
bbi1
Level 1
Level 1
Posts: 37
Joined: Sat Jul 31, 2021 8:30 pm

Re: Freezing 1-3 times every day and randomly restarting itself

Post by bbi1 »

Kadaitcha Man wrote: Sun Aug 01, 2021 2:57 am
bbi1 wrote: Sun Aug 01, 2021 2:45 am

Code: Select all

System:    Kernel: 5.4.0-80-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 Desktop: Cinnamon 5.0.5 
CPU:       Topology: 6-Core model: Intel Core i7-10750H bits: 64 type: MT MCP arch: N/A 
That could be the cause. Your CPU is too new for that old kernel. Go into update manager and on the View menu select Linux Kernels. Install the latest 5.11 and reboot.
5.11.0-25 kernel - is that not an older kernel, it says "Supported until February 2022" whereas my current one 5.4.0-80 says Active & "Supported until April 2025"?
Moonstone Man
Level 16
Level 16
Posts: 6054
Joined: Mon Aug 27, 2012 10:17 pm

Re: Freezing 1-3 times every day and randomly restarting itself

Post by Moonstone Man »

bbi1 wrote: Sun Aug 01, 2021 3:03 am 5.11.0-25 kernel - is that not an older kernel, it says "Supported until February 2022" whereas my current one 5.4.0-80 says Active & "Supported until April 2025"?
If you don't want to stop the random reboots then don't do it. You are quite free to continue experiencing random reboots.
bbi1
Level 1
Level 1
Posts: 37
Joined: Sat Jul 31, 2021 8:30 pm

Re: Freezing 1-3 times every day and randomly restarting itself

Post by bbi1 »

Kadaitcha Man wrote: Sun Aug 01, 2021 3:06 am
bbi1 wrote: Sun Aug 01, 2021 3:03 am 5.11.0-25 kernel - is that not an older kernel, it says "Supported until February 2022" whereas my current one 5.4.0-80 says Active & "Supported until April 2025"?
If you don't want to stop the random reboots then don't do it. You are quite free to continue experiencing random reboots.
Ok I've done as you've suggested and installed 5.11.0-25 kernel. Hopefully it fixes the reboot problems. Thanks for your suggestion.
Moonstone Man
Level 16
Level 16
Posts: 6054
Joined: Mon Aug 27, 2012 10:17 pm

Re: Freezing 1-3 times every day and randomly restarting itself

Post by Moonstone Man »

bbi1 wrote: Sun Aug 01, 2021 3:11 am Thanks for your suggestion.
No problem. 5.11 is newer than 5.4. Kernel 5.4 gets security updates for the life of Linux Mint, but it doesn't get a lot of new features, which are necessary for newer CPUs. At some point, 5.11 will be replaced by a newer kernel in 2022 but in the meantime it wit will receive updates.
bbi1
Level 1
Level 1
Posts: 37
Joined: Sat Jul 31, 2021 8:30 pm

Re: Freezing 1-3 times every day and randomly restarting itself

Post by bbi1 »

Kadaitcha Man wrote: Sun Aug 01, 2021 3:14 am
bbi1 wrote: Sun Aug 01, 2021 3:11 am Thanks for your suggestion.
No problem. 5.11 is newer than 5.4. Kernel 5.4 gets security updates for the life of Linux Mint, but it doesn't get a lot of new features, which are necessary for newer CPUs. At some point, 5.11 will be replaced by a newer kernel in 2022 but in the meantime it wit will receive updates.
Unfortunately updating to the 5.11.0-25 Kernel hasn't solved this issue. After waking up the laptop after it being suspended, it automatically rebooted itself again.

Are there any other solutions anyone can think of?

There's also another issue I didn't mention before. The Wifi internet connectivity always has been randomly not been connected, even though the Wifi icon shows that it's always connected. I always have to click on the Wifi icon and click to turn of the Wireless then click to turn back on the Wireless, then it connects again. I have to always do this process multiple times a day to get back my Wireless connectivity.

Below is my new System Report:

Code: Select all

System:    Kernel: 5.11.0-25-generic x86_64 bits: 64 compiler: N/A Desktop: Cinnamon 5.0.5 
           wm: muffin dm: LightDM Distro: Linux Mint 20.2 Uma base: Ubuntu 20.04 focal 
Machine:   Type: Laptop System: Dell product: XPS 15 9500 v: N/A serial: <filter> Chassis: 
           type: 10 serial: <filter> 
           Mobo: Dell model: 05XYW7 v: A00 serial: <filter> UEFI: Dell v: 1.6.1 date: 12/24/2020 
Battery:   ID-1: BAT0 charge: 77.2 Wh condition: 77.2/84.3 Wh (92%) volts: 13.1/11.4 
           model: BYD DELL M59JH05 serial: <filter> status: Full 
CPU:       Topology: 6-Core model: Intel Core i7-10750H bits: 64 type: MT MCP arch: N/A 
           L2 cache: 12.0 MiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 62399 
           Speed: 3122 MHz min/max: 800/5000 MHz Core speeds (MHz): 1: 3279 2: 3499 3: 3500 
           4: 3500 5: 3500 6: 3500 7: 3500 8: 3500 9: 3500 10: 3500 11: 3462 12: 3490 
Graphics:  Device-1: Intel UHD Graphics vendor: Dell driver: i915 v: kernel bus ID: 00:02.0 
           chip ID: 8086:9bc4 
           Device-2: NVIDIA vendor: Dell driver: nouveau v: kernel bus ID: 01:00.0 
           chip ID: 10de:1f95 
           Display: x11 server: X.Org 1.20.9 driver: modesetting unloaded: fbdev,vesa 
           resolution: 3840x2400~60Hz 
           OpenGL: renderer: Mesa Intel UHD Graphics (CML GT2) v: 4.6 Mesa 20.2.6 
           direct render: Yes 
Audio:     Device-1: Intel Comet Lake PCH cAVS vendor: Dell driver: snd_hda_intel v: kernel 
           bus ID: 00:1f.3 chip ID: 8086:06c8 
           Sound Server: ALSA v: k5.11.0-25-generic 
Network:   Device-1: Intel Wi-Fi 6 AX201 vendor: Bigfoot Networks driver: iwlwifi v: kernel 
           port: 4000 bus ID: 00:14.3 chip ID: 8086:06f0 
           IF: wlp0s20f3 state: up mac: <filter> 
Drives:    Local Storage: total: 953.87 GiB used: 877.54 GiB (92.0%) 
           ID-1: /dev/nvme0n1 vendor: Toshiba model: KXG60ZNV1T02 NVMe 1024GB size: 953.87 GiB 
           speed: 31.6 Gb/s lanes: 4 serial: <filter> 
Partition: ID-1: / size: 479.62 GiB used: 438.72 GiB (91.5%) fs: ext4 dev: /dev/nvme0n1p7 
USB:       Hub: 1-0:1 info: Full speed (or root) Hub ports: 16 rev: 2.0 chip ID: 1d6b:0002 
           Hub: 1-3:2 info: VIA Labs USB2.0 Hub ports: 4 rev: 2.1 chip ID: 2109:2211 
           Device-1: 1-3.1:5 info: Logitech M105 Optical Mouse type: Mouse 
           driver: hid-generic,usbhid rev: 2.0 chip ID: 046d:c077 
           Device-2: 1-3.2:7 info: Dell type: Billboard driver: N/A rev: 2.0 chip ID: 413c:b080 
           Device-3: 1-10:3 info: Shenzhen Goodix FingerPrint type: <vendor specific> driver: N/A 
           rev: 2.0 chip ID: 27c6:533c 
           Device-4: 1-11:4 info: Microdia Integrated_Webcam_HD type: Video driver: uvcvideo 
           rev: 2.0 chip ID: 0c45:6d14 
           Device-5: 1-14:6 info: Intel type: Bluetooth driver: btusb rev: 2.0 chip ID: 8087:0026 
           Hub: 2-0:1 info: Full speed (or root) Hub ports: 10 rev: 3.1 chip ID: 1d6b:0003 
           Hub: 2-1:2 info: VIA Labs USB3.0 Hub ports: 1 rev: 3.1 chip ID: 2109:0211 
           Hub: 3-0:1 info: Full speed (or root) Hub ports: 2 rev: 2.0 chip ID: 1d6b:0002 
           Hub: 4-0:1 info: Full speed (or root) Hub ports: 2 rev: 3.1 chip ID: 1d6b:0003 
Sensors:   System Temperatures: cpu: 43.0 C mobo: N/A gpu: nouveau temp: 43 C 
           Fan Speeds (RPM): cpu: 2778 fan-2: 3069 
Repos:     No active apt repos in: /etc/apt/sources.list 
           Active apt repos in: /etc/apt/sources.list.d/brave-browser-release.list 
           1: deb [arch=amd64] https: //brave-browser-apt-release.s3.brave.com/ stable main
           Active apt repos in: /etc/apt/sources.list.d/deki-firejail-focal.list 
           1: deb http: //ppa.launchpad.net/deki/firejail/ubuntu focal main
           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 https: //mirror.aarnet.edu.au/pub/linuxmint-packages uma main upstream import backport
           2: deb http: //mirror.realcompute.io/ubuntu focal main restricted universe multiverse
           3: deb http: //mirror.realcompute.io/ubuntu focal-updates main restricted universe multiverse
           4: deb http: //mirror.realcompute.io/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/unit193-encryption-focal.list 
           1: deb http: //ppa.launchpad.net/unit193/encryption/ubuntu focal main
           Active apt repos in: /etc/apt/sources.list.d/vivaldi.list 
           1: deb http: //repo.vivaldi.com/stable/deb/ stable main
Info:      Processes: 398 Uptime: 1h 28m Memory: 62.56 GiB used: 12.34 GiB (19.7%) Init: systemd 
           v: 245 runlevel: 5 Compilers: gcc: 9.3.0 alt: 9 Client: Unknown python3.8 client 
           inxi: 3.0.38 
Last edited by bbi1 on Sun Aug 01, 2021 8:48 pm, edited 1 time in total.
motoryzen
Level 10
Level 10
Posts: 3489
Joined: Sun Dec 08, 2019 12:25 am

Re: Freezing 1-3 times every day and randomly restarting itself

Post by motoryzen »

bbi1 wrote: Sun Aug 01, 2021 7:47 pm
Kadaitcha Man wrote: Sun Aug 01, 2021 3:14 am
bbi1 wrote: Sun Aug 01, 2021 3:11 am Thanks for your suggestion.
No problem. 5.11 is newer than 5.4. Kernel 5.4 gets security updates for the life of Linux Mint, but it doesn't get a lot of new features, which are necessary for newer CPUs. At some point, 5.11 will be replaced by a newer kernel in 2022 but in the meantime it wit will receive updates.
Unfortunately updating to the 5.11.0-25 Kernel hasn't solved this issue. After waking up the laptop after it being suspended, it automatically rebooted itself again.

Are there any other solutions anyone can think of?

There's also another issue I didn't mention before. The Wifi internet connectivity always has been randomly not been connected, even though the Wifi icon shows that it's always connected. I always have to click on the Wifi icon and click to turn of the Wireless then click to turn back on the Wireless, then it connects again. I have to always do this process multiple times a day to get back my Wireless connectivity.
That laptop has a very interesting electrical/hardware problem as far as the a/c power connection issues you outlined early..are concerned.

I'm also curious if maybe there is a powersaver setting involve that is putting the wlan aka wifi 's usb device ( as in putting usb ports to sleep) to sleep within this laptop causing it to lose wifi connection.
Mint 21.2 Cinnamon 5.8.4
asrock x570 taichi ...bios p5.00
ryzen 5900x
128GB Kingston Fury @ 3600mhz
Corsair mp600 pro xt NVME ssd 4TB
three 4TB ssds
dual 1TB ssds
Two 16TB Toshiba hdd's
24GB amd 7900xtx vid card
Viewsonic Elite UHD 32" 144hz monitor
bbi1
Level 1
Level 1
Posts: 37
Joined: Sat Jul 31, 2021 8:30 pm

Re: Freezing 1-3 times every day and randomly restarting itself

Post by bbi1 »

motoryzen wrote: Sun Aug 01, 2021 8:41 pm
bbi1 wrote: Sun Aug 01, 2021 7:47 pm Unfortunately updating to the 5.11.0-25 Kernel hasn't solved this issue. After waking up the laptop after it being suspended, it automatically rebooted itself again.

Are there any other solutions anyone can think of?

There's also another issue I didn't mention before. The Wifi internet connectivity always has been randomly not been connected, even though the Wifi icon shows that it's always connected. I always have to click on the Wifi icon and click to turn of the Wireless then click to turn back on the Wireless, then it connects again. I have to always do this process multiple times a day to get back my Wireless connectivity.
That laptop has a very interesting electrical/hardware problem as far as the a/c power connection issues you outlined early..are concerned.

I'm also curious if maybe there is a powersaver setting involve that is putting the wlan aka wifi 's usb device ( as in putting usb ports to sleep) to sleep within this laptop causing it to lose wifi connection.
Should I contact Dell while it's under warranty to see if it's an electical/hardware problem that's causing the AC power connection to the USB-C port not to charge after Linux Mint causes the laptop to reboot itself after I wake it up after it's been suspended?

There are my Power Management settings: https://ibb.co/PTVnfMr
motoryzen
Level 10
Level 10
Posts: 3489
Joined: Sun Dec 08, 2019 12:25 am

Re: Freezing 1-3 times every day and randomly restarting itself

Post by motoryzen »

Yes I would definitely contact Dell given it's still under warranty...No laptop should be misbehaving that way

Regarding that screen shot. Thanks for providing that, but that settings screen/menu doesn't have anything about whether it's treating your PC In power saver mode..or performance or balanced..

Regardless, I think someone needs to take good look at the electrical parts of that PC no matter what.
Mint 21.2 Cinnamon 5.8.4
asrock x570 taichi ...bios p5.00
ryzen 5900x
128GB Kingston Fury @ 3600mhz
Corsair mp600 pro xt NVME ssd 4TB
three 4TB ssds
dual 1TB ssds
Two 16TB Toshiba hdd's
24GB amd 7900xtx vid card
Viewsonic Elite UHD 32" 144hz monitor
Moonstone Man
Level 16
Level 16
Posts: 6054
Joined: Mon Aug 27, 2012 10:17 pm

Re: Freezing 1-3 times every day and randomly restarting itself

Post by Moonstone Man »

bbi1 wrote: Sun Aug 01, 2021 9:45 pm Should I contact Dell while it's under warranty to see if it's an electical/hardware problem that's causing the AC power connection to the USB-C port not to charge after Linux Mint causes the laptop to reboot itself after I wake it up after it's been suspended?
Wait. You have a complex operation there:
AC power connection to the USB-C port not to charge after Linux Mint causes the laptop to reboot itself after I wake it up after it's been suspended?
That complex operation needs to be broken down and the steps isolated. Reboot and instead of putting it into suspend when you aren't using it, shut it down. If the problem persists while doing that, then contact Dell. The problem is far less likely to be with the laptop.
rickNS
Level 9
Level 9
Posts: 2976
Joined: Tue Jan 25, 2011 11:59 pm

Re: Freezing 1-3 times every day and randomly restarting itself

Post by rickNS »

bbi1 wrote: Sun Aug 01, 2021 9:45 pm
Should I contact Dell while it's under warranty to see if it's an electical/hardware problem that's causing the AC power connection to the USB-C port not to charge after Linux Mint causes the laptop to reboot itself after I wake it up after it's been suspended?
I would not contact Dell either...yet. It wasn't dell who put Linux Mint on their machine.
I dual loaded Linux Mint 20 the very 1st day I got the laptop alongside Windows
Does the laptop freeze, and otherwise misbehave when booted into win10 ? If not then it isn't Dell's problem.

In any case I'm sorry you're having so many freezes, I have no idea what that is like I have NEVER had a Linux freeze in over a decade.

Grasping at straws here, maybe you did something some months ago, that has something to do with it, maybe a clean install..

Here's a fellow with a Dell that kept freezing, even with few different Linux distros, and how he solved his problem.
https://blog.hosni.me/2018/07/fix-linux ... -dell.html
Mint 20.0, and 21.0 MATE on Thinkpads, 3 X T420, T450, T470, and X200
bbi1
Level 1
Level 1
Posts: 37
Joined: Sat Jul 31, 2021 8:30 pm

Re: Freezing 1-3 times every day and randomly restarting itself

Post by bbi1 »

Kadaitcha Man wrote: Sun Aug 01, 2021 10:43 pm

That complex operation needs to be broken down and the steps isolated. Reboot and instead of putting it into suspend when you aren't using it, shut it down. If the problem persists while doing that, then contact Dell. The problem is far less likely to be with the laptop.
If I shut down Mint while the power cable is in the USB-C port, there's never a problem when I boot into Mint & log in. It only happens when Mint reboots itself after it has been suspended.

What I noticed today is last night I shut down Mint and disconnected the power cable. I didn't connect it back to the laptop this morning. I booted into Mint and logged in. It was using the battery power. I then connect the power cable to any USB-C port and it doesn't start charging. I kept the cable connected and shut down. Then boot into Mint again & log in. Still no charging. Restart (instead of shut down) and back into Mint. Same issue. So I shut down and boot into Windows. Windows also doesn't show it's charging, also just uses battery power. Then I shut down. Now that the laptop is off I connect the power cable to USB-C port and it starts charging. Boot into Mint and all is fine, it uses the power cable.

That is what I find very strange. It has to be something wrong with the operating system.
rickNS wrote: Mon Aug 02, 2021 9:55 am Does the laptop freeze, and otherwise misbehave when booted into win10 ? If not then it isn't Dell's problem.
I don't really use Windows at all. Only used it the 1st day I got the laptop and a few times since just for a few mins each time. It never crashed on me, but I haven't really spent much time in Windows.
Moonstone Man
Level 16
Level 16
Posts: 6054
Joined: Mon Aug 27, 2012 10:17 pm

Re: Freezing 1-3 times every day and randomly restarting itself

Post by Moonstone Man »

bbi1 wrote: Mon Aug 02, 2021 7:45 pm That is what I find very strange. It has to be something wrong with the operating system.
That's still a very big maybe because it's not actually proven. It could be a UEFI/BIOS problem. A check for an updated UEFI/BIOS might be in order, as well as tests with a USB live media, possibly a different OS, such as MX Linux. If it is a problem with the UEFI/BIOS then you're going to need all the evidence in one place before contacting Dell.
User avatar
SMG
Level 25
Level 25
Posts: 31971
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Freezing 1-3 times every day and randomly restarting itself

Post by SMG »

bbi1 wrote: Sun Aug 01, 2021 7:47 pmAre there any other solutions anyone can think of?
Maybe the Nvidia driver will work better than nouveau on your system. I suspect drivers are available in Driver Manager.

It is also possible you are running into issues because your system is so full.
Partition: ID-1: / size: 479.62 GiB used: 438.72 GiB (91.5%) fs: ext4 dev: /dev/nvme0n1p7

Here are some tips How to Clean Linux Mint Safely.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
bbi1
Level 1
Level 1
Posts: 37
Joined: Sat Jul 31, 2021 8:30 pm

Re: Freezing 1-3 times every day and randomly restarting itself

Post by bbi1 »

SMG wrote: Mon Aug 02, 2021 8:37 pm
bbi1 wrote: Sun Aug 01, 2021 7:47 pmAre there any other solutions anyone can think of?
Maybe the Nvidia driver will work better than nouveau on your system. I suspect drivers are available in Driver Manager.
Kadaitcha Man wrote: Mon Aug 02, 2021 7:59 pm
bbi1 wrote: Mon Aug 02, 2021 7:45 pm That is what I find very strange. It has to be something wrong with the operating system.
That's still a very big maybe because it's not actually proven. It could be a UEFI/BIOS problem. A check for an updated UEFI/BIOS might be in order, as well as tests with a USB live media, possibly a different OS, such as MX Linux. If it is a problem with the UEFI/BIOS then you're going to need all the evidence in one place before contacting Dell.
I changed to the NVIDIA driver as recommended and updated my BIOS by logging into Windows and doing an automatic check for all updates where it also downloads the Dell BIOS firmware and automatically installs the latest version. The BIOS firmware automatically flashed and installed successfully on reboot. Then I went back to Mint.

Now I have another bigger problem. When I load Mint and enter my password and press enter, it doesn't proceed to log in. The screen goes black color for 1 second then goes off for 2 seconds then takes me back to the Mint login page. I can't log in, it just does the same thing over and over in a loop. I'm starting to panic. Please, can anyone help with this?

From GRUB I tried booting into recovery mode and selected 'clean' to make some free space and it removed 6,000MB of files. Then when I continue nothing happens. So I press power button once then it turns off laptop. I boot Mint normally and at login screen same issue, I can't get in. What should I do?
User avatar
SMG
Level 25
Level 25
Posts: 31971
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Freezing 1-3 times every day and randomly restarting itself

Post by SMG »

bbi1 wrote: Tue Aug 03, 2021 5:59 amNow I have another bigger problem. When I load Mint and enter my password and press enter, it doesn't proceed to log in. The screen goes black color for 1 second then goes off for 2 seconds then takes me back to the Mint login page. I can't log in, it just does the same thing over and over in a loop. I'm starting to panic. Please, can anyone help with this?

From GRUB I tried booting into recovery mode and selected 'clean' to make some free space and it removed 6,000MB of files. Then when I continue nothing happens. So I press power button once then it turns off laptop. I boot Mint normally and at login screen same issue, I can't get in. What should I do?
If you are stuck in a login loop (you put in the correct password and it keeps coming back to the login screen), then try the advice in this post.

If it turns out you still need to clear more room, maybe some of the tips in this thread Disk full, unable to login. I need help [SOLVED] may help you
Image
A woman typing on a laptop with LM20.3 Cinnamon.
bbi1
Level 1
Level 1
Posts: 37
Joined: Sat Jul 31, 2021 8:30 pm

Re: Freezing 1-3 times every day and randomly restarting itself

Post by bbi1 »

SMG wrote: Tue Aug 03, 2021 7:59 am
bbi1 wrote: Tue Aug 03, 2021 5:59 amNow I have another bigger problem. When I load Mint and enter my password and press enter, it doesn't proceed to log in. The screen goes black color for 1 second then goes off for 2 seconds then takes me back to the Mint login page. I can't log in, it just does the same thing over and over in a loop. I'm starting to panic. Please, can anyone help with this?

From GRUB I tried booting into recovery mode and selected 'clean' to make some free space and it removed 6,000MB of files. Then when I continue nothing happens. So I press power button once then it turns off laptop. I boot Mint normally and at login screen same issue, I can't get in. What should I do?
If you are stuck in a login loop (you put in the correct password and it keeps coming back to the login screen), then try the advice in this post.

If it turns out you still need to clear more room, maybe some of the tips in this thread Disk full, unable to login. I need help [SOLVED] may help you
I'm still unable to log in after freeing some disk space. I've managed to free up a little disk space. Before I was at 94% full (with 32GB free space) and now I'm at 93% full. Is 32GB free space not enough to log into Mint and create a login loop?

I am also unable to execute the commandline

Code: Select all

rm .ICEauthority .Xauthority
as Mint says "No such file or directory"

I have executed these following things as per my screenshot. Please see screenshot: https://ibb.co/C64RWQD

I also get the attached error messages when Mint is booting just before getting the login screen, but I think it could be the same error messages I always get every day since the 1st time Mint was installed: https://ibb.co/Wc533XV

I also tried booting via a Live USB of Mint to try and delete some files in my Home folder, but I can't get in because my Home folder is encrypted by Mint. If I could get into my Home folder then I could probably delete about 30GB of files that aren't necessary.
User avatar
SMG
Level 25
Level 25
Posts: 31971
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Freezing 1-3 times every day and randomly restarting itself

Post by SMG »

bbi1 wrote: Tue Aug 03, 2021 6:58 pmI'm still unable to log in after freeing some disk space. I've managed to free up a little disk space. Before I was at 94% full (with 32GB free space) and now I'm at 93% full. Is 32GB free space not enough to log into Mint and create a login loop?
I think the percentage is more important than the actual space. To me, either one sounds like you should have been able to log in.
bbi1 wrote: Tue Aug 03, 2021 6:58 pmI am also unable to execute the commandline

Code: Select all

rm .ICEauthority .Xauthority
as Mint says "No such file or directory"
I just checked my install and I only see .Xauthority in my home directory. Perhaps something changed in between earlier versions of LM (LM19 was in the other thread) and LM20. I do not have much experience with those files. It's my understanding those files are generated/updated each time you boot. That is why removing them can help if they are corrupted--they will be regenerated. I do not know why that file might not be on your system.
bbi1 wrote: Tue Aug 03, 2021 6:58 pmI have executed these following things as per my screenshot. Please see screenshot: https://ibb.co/C64RWQD
Snaps are not supported in LM20.
bbi1 wrote: Tue Aug 03, 2021 6:58 pmI also get the attached error messages when Mint is booting just before getting the login screen, but I think it could be the same error messages I always get every day since the 1st time Mint was installed: https://ibb.co/Wc533XV
Here is info on Intel® Software Guard Extensions (Intel® SGX) Support on a Platform. Since I presume you had this message before this problem, I would not expect it is an issue.

I've also not heard of touchpad/mice issues causing problems logging in.
bbi1 wrote: Tue Aug 03, 2021 6:58 pmI also tried booting via a Live USB of Mint to try and delete some files in my Home folder, but I can't get in because my Home folder is encrypted by Mint. If I could get into my Home folder then I could probably delete about 30GB of files that aren't necessary.
Maybe this link HOWTO: Recover files from encrypted ecryptfs home directory will help if that is the encryption method you used.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
Locked

Return to “Beginner Questions”