<SOLVED> Mint doesn't recover from sleep

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
User avatar
DavidMKane
Level 1
Level 1
Posts: 23
Joined: Sat Apr 10, 2021 11:00 am
Location: Italy

<SOLVED> Mint doesn't recover from sleep

Post by DavidMKane »

Hi,
I recently installed LM 20.1 on my laptop and I'm having issues with sleep mode. When ever I put my pc at sleep from LM and than move around the mouse I can hear the fans spin up and the screen lights up (black) but i get nothing more than a n underscore ( "_" ) in the top left corner.
[rimg]https://ibb.co/vDgQBPr[/img]

I discovered that by pressing F1 on the keyboard (it has to be the laptop's one, tried with usb external and doesn't) output:
"Linux Mint 20.1 Ulyssa Patronus-Mint tty1
Patronus-Mint login: _"
[rimg]https://ibb.co/ygjhYgh[/img]

Once by pressing a bunch of different function keys and than F1 it outputted:
[rimg]https://ibb.co/55P21GJ[/img]

On al three of the last cases if I type with the keyboard there is no effect on the monitor.

I can not understand what causes this problem so I'll include the output of the command inxi -Fxxxrz how it's asked in the How to get help guide:

Code: Select all

$ inxi -Fxxxrz
System:
  Kernel: 5.4.0-70-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 
  Desktop: Cinnamon 4.8.6 info: plank wm: muffin 4.8.1 dm: LightDM 1.30.0 
  Distro: Linux Mint 20.1 Ulyssa base: Ubuntu 20.04 focal 
Machine:
  Type: Laptop System: HP product: HP Pavilion Power Laptop 15-cb0xx 
  v: Type1ProductConfigId serial: <filter> Chassis: type: 10 
  serial: <filter> 
  Mobo: HP model: 836B v: 46.24 serial: <filter> UEFI: Insyde v: F.41 
  date: 12/01/2020 
Battery:
  ID-1: BAT0 charge: 57.2 Wh condition: 57.2/57.2 Wh (100%) volts: 17.1/15.4 
  model: HP Primary type: Li-ion serial: <filter> status: Full 
  Device-1: hid-34:88:5d:d8:d6:85-battery model: Keyboard K380 serial: N/A 
  charge: N/A status: Discharging 
  Device-2: hidpp_battery_0 
  model: Logitech M720 Triathlon Multi-Device Mouse serial: <filter> 
  charge: 55% (should be ignored) rechargeable: yes status: Discharging 
CPU:
  Topology: Quad Core model: Intel Core i7-7700HQ bits: 64 type: MT MCP 
  arch: Kaby Lake rev: 9 L2 cache: 6144 KiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx 
  bogomips: 44798 
  Speed: 800 MHz min/max: 800/3800 MHz Core speeds (MHz): 1: 800 2: 800 
  3: 800 4: 800 5: 800 6: 800 7: 800 8: 800 
Graphics:
  Device-1: Intel HD Graphics 630 vendor: Hewlett-Packard driver: i915 
  v: kernel bus ID: 00:02.0 chip ID: 8086:591b 
  Device-2: NVIDIA GP107M [GeForce GTX 1050 Mobile] vendor: Hewlett-Packard 
  driver: nvidia v: 460.39 bus ID: 01:00.0 chip ID: 10de:1c8d 
  Display: x11 server: X.Org 1.20.9 driver: modesetting,nvidia 
  unloaded: fbdev,nouveau,vesa resolution: 1920x1080~60Hz, 1920x1080~60Hz 
  OpenGL: renderer: GeForce GTX 1050/PCIe/SSE2 v: 4.6.0 NVIDIA 460.39 
  direct render: Yes 
Audio:
  Device-1: Intel CM238 HD Audio vendor: Hewlett-Packard 
  driver: snd_hda_intel v: kernel bus ID: 00:1f.3 chip ID: 8086:a171 
  Device-2: NVIDIA GP107GL High Definition Audio driver: snd_hda_intel 
  v: kernel bus ID: 01:00.1 chip ID: 10de:0fb9 
  Sound Server: ALSA v: k5.4.0-70-generic 
