You are not logged in.

#1 2022-01-05 23:57:28

AmagicalFishy
Member
Registered: 2016-12-10
Posts: 69

External monitor doesn't wake up from sleep when laptop wakes up

When my computer wakes up from sleep, my external monitor doesn't awaken.

- External monitor is set to be the primary display
- KDE Plasma apparently sees the monitor in some capacity, as the laptop screen shows the secondary display, and I can move my mouse "over" to the other screen (though it displays nothing as it's still asleep)
- Everything works as intended on Windows (i.e., it isn't a hardware problem)
- If I switch to another TTY, then switch back, the external monitor wakes up (this only works once per TTY, leading me to believe w.e. happens when switching can help diagnose the problem?)

I've tried solutions suggested in this, this, this, and a few other suggestions scattered about the internet. None of them have worked.

Ultimately, what I'd like is a means/direction of diagnosing the problem. journalctl -b -0 -p 3 doesn't give any related messages (and does not populate w/ anything more when the problem occurs), neither does increasing the priority show anything. Are there other places I should be looking? How might I e.g., determine what's being done when I switch back-and-forth between TTYs?

Offline

#2 2022-01-06 15:00:46

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,091

Re: External monitor doesn't wake up from sleep when laptop wakes up

* Does the external display complain that there's no signal (or the bezel light stays in sleep mode etc) or is the output "just black"?
(In the latter case try to suspend the compositor w/ SHIFT+Alt+F12)
* What's the output of "xrandr -q" after the S3 and does it help to alter the mode of the external display (forth and back)?
* Please post a complete system journal (sudo journalctl -b) after the S3 to illustrate the involved hardware and maybe there're actually errors in there that just look unrelated.

Offline

#3 2022-01-10 04:08:16

AmagicalFishy
Member
Registered: 2016-12-10
Posts: 69

Re: External monitor doesn't wake up from sleep when laptop wakes up

- The bezel light stays in sleep mode, but restarting the compositor didn't work unfortunately.
- "xrandr -q" showed edP-1 and HDMI-1-0 both as connected, and DP-1-4 as disconnected (laptop, external monitor, and display port respectively).  Changing the mode of the external display (HDMI-1-0) forth and back did cause it to turn on. What does that indicate?
- Here's "journalctl -b" from 2 min. before the sleep to a minute after waking (and switching TTY to activate the monitor):

Jan 09 14:12:17 computer dbus-daemon[580]: [system] Activating service name='org.kde.powerdevil.backlighthelper' requested by ':1.24' (uid=1000 pid=985 comm="/usr/lib/org_kde_powerdevil ") (using servicehelper)
Jan 09 14:12:17 computer dbus-daemon[580]: [system] Successfully activated service 'org.kde.powerdevil.backlighthelper'
Jan 09 14:13:32 computer dbus-daemon[580]: [system] Activating service name='org.kde.powerdevil.backlighthelper' requested by ':1.24' (uid=1000 pid=985 comm="/usr/lib/org_kde_powerdevil ") (using servicehelper)
Jan 09 14:13:32 computer dbus-daemon[580]: [system] Successfully activated service 'org.kde.powerdevil.backlighthelper'
Jan 09 14:14:47 computer kded5[891]: ktp-kded-module: "auto-away" presence change request: "away" ""
Jan 09 14:14:47 computer kded5[891]: ktp-kded-module: plugin queue activation: "away" ""
Jan 09 14:14:47 computer dbus-daemon[580]: [system] Activating service name='org.kde.powerdevil.backlighthelper' requested by ':1.24' (uid=1000 pid=985 comm="/usr/lib/org_kde_powerdevil ") (using servicehelper)
Jan 09 14:14:47 computer dbus-daemon[580]: [system] Successfully activated service 'org.kde.powerdevil.backlighthelper'
Jan 09 14:14:47 computer kscreenlocker_greet[3633]: Qt: Session management error: networkIdsList argument is NULL
Jan 09 14:14:47 computer kded5[891]: ktp-kded-module: "screen-saver-away" presence change request: "away" ""
Jan 09 14:14:47 computer kded5[891]: ktp-kded-module: plugin queue activation: "away" ""
Jan 09 14:14:47 computer kscreenlocker_greet[3633]: file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/components/VirtualKeyboard.qml:8:1: module "QtQuick.VirtualKeyboard" is not installed
Jan 09 14:14:47 computer kscreenlocker_greet[3633]: file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/components/VirtualKeyboard.qml:8:1: module "QtQuick.VirtualKeyboard" is not installed
Jan 09 14:14:48 computer kscreenlocker_greet[3633]: file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/components/UserList.qml:41:9: Unable to assign [undefined] to bool
Jan 09 14:14:48 computer kscreenlocker_greet[3633]: file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/components/UserList.qml:41:9: Unable to assign [undefined] to bool
Jan 09 14:14:48 computer kscreenlocker_greet[3633]: file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/lockscreen/MediaControls.qml:81:9: QML Image: Error decoding: https://i.ytimg.com/vi/dErlSJtc968/hqdefault.jpg?sqp=-oaymwEcCNACELwBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLAk0g5KYBqAp64DBbp4e0PeGOwFrA: Unsupported image format
Jan 09 14:14:48 computer kscreenlocker_greet[3633]: file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/lockscreen/MediaControls.qml:81:9: QML Image: Error decoding: https://i.ytimg.com/vi/dErlSJtc968/hqdefault.jpg?sqp=-oaymwEcCNACELwBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLAk0g5KYBqAp64DBbp4e0PeGOwFrA: Unsupported image format
Jan 09 14:24:47 computer kded5[891]: ktp-kded-module: "auto-away" presence change request: "xa" ""
Jan 09 14:24:47 computer kded5[891]: ktp-kded-module: plugin queue activation: "xa" ""
Jan 09 14:53:23 computer plasmashell[987]: libkcups: Create-Printer-Subscriptions last error: 1282 Bad file descriptor
Jan 09 14:53:23 computer plasmashell[987]: libkcups: Request failed 1282 -1
Jan 09 15:01:23 computer rtkit-daemon[1072]: Supervising 5 threads of 3 processes of 1 users.
Jan 09 15:01:23 computer rtkit-daemon[1072]: Successfully made thread 3797 of process 1067 owned by '1000' RT at priority 5.
Jan 09 15:01:23 computer kded5[891]: ktp-kded-module: "auto-away" state change: TelepathyKDEDModulePlugin::Enabled
Jan 09 15:01:23 computer rtkit-daemon[1072]: Supervising 6 threads of 3 processes of 1 users.
Jan 09 15:01:23 computer kded5[891]: ktp-kded-module: plugin queue activation: "away" ""
Jan 09 15:01:23 computer dbus-daemon[580]: [system] Activating service name='org.kde.powerdevil.backlighthelper' requested by ':1.24' (uid=1000 pid=985 comm="/usr/lib/org_kde_powerdevil ") (using servicehelper)
Jan 09 15:01:23 computer dbus-daemon[580]: [system] Successfully activated service 'org.kde.powerdevil.backlighthelper'
Jan 09 15:01:25 computer dbus-daemon[580]: [system] Activating via systemd: service name='org.freedesktop.home1' unit='dbus-org.freedesktop.home1.service' requested by ':1.147' (uid=1000 pid=3805 comm="kcheckpass -m classic -S 22 ")
Jan 09 15:01:25 computer dbus-daemon[580]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.home1.service': Unit dbus-org.freedesktop.home1.service not found.
Jan 09 15:01:25 computer kcheckpass[3805]: pam_systemd_home(kde:auth): systemd-homed is not available: Unit dbus-org.freedesktop.home1.service not found.
Jan 09 15:01:25 computer audit[3807]: USER_AUTH pid=3807 uid=1000 auid=1000 ses=2 msg='op=PAM:unix_chkpwd acct="user" exe="/usr/bin/unix_chkpwd" hostname=? addr=? terminal=? res=success'
Jan 09 15:01:25 computer kernel: audit: type=1100 audit(1641758485.196:104): pid=3807 uid=1000 auid=1000 ses=2 msg='op=PAM:unix_chkpwd acct="user" exe="/usr/bin/unix_chkpwd" hostname=? addr=? terminal=? res=success'
Jan 09 15:01:25 computer kwin_x11[895]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 15665, resource id: 10485839, major code: 18 (ChangeProperty), minor code: 0
Jan 09 15:01:25 computer kded5[891]: ktp-kded-module: "screen-saver-away" state change: TelepathyKDEDModulePlugin::Enabled
Jan 09 15:01:25 computer kded5[891]: ktp-kded-module: plugin queue activation: "unset" ""
Jan 09 15:01:25 computer kwin_x11[895]: kwin_core: XCB error: 3 (BadWindow), sequence: 15686, resource id: 27262995, major code: 129 (SHAPE), minor code: 6 (Input)
Jan 09 15:01:25 computer kwin_x11[895]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 15687, resource id: 27262995, major code: 2 (ChangeWindowAttributes), minor code: 0
Jan 09 15:01:34 computer systemd[1]: Started Getty on tty2.
Jan 09 15:01:34 computer audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=getty@tty2 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jan 09 15:01:34 computer kernel: audit: type=1130 audit(1641758494.163:105): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=getty@tty2 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jan 09 15:01:38 computer rtkit-daemon[1072]: Supervising 5 threads of 3 processes of 1 users.
Jan 09 15:01:38 computer rtkit-daemon[1072]: Successfully made thread 3811 of process 1067 owned by '1000' RT at priority 5.
Jan 09 15:01:38 computer rtkit-daemon[1072]: Supervising 6 threads of 3 processes of 1 users.
Jan 09 15:01:39 computer kcminit[3815]: Initializing  "kcm_mouse" :  "kcminit_mouse"
Jan 09 15:01:39 computer kwin_x11[895]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 16626, resource id: 67108869, major code: 18 (ChangeProperty), minor code: 0
Jan 09 15:01:50 computer dbus-daemon[580]: [system] Activating via systemd: service name='org.freedesktop.home1' unit='dbus-org.freedesktop.home1.service' requested by ':1.149' (uid=0 pid=3810 comm="/bin/login -p --      ")
Jan 09 15:01:50 computer dbus-daemon[580]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.home1.service': Unit dbus-org.freedesktop.home1.service not found.
Jan 09 15:01:50 computer login[3810]: pam_systemd_home(login:auth): systemd-homed is not available: Unit dbus-org.freedesktop.home1.service not found.
Jan 09 15:01:51 computer audit[3810]: USER_AUTH pid=3810 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:authentication grantors=pam_securetty,pam_shells,pam_faillock,pam_permit,pam_faillock acct="user" exe="/usr/bin/login" hostname=computer addr=? terminal=/dev/tty2 res=success'
Jan 09 15:01:51 computer audit[3810]: USER_ACCT pid=3810 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:accounting grantors=pam_access,pam_unix,pam_permit,pam_time acct="user" exe="/usr/bin/login" hostname=computer addr=? terminal=/dev/tty2 res=success'
Jan 09 15:01:51 computer audit[3810]: CRED_ACQ pid=3810 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:setcred grantors=pam_securetty,pam_shells,pam_faillock,pam_permit,pam_faillock acct="user" exe="/usr/bin/login" hostname=computer addr=? terminal=/dev/tty2 res=success'
Jan 09 15:01:51 computer audit[3810]: SYSCALL arch=c000003e syscall=1 success=yes exit=4 a0=5 a1=7ffe5841b6c0 a2=4 a3=3e8 items=0 ppid=1 pid=3810 auid=1000 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=984 fsgid=0 tty=tty2 ses=4 comm="login" exe="/usr/bin/login" key=(null)
Jan 09 15:01:51 computer audit: PROCTITLE proctitle=2F62696E2F6C6F67696E002D70002D2D
Jan 09 15:01:51 computer login[3810]: pam_unix(login:session): session opened for user user(uid=1000) by (uid=0)
Jan 09 15:01:51 computer kernel: audit: type=1100 audit(1641758511.763:106): pid=3810 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:authentication grantors=pam_securetty,pam_shells,pam_faillock,pam_permit,pam_faillock acct="user" exe="/usr/bin/login" hostname=computer addr=? terminal=/dev/tty2 res=success'
Jan 09 15:01:51 computer kernel: audit: type=1101 audit(1641758511.763:107): pid=3810 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:accounting grantors=pam_access,pam_unix,pam_permit,pam_time acct="user" exe="/usr/bin/login" hostname=computer addr=? terminal=/dev/tty2 res=success'
Jan 09 15:01:51 computer kernel: audit: type=1103 audit(1641758511.763:108): pid=3810 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:setcred grantors=pam_securetty,pam_shells,pam_faillock,pam_permit,pam_faillock acct="user" exe="/usr/bin/login" hostname=computer addr=? terminal=/dev/tty2 res=success'
Jan 09 15:01:51 computer kernel: audit: type=1006 audit(1641758511.763:109): pid=3810 uid=0 old-auid=4294967295 auid=1000 tty=tty2 old-ses=4294967295 ses=4 res=1
Jan 09 15:01:51 computer kernel: audit: type=1300 audit(1641758511.763:109): arch=c000003e syscall=1 success=yes exit=4 a0=5 a1=7ffe5841b6c0 a2=4 a3=3e8 items=0 ppid=1 pid=3810 auid=1000 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=984 fsgid=0 tty=tty2 ses=4 comm="login" exe="/usr/bin/login" key=(null)
Jan 09 15:01:51 computer kernel: audit: type=1327 audit(1641758511.763:109): proctitle=2F62696E2F6C6F67696E002D70002D2D
Jan 09 15:01:51 computer systemd-logind[582]: New session 4 of user user.
Jan 09 15:01:51 computer systemd[1]: Started Session 4 of User user.
Jan 09 15:01:51 computer login[3810]: pam_env(login:session): deprecated reading of user environment enabled
Jan 09 15:01:51 computer audit[3810]: USER_START pid=3810 uid=0 auid=1000 ses=4 msg='op=PAM:session_open grantors=pam_loginuid,pam_keyinit,pam_systemd_home,pam_limits,pam_unix,pam_permit,pam_mail,pam_systemd,pam_env acct="user" exe="/usr/bin/login" hostname=computer addr=? terminal=/dev/tty2 res=success'
Jan 09 15:01:51 computer audit[3810]: CRED_REFR pid=3810 uid=0 auid=1000 ses=4 msg='op=PAM:setcred grantors=pam_securetty,pam_shells,pam_faillock,pam_permit,pam_faillock acct="user" exe="/usr/bin/login" hostname=computer addr=? terminal=/dev/tty2 res=success'
Jan 09 15:01:51 computer kernel: audit: type=1105 audit(1641758511.769:110): pid=3810 uid=0 auid=1000 ses=4 msg='op=PAM:session_open grantors=pam_loginuid,pam_keyinit,pam_systemd_home,pam_limits,pam_unix,pam_permit,pam_mail,pam_systemd,pam_env acct="user" exe="/usr/bin/login" hostname=computer addr=? terminal=/dev/tty2 res=success'
Jan 09 15:01:51 computer kernel: audit: type=1110 audit(1641758511.769:111): pid=3810 uid=0 auid=1000 ses=4 msg='op=PAM:setcred grantors=pam_securetty,pam_shells,pam_faillock,pam_permit,pam_faillock acct="user" exe="/usr/bin/login" hostname=computer addr=? terminal=/dev/tty2 res=success'
Jan 09 15:01:51 computer login[3810]: LOGIN ON tty2 BY user
Jan 09 15:01:57 computer rtkit-daemon[1072]: Supervising 5 threads of 3 processes of 1 users.
Jan 09 15:01:57 computer rtkit-daemon[1072]: Successfully made thread 3829 of process 1067 owned by '1000' RT at priority 5.
Jan 09 15:01:57 computer rtkit-daemon[1072]: Supervising 6 threads of 3 processes of 1 users.
Jan 09 15:01:58 computer kcminit[3834]: Initializing  "kcm_mouse" :  "kcminit_mouse"
Jan 09 15:01:58 computer kwin_x11[895]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 16775, resource id: 67108869, major code: 18 (ChangeProperty), minor code: 0
Jan 09 15:02:04 computer systemd[1]: Started Getty on tty3.
Jan 09 15:02:04 computer audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=getty@tty3 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jan 09 15:02:04 computer kernel: audit: type=1130 audit(1641758524.729:112): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=getty@tty3 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jan 09 15:02:10 computer rtkit-daemon[1072]: Supervising 5 threads of 3 processes of 1 users.
Jan 09 15:02:10 computer rtkit-daemon[1072]: Successfully made thread 3838 of process 1067 owned by '1000' RT at priority 5.
Jan 09 15:02:10 computer rtkit-daemon[1072]: Supervising 6 threads of 3 processes of 1 users.
Jan 09 15:02:11 computer kcminit[3842]: Initializing  "kcm_mouse" :  "kcminit_mouse"
Jan 09 15:02:11 computer kwin_x11[895]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 16864, resource id: 67108869, major code: 18 (ChangeProperty), minor code: 0
Jan 09 15:02:14 computer kwin_x11[895]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 17251, resource id: 12582931, major code: 18 (ChangeProperty), minor code: 0
Jan 09 15:02:14 computer systemd[820]: Started Konsole - Terminal.

Logging in on TTY2 didn't help (I must have done that earlier today), so I used TTY3.

Last edited by AmagicalFishy (2022-01-10 04:09:18)

Offline

#4 2022-01-10 08:42:01

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,091

Re: External monitor doesn't wake up from sleep when laptop wakes up

What does that indicate?

Failed handshake - maybe allows a workaround. Does it work multiple times (unlike the VT switch)?
Can  you please post the actual xrandr output?

Do you get the problem when not locking the screen during the suspend?

Offline

#5 2022-01-27 13:01:13

AmagicalFishy
Member
Registered: 2016-12-10
Posts: 69

Re: External monitor doesn't wake up from sleep when laptop wakes up

Sorry about taking so long to answer:
- It does work multiple times (for context, I've been running this):

xrandr --output HDMI-1-0 --mode 1920x1080
xrandr --output HDMI-1-0 --mode 2560x1440

- The problem still happens when not locking the screen during suspend.

- Here's my xrandr

Screen 0: minimum 320 x 200, current 4480 x 1440, maximum 16384 x 16384
eDP-1 connected 1920x1200+2560+120 (normal left inverted right x axis y axis) 344mm x 215mm
   2560x1600    165.00 +  60.00 +  59.99    59.97  
   2560x1440     59.99    59.99    59.96    59.95  
   2048x1536     85.00    75.00    60.00  
   1920x1440     85.00    75.00    60.00  
   1856x1392     75.00    60.01  
   1792x1344     75.00    60.01  
   2048x1152     59.99    59.98    59.90    59.91  
   1920x1200     59.88    59.95* 
   1920x1080     60.01    59.97    59.96    59.93  
   1600x1200     85.00    75.00    70.00    65.00    60.00  
   1680x1050     59.95    59.88  
   1400x1050     74.76    59.98  
   1600x900      59.99    59.94    59.95    59.82  
   1280x1024     85.02    75.02    60.02  
   1400x900      59.96    59.88  
   1280x960      85.00    60.00  
   1440x810      60.00    59.97  
   1368x768      59.88    59.85  
   1280x800      59.99    59.97    59.81    59.91  
   1152x864      75.00  
   1280x720      60.00    59.99    59.86    59.74  
   1024x768      85.00    75.05    60.04    85.00    75.03    70.07    60.00  
   1024x768i     86.96  
   960x720       85.00    75.00    60.00  
   928x696       75.00    60.05  
   896x672       75.05    60.01  
   1024x576      59.95    59.96    59.90    59.82  
   960x600       59.93    60.00  
   832x624       74.55  
   960x540       59.96    59.99    59.63    59.82  
   800x600       85.00    75.00    70.00    65.00    60.00    85.14    72.19    75.00    60.32    56.25  
   840x525       60.01    59.88  
   864x486       59.92    59.57  
   700x525       74.76    59.98  
   800x450       59.95    59.82  
   640x512       85.02    75.02    60.02  
   700x450       59.96    59.88  
   640x480       85.09    60.00    85.01    72.81    75.00    59.94  
   720x405       59.51    58.99  
   720x400       85.04  
   684x384       59.88    59.85  
   640x400       59.88    59.98    85.08  
   576x432       75.00  
   640x360       59.86    59.83    59.84    59.32  
   640x350       85.08  
   512x384       85.00    75.03    70.07    60.00  
   512x384i      87.06  
   512x288       60.00    59.92  
   416x312       74.66  
   480x270       59.63    59.82  
   400x300       85.27    72.19    75.12    60.32    56.34  
   432x243       59.92    59.57  
   320x240       85.18    72.81    75.00    60.05  
   360x202       59.51    59.13  
   360x200       85.04  
   320x200       85.27  
   320x180       59.84    59.32  
   320x175       85.27  
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
DP-4 disconnected (normal left inverted right x axis y axis)
DP-5 disconnected (normal left inverted right x axis y axis)
DP-1-0 disconnected (normal left inverted right x axis y axis)
DP-1-1 disconnected (normal left inverted right x axis y axis)
DP-1-2 disconnected (normal left inverted right x axis y axis)
DP-1-3 disconnected (normal left inverted right x axis y axis)
HDMI-1-0 connected primary 2560x1440+0+0 (normal left inverted right x axis y axis) 598mm x 336mm
   2560x1440    143.97*+ 120.00    99.95    84.98    59.95  
   1920x1080    119.88    60.00    59.94  
   1680x1050     59.95  
   1440x900      59.89  
   1440x576      50.00  
   1440x480      59.94  
   1280x1024     75.02    60.02  
   1280x960      60.00  
   1280x720      60.00    59.94    50.00  
   1152x864      75.00  
   1024x768      75.03    70.07    60.00  
   800x600       75.00    72.19    60.32    56.25  
   720x576       50.00  
   720x480       59.94  
   640x480       75.00    72.81    59.94    59.93  
DP-1-4 disconnected (normal left inverted right x axis y axis)
  2560x1440 (0x51) 241.500MHz +HSync -VSync
        h: width  2560 start 2608 end 2640 total 2720 skew    0 clock  88.79KHz
        v: height 1440 start 1443 end 1448 total 1481           clock  59.95Hz
  1680x1050 (0x6b) 146.250MHz -HSync +VSync
        h: width  1680 start 1784 end 1960 total 2240 skew    0 clock  65.29KHz
        v: height 1050 start 1053 end 1059 total 1089           clock  59.95Hz
  1280x1024 (0x74) 135.000MHz +HSync +VSync
        h: width  1280 start 1296 end 1440 total 1688 skew    0 clock  79.98KHz
        v: height 1024 start 1025 end 1028 total 1066           clock  75.02Hz
  1280x1024 (0x75) 108.000MHz +HSync +VSync
        h: width  1280 start 1328 end 1440 total 1688 skew    0 clock  63.98KHz
        v: height 1024 start 1025 end 1028 total 1066           clock  60.02Hz
  1280x960 (0x79) 108.000MHz +HSync +VSync
        h: width  1280 start 1376 end 1488 total 1800 skew    0 clock  60.00KHz
        v: height  960 start  961 end  964 total 1000           clock  60.00Hz
  1152x864 (0x82) 108.000MHz +HSync +VSync
        h: width  1152 start 1216 end 1344 total 1600 skew    0 clock  67.50KHz
        v: height  864 start  865 end  868 total  900           clock  75.00Hz
  1024x768 (0x8b) 78.750MHz +HSync +VSync
        h: width  1024 start 1040 end 1136 total 1312 skew    0 clock  60.02KHz
        v: height  768 start  769 end  772 total  800           clock  75.03Hz
  1024x768 (0x8c) 75.000MHz -HSync -VSync
        h: width  1024 start 1048 end 1184 total 1328 skew    0 clock  56.48KHz
        v: height  768 start  771 end  777 total  806           clock  70.07Hz
  1024x768 (0x8d) 65.000MHz -HSync -VSync
        h: width  1024 start 1048 end 1184 total 1344 skew    0 clock  48.36KHz
        v: height  768 start  771 end  777 total  806           clock  60.00Hz
  800x600 (0xa8) 49.500MHz +HSync +VSync
        h: width   800 start  816 end  896 total 1056 skew    0 clock  46.88KHz
        v: height  600 start  601 end  604 total  625           clock  75.00Hz
  800x600 (0xa7) 50.000MHz +HSync +VSync
        h: width   800 start  856 end  976 total 1040 skew    0 clock  48.08KHz
        v: height  600 start  637 end  643 total  666           clock  72.19Hz
  800x600 (0xa9) 40.000MHz +HSync +VSync
        h: width   800 start  840 end  968 total 1056 skew    0 clock  37.88KHz
        v: height  600 start  601 end  605 total  628           clock  60.32Hz
  800x600 (0xaa) 36.000MHz +HSync +VSync
        h: width   800 start  824 end  896 total 1024 skew    0 clock  35.16KHz
        v: height  600 start  601 end  603 total  625           clock  56.25Hz
  640x480 (0xbc) 31.500MHz -HSync -VSync
        h: width   640 start  656 end  720 total  840 skew    0 clock  37.50KHz
        v: height  480 start  481 end  484 total  500           clock  75.00Hz
  640x480 (0xbd) 25.175MHz -HSync -VSync
        h: width   640 start  656 end  752 total  800 skew    0 clock  31.47KHz
        v: height  480 start  490 end  492 total  525           clock  59.94Hz

What tipped you off that it's a failed handshake? Is this a common thing? (Also: Is there a way of fixing the core issue instead of working around it?)

Offline

#6 2022-01-27 13:21:45

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,091

Re: External monitor doesn't wake up from sleep when laptop wakes up

HDMI (specifically HDCP) is hyper-fragile shit - the default behavior is to fail (I'm serious about that)
It was tacked onto the protocol by the MPAA after the fact, is time sensitive and there's effectively no margin for error (ie. if the signal is a bit too too weak or the crtc can't keep up during the HW resume the handshake fails, no retry. You're stealing valuable rem… "content")

You can try to get away w/ only changing the refresh rate and if that doesn't work the least annoying approach is probably to set the other modeline before the suspend and only change back to the desired one after the resume.
Alternatively try the DisplayPort connection.

Offline

#7 2022-01-27 13:35:02

AmagicalFishy
Member
Registered: 2016-12-10
Posts: 69

Re: External monitor doesn't wake up from sleep when laptop wakes up

Oh, man. I didn't even know that was a thing; DRM stuff is incorporated into hardware like this!? -_- That's such a bummer.

Then the workaround would be something like... writing a little script that runs on wakeup?

Offline

#8 2022-01-27 13:40:34

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,091

Re: External monitor doesn't wake up from sleep when laptop wakes up

You can just drop a script, https://wiki.archlinux.org/title/Power_ … stem-sleep that calls xrandr pre- and post suspend.
nb. that you need to run it as desired user and also export the display (or "sudo -u myuser xrandr --display :0 …", since hardcoding is a bit ugly, see https://gist.github.com/AladW/de1c5676d93d05a5a0e1 for inspiration)

Offline

Board footer

Powered by FluxBB