Continuous XRandROutput updates once screen is suspended by energy saving

Bug #1833427 reported by Jan Fiete
24
This bug affects 5 people
Affects Status Importance Assigned to Milestone
kscreen (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

System information:
Ubuntu 18.04.2 LTS
kscreen version 4:5.12.7-0ubuntu0.1
Kernel: Linux pcalice57 4.15.0-52-generic #56-Ubuntu SMP Tue Jun 4 22:49:08 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
AMD Radeon Pro WX 2100 with two screens (HP LP2475w) on displayport, running amdgpu pro drivers

Problem:
Once the screens get switched off by the energy saver of KDE (Option: Screen energy saving in Energy Saving system setting), continuous messages appear in the syslog of the screens being connected and disconnected. Please find a short excerpt of the log messages here and longer attached as file. Messages given from kscreen.xrandr flicker between connected and not connected several times per second.

Jun 19 16:02:49 pcalice57 org.kde.KScreen[9200]: kscreen.xcb.helper: RRNotify_OutputProperty (ignored)
Jun 19 16:02:49 pcalice57 org.kde.KScreen[9200]: kscreen.xcb.helper: #011Output: 85
Jun 19 16:02:49 pcalice57 org.kde.KScreen[9200]: kscreen.xcb.helper: #011Property: EDID
Jun 19 16:02:49 pcalice57 org.kde.KScreen[9200]: kscreen.xcb.helper: #011State (newValue, Deleted): 1
Jun 19 16:02:49 pcalice57 org.kde.KScreen[9200]: kscreen.xcb.helper: RRNotify_OutputProperty (ignored)
Jun 19 16:02:49 pcalice57 org.kde.KScreen[9200]: kscreen.xcb.helper: #011Output: 85
Jun 19 16:02:49 pcalice57 org.kde.KScreen[9200]: kscreen.xcb.helper: #011Property: EDIDBase1
Jun 19 16:02:49 pcalice57 org.kde.KScreen[9200]: kscreen.xcb.helper: #011State (newValue, Deleted): 1
Jun 19 16:02:49 pcalice57 org.kde.KScreen[9200]: kscreen.xcb.helper: RRNotify_OutputChange
Jun 19 16:02:49 pcalice57 org.kde.KScreen[9200]: kscreen.xcb.helper: #011Output: 85
Jun 19 16:02:49 pcalice57 org.kde.KScreen[9200]: kscreen.xcb.helper: #011CRTC: 79
Jun 19 16:02:49 pcalice57 org.kde.KScreen[9200]: kscreen.xcb.helper: #011Mode: 88
Jun 19 16:02:49 pcalice57 org.kde.KScreen[9200]: kscreen.xcb.helper: #011Rotation: "Rotate_0"
Jun 19 16:02:49 pcalice57 org.kde.KScreen[9200]: kscreen.xcb.helper: #011Connection: "Disconnected"
Jun 19 16:02:49 pcalice57 org.kde.KScreen[9200]: kscreen.xcb.helper: #011Subpixel Order: 0
Jun 19 16:02:49 pcalice57 org.kde.KScreen[9200]: kscreen.xcb.helper: RRScreenChangeNotify
Jun 19 16:02:49 pcalice57 org.kde.KScreen[9200]: kscreen.xcb.helper: #011Window: 46137348

[...]

Jun 19 16:02:50 pcalice57 org.kde.KScreen[9200]: kscreen.xrandr: Output 85 : connected = true , enabled = true
Jun 19 16:02:50 pcalice57 org.kde.KScreen[9200]: kscreen.xrandr: XRandROutput 85 update
Jun 19 16:02:50 pcalice57 org.kde.KScreen[9200]: kscreen.xrandr: #011m_connected: 0
Jun 19 16:02:50 pcalice57 org.kde.KScreen[9200]: kscreen.xrandr: #011m_crtc XRandRCrtc(0x5592ac69bfb0)
Jun 19 16:02:50 pcalice57 org.kde.KScreen[9200]: kscreen.xrandr: #011CRTC: 79
Jun 19 16:02:50 pcalice57 org.kde.KScreen[9200]: kscreen.xrandr: #011MODE: 88
Jun 19 16:02:50 pcalice57 org.kde.KScreen[9200]: kscreen.xrandr: #011Connection: 0
Jun 19 16:02:50 pcalice57 org.kde.KScreen[9200]: kscreen.xrandr: #011Primary: true
Jun 19 16:02:50 pcalice57 org.kde.KScreen[9200]: kscreen.xrandr: Output 85 : connected = true , enabled = true
Jun 19 16:02:50 pcalice57 org.kde.KScreen[9200]: kscreen.xrandr: XRandROutput 84 update
Jun 19 16:02:50 pcalice57 org.kde.KScreen[9200]: kscreen.xrandr: #011m_connected: 1
Jun 19 16:02:50 pcalice57 org.kde.KScreen[9200]: kscreen.xrandr: #011m_crtc QObject(0x0)
Jun 19 16:02:50 pcalice57 org.kde.KScreen[9200]: kscreen.xrandr: #011CRTC: 0
Jun 19 16:02:50 pcalice57 org.kde.KScreen[9200]: kscreen.xrandr: #011MODE: 0
Jun 19 16:02:50 pcalice57 org.kde.KScreen[9200]: kscreen.xrandr: #011Connection: 1
Jun 19 16:02:50 pcalice57 org.kde.KScreen[9200]: kscreen.xrandr: #011Primary: false
Jun 19 16:02:50 pcalice57 org.kde.KScreen[9200]: kscreen.xrandr: Output 84 : connected = false , enabled = false
Jun 19 16:02:50 pcalice57 org.kde.KScreen[9200]: kscreen.xrandr: XRandROutput 85 update
Jun 19 16:02:50 pcalice57 org.kde.KScreen[9200]: kscreen.xrandr: #011m_connected: 0
Jun 19 16:02:50 pcalice57 org.kde.KScreen[9200]: kscreen.xrandr: #011m_crtc XRandRCrtc(0x5592ac69bfb0)
Jun 19 16:02:50 pcalice57 org.kde.KScreen[9200]: kscreen.xrandr: #011CRTC: 79
Jun 19 16:02:50 pcalice57 org.kde.KScreen[9200]: kscreen.xrandr: #011MODE: 88
Jun 19 16:02:50 pcalice57 org.kde.KScreen[9200]: kscreen.xrandr: #011Connection: 0
Jun 19 16:02:50 pcalice57 org.kde.KScreen[9200]: kscreen.xrandr: #011Primary: true
Jun 19 16:02:50 pcalice57 org.kde.KScreen[9200]: kscreen.xrandr: Output 85 : connected = true , enabled = true
Jun 19 16:02:50 pcalice57 org.kde.KScreen[9200]: kscreen.xrandr: XRandROutput 86 update
Jun 19 16:02:50 pcalice57 org.kde.KScreen[9200]: kscreen.xrandr: #011m_connected: 0
Jun 19 16:02:50 pcalice57 org.kde.KScreen[9200]: kscreen.xrandr: #011m_crtc XRandRCrtc(0x5592ac69ca00)
Jun 19 16:02:50 pcalice57 org.kde.KScreen[9200]: kscreen.xrandr: #011CRTC: 80
Jun 19 16:02:50 pcalice57 org.kde.KScreen[9200]: kscreen.xrandr: #011MODE: 88
Jun 19 16:02:50 pcalice57 org.kde.KScreen[9200]: kscreen.xrandr: #011Connection: 0
Jun 19 16:02:50 pcalice57 org.kde.KScreen[9200]: kscreen.xrandr: #011Primary: false
Jun 19 16:02:50 pcalice57 org.kde.KScreen[9200]: kscreen.xrandr: Output 86 : connected = true , enabled = true
Jun 19 16:02:50 pcalice57 org.kde.KScreen[9200]: kscreen.xrandr: Emitting configChanged()

Several times X11 did not wake up from this, unfortuantenly I cannot provide the useful debug information for the latter. However, already this continuous flickering seems not correct.

Many thanks for any ideas on this.

Revision history for this message
Jan Fiete (jgrosseo) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in kscreen (Ubuntu):
status: New → Confirmed
Revision history for this message
Victoid (djvictoid) wrote :

This bug continues to be present in focal, with no effect from updated kernel. It constantly cycles with xrandr repeatedly emitting that the configuration has changed when monitors go to power saving mode, causing wake-up. This cycle eventually crashes the kde lockscreen (probably a separate bug), requiring dropping to console to unlock the session with loginctl.

Reproduce: $ xset dpms force standby
Result: Monitors go to sleep and wake up within a few seconds.

Kernel: 5.11.0-27-generic x86_64 bits: 64 compiler: N/A Desktop: KDE Plasma 5.18.7 tk: Qt 5.12.8
wm: kwin_x11 dm: LightDM 1.30.0 Distro: Linux Mint 20.2 Uma base: Ubuntu 20.04 focal

Graphics: Device-1: Advanced Micro Devices [AMD/ATI] vendor: Tul driver: amdgpu v: kernel bus ID: 2d:00.0 chip ID: 1002:73ff
           Display: x11 server: X.Org 1.20.11 driver: amdgpu,ati unloaded: fbdev,modesetting,radeon,vesa compositor: kwin_x11
           resolution: 1920x1080~60Hz, 1920x1080~60Hz
           OpenGL: renderer: AMD DIMGREY_CAVEFISH (DRM 3.40.0 5.11.0-27-generic LLVM 12.0.1)

Revision history for this message
Victoid (djvictoid) wrote :

This appears to be the associated bug report in drm.

https://gitlab.freedesktop.org/drm/amd/-/issues/662

Revision history for this message
Scarlett Gately Moore (scarlettmoore) wrote :

This bug is very old, if it is still an issue please update the bug with information from a supported release.

Changed in kscreen (Ubuntu):
status: Confirmed → Incomplete
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.