Page 1 of 1

[ SOLVED]Ongoing Issue Mint 20 cinnamon new Install system non restart after suspend

Posted: Mon Jul 20, 2020 2:39 am
by waynus
This is an ongoing issue and I have tried a few things.
It began on Mint 19.3 so I went for a new install of 20. Both worked for a while and now the same problem. It is a desktop.

If I set it to blank monitor from system menu, the monitor will not shut down.

If I set the computer to suspend after a period of time it will not restart and I have to switch it off and the on.

I have tried a suggestion of " sudo dconf write /org/mate/power-manager/sleep-display-ac 05", it writes the entry but says it lacks a schema, not sure what that means.

I would be very happy to either have the two monitors switch off or the computer to suspend and then restart.

Any ideas???

Re: On Going Issue Mint 20 cinnamon new Install system non restart after suspend

Posted: Mon Jul 20, 2020 3:23 am
by spamegg
First you have to create that schema using a gsettings command I think... I've seen this somewhere on another topic, but I can't remember now... let me look for it.

Re: On Going Issue Mint 20 cinnamon new Install system non restart after suspend

Posted: Wed Jul 22, 2020 3:26 pm
by waynus
Can anyone point me in the direction of information about the suspend function in Mint or shutting down the monitors?

I no where the graphical settings are, I think I will need to adjust the base settings in some way, I just don't know where to start or where to find the info to start.

Re: On Going Issue Mint 20 cinnamon new Install system non restart after suspend

Posted: Wed Jul 22, 2020 4:26 pm
by blackcarajillo
You said you are using Cinnamon but you used the Mate power manager to change settings?

Can you post:

Code: Select all

xset q
from the command line. Maybe it will give us a hint.

Re: On Going Issue Mint 20 cinnamon new Install system non restart after suspend

Posted: Wed Jul 22, 2020 7:14 pm
by waynus
That would explain why it didn't work.

Will post when I am able.

Re: On Going Issue Mint 20 cinnamon new Install system non restart after suspend

Posted: Thu Jul 23, 2020 2:34 am
by waynus

Code: Select all

xset q - OUTPUT

Keyboard Control:
  auto repeat:  on    key click percent:  0    LED mask:  00000001
  XKB indicators:
    00: Caps Lock:   on     01: Num Lock:    off    02: Scroll Lock: off
    03: Compose:     off    04: Kana:        off    05: Sleep:       off
    06: Suspend:     off    07: Mute:        off    08: Misc:        off
    09: Mail:        off    10: Charging:    off    11: Shift Lock:  off
    12: Group 2:     off    13: Mouse Keys:  off
  auto repeat delay:  500    repeat rate:  33
  auto repeating keys:  00ffffffdffffbbf
                        fadfffefffedffff
                        9fffffffffffffff
                        fff7ffffffffffff
  bell percent:  50    bell pitch:  400    bell duration:  100
Pointer Control:
  acceleration:  2/1    threshold:  4
Screen Saver:
  prefer blanking:  yes    allow exposures:  yes
  timeout:  0    cycle:  0
Colors:
  default colormap:  0x20    BlackPixel:  0x0    WhitePixel:  0xffffff
Font Path:
  /usr/share/fonts/X11/misc,/usr/share/fonts/X11/Type1,built-ins
DPMS (Energy Star):
  Standby: 0    Suspend: 0    Off: 0
  DPMS is Enabled
  Monitor is On
Mmmm interesting DPMS results, how are they changed?

Re: On Going Issue Mint 20 cinnamon new Install system non restart after suspend

Posted: Thu Jul 23, 2020 3:31 pm
by blackcarajillo
They are indeed interesting as I have the same setting, so it looks normal. I would definitely only choose one power manager and in your case it should be from Cinnamon. Because if you use more than one it messes things up.

Is mate-power-manager installed on your system?
We can have a quick look:

Code: Select all

apt policy mate-power-manager
If it is I would remove it and adjust the settings from Cinnamon. And maybe then we can fix the other issue, too.

Re: Ongoing Issue Mint 20 cinnamon new Install system non restart after suspend

Posted: Thu Jul 23, 2020 6:04 pm
by waynus
"Installed: (none)
Candidate: 1.24.1-linuxmint1
Version table:
1.24.1-linuxmint1 700
700 http://packages.linuxmint.com ulyana/upstream amd64 Packages
1.24.1-0ubuntu1 500
500 http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages"

So that means not installed?

Re: Ongoing Issue Mint 20 cinnamon new Install system non restart after suspend

Posted: Fri Jul 24, 2020 9:29 am
by blackcarajillo
It is not installed. I just wondered why you tried to use a dconf option in your original post.