Network:
  Device-1: Intel Wireless 7265 driver: iwlwifi v: kernel port: 4000 
  bus ID: 04:00.0 chip ID: 8086:095a 
  IF: wlo1 state: down mac: <filter> 
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: Hewlett-Packard driver: r8169 v: kernel port: 3000 bus ID: 05:00.0 
  chip ID: 10ec:8168 
  IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter> 
Drives:
  Local Storage: total: 1.14 TiB used: 32.91 GiB (2.8%) 
  ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 970 EVO Plus 250GB 
  size: 232.89 GiB speed: 31.6 Gb/s lanes: 4 serial: <filter> rev: 2B2QEXM7 
  scheme: GPT 
  ID-2: /dev/sda vendor: HGST (Hitachi) model: HTS721010A9E630 
  size: 931.51 GiB speed: 6.0 Gb/s rotation: 7200 rpm serial: <filter> 
  rev: A3T0 scheme: GPT 
Partition:
  ID-1: / size: 38.20 GiB used: 32.89 GiB (86.1%) fs: ext4 
  dev: /dev/nvme0n1p4 
Sensors:
  System Temperatures: cpu: 61.0 C mobo: N/A gpu: nvidia temp: 59 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/obsproject-obs-studio-focal.list 
  1: deb http://ppa.launchpad.net/obsproject/obs-studio/ubuntu focal main
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 
  1: deb http://mirrors.evowise.com/linuxmint/packages ulyssa main upstream import backport
  2: deb http://it-mirrors.evowise.com/ubuntu focal main restricted universe multiverse
  3: deb http://it-mirrors.evowise.com/ubuntu focal-updates main restricted universe multiverse
  4: deb http://it-mirrors.evowise.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
  Active apt repos in: /etc/apt/sources.list.d/papirus-papirus-focal.list 
  1: deb http://ppa.launchpad.net/papirus/papirus/ubuntu focal main
Info:
  Processes: 256 Uptime: 8m Memory: 11.59 GiB used: 1.55 GiB (13.3%) 
  Init: systemd v: 245 runlevel: 5 Compilers: gcc: 9.3.0 alt: 9 Shell: bash 
  v: 5.0.17 running in: gnome-terminal inxi: 3.0.38
Hope the informations provided are enough, it is already written in the command output but for safety: I have a Nvidia graphic card in the laptop and I'm running the proprietary drivers, I'm also dualbooting windows 10 that is set as 1° os to boot up. I'm still have to figure out how to set linux mint as primary start up os but I'm sure that is well documented online.
Hope you can help, I know that similar problems have already been asked on this forum but I red that it can depend from the specific hardware and I had no luck in finding solved similar topics for LM 20.1.
Thanks.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
SMG
Level 25
Level 25
Posts: 31815
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Mint doesn't recover from sleep

Post by SMG »

DavidMKane wrote: Sat Apr 10, 2021 5:31 pmOn al three of the last cases if I type with the keyboard there is no effect on the monitor.

I can not understand what causes this problem
There are two potential issues I see.

The first is your extremely tiny Mint install. Because it is so small, your root partition is already very full. That can cause problems with graphics and performance. Since your screen is black, graphics are definitely affected.

Partition:
ID-1: / size: 38.20 GiB used: 32.89 GiB (86.1%) fs: ext4
dev: /dev/nvme0n1p4

The second possible issue may your Logitech wireless devices. Depending on the model, some of them have been known to interfere with the computer's ability to wake from sleep. Try turning off the wireless receivers before putting the laptop to sleep and then see if the screen wakes up.

When troubleshooting an issue like this, it is best to start with just the basic install (no added hardware) and make sure that works first. Then start adding items to see what happens.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
User avatar
DavidMKane
Level 1
Level 1
Posts: 23
Joined: Sat Apr 10, 2021 11:00 am
Location: Italy

Re: Mint doesn't recover from sleep

Post by DavidMKane »

Hi,
Thanks for responding, I tried to disconnect the unifing usb logitech receiver and to disconnect the logitech bluetooth keyboard but nothing changed.

Do you think I should fresh install linux mint on my laptop?

If yes how much space would you suggest to use? For the moment I would prefer to stay under 100 GB. I have a 250 GB ssd that in windows shows up as 232GB.

