https://bugs.kde.org/show_bug.cgi?id=507343

--- Comment #3 from zero <zero.city...@passinbox.com> ---
Follow up:
As this problem is way out of my league knowledge wise, I tried diagnosing with
ChatGPT.

What didnt work:
- Using different kernel (tested 6.15.7-1, 6.12.39-1)
- Kernel param: amdgpu.dc=0
- Kernel param: amdgpu_hotplug.dc=0

This led me to:
$ udevadm monitor --subsystem-match=drm
KERNEL[3864.424231] change  
/devices/pci0000:00/0000:00:01.0/0000:01:00.0/0000:02:00.0/0000:03:00.0/drm/card1
(drm)
UDEV  [3864.432087] change  
/devices/pci0000:00/0000:00:01.0/0000:01:00.0/0000:02:00.0/0000:03:00.0/drm/card1
(drm)
KERNEL[3867.922168] change  
/devices/pci0000:00/0000:00:01.0/0000:01:00.0/0000:02:00.0/0000:03:00.0/drm/card1
(drm)
UDEV  [3867.931875] change  
/devices/pci0000:00/0000:00:01.0/0000:01:00.0/0000:02:00.0/0000:03:00.0/drm/card1
(drm)

Turned on debugging temporarily, letting the monitor sleep and wake(by itself)
showed me this;
$ sudo dmesg -w | grep hotplug
[ 1512.751780] amdgpu 0000:03:00.0: [drm:drm_sysfs_connector_hotplug_event]
[CONNECTOR:101:DP-2] generating connector hotplug event
[ 1512.751833] amdgpu 0000:03:00.0: [drm:drm_client_dev_hotplug] fbdev: ret=0
[ 1516.397131] amdgpu 0000:03:00.0: [drm:drm_sysfs_connector_hotplug_event]
[CONNECTOR:101:DP-2] generating connector hotplug event
[ 1516.397177] amdgpu 0000:03:00.0: [drm:drm_client_dev_hotplug] fbdev: ret=0

So this was tracked down to being a hotplug event triggering the monitor to
wake again, and (according to ChatGPT) causes the DPMS idle timer to no be
tracked anymore/broken after that.

Bug report for this issue: https://gitlab.freedesktop.org/drm/amd/-/issues/662

---
After messing with a lot of stuff the waking is no longer occurring. I have no
idea what I did that "fixed" it for me thats the annoying part.

My current settings/what I've changed since this bug report:
- Boot/grub.cfg: Removed kernel params for iommu(on manjaro system)
- Monitor: Enter standby in 60 seconds (previously this was set to 30 seconds)
- Monitor: VRR: On
- Monitor sleep timer: 30 mins (probably unrelated but mentioning it anyways)
- KDE: Adaptive Sync: Always
- KDE: Refresh rate: 175Hz
- KDE: Lock screen automatically: Never
- KDE: Dim screen auto: Never
- KDE: Turn off screen: 30s

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to