Continuous wake from sleep for a DisplayPort connected monitor
Fedora WS 37 6.0.9-300.fc37.x86_64 (but it has been happening for quite some time); XFCE 4.16 on X; AlderLake-S GT1 (rev 0c) ; Asus PA249 connected via DisplayPort; (a secondary Asus monitor connected via HDMI is not affected)
- XFCE settings -> set monitor to power off after after a few minutes (interval makes no difference);
- Screen goes blank; monitor displays a warning that it'll enter sleep mode and switches off with power LED turning red.
- While in sleep mode, about 10-15 seconds later, the monitor wakes on its own and shows a blank screen with the backlight on and the power LED white; a few seconds later the monitor displays again the power saving warning and enters sleep again
- Awake -> sleep cycle repeats every 10-15 seconds.
My issue looks a lot like amd#1840 and from the suggested kernel bugzilla https://bugzilla.kernel.org/show_bug.cgi?id=215203 I tried the disable power saving workaround
cd /sys/devices/pci0000\:00/0000\:00\:02.0/
for i in `find \( -path \*power/control -o -path \*power/runtime_usage \) -exec grep -H . {} \; | sed -e 's/:auto//'` ; do echo on > ${i} ; done
... and it solves the problem.