If I have to fresh install linux do you have any Idea of how to keep the customisation that I made at the user interface? If you have to google the answer to this last question don't bother responding, because I'm quite sure I could find the answer my self with a google search and if I'll fresh install mint probably I'll install gnome 40 as desktop environment.

PS. Not sure if how I wrote the last sentence with bother is considered rude in English. If it is I'm sorry, it wasn't intended like that. I'm not English mother tongue so some times it gets difficult to control the feel of a sentence. :D
User avatar
SMG
Level 25
Level 25
Posts: 31815
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Mint doesn't recover from sleep

Post by SMG »

DavidMKane wrote: Sun Apr 11, 2021 9:24 amDo you think I should fresh install linux mint on my laptop?

If yes how much space would you suggest to use? For the moment I would prefer to stay under 100 GB. I have a 250 GB ssd that in windows shows up as 232GB.
Normally, we recommend for LM20 to have one's root partition be 30-50GB in size when one has a separate home partition in addition to the root partition. Your install does not have a home partition. You have installed OBS which is not only a large program, but it also means you are going to need room for the videos you create/edit and videos are large files.

I recommend you decide how you plan to use Mint (or whatever distro you decide to use). If you plan to keep videos in a separate data partition, then that keeps your Mint partition from getting too full. Mint system performance can be impacted once the root partition starts getting higher than 65-70% because that is the point SSDs an nvme drives start slowing because of how they handle read/writes. Your system is already above that level.
DavidMKane wrote: Sun Apr 11, 2021 9:24 amIf I have to fresh install linux do you have any Idea of how to keep the customisation that I made at the user interface?
I do not know what customizations you made, so I am not able to answer that question.
DavidMKane wrote: Sun Apr 11, 2021 9:24 am... if I'll fresh install mint probably I'll install gnome 40 as desktop environment.
I have no idea what this means because there is no gnome 40 desktop for Mint. There are only three supported desktops for Linux Mint: Cinnamon, MATE, and Xfce.

It is possible your system is having problems resuming from sleep because of something you installed. To determine if that might be the case, boot your install usb/dvd to a live session of Mint and see if you can put the computer to sleep and get a screen when it resumes from sleep.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
Glamtrains

Re: Mint doesn't recover from sleep

Post by Glamtrains »

In well over a decade, I never had any laptop that, in any Linux distro, would wake from sleep and I resorted into believing that wake from sleep "just ain't a Linux thing." That is where Windows still betters Linux.

I tried on HP, eMachines, Dell Inspiron, Acer, two different Thinkpads. :roll:
opjose
Level 1
Level 1
Posts: 36
Joined: Tue Aug 18, 2020 2:30 am

Re: Mint doesn't recover from sleep

Post by opjose »

I don't think I've every owned or used a laptop that doesn't wake from sleep when using Linux, once hibernation was set up properly.

Recovery from some laptops that do not have a sleep/swap area set up can take a while. It sounds like the OP is dropping to text mode with CTRL-ALT-F1, he could log in that way and check to see if X restarted properly, or wait a few minutes to see if the graphics is re-initialized returning him to the GUI.

see: https://www.cloudsavvyit.com/9607/how-t ... mand-line/
hans123
Level 3
Level 3
Posts: 149
Joined: Mon Jun 11, 2007 11:15 am

Re: Mint doesn't recover from sleep

Post by hans123 »

Since the laptop has 2 graphic cards, its is probably worthwhile to investigate the issue in that direction, i.e. re-initialize -problem when wake up from sleep.
In the Log File Viewer you can look up / filter Wake messages from the Kernel and related processes.
User avatar
SMG
Level 25
Level 25
Posts: 31815
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Mint doesn't recover from sleep

Post by SMG »

Sleep and hibernation are two different functions.

Sleep is saving to RAM (memory) and works by default in Mint.

Hibernation is saving to disk and is turned off by default in Mint. One has to set up the proper swap file or swap partition (hibernation can be done with either) and make some other changes to be able to hibernate their computer. Here are the instructions for hibernation. While they were created for LM19, they also work in LM20.
[GUIDE] How to hibernate to a swap file in Linux Mint 19.x
How to enable hibernation with swap partition on Linux Mint 19
Image
A woman typing on a laptop with LM20.3 Cinnamon.
Glamtrains

Re: Mint doesn't recover from sleep

