Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[Discussion] Is there a DM that will wake up the monitor every single time?

Graphical Environments, Managers, Multimedia & Desktop questions.
Post Reply
Message
Author
jmgibson1981
Posts: 294
Joined: 2015-06-07 14:38
Has thanked: 11 times
Been thanked: 32 times

[Discussion] Is there a DM that will wake up the monitor every single time?

#1 Post by jmgibson1981 »

I can't recall when this started but every so often my screen doesn't come up when I wake it from suspend. The screen pops up for a second then goes back into power saving. I've now had this issue on multiple DE's, DM's, versions of Ubuntu, Arch, and of course here on Debian. Suffice to say I'm losing my tolerance. It's frustrating to need to hard reset my machine when it should rarely require a reboot. There is no waking it up when this happens and I cannot begin to track it down because it happens maybe 1 in 5, 1 in 10 times.

I see countless posts in a google search about screen not waking, oldest I can recall is 2015 or so. It's been around awhile. The solutions are all different. And there are 100 solutions for each DE / DM combination. At first I thought it was GDM. Then it did it SDDM. I've seen it do this on both Xorg and Wayland.

While I know it's only every so often it is still extremely irritating to have to hard reboot my machine. I wake up early, half asleep and I start my day frustrated. While I have no allegiance to anything specific I'd rather stay on Linux but it's making me insane.

/rant over.

Any ideas?

User avatar
kent_dorfman766
Posts: 529
Joined: 2022-12-16 06:34
Location: socialist states of america
Has thanked: 56 times
Been thanked: 69 times

Re: [Discussion] Is there a DM that will wake up the monitor every single time?

#2 Post by kent_dorfman766 »

may depend on the monitor itself. Two things that cause me grief along those lines are DPMS (which can usually be disabled) and the "energy conserving" requirements of newer monitors powering down after some period of no signal, and at least on my monitors there is no option to disable that "feature".

jmgibson1981
Posts: 294
Joined: 2015-06-07 14:38
Has thanked: 11 times
Been thanked: 32 times

Re: [Discussion] Is there a DM that will wake up the monitor every single time?

#3 Post by jmgibson1981 »

I'll try disabling dpms I guess. I did get a new screen but it sleeps and wakes itself just fine on Windows :( is why i was hoping it wasn't the screen.

User avatar
fabien
Forum Helper
Forum Helper
Posts: 604
Joined: 2019-12-03 12:51
Location: Anarres (Toulouse, France actually)
Has thanked: 60 times
Been thanked: 141 times

Re: [Discussion] Is there a DM that will wake up the monitor every single time?

#4 Post by fabien »

As a workaround, you could maybe use a script something like

Code: Select all

#!/usr/bin/env bash

sleep 3
[[ "$(xset -display :0.0 q |tail -n1)" =~ "Monitor is On" ]] || xset -display :0.0 dpms force on
maybe running it like this when waking up.

User avatar
dashek
Posts: 47
Joined: 2022-12-03 20:59
Has thanked: 7 times
Been thanked: 5 times

Re: [Discussion] Is there a DM that will wake up the monitor every single time?

#5 Post by dashek »

Maybe it is xserver not waking up? It has happened to me several times before due to gpu driver issues. I thought something may be wrong with monitor. I had performed an test: when it happened again, I tried to blindly open an terminal emulator / swith to tty1 and type 'reboot'. Nothing happened. So then i knew that it wasn't monitor fault (because in that case keyboard input should be working). Try it with your system. Then you will know if you're looking for an answer in a good direction.

User avatar
kent_dorfman766
Posts: 529
Joined: 2022-12-16 06:34
Location: socialist states of america
Has thanked: 56 times
Been thanked: 69 times

Re: [Discussion] Is there a DM that will wake up the monitor every single time?

#6 Post by kent_dorfman766 »

TBH, I've never had suspend work properly in linux on the laptops I've tried it on. In fact, most distros I've used made the unilateral decision for me to active the suspend functionality upon installation, and I'd mutter a few profantities an hour later when I cam back to the machine and it had powered down, and my attempts to restart it failed on first try.

The lesson this has taught me over the years: don't use suspend. Power down completely.

User avatar
el_koraco
Posts: 242
Joined: 2011-10-20 11:49
Has thanked: 3 times
Been thanked: 8 times

Re: [Discussion] Is there a DM that will wake up the monitor every single time?

#7 Post by el_koraco »

kent_dorfman766 wrote: 2023-01-24 13:18 TBH, I've never had suspend work properly in linux on the laptops I've tried it on. In fact, most distros I've used made the unilateral decision for me to active the suspend functionality upon installation, and I'd mutter a few profantities an hour later when I cam back to the machine and it had powered down, and my attempts to restart it failed on first try.

The lesson this has taught me over the years: don't use suspend. Power down completely.
I ran Debian Squeeze on a second generation HP Probook, without a DE or display manager or power manager, with acpid scripts to bring my wifi up and down during suspend and wake up, and the highest uptime I had with that machine was 160+ days. Your "lesson" is worthless.

