Hello!
hibernate mode and resume takes 3-4 minutes when my external displays are connected. The screens are frozen for this time and i dont know why.
My Setup:
Dell Laptop XPS 9310 (with just two thunderbolt connectors) connected to Anker 553 USB-C Hub with two connected Displays (Lenovo G27qe-20)
Dist.: Manajro 24.0.7
Kernel: 6.10.5-1-MANJARO
Switch to hinterate will going quickly when i disable my displays before, i.e. with this hook to disable displays before hibernate (workaround):
[paul@xps-9310 ~]$ cat /lib/systemd/system-sleep/anker.sh
#!/bin/bash
export DISPLAY=:0
case $1 in
pre) case $2 in
hibernate | hybrid-sleep)
if xrandr | grep -q "DP-3-1 connected" && xrandr | grep -q "DP-3-2 connected" ; then
xrandr --output eDP-1 --off --output DP-3-1 --off --output DP-3-2 --off
fi
;;
suspend)
;;
*)
;;
esac
;;
post) case $2 in
hibernate | hybrid-sleep)
if xrandr | grep -q "DP-3-1 connected" && xrandr | grep -q "DP-3-2 connected" ; then
xrandr --output eDP-1 --off --output DP-3-1 --auto --primary --output DP-3-2 --auto --right-of DP-3-1
fi
;;
suspend)
;;
*)
;;
esac
;;
*)
;;
esac