Post by Glamtrains »

I know the difference and also know that neither ever worked on any of my systems in Linux, despite setting it up correctly. In Windows & Mac, it's a breeze. In Linux, my systems may sleep or sometimes even hibernate, but getting it to wake up requires hard booting.

In Manjaro, the swap partition = RAM size to save a session to disk. Yet you try get it to wake up again....it simply won't.
User avatar
DavidMKane
Level 1
Level 1
Posts: 23
Joined: Sat Apr 10, 2021 11:00 am
Location: Italy

Re: Mint doesn't recover from sleep

Post by DavidMKane »

My sorry for responding only now, several days after your message but I was very busy in the last days.
SMG wrote: Sun Apr 11, 2021 1:39 pm Normally, we recommend for LM20 to have one's root partition be 30-50GB in size when one has a separate home partition in addition to the root partition. Your install does not have a home partition. You have installed OBS which is not only a large program, but it also means you are going to need room for the videos you create/edit and videos are large files.

I recommend you decide how you plan to use Mint (or whatever distro you decide to use). If you plan to keep videos in a separate data partition, then that keeps your Mint partition from getting too full. Mint system performance can be impacted once the root partition starts getting higher than 65-70% because that is the point SSDs an nvme drives start slowing because of how they handle read/writes. Your system is already above that level.
From what I understood it looks like some how I managed to use the hole 40 GB that I gave to LM. Do you think it is possible to keep the partition that I already have as a root partition and just create a new home partition? If it is possible could you give me an idea of how difficult it is to make on a scale of 1 to 10 please. I'm asking in order to understand if it is worth the effort or if it is just easier to fresh install. Do you think it makes sense tryng tho keep the current installation or I would have to enlarge the root partition anyway? I'm the kind of person that uses the PC quite a lot so I usually have lots of program on it.
Regarding OBS I use it only to rec web meetings but all the videos are saved on the 1TB HDD of my laptop so they shouldn't be a problem.
SMG wrote: Sun Apr 11, 2021 1:39 pm I do not know what customizations you made, so I am not able to answer that question.
I moved the bottom bar, the one that when you fresh install mint contains the LM logo and program's icons, to the top. I installed some new thems and some programs. It is all visual stuf, pretty basic but I can set it all up in a small amount of time so it isn't so important if I can not keep this settings.
Most of the changes that I made where inspired from this video with some changes like using a different icon pack.
SMG wrote: Sun Apr 11, 2021 1:39 pm
DavidMKane wrote: Sun Apr 11, 2021 9:24 am... if I'll fresh install mint probably I'll install gnome 40 as desktop environment.
I have no idea what this means because there is no gnome 40 desktop for Mint. There are only three supported desktops for Linux Mint: Cinnamon, MATE, and Xfce.
I was referring to this. I thought It was quite easy to change desktop environment on Linux but I'm quite a noob so I might be very wrong.
SMG wrote: Sun Apr 11, 2021 1:39 pm It is possible your system is having problems resuming from sleep because of something you installed. To determine if that might be the case, boot your install usb/dvd to a live session of Mint and see if you can put the computer to sleep and get a screen when it resumes from sleep.
I tried this suggestion and resuming LM from sleep worked flawlessly while using it on live usb, do you think I should fresh install mint and try putting it to sleep without anything installed?
Not sure if the Idea that I'm about to give is just bad but could it be that the Nvidia drivers installed on LM are interfering? not sure but I think the live usb uses generic opensource drivers.
User avatar
DavidMKane
Level 1
Level 1
Posts: 23
Joined: Sat Apr 10, 2021 11:00 am
Location: Italy

Re: Mint doesn't recover from sleep

Post by DavidMKane »

opjose wrote: Wed Apr 14, 2021 4:34 am I don't think I've every owned or used a laptop that doesn't wake from sleep when using Linux, once hibernation was set up properly.

Recovery from some laptops that do not have a sleep/swap area set up can take a while. It sounds like the OP is dropping to text mode with CTRL-ALT-F1, he could log in that way and check to see if X restarted properly, or wait a few minutes to see if the graphics is re-initialized returning him to the GUI.