User avatar
kent_dorfman766
Posts: 529
Joined: 2022-12-16 06:34
Location: socialist states of america
Has thanked: 56 times
Been thanked: 69 times

Re: [Discussion] Is there a DM that will wake up the monitor every single time?

#8 Post by kent_dorfman766 »

highest uptime I had with that machine was 160+ days.

Well Hoopie-Doo! Congratulations. I'm happy for ya. I really am. My own experience with suspend in linux has been veyr different...and are you able to with authority tell me that any/every program I might run that gets suspended will be able to handle the time-clock jump correctly on resume? I think not. It is a bad idea for my environment.

User avatar
el_koraco
Posts: 242
Joined: 2011-10-20 11:49
Has thanked: 3 times
Been thanked: 8 times

Re: [Discussion] Is there a DM that will wake up the monitor every single time?

#9 Post by el_koraco »

your experience is also probably a lie.

User avatar
kent_dorfman766
Posts: 529
Joined: 2022-12-16 06:34
Location: socialist states of america
Has thanked: 56 times
Been thanked: 69 times

Re: [Discussion] Is there a DM that will wake up the monitor every single time?

#10 Post by kent_dorfman766 »

your experience is also probably a lie.

Sorry Che'
You shouldn't go fishing. You won't catch anything.

Ah...kids these days

jmgibson1981
Posts: 294
Joined: 2015-06-07 14:38
Has thanked: 11 times
Been thanked: 32 times

Re: [Discussion] Is there a DM that will wake up the monitor every single time?

#11 Post by jmgibson1981 »

When it was suggested to look into the monitor above I thought no way. I did it though. Turns out this line of MSI screens just has junk firmware or whatever inside it. It is apparently a problem on Windows as well, I just never left it loaded on Windows long enough for the issue to occur. I found several solutions involving settings for the monitor. I'm working my way through them one by one to see if they work.

Thus far I have not had a problem since I turned off the input auto scan feature. Famous last words maybe but I'm hoping.

User avatar
cds60601
df -h | participant
df -h | participant
Posts: 698
Joined: 2017-11-25 05:58
Location: Florida
Has thanked: 129 times
Been thanked: 59 times

Re: [Discussion] Is there a DM that will wake up the monitor every single time?

#12 Post by cds60601 »

kent_dorfman766 wrote: 2023-01-24 01:50 may depend on the monitor itself. Two things that cause me grief along those lines are DPMS (which can usually be disabled) and the "energy conserving" requirements of newer monitors powering down after some period of no signal, and at least on my monitors there is no option to disable that "feature".
I was in much the same situation as you. I found creating a /etc/X11/xorg.conf.d/10-monitors.conf with the following, solved the dpms issues for me.

Code: Select all

Section "Extensions"
	Option      "DPMS" "Disable"
EndSection
Supercalifragilisticexpialidocious

jmgibson1981
Posts: 294
Joined: 2015-06-07 14:38
Has thanked: 11 times
Been thanked: 32 times

Re: [Discussion] Is there a DM that will wake up the monitor every single time?

#13 Post by jmgibson1981 »

An update. I had flopped to Ubuntu for awhile testing something and noticed that for the last 3-4 days or so it has woken up every single time since I turned off Auto Scan in the monitor. Back to Debian and it failed to wake up twice in a row on me on the first boot up. I did try backports kernel & firmware-linux-nonfree thinking it may have to do with that. Still failed to wake after I added those.

User avatar
kent_dorfman766
Posts: 529
Joined: 2022-12-16 06:34
Location: socialist states of america
Has thanked: 56 times
Been thanked: 69 times

Re: [Discussion] Is there a DM that will wake up the monitor every single time?

#14 Post by kent_dorfman766 »

I just had a thought related to an "argument" in another thread. Suspend working flawlessly depends upon all the running programs supporting jumps in the timeclock, or being "suspend aware". What does the screensaver do? It blanks the screen after X seconds...so when your timeclock jump hours or days it's gonna see a long period of what it thinks is inactivity and want to keep the display off. May not completely solve your issue but its another reason I don't enable suspend on my systems. Maybe disable/remove your screen saver and test?

jmgibson1981
Posts: 294
Joined: 2015-06-07 14:38
Has thanked: 11 times
Been thanked: 32 times

Re: [Discussion] Is there a DM that will wake up the monitor every single time?

#15 Post by jmgibson1981 »

Indeed. I'm thinking i'll try something without a DM, maybe an openbox or i3 and just use it from the terminal. no screen power saving, just manually turn it off. Is just frustrating. Such a seeming simple thing. i'm 99% sure it's the monitor though I just can't figure why it stays dead on Debian and does fine with buntu. I'd rather be on debian.

I like suspend because I'm quite absent minded. I worry I'll walk away and forget about it all day. Just suckin up the electric meter for no reason.

Post Reply