What are your actual settings for power management and also post your hardware info.

Code: Select all

inxi -b

Re: Ongoing Issue Mint 20 cinnamon new Install system non restart after suspend

Posted: Fri Jul 24, 2020 2:02 pm
by waynus
I used that command purely because it was the only suggestion I could get as to what to try.

It is actually difficult to find information about suspend mode and monitor functions.


Code: Select all

System:
  Host: wayne-System-Product-Name Kernel: 5.4.0-42-generic x86_64 bits: 64 
  Desktop: Cinnamon 4.6.6 Distro: Linux Mint 20 Ulyana 
Machine:
  Type: Desktop Mobo: ASUSTeK model: PRIME X570-P v: Rev X.0x 
  serial: <superuser/root required> UEFI: American Megatrends v: 0807 
  date: 07/08/2019 
CPU:
  6-Core: AMD Ryzen 5 3600X type: MT MCP speed: 4099 MHz 
  min/max: 2200/4100 MHz 
Graphics:
  Device-1: AMD Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT] 
  driver: amdgpu v: kernel 
  Display: x11 server: X.Org 1.20.8 driver: amdgpu,ati 
  unloaded: fbdev,modesetting,radeon,vesa 
  resolution: 1920x1080~60Hz, 1920x1080~60Hz 
  OpenGL: renderer: AMD Radeon RX 5700 (NAVI10 DRM 3.35.0 5.4.0-42-generic 
  LLVM 10.0.0) 
  v: 4.6 Mesa 20.0.8 
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  driver: r8169 
Drives:
  Local Storage: total: 4.55 TiB used: 35.68 GiB (0.8%) 
Info:
  Processes: 327 Uptime: 3d 23h 22m Memory: 62.78 GiB used: 7.79 GiB (12.4%) 
  Shell: bash inxi: 3.0.38

Re: Ongoing Issue Mint 20 cinnamon new Install system non restart after suspend

Posted: Fri Jul 24, 2020 3:26 pm
by blackcarajillo
That could be very well sometimes the problem, following random commands on the internet.

I see you have one of those newer Ryzen models I have no experience with. Not sure if it could be related to that. I think I have to pass, sorry.

Did you try to install additional drivers?

Re: Ongoing Issue Mint 20 cinnamon new Install system non restart after suspend

Posted: Fri Jul 24, 2020 3:45 pm
by waynus
None were recommended; and both functions worked initially and then didn't.

I was using 19.3 for months without a hassle and then suspend and monitor sleeping just stopped working. I was unable to fix it using timeshift to go back to before the problem. I thought installing 20 would fix it and it seemed to. Then after a week or so it too had the same problems. This time I thought I will just do a fresh install, the fresh install had the problem for the moment it started.

I really like Mint cinnamon but I am not prepared to put up with this for months/years.

I will, when I get time try mate and xfce. Failing that other distros I guess.

The other 2 machines I am running Mint 20 on are working perfectly without a hitch, so very frustrating that my main workhorse computer is not working properly. yes I do think it is the newness of the machine, sadly it works flawlessly with windows so for the moment that may be my fallback OS.

I would love if there was somewhere to find out about how suspend and the monitor off features of the distribution work but I can find very little.

Thank you for your time. It is starting to look like a problem that no one can help with.

Re: Ongoing Issue Mint 20 cinnamon new Install system non restart after suspend

Posted: Fri Jul 24, 2020 3:54 pm
by blackcarajillo
Maybe it won't help but you could try Mint 20 with something else than Cinnamon. I know Cinnamon is a lot nicer. But that way we could see if the desktop environment is the issue. Cinnamon needs 3D acceleration whereas the other two do not.

Re: Ongoing Issue Mint 20 cinnamon new Install system non restart after suspend

Posted: Fri Jul 24, 2020 6:24 pm
by waynus
Makes sense have just installed mate, give it a while though because cinnamon worked initially.

Re: Ongoing Issue Mint 20 cinnamon new Install system non restart after suspend

Posted: Fri Jul 31, 2020 3:59 pm
by waynus
Well after a week of using mate I can say it works as it supposed to.

The monitors switch off and the computer goes into suspend and then restarts when the keyboard is pressed.

I must say Mate does not seem enormously different to Cinnamon.

After listening to Mintcast I have been thinking it may well be teething problems with Cinnamon on this piece of hardware. So for this week I will try Cinnamon again, making sure all updates are installed.

Re: Ongoing Issue Mint 20 cinnamon new Install system non restart after suspend

Posted: Tue Aug 04, 2020 8:13 pm
by waynus
I have been running cinnamon 20 since the weekend, 4 days and so far in working perfectly so I will mark this as solved.