Can't Wake MX Linux Up

Help for Current Versions of MX
When asking for help, use Quick System Info from MX Tools. It will be properly formatted using the following steps.
1. Click on Quick System Info in MX Tools
2. Right click in your post and paste.
Message
Author
Charlie Brown

Re: Can't Wake MX Linux Up

#21 Post by Charlie Brown »

In the meantime, that it uses 144 Hz might be causing that ( maybe 50 - 60 would work).. whatever:
  • Code: Select all

    #!/bin/bash
    
    PATH=/sbin:/usr/sbin:/bin:/usr/bin
    
    case "$1" in
      thaw|resume)
        xrandr --output HDMI-1 --off ; sleep 1 ; xrandr --output HDMI-1 --primary --mode 2560x1440 --rate 144
        ;;
    esac
  • Code: Select all

    sudo chmod +x /etc/pm/sleep.d/99-hdmi
Even no need to reboot. Suspend any way you like, then wake it up (any way / any kb you like)

blumx
Posts: 13
Joined: Sun Mar 03, 2024 1:49 pm

Re: Can't Wake MX Linux Up

#22 Post by blumx »

I tried different Refresh rates (100 & 60) but didn't work.

Ran those commands but still unable to wake from suspend..



Image
MX LINUX: KDE Plasma Version: 5.27.5_Kernel Version 6.1.0-17-amd64 (64-bit): X11

Charlie Brown

Re: Can't Wake MX Linux Up

#23 Post by Charlie Brown »

Sometimes first turning all of them off is required, so :

Code: Select all

sudo nano /etc/pm/sleep.d/99-hdmi
Just change "that line" to :

Code: Select all

xrandr --output DP-1 --off --output DP-2 --off --output DP-3 --off --output HDMI-1 --off ; sleep 2 ; xrandr --output HDMI-1 --primary --mode 2560x1440 --rate 144 --pos 0x0 --rotate normal
Save (Ctrl+S) , close (Ctrl+X)

Suspend ...

blumx
Posts: 13
Joined: Sun Mar 03, 2024 1:49 pm

Re: Can't Wake MX Linux Up

#24 Post by blumx »

I changed that line but still not waking up the PC.


Image
MX LINUX: KDE Plasma Version: 5.27.5_Kernel Version 6.1.0-17-amd64 (64-bit): X11

Charlie Brown

Re: Can't Wake MX Linux Up

#25 Post by Charlie Brown »

I just wonder what would happen if you try the Xfce release (regular MX or AHS). Just live session would be enough, no need to install.

If the other distro was also KDE I'd say ok, but the Xwayland + HDMI might be causing these.

Display: x11 server: X.Org v: 1.21.1.7 with: Xwayland v: 22.1.9

blumx
Posts: 13
Joined: Sun Mar 03, 2024 1:49 pm

Re: Can't Wake MX Linux Up

#26 Post by blumx »

Tried Xfce but couldn't get the PC to Suspend, just a blank screen when it goes into Suspend and can't get back out of it.
MX LINUX: KDE Plasma Version: 5.27.5_Kernel Version 6.1.0-17-amd64 (64-bit): X11

Charlie Brown

Re: Can't Wake MX Linux Up

#27 Post by Charlie Brown »

What about after this?

Code: Select all

sudo apt purge xfce4-screensaver -y
( You ask why the screensaver etc? Long story :D )

User avatar
3nd
Posts: 18
Joined: Sun Aug 22, 2021 8:15 am

Re: Can't Wake MX Linux Up

#28 Post by 3nd »

i encountered same problem and stumbled on this thread...then tried something myself and found solution that works for me .
i'm on xfce desktop though...

Image

all i did was toggle the display power manager to off. it lets the power manager handle display power instead of X11


hope it'll OP
MX-23.2_x64 Libretto / Xfce

User avatar
3nd
Posts: 18
Joined: Sun Aug 22, 2021 8:15 am

Re: Can't Wake MX Linux Up

#29 Post by 3nd »

ok i thought it worked but now back to same problem.
weird
MX-23.2_x64 Libretto / Xfce

Charlie Brown

Re: Can't Wake MX Linux Up

#30 Post by Charlie Brown »

The xfce4-screensaver (yes, sadly there ootb) is known to be causing such freezing issues (or black screen just with the pointer) since a long time (since MX-19 Beta). Get rid of it:

Code: Select all

sudo apt purge xfce4-screensaver -y

If you want something to lock the screen this will do it at one go:

Code: Select all

sudo apt purge xfce4-screensaver -y ; sudo apt update ; sudo apt install light-locker -y

Post Reply

Return to “MX Help”