https://bugs.freedesktop.org/show_bug.cgi?id=105188
Bug ID: 105188 Summary: Monitors don't always wake up after sleep Product: DRI Version: unspecified Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: DRM/AMDgpu Assignee: dri-devel@lists.freedesktop.org Reporter: mbartoszkiewicz@gmail.com
Created attachment 137497 --> https://bugs.freedesktop.org/attachment.cgi?id=137497&action=edit Kernel log
Hardware: GPU: Gigabyte Radeon RX 480 G1 Gaming 8GB Monitors: 3× Eizo FlexScan S2243W, connected using DP Software: Distribution: Gentoo Kernel: 4.15.4 x11-drivers/xf86-video-amdgpu-1.4.0 x11-base/xorg-server-1.19.6 media-libs/mesa-18.0.0_rc4 x11-libs/libdrm-2.4.89
The monitors do not always correctly wake up from sleep. E.g. after locking the session, the monitors go to sleep. After pressing a key, only some wake up – the rest are still sleeping. It does not seem to be deterministic – sometimes a monitor will wake up correctly, sometimes not.
The kernel log attached is after running the following script: for i in {1..5}; do echo "XXX before suspend $i" | sudo tee /dev/kmsg; xset dpms force suspend; sleep 10; echo "XXX before on $i" | sudo tee /dev/kmsg; xset dpms force on; sleep 10; echo "XXX status $i:" $(cat /sys/devices/pci0000:00/0000:00:03.0/0000:03:00.0/drm/card0/card0-DP-*/status) | sudo tee /dev/kmsg; done
I am not sure if it is directly related to this issue, but the kernel log contains two refcount_t warnings in amdgpu code.
https://bugs.freedesktop.org/show_bug.cgi?id=105188
--- Comment #1 from Michał Bartoszkiewicz mbartoszkiewicz@gmail.com --- Created attachment 137498 --> https://bugs.freedesktop.org/attachment.cgi?id=137498&action=edit Kernel configuration
https://bugs.freedesktop.org/show_bug.cgi?id=105188
--- Comment #2 from Harry Wentland harry.wentland@amd.com --- Are the monitors set to DP input or to auto-scan the inputs?
We've seen similar issues with some monitors that auto-scan inputs and disappear on us when we try to enable them.
https://bugs.freedesktop.org/show_bug.cgi?id=105188
--- Comment #3 from Michał Bartoszkiewicz mbartoszkiewicz@gmail.com --- The monitors are set to DP input, auto-scan is disabled.
https://bugs.freedesktop.org/show_bug.cgi?id=105188
Martin Peres martin.peres@free.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |MOVED Status|NEW |RESOLVED
--- Comment #4 from Martin Peres martin.peres@free.fr --- -- GitLab Migration Automatic Message --
This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.
You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/310.
dri-devel@lists.freedesktop.org