see: https://www.cloudsavvyit.com/9607/how-t ... mand-line/
Hi thanks for responding, I booted up LM (in the last three days I had used my computer very rarely and only with windows). I tried logging in but for some strange reason it displays first a black screen and than takes me beck to the login screen. worth noting that the password was recognized as correct because I tried tayping in a wrong one and it displayed a note saying it was wrong, thing that didn't happen with the correct password.

However I putted the computer in suspend mode that I think is the same as sleep and when trying to wake it up it gave the usual problem so I followed your suggestion with the keycombo and this came out (I tried logging in from the black screen in the picture but it doesn't seem to work.

Not sure but the fact that I'm no more able to log in could be due to the fact that the disk allocated to LM is already tremendously full.
User avatar
DavidMKane
Level 1
Level 1
Posts: 23
Joined: Sat Apr 10, 2021 11:00 am
Location: Italy

Re: Mint doesn't recover from sleep

Post by DavidMKane »

hans123 wrote: Wed Apr 14, 2021 5:38 am Since the laptop has 2 graphic cards, its is probably worthwhile to investigate the issue in that direction, i.e. re-initialize -problem when wake up from sleep.
In the Log File Viewer you can look up / filter Wake messages from the Kernel and related processes.
I think you could be right because in the image that I included to my last reply is reported what looks like a graphical problem.

This is the reply that I'm talking about:
DavidMKane wrote: Thu Apr 15, 2021 11:41 am
opjose wrote: Wed Apr 14, 2021 4:34 am I don't think I've every owned or used a laptop that doesn't wake from sleep when using Linux, once hibernation was set up properly.

Recovery from some laptops that do not have a sleep/swap area set up can take a while. It sounds like the OP is dropping to text mode with CTRL-ALT-F1, he could log in that way and check to see if X restarted properly, or wait a few minutes to see if the graphics is re-initialized returning him to the GUI.

see: https://www.cloudsavvyit.com/9607/how-t ... mand-line/
Hi thanks for responding, I booted up LM (in the last three days I had used my computer very rarely and only with windows). I tried logging in but for some strange reason it displays first a black screen and than takes me beck to the login screen. worth noting that the password was recognized as correct because I tried tayping in a wrong one and it displayed a note saying it was wrong, thing that didn't happen with the correct password.

However I putted the computer in suspend mode that I think is the same as sleep and when trying to wake it up it gave the usual problem so I followed your suggestion with the keycombo and this came out (I tried logging in from the black screen in the picture but it doesn't seem to work.

Not sure but the fact that I'm no more able to log in could be due to the fact that the disk allocated to LM is already tremendously full.
User avatar
DavidMKane
Level 1
Level 1
Posts: 23
Joined: Sat Apr 10, 2021 11:00 am
Location: Italy

Re: Mint doesn't recover from sleep

Post by DavidMKane »

Considering that my LM partition is fool and LM is giving quite a lot of trouble, I'm quite keen on doing a fresh install of the OS. Does some one have an Idea Idea of the amount of storage that I should allocate to LM? And Do you suggest Installing with default installation (that by looking how my current install is seams to be just a root partition with all inside it) or do you suggest manually creating a root a swap and a home partition?
My 250GB ssd (that mysteriously shows app in windows as 232GB) is currently divided in:

- Windows-10: 193 GB (96GB free)
-Linux Mint 20.1 Ulyssa: 39,06GB all fool.
-A Windows system partition: 100MB should contain MRB and EFI partition but I'm not shure.

I don't need immense amount of file storage on linux (I have a 1TB hdd in my laptop) but I quite usually tend to install a lot of programs. :D
User avatar
SMG
Level 25
Level 25
Posts: 31815
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Mint doesn't recover from sleep

Post by SMG »

DavidMKane wrote: Thu Apr 15, 2021 11:12 amFrom what I understood it looks like some how I managed to use the hole 40 GB that I gave to LM. Do you think it is possible to keep the partition that I already have as a root partition and just create a new home partition? If it is possible could you give me an idea of how difficult it is to make on a scale of 1 to 10 please. I'm asking in order to understand if it is worth the effort or if it is just easier to fresh install. Do you think it makes sense tryng tho keep the current installation or I would have to enlarge the root partition anyway? I'm the kind of person that uses the PC quite a lot so I usually have lots of program on it.
It would be better and easier to do a new install. Your current root partition has a home partition within it, so it is not just a matter of adding a home partition.

Most software installs become part of the files on the root partition, so it would probably be better for your situation to enlarge the root partition. Depending upon how much space you intend to have for Mint, it may be better to have one large root part rather than separate home and root partitions. For example, if you decide your Mint install will be 80GB, do not make a 50GB root partition and a 30GB /home. Just make one root partition of 80GB.
DavidMKane wrote: Thu Apr 15, 2021 11:12 amI was referring to this. I thought It was quite easy to change desktop environment on Linux but I'm quite a noob so I might be very wrong.
The tested desktops with Mint are Cinnamon, MATE, and Xfce. If you want to try a something else, you will be pretty much on your own resolving any problems which might happen when you do that.

The distros which are listed on that webpage are Fedora and OpenSUSE, so if that's the desktop you want, then you would want to use one of those two. There is a lot of flexibility in the three desktops provided by Mint, but I am not familiar with Gnome 40 to know how it might compare.
DavidMKane wrote: Thu Apr 15, 2021 11:12 am
SMG wrote: Sun Apr 11, 2021 1:39 pm It is possible your system is having problems resuming from sleep because of something you installed. To determine if that might be the case, boot your install usb/dvd to a live session of Mint and see if you can put the computer to sleep and get a screen when it resumes from sleep.
I tried this suggestion and resuming LM from sleep worked flawlessly while using it on live usb, do you think I should fresh install mint and try putting it to sleep without anything installed?
Not sure if the Idea that I'm about to give is just bad but could it be that the Nvidia drivers installed on LM are interfering? not sure but I think the live usb uses generic opensource drivers.
I think your very full Mint installation and/or something you installed is more likely to be the issue than the Nvidia drivers, but you can test after you reinstall.

I think it would be best to reinstall. What I recommend is manually taking Timeshift snapshot as you make changes. That way, you can easily roll back/undo a change if you run into issues. It is best to save Timeshift snapshots to a separate partition or drive, especially since you have installed so much software (that makes the original snapshot size larger).
Image
A woman typing on a laptop with LM20.3 Cinnamon.
User avatar
SMG
Level 25
Level 25
Posts: 31815
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Mint doesn't recover from sleep

Post by SMG »

DavidMKane wrote: Thu Apr 15, 2021 12:05 pmConsidering that my LM partition is fool
When the system is full, it does prevent you from logging in. It will keep returning you to the login screen even when you type the correct password. The system needs room for temporary files when it is running, so the partition can not be full.
DavidMKane wrote: Thu Apr 15, 2021 12:05 pmDoes some one have an Idea Idea of the amount of storage that I should allocate to LM? And Do you suggest Installing with default installation (that by looking how my current install is seams to be just a root partition with all inside it) or do you suggest manually creating a root a swap and a home partition?
My 250GB ssd (that mysteriously shows app in windows as 232GB) is currently divided in:

- Windows-10: 193 GB (96GB free)
-Linux Mint 20.1 Ulyssa: 39,06GB all fool.
-A Windows system partition: 100MB should contain MRB and EFI partition but I'm not shure.

I don't need immense amount of file storage on linux (I have a 1TB hdd in my laptop) but I quite usually tend to install a lot of programs. :D
It seems like you do not have a lot of space available, so I would suggest just the root partition and not separate root and home partitions.

OBS can take quite a bit of resources, so you may also want to consider having a swap partition as well.

I do not know how much space Windows 10 needs, so I do not know how much smaller you can make it and not run into issues with it. Someone else will have to advise you on that.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
Glamtrains

Re: Mint doesn't recover from sleep

Post by Glamtrains »

Upon advice from someone regarding an unrelated issue, i installed the latest Kubuntu today and updated it. Even this fresh install won't wake from sleep, although it goes to sleep seemingly fine.
User avatar
SMG
Level 25
Level 25
Posts: 31815
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Mint doesn't recover from sleep

Post by SMG »

Glamtrains wrote: Thu Apr 15, 2021 6:05 pm Upon advice from someone regarding an unrelated issue, i installed the latest Kubuntu today and updated it. Even this fresh install won't wake from sleep, although it goes to sleep seemingly fine.
If you would like help on the issue of your computer not waking from suspend, please create your own thread. This is DavidMKane's thread on the issue he is seeing on his specific hardware and install.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
Glamtrains

Re: Mint doesn't recover from sleep

Post by Glamtrains »

:oops: sorry, I didn't realise - people often write all manner of things on my thread and I just thought that is how this community works. I'll go elsewhere with this, thanks.
User avatar
DavidMKane
Level 1
Level 1
Posts: 23
Joined: Sat Apr 10, 2021 11:00 am
Location: Italy

Re: Mint doesn't recover from sleep

Post by DavidMKane »

Hi,
I fresh installed LM 20.1 Cinnamon. Now I have a bit more than 70 GB of storage (I gave 80GB to the LM install that I divided in 6144MB swap and the rest root partition).

I discovered that the problem regarding the sleep mode depends at list in part from the graphic drivers. When I use the default open source driver I have no issue waking my pc from sleep but as soon as I start using the recommended Nvidia driver the sleep issue comes back. Do you have any idea if it is possible to solve the issue with the nvidia driver or if I should just stick with the open source driver? Thanks.

Since I fresh installed LM I thought it could be usefull to post the new output of:

Code: Select all

inxi -Fxxxrz

Code: Select all

$ inxi -Fxxxrz
System:
  Kernel: 5.4.0-72-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 
  Desktop: Cinnamon 4.8.6 info: plank wm: muffin 4.8.1 dm: LightDM 1.30.0 
  Distro: Linux Mint 20.1 Ulyssa base: Ubuntu 20.04 focal 
Machine:
  Type: Laptop System: HP product: HP Pavilion Power Laptop 15-cb0xx 
  v: Type1ProductConfigId serial: <filter> Chassis: type: 10 
  serial: <filter> 
  Mobo: HP model: 836B v: 46.24 serial: <filter> UEFI: Insyde v: F.41 
  date: 12/01/2020 
Battery:
  ID-1: BAT0 charge: 48.3 Wh condition: 58.6/58.6 Wh (100%) volts: 15.9/15.4 
  model: HP Primary type: Li-ion serial: <filter> status: Discharging 
CPU:
  Topology: Quad Core model: Intel Core i7-7700HQ bits: 64 type: MT MCP 
  arch: Kaby Lake rev: 9 L2 cache: 6144 KiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx 
  bogomips: 44798 
  Speed: 800 MHz min/max: 800/3800 MHz Core speeds (MHz): 1: 800 2: 800 
  3: 800 4: 800 5: 800 6: 800 7: 800 8: 800 
Graphics:
  Device-1: Intel HD Graphics 630 vendor: Hewlett-Packard driver: i915 
  v: kernel bus ID: 00:02.0 chip ID: 8086:591b 
  Device-2: NVIDIA GP107M [GeForce GTX 1050 Mobile] vendor: Hewlett-Packard 
  driver: nouveau v: kernel bus ID: 01:00.0 chip ID: 10de:1c8d 
  Display: x11 server: X.Org 1.20.9 driver: modesetting unloaded: fbdev,vesa 
  resolution: 1920x1080~60Hz 
  OpenGL: renderer: Mesa Intel HD Graphics 630 (KBL GT2) v: 4.6 Mesa 20.2.6 
  direct render: Yes 
Audio:
  Device-1: Intel CM238 HD Audio vendor: Hewlett-Packard 
  driver: snd_hda_intel v: kernel bus ID: 00:1f.3 chip ID: 8086:a171 
  Device-2: NVIDIA GP107GL High Definition Audio driver: snd_hda_intel 
  v: kernel bus ID: 01:00.1 chip ID: 10de:0fb9 
  Sound Server: ALSA v: k5.4.0-72-generic 
Network:
  Device-1: Intel Wireless 7265 driver: iwlwifi v: kernel port: 4000 
  bus ID: 04:00.0 chip ID: 8086:095a 
  IF: wlo1 state: up mac: <filter> 
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: Hewlett-Packard driver: r8169 v: kernel port: 3000 bus ID: 05:00.0 
  chip ID: 10ec:8168 
  IF: eno1 state: down mac: <filter> 
  IF-ID-1: Patronus-PC-VPN state: unknown speed: N/A duplex: N/A mac: N/A 
Drives:
  Local Storage: total: 1.14 TiB used: 9.75 GiB (0.8%) 
  ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 970 EVO Plus 250GB 
  size: 232.89 GiB speed: 31.6 Gb/s lanes: 4 serial: <filter> rev: 2B2QEXM7 
  scheme: GPT 
  ID-2: /dev/sda vendor: HGST (Hitachi) model: HTS721010A9E630 
  size: 931.51 GiB speed: 6.0 Gb/s rotation: 7200 rpm serial: <filter> 
  rev: A3T0 scheme: GPT 
Partition:
  ID-1: / size: 71.73 GiB used: 9.73 GiB (13.6%) fs: ext4 
  dev: /dev/nvme0n1p4 
  ID-2: swap-1 size: 5.72 GiB used: 0 KiB (0.0%) fs: swap 
  dev: /dev/nvme0n1p5 
Sensors:
  System Temperatures: cpu: 42.0 C mobo: N/A gpu: nouveau temp: 42 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 [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg arch=amd64] https://brave-browser-apt-release.s3.brave.com/ stable main
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 
  1: deb http://packages.linuxmint.com ulyssa main upstream import backport
  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
  Active apt repos in: /etc/apt/sources.list.d/papirus-papirus-focal.list 
  1: deb http://ppa.launchpad.net/papirus/papirus/ubuntu focal main
Info:
  Processes: 277 Uptime: 1h 14m Memory: 11.59 GiB used: 2.74 GiB (23.6%) 
  Init: systemd v: 245 runlevel: 5 Compilers: gcc: 9.3.0 alt: 9 Shell: bash 
  v: 5.0.17 running in: gnome-terminal inxi: 3.0.38 
Not sure if it could be useful but I'll include even the output of:

Code: Select all

ubuntu-drivers devices

Code: Select all

$ ubuntu-drivers devices
== /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0 ==
modalias : pci:v000010DEd00001C8Dsv0000103Csd0000836Bbc03sc00i00
vendor   : NVIDIA Corporation
model    : GP107M [GeForce GTX 1050 Mobile]
driver   : nvidia-driver-450 - distro non-free
driver   : nvidia-driver-418-server - distro non-free
driver   : nvidia-driver-390 - distro non-free
driver   : nvidia-driver-450-server - distro non-free
driver   : nvidia-driver-460-server - distro non-free
driver   : nvidia-driver-460 - distro non-free recommended
driver   : xserver-xorg-video-nouveau - distro free builtin
I'm using the last driver in the list.
User avatar
SMG
Level 25
Level 25
Posts: 31815
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Mint doesn't recover from sleep

Post by SMG »

DavidMKane wrote: Sat Apr 17, 2021 4:56 amI discovered that the problem regarding the sleep mode depends at list in part from the graphic drivers. When I use the default open source driver I have no issue waking my pc from sleep but as soon as I start using the recommended Nvidia driver the sleep issue comes back. Do you have any idea if it is possible to solve the issue with the nvidia driver or if I should just stick with the open source driver?
How are you "using the Nvidia driver"?

Your computer has dual graphics (Intel-Nvidia) and most people installing LM20.1 have been running into an issue with the nvidia-prime-applet not working properly due to some bugs in related files. That bug causes a problem when trying to switch to nvidia, but it has not affected all computers the same way. (Probably because not all computers set up dual graphics the same way.) There is a fix which has helped most people, but I want to understand what is happening in your case before making recommendations.

Your system is currently using the Intel driver to render graphics.

Graphics:
Device-1: Intel HD Graphics 630 vendor: Hewlett-Packard driver: i915
v: kernel bus ID: 00:02.0 chip ID: 8086:591b
Device-2: NVIDIA GP107M [GeForce GTX 1050 Mobile] vendor: Hewlett-Packard
driver: nouveau v: kernel bus ID: 01:00.0 chip ID: 10de:1c8d
Display: x11 server: X.Org 1.20.9 driver: modesetting unloaded: fbdev,vesa
resolution: 1920x1080~60Hz
OpenGL: renderer: Mesa Intel HD Graphics 630 (KBL GT2) v: 4.6 Mesa 20.2.6
direct render: Yes
Image
A woman typing on a laptop with LM20.3 Cinnamon.
Locked

Return to “Installation & Boot”