You are not logged in.

#1 2021-03-06 17:39:36

pepijndevos
Member
Registered: 2014-02-02
Posts: 22

HDMI display does not wake up from standby

Previously I used an older VGA monitor with a HDMI adapter, but today I got a brand new HDMI monitor and it's behaving erratically.
Here is a bunch of other threads and people with similar issues: https://duckduckgo.com/?t=ffab&q=linux+ … end&ia=web

Basically the monitor works fine if you boot the computer, replug the cable, or switch TTY, but does not work when you wake your computer from sleep, press the display key on the keyboard, or otherwise let the monitor go to standby.

I'm using nvidia drivers, and god knows what I did to get my dual GPU to somehow work reliably up until now. (some offloading bs IIRC)

After reading a dozen threads with two dozen people with same problem, I'm not hopeful I'll get a helpful reply. But I can still return the monitor, so just tell me this:

Is it a Linux problem or a monitor problem?

Offline

#2 2021-03-06 19:32:43

pepijndevos
Member
Registered: 2014-02-02
Posts: 22

Re: HDMI display does not wake up from standby

This page actually has a ton of suggestions, but none of them seem to match Arch Linux: http://www.thinkwiki.org/wiki/Problem_w … ter_resume

My laptop is a Lenovo ThinkPad P1 (Gen 2), which is apparently similar to Lenovo ThinkPad X1 Extreme (Gen 2), which is mentioned on that page as being affected. But no specific solution is mentioned for this model.

The solutions seem to be roughly 2 different categories:

Disable stuff: Nouveau, framebuffer, vga...

Video modes: switching/preserving the video mode in some way.

The latter seem to resolve around editing acpi related files, which I don't seem to have??
What's the arch equivalent of /etc/default/acpi-support?

Offline

#3 2021-03-07 10:44:06

pepijndevos
Member
Registered: 2014-02-02
Posts: 22

Re: HDMI display does not wake up from standby

I found kind of workable solution? I bound the following script to a keyboard shortcut.

xrandr --output HDMI-0 --mode 2560x1080
xrandr --output HDMI-0 --mode 3440x1440

I noticed that switching TTY solved it, but also switching between mirror/extend (of two different resolutions), which gave me the idea to run a script that forces an update.

Any idea how I could run this automatically when the screen should be turned on? (screensaver, sleep, hibernate, etc.)

Offline

#4 2021-09-23 02:14:39

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

Re: HDMI display does not wake up from standby

I was having the same issue, I normally Ctrl+Alt+F2, Ctrl+Alt+F7 and have for over a year now...

I did some searching and found this: https://bbs.archlinux.org/viewtopic.php?id=262207

Added the following to /etc/X11/xorg.conf.d/20-nvidia.conf and it seems to work now.

Section "ServerFlags"
    Option "NoPM" "true"
EndSection

Offline

Board footer

Powered by FluxBB