You are not logged in.

#1 2020-10-24 18:04:17

lyntux
Member
Registered: 2017-06-28
Posts: 16

One Monitor Doesn't Wake from Sleep Mode

I'm running KDE on a system with an Nvidia GPU. After an update a few weeks ago one of my monitors occasionally doesn't wake from sleep mode. To be clear, my computer doesn't go to sleep, or hibernate, just the monitors sleep to save power. This happens at least 50% of the time after the monitors go to sleep.

Things that temporarily fix the issue:

  • Unplugging power or the HDMI cable to the monitor and plugging it back in to force detection works to fix the monitor.

  • I have also noticed that if I wake up the monitors to do something when the monitor is not working then letting them go to sleep again will sometimes fix the problem as well.

  • Logging out causes the problem to resolve itself on the log in screen as well.

I'm on a modern kernel, 5.9.1, and running the latest Nvidia drivers. I saw the post on the home page about Nvidia and Linux 5.9, but I don't expect that has anything to do with my problem. I'm just doing basic desktop and web tasks in KDE.

I'm not sure what to do/check next to start resolving this problem.

Offline

#2 2020-11-01 22:43:05

CheeseEBoi
Member
Registered: 2020-06-19
Posts: 2

Re: One Monitor Doesn't Wake from Sleep Mode

I have had the exact same issue on XFCE. My display port monitor seems to work fine yet the HDMI will sometimes just not turn back on. Either way, I'm pretty sure it is a direct kernel issue rather than anything else.

Using linux-lts for now, if that advice helps.

Last edited by CheeseEBoi (2020-11-01 22:43:32)

Offline

#3 2020-11-02 06:19:55

Smoerrebroed
Member
From: Germany
Registered: 2011-07-24
Posts: 94

Re: One Monitor Doesn't Wake from Sleep Mode

Same issue here. Putting the system in standby and waking it up right afterwards usually helps.

Offline

#4 2020-11-02 23:53:24

lyntux
Member
Registered: 2017-06-28
Posts: 16

Re: One Monitor Doesn't Wake from Sleep Mode

Still don't have a solution for this yet. I'm just powering my monitor down and back up to get my system to re-re-detect it and get it working again. Hopefully, some can make a suggestion as to what's causing the issue.

Offline

#5 2020-11-03 15:30:45

CheeseEBoi
Member
Registered: 2020-06-19
Posts: 2

Re: One Monitor Doesn't Wake from Sleep Mode

I would like to amend my statement earlier as I realized that this also occurs on the lts kernel. Can it be confirmed that everyone in this thread/having this issue is using NVIDIA?

Offline

#6 2020-11-26 03:12:40

supa
Forum Fellow
From: United States
Registered: 2003-05-19
Posts: 28
Website

Re: One Monitor Doesn't Wake from Sleep Mode

Yes, happens to me using nvidia and Mate.

Started roughly a month or so ago for me.

Still happening for me with updates from today.

$ pacman -Q linux
linux 5.9.10.arch1-1

$ pacman -Q nvidia
nvidia 455.45.01-2

$ pacman -Q mate-panel
mate-panel 1.24.1-1

01:00.0 VGA compatible controller: NVIDIA Corporation GP108 [GeForce GT 1030] (rev a1) (prog-if 00 [VGA controller])

Last edited by supa (2020-11-26 03:18:36)

Offline

#7 2020-11-26 09:18:58

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 13,803

Re: One Monitor Doesn't Wake from Sleep Mode

Try disabling HardDPMS with e.g. /etc/X11/xorg.conf.d/20-nvidia.conf

  Section "OutputClass"
    Identifier "nvidia"
    MatchDriver "nvidia-drm"
    Driver "nvidia"
    Option "HardDPMS" "false"
EndSection

Last edited by V1del (2020-11-26 09:21:14)

Offline

#8 2020-11-26 14:42:51

supa
Forum Fellow
From: United States
Registered: 2003-05-19
Posts: 28
Website

Re: One Monitor Doesn't Wake from Sleep Mode

V1del wrote:

Try disabling HardDPMS with e.g. /etc/X11/xorg.conf.d/20-nvidia.conf

  Section "OutputClass"
    Identifier "nvidia"
    MatchDriver "nvidia-drm"
    Driver "nvidia"
    Option "HardDPMS" "false"
EndSection

Thanks for this but initial testing doesn't appear to have helped for my problem.  I'm now also not sure I'm having the same exact problems as others as unplugging and replugging HDMI does not fix it for me.  I need to ctrl+alt+f2 and then ctrl+alt+f7 to get my video back.

I've also confirmed it's picked up the option:

$ grep DPMS /var/log/Xorg.0.log
[ 49230.273] (**) NVIDIA(0): Option "HardDPMS" "false"
[ 49230.670] (==) NVIDIA(0): DPMS enabled
[ 49230.672] (II) Initializing extension DPMS

Last edited by supa (2020-11-26 14:43:44)

Offline

#9 2020-12-04 21:43:54

Zeioth
Member
Registered: 2016-01-04
Posts: 7

Re: One Monitor Doesn't Wake from Sleep Mode

I also suffer this issue on nvidia with I3 using two monitors, one DP and one HDMI. The HDMI is the one that doesn't turn on unless I do F2-F7. If I switch the ports of both devices, the one to fail is always the HDMI.

Can someone confirm if the issue fixes by using 2 DP cables instead of HDMI+DP?

Last edited by Zeioth (2020-12-04 21:55:01)

Offline

#10 2020-12-04 22:14:01

Zeioth
Member
Registered: 2016-01-04
Posts: 7

Re: One Monitor Doesn't Wake from Sleep Mode

[deleted]

Last edited by Zeioth (2020-12-04 22:24:15)

Offline

#11 2020-12-22 03:20:21

wildnux
Member
Registered: 2015-10-19
Posts: 3

Re: One Monitor Doesn't Wake from Sleep Mode

I have this issue with 5.4.84-1-lts kernel as well. In my case, I have thunderbolt to 2 displayport split adapter. One monitor never comes back up from sleep and I have to unplug and plug the thunderbolt adapter out and back in.

Offline

#12 2021-01-16 20:11:25

t54r
Member
Registered: 2021-01-16
Posts: 2

Re: One Monitor Doesn't Wake from Sleep Mode

Same issue with the following specs:
5.10.7 kernel
xmonad as WM
2x DP, Nvidia graphics card.
If both the displays go into power saving mode doing things won't wake them, but the system underneath is active (I can for example run shutdown now, and the PC will power off).
Going to the x-less terminal helps
I can also disable the displays from xrandr and enable them again and they will start working again - but I need to power them on/off in xrandr, simply changing the geometry won't help.
If I power off and then power on one of the displays, the same thing happens, but only to it.

Offline

#13 2021-02-10 22:52:59

olivos22
Member
Registered: 2021-02-10
Posts: 1

Re: One Monitor Doesn't Wake from Sleep Mode

Same problem here, I just change the orientation of my monitor that isn't responding in Display Configuration to make it work again.

Offline

#14 2021-03-11 10:40:41

thrtx
Member
Registered: 2014-01-16
Posts: 13

Re: One Monitor Doesn't Wake from Sleep Mode

I'm having the same issue as well:

i3 on laptop with two external screens. One screen will not wake from sleep. I kill X and login again and it picks up my xrandr command from .xinitrc. The offending monitor will not wake from it's own sleep mode, unless I wake it manually (via power switch) and then run startx quickly.

I should mention I have hybrid graphics (NVIDIA/Intel) on a laptop, and with one external monitor it worked fine. I think I didn't have a problem in the past because I was only using the Intel for the external monitor. The second external monitor most likely uses the discrete graphics GPU so this is probably an NVIDIA issue the same as others in the thread.

$ pacman -Q linux
linux 5.11.4.arch1-1

$ pacman -Q nvidia
nvidia 460.56-4

Edit: current workaround is to wake monitor from sleep via its power button before I wake computer. If I wake the computer before the monitor goes back to sleep it seems fine.

Maybe there's a problem with the power down on the nvidia driver such that it fails to send a wake up signal in time?

Last edited by thrtx (2021-03-11 23:51:50)

Offline

#15 2021-03-19 06:51:49

thrtx
Member
Registered: 2014-01-16
Posts: 13

Re: One Monitor Doesn't Wake from Sleep Mode

I think this issue might be related to the following thread:

https://bbs.archlinux.org/viewtopic.php?id=261225

if you run:
$journalctl -p 3 -xb

look for:

kernel: snd_hda_codec_hdmi hdaudioC0D2: Monitor plugged-in, Failed to power up codec ret=[-13]

NOTE:  make sure the problem has occurred in the current boot otherwise it may not show up in journalctl.

Offline

#16 2021-04-21 09:15:06

t54r
Member
Registered: 2021-01-16
Posts: 2

Re: One Monitor Doesn't Wake from Sleep Mode

Running

xset s off

fixes the issue for the duration of the X Session for me, so I've added it to my .xinitrc

Offline

Board footer

Powered by FluxBB