From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 100289] 'flip queue failed in radeon_scanout_flip: Invalid argument' error and small frame buffer allocated on turning off and on new monitor Date: Sun, 04 Feb 2018 18:24:50 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0939853110==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id BB89589ABE for ; Sun, 4 Feb 2018 18:24:50 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0939853110== Content-Type: multipart/alternative; boundary="15177686901.4Ae8.21396" Content-Transfer-Encoding: 7bit --15177686901.4Ae8.21396 Date: Sun, 4 Feb 2018 18:24:50 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D100289 --- Comment #14 from OmegaPhil@startmail.com --- After messing around with this on and off for months, I have found that the radeon_scanout_flip error is irrelevant - when the third monitor is turned = off and on, sometimes DisplayPort-0 is reported as Disconnected and then Connec= ted - through monitoring the root window (xev -root), I can finally get into a useful X events stream: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RRScreenChangeNotify event, serial 114, synthetic NO, window 0x4bc, root 0x4bc, timestamp 332828415, config_timestamp 386328254 size_index 65535, subpixel_order SubPixelHorizontalRGB rotation RR_Rotate_0 width 5760, height 1200, mwidth 1526, mheight 318 RRNotify event, serial 114, synthetic NO, window 0x4bc, subtype XRROutputChangeNotifyEvent output DisplayPort-0, crtc 79, mode 1920x1200 (1920x1200) rotation RR_Rotate_0 connection RR_Disconnected, subpixel_order SubPixelHorizontalRGB RRScreenChangeNotify event, serial 115, synthetic NO, window 0x4bc, root 0x4bc, timestamp 332828415, config_timestamp 386328254 size_index 65535, subpixel_order SubPixelHorizontalRGB rotation RR_Rotate_0 width 5760, height 1200, mwidth 1526, mheight 318 RRNotify event, serial 115, synthetic NO, window 0x4bc, subtype XRRCrtcChangeNotifyEvent crtc 79, mode None, rotation RR_Rotate_0 x 0, y 0, width 0, height 0 RRNotify event, serial 115, synthetic NO, window 0x4bc, subtype XRROutputChangeNotifyEvent output DisplayPort-0, crtc None, mode None rotation RR_Rotate_0 connection RR_Disconnected, subpixel_order SubPixelHorizontalRGB ConfigureNotify event, serial 115, synthetic NO, window 0x4bc, event 0x4bc, window 0x4bc, (0,0), width 5760, height 1200, border_width 0, above 0x0, override NO RRScreenChangeNotify event, serial 117, synthetic NO, window 0x4bc, root 0x4bc, timestamp 386328636, config_timestamp 386328813 size_index 65535, subpixel_order SubPixelHorizontalRGB rotation RR_Rotate_0 width 5760, height 1200, mwidth 1526, mheight 318 RRNotify event, serial 117, synthetic NO, window 0x4bc, subtype XRROutputChangeNotifyEvent output DisplayPort-0, crtc None, mode None rotation RR_Rotate_0 connection RR_Connected, subpixel_order SubPixelHorizontalRGB RRScreenChangeNotify event, serial 117, synthetic NO, window 0x4bc, root 0x4bc, timestamp 386328636, config_timestamp 386328813 size_index 65535, subpixel_order SubPixelHorizontalRGB rotation RR_Rotate_0 width 3840, height 1200, mwidth 1016, mheight 318 ConfigureNotify event, serial 117, synthetic NO, window 0x4bc, event 0x4bc, window 0x4bc, (0,0), width 3840, height 1200, border_width 0, above 0x0, override NO ... RRScreenChangeNotify event, serial 125, synthetic NO, window 0x4bc, root 0x4bc, timestamp 386328636, config_timestamp 386328813 size_index 65535, subpixel_order SubPixelHorizontalRGB rotation RR_Rotate_0 width 3840, height 1200, mwidth 1016, mheight 318 RRNotify event, serial 125, synthetic NO, window 0x4bc, subtype XRRCrtcChangeNotifyEvent crtc 79, mode 1920x1200, rotation RR_Rotate_0 x 0, y 0, width 1920, height 1200 RRNotify event, serial 125, synthetic NO, window 0x4bc, subtype XRROutputChangeNotifyEvent output DisplayPort-0, crtc 79, mode 1920x1200 (1920x1200) rotation RR_Rotate_0 connection RR_Connected, subpixel_order SubPixelHorizontalRGB ConfigureNotify event, serial 125, synthetic NO, window 0x4bc, event 0x4bc, window 0x4bc, (0,0), width 3840, height 1200, border_width 0, above 0x0, override NO =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D In the middle of that mess, there is a RRScreenChangeNotify event with width 3840, which signifies the invalid desktop state that I get as the result of= the problem - I've managed to smoke it out to xfsettingsd (part of the xfce4-settings package) - it responds to the disconnection by disabling the CRTC, and then when it reappears, it enables it without a clue of what the monitor is, despite it being described in the xfconf settings - and therefo= re not putting it in the right place again. xfsettingsd's version of the events: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D Gtk-Message: GtkDialog mapped without a transient parent. This is discourag= ed. xfce4-settings(displays): RRScreenChangeNotify event received. xfce4-settings(displays): Refreshing RandR cache. xfce4-settings(displays): Detected CRTC 80. xfce4-settings(displays): Detected CRTC 79. xfce4-settings(displays): Detected CRTC 81. xfce4-settings(displays): Detected CRTC 82. xfce4-settings(displays): Detected CRTC 83. xfce4-settings(displays): Detected CRTC 84. xfce4-settings(displays): Detected output 85 DisplayPort-0. xfce4-settings(displays): Detected output 86 HDMI-0. xfce4-settings(displays): Detected output 88 DVI-1. xfce4-settings(displays): Noutput: before =3D 3, after =3D 3. xfce4-settings(displays): RRScreenChangeNotify event received. xfce4-settings(displays): Refreshing RandR cache. xfce4-settings(displays): Detected CRTC 80. xfce4-settings(displays): Detected CRTC 79. xfce4-settings(displays): Detected CRTC 81. xfce4-settings(displays): Detected CRTC 82. xfce4-settings(displays): Detected CRTC 83. xfce4-settings(displays): Detected CRTC 84. xfce4-settings(displays): Detected output 85 DisplayPort-0. xfce4-settings(displays): Detected output 86 HDMI-0. xfce4-settings(displays): Detected output 88 DVI-1. xfce4-settings(displays): Noutput: before =3D 3, after =3D 3. xfce4-settings(displays): RRScreenChangeNotify event received. xfce4-settings(displays): Refreshing RandR cache. xfce4-settings(displays): Detected CRTC 80. xfce4-settings(displays): Detected CRTC 79. xfce4-settings(displays): Detected CRTC 81. xfce4-settings(displays): Detected CRTC 82. xfce4-settings(displays): Detected CRTC 83. xfce4-settings(displays): Detected CRTC 84. xfce4-settings(displays): Detected output 86 HDMI-0. xfce4-settings(displays): Detected output 88 DVI-1. xfce4-settings(displays): Noutput: before =3D 3, after =3D 2. xfce4-settings(displays): Output disconnected: DisplayPort-0 xfce4-settings(displays): Disabling CRTC 79. xfce4-settings(displays): Normalized CRTC 80: size=3D1920x1200, pos=3D0x0. xfce4-settings(displays): Normalized CRTC 81: size=3D1920x1200, pos=3D1920x= 0. xfce4-settings(displays): min_h =3D 200, min_w =3D 320, max_h =3D 16384, ma= x_w =3D 16384, prev_h =3D 1200, prev_w =3D 5760, prev_hmm =3D 318, prev_wmm =3D 152= 4, h =3D 1200, w =3D 3840, hmm =3D 318, wmm =3D 1016. xfce4-settings(displays): Applying desktop dimensions: 3840x1200 (px), 1016= x318 (mm). xfce4-settings(displays): Configuring CRTC 80. xfce4-settings(displays): Configuring CRTC 79. xfce4-settings(displays): Configuring CRTC 81. xfce4-settings(displays): Configuring CRTC 82. xfce4-settings(displays): Configuring CRTC 83. xfce4-settings(displays): Configuring CRTC 84. xfce4-settings(displays): RRScreenChangeNotify event received. xfce4-settings(displays): Refreshing RandR cache. xfce4-settings(displays): Detected CRTC 80. xfce4-settings(displays): Detected CRTC 79. xfce4-settings(displays): Detected CRTC 81. xfce4-settings(displays): Detected CRTC 82. xfce4-settings(displays): Detected CRTC 83. xfce4-settings(displays): Detected CRTC 84. xfce4-settings(displays): Detected output 85 DisplayPort-0. xfce4-settings(displays): Detected output 86 HDMI-0. xfce4-settings(displays): Detected output 88 DVI-1. xfce4-settings(displays): Noutput: before =3D 2, after =3D 3. xfce4-settings(displays): New output connected: DisplayPort-0 xfce4-settings(displays): enabling crtc for DisplayPort-0 xfce4-settings(displays): CRTC 79 assigned to DisplayPort-0. xfce4-settings(displays): CRTC 79, output list[0] -> 85. xfce4-settings(displays): Normalized CRTC 80: size=3D1920x1200, pos=3D0x0. xfce4-settings(displays): Normalized CRTC 79: size=3D1920x1200, pos=3D0x0. xfce4-settings(displays): Normalized CRTC 81: size=3D1920x1200, pos=3D1920x= 0. xfce4-settings(displays): min_h =3D 200, min_w =3D 320, max_h =3D 16384, ma= x_w =3D 16384, prev_h =3D 1200, prev_w =3D 5760, prev_hmm =3D 318, prev_wmm =3D 152= 4, h =3D 1200, w =3D 3840, hmm =3D 318, wmm =3D 1016. xfce4-settings(displays): Applying desktop dimensions: 3840x1200 (px), 1016= x318 (mm). xfce4-settings(displays): Configuring CRTC 80. xfce4-settings(displays): Configuring CRTC 79. xfce4-settings(displays): Applying changes to CRTC 79. xfce4-settings(displays): Configuring CRTC 81. xfce4-settings(displays): Configuring CRTC 82. xfce4-settings(displays): Configuring CRTC 83. xfce4-settings(displays): Configuring CRTC 84. xfce4-settings(displays): RRScreenChangeNotify event received. xfce4-settings(displays): Refreshing RandR cache. xfce4-settings(displays): Detected CRTC 80. xfce4-settings(displays): Detected CRTC 79. xfce4-settings(displays): Detected CRTC 81. xfce4-settings(displays): Detected CRTC 82. xfce4-settings(displays): Detected CRTC 83. xfce4-settings(displays): Detected CRTC 84. xfce4-settings(displays): Detected output 85 DisplayPort-0. xfce4-settings(displays): Detected output 86 HDMI-0. xfce4-settings(displays): Detected output 88 DVI-1. xfce4-settings(displays): Noutput: before =3D 3, after =3D 3. xfce4-settings(displays): RRScreenChangeNotify event received. xfce4-settings(displays): Refreshing RandR cache. xfce4-settings(displays): Detected CRTC 80. xfce4-settings(displays): Detected CRTC 79. xfce4-settings(displays): Detected CRTC 81. xfce4-settings(displays): Detected CRTC 82. xfce4-settings(displays): Detected CRTC 83. xfce4-settings(displays): Detected CRTC 84. xfce4-settings(displays): Detected output 85 DisplayPort-0. xfce4-settings(displays): Detected output 86 HDMI-0. xfce4-settings(displays): Detected output 88 DVI-1. xfce4-settings(displays): Noutput: before =3D 3, after =3D 3. xfce4-settings(displays): RRScreenChangeNotify event received. xfce4-settings(displays): Refreshing RandR cache. xfce4-settings(displays): Detected CRTC 80. xfce4-settings(displays): Detected CRTC 79. xfce4-settings(displays): Detected CRTC 81. xfce4-settings(displays): Detected CRTC 82. xfce4-settings(displays): Detected CRTC 83. xfce4-settings(displays): Detected CRTC 84. xfce4-settings(displays): Detected output 85 DisplayPort-0. xfce4-settings(displays): Detected output 86 HDMI-0. xfce4-settings(displays): Detected output 88 DVI-1. xfce4-settings(displays): Noutput: before =3D 3, after =3D 3. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D I'm assuming the important part from the X perspective is when xfsettingsd/displays.c:xfce_displays_helper_screen_on_event realises the display is Disconnected, and runs xfce_displays_helper_disable_crtc which c= alls XRRSetCrtcConfig with RRCrtc->mode of None/NULL. If the daemon is killed, no reconfiguration occurs and the desktop keeps its correct configuration - presumably at the X level its just treated like a monitor powering off and on - so I guess the next step is for me to underst= and what is causing the Disconnect event to be fired through the stack, since t= he monitor is definitely not disconnected in reality. Kudos to Michel for the guess earlier. --=20 You are receiving this mail because: You are the assignee for the bug.= --15177686901.4Ae8.21396 Date: Sun, 4 Feb 2018 18:24:50 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Comme= nt # 14 on bug 10028= 9 from OmegaPhi= l@startmail.com
After messing around with this on and off for months, I have f=
ound that the
radeon_scanout_flip error is irrelevant - when the third monitor is turned =
off
and on, sometimes DisplayPort-0 is reported as Disconnected and then Connec=
ted
- through monitoring the root window (xev -root), I can finally get into a
useful X events stream:

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

RRScreenChangeNotify event, serial 114, synthetic NO, window 0x4bc,
    root 0x4bc, timestamp 332828415, config_timestamp 386328254
    size_index 65535, subpixel_order SubPixelHorizontalRGB
    rotation RR_Rotate_0
    width 5760, height 1200, mwidth 1526, mheight 318

RRNotify event, serial 114, synthetic NO, window 0x4bc,
    subtype XRROutputChangeNotifyEvent
    output DisplayPort-0, crtc 79, mode 1920x1200 (1920x1200)
    rotation RR_Rotate_0
    connection RR_Disconnected, subpixel_order SubPixelHorizontalRGB

RRScreenChangeNotify event, serial 115, synthetic NO, window 0x4bc,
    root 0x4bc, timestamp 332828415, config_timestamp 386328254
    size_index 65535, subpixel_order SubPixelHorizontalRGB
    rotation RR_Rotate_0
    width 5760, height 1200, mwidth 1526, mheight 318

RRNotify event, serial 115, synthetic NO, window 0x4bc,
    subtype XRRCrtcChangeNotifyEvent
    crtc 79, mode None, rotation RR_Rotate_0
    x 0, y 0, width 0, height 0

RRNotify event, serial 115, synthetic NO, window 0x4bc,
    subtype XRROutputChangeNotifyEvent
    output DisplayPort-0, crtc None, mode None
    rotation RR_Rotate_0
    connection RR_Disconnected, subpixel_order SubPixelHorizontalRGB

ConfigureNotify event, serial 115, synthetic NO, window 0x4bc,
    event 0x4bc, window 0x4bc, (0,0), width 5760, height 1200,
    border_width 0, above 0x0, override NO

RRScreenChangeNotify event, serial 117, synthetic NO, window 0x4bc,
    root 0x4bc, timestamp 386328636, config_timestamp 386328813
    size_index 65535, subpixel_order SubPixelHorizontalRGB
    rotation RR_Rotate_0
    width 5760, height 1200, mwidth 1526, mheight 318

RRNotify event, serial 117, synthetic NO, window 0x4bc,
    subtype XRROutputChangeNotifyEvent
    output DisplayPort-0, crtc None, mode None
    rotation RR_Rotate_0
    connection RR_Connected, subpixel_order SubPixelHorizontalRGB

RRScreenChangeNotify event, serial 117, synthetic NO, window 0x4bc,
    root 0x4bc, timestamp 386328636, config_timestamp 386328813
    size_index 65535, subpixel_order SubPixelHorizontalRGB
    rotation RR_Rotate_0
    width 3840, height 1200, mwidth 1016, mheight 318

ConfigureNotify event, serial 117, synthetic NO, window 0x4bc,
    event 0x4bc, window 0x4bc, (0,0), width 3840, height 1200,
    border_width 0, above 0x0, override NO

...


RRScreenChangeNotify event, serial 125, synthetic NO, window 0x4bc,
    root 0x4bc, timestamp 386328636, config_timestamp 386328813
    size_index 65535, subpixel_order SubPixelHorizontalRGB
    rotation RR_Rotate_0
    width 3840, height 1200, mwidth 1016, mheight 318

RRNotify event, serial 125, synthetic NO, window 0x4bc,
    subtype XRRCrtcChangeNotifyEvent
    crtc 79, mode 1920x1200, rotation RR_Rotate_0
    x 0, y 0, width 1920, height 1200

RRNotify event, serial 125, synthetic NO, window 0x4bc,
    subtype XRROutputChangeNotifyEvent
    output DisplayPort-0, crtc 79, mode 1920x1200 (1920x1200)
    rotation RR_Rotate_0
    connection RR_Connected, subpixel_order SubPixelHorizontalRGB

ConfigureNotify event, serial 125, synthetic NO, window 0x4bc,
    event 0x4bc, window 0x4bc, (0,0), width 3840, height 1200,
    border_width 0, above 0x0, override NO

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

In the middle of that mess, there is a RRScreenChangeNotify event with width
3840, which signifies the invalid desktop state that I get as the result of=
 the
problem - I've managed to smoke it out to xfsettingsd (part of the
xfce4-settings package) - it responds to the disconnection by disabling the
CRTC, and then when it reappears, it enables it without a clue of what the
monitor is, despite it being described in the xfconf settings - and therefo=
re
not putting it in the right place again.

xfsettingsd's version of the events:

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D

Gtk-Message: GtkDialog mapped without a transient parent. This is discourag=
ed.
xfce4-settings(displays): RRScreenChangeNotify event received.
xfce4-settings(displays): Refreshing RandR cache.
xfce4-settings(displays): Detected CRTC 80.
xfce4-settings(displays): Detected CRTC 79.
xfce4-settings(displays): Detected CRTC 81.
xfce4-settings(displays): Detected CRTC 82.
xfce4-settings(displays): Detected CRTC 83.
xfce4-settings(displays): Detected CRTC 84.
xfce4-settings(displays): Detected output 85 DisplayPort-0.
xfce4-settings(displays): Detected output 86 HDMI-0.
xfce4-settings(displays): Detected output 88 DVI-1.
xfce4-settings(displays): Noutput: before =3D 3, after =3D 3.
xfce4-settings(displays): RRScreenChangeNotify event received.
xfce4-settings(displays): Refreshing RandR cache.
xfce4-settings(displays): Detected CRTC 80.
xfce4-settings(displays): Detected CRTC 79.
xfce4-settings(displays): Detected CRTC 81.
xfce4-settings(displays): Detected CRTC 82.
xfce4-settings(displays): Detected CRTC 83.
xfce4-settings(displays): Detected CRTC 84.
xfce4-settings(displays): Detected output 85 DisplayPort-0.
xfce4-settings(displays): Detected output 86 HDMI-0.
xfce4-settings(displays): Detected output 88 DVI-1.
xfce4-settings(displays): Noutput: before =3D 3, after =3D 3.
xfce4-settings(displays): RRScreenChangeNotify event received.
xfce4-settings(displays): Refreshing RandR cache.
xfce4-settings(displays): Detected CRTC 80.
xfce4-settings(displays): Detected CRTC 79.
xfce4-settings(displays): Detected CRTC 81.
xfce4-settings(displays): Detected CRTC 82.
xfce4-settings(displays): Detected CRTC 83.
xfce4-settings(displays): Detected CRTC 84.
xfce4-settings(displays): Detected output 86 HDMI-0.
xfce4-settings(displays): Detected output 88 DVI-1.
xfce4-settings(displays): Noutput: before =3D 3, after =3D 2.
xfce4-settings(displays): Output disconnected: DisplayPort-0
xfce4-settings(displays): Disabling CRTC 79.
xfce4-settings(displays): Normalized CRTC 80: size=3D1920x1200, pos=3D0x0.
xfce4-settings(displays): Normalized CRTC 81: size=3D1920x1200, pos=3D1920x=
0.
xfce4-settings(displays): min_h =3D 200, min_w =3D 320, max_h =3D 16384, ma=
x_w =3D
16384, prev_h =3D 1200, prev_w =3D 5760, prev_hmm =3D 318, prev_wmm =3D 152=
4, h =3D 1200,
w =3D 3840, hmm =3D 318, wmm =3D 1016.
xfce4-settings(displays): Applying desktop dimensions: 3840x1200 (px), 1016=
x318
(mm).
xfce4-settings(displays): Configuring CRTC 80.
xfce4-settings(displays): Configuring CRTC 79.
xfce4-settings(displays): Configuring CRTC 81.
xfce4-settings(displays): Configuring CRTC 82.
xfce4-settings(displays): Configuring CRTC 83.
xfce4-settings(displays): Configuring CRTC 84.
xfce4-settings(displays): RRScreenChangeNotify event received.
xfce4-settings(displays): Refreshing RandR cache.
xfce4-settings(displays): Detected CRTC 80.
xfce4-settings(displays): Detected CRTC 79.
xfce4-settings(displays): Detected CRTC 81.
xfce4-settings(displays): Detected CRTC 82.
xfce4-settings(displays): Detected CRTC 83.
xfce4-settings(displays): Detected CRTC 84.
xfce4-settings(displays): Detected output 85 DisplayPort-0.
xfce4-settings(displays): Detected output 86 HDMI-0.
xfce4-settings(displays): Detected output 88 DVI-1.
xfce4-settings(displays): Noutput: before =3D 2, after =3D 3.
xfce4-settings(displays): New output connected: DisplayPort-0
xfce4-settings(displays): enabling crtc for DisplayPort-0
xfce4-settings(displays): CRTC 79 assigned to DisplayPort-0.
xfce4-settings(displays): CRTC 79, output list[0] -> 85.
xfce4-settings(displays): Normalized CRTC 80: size=3D1920x1200, pos=3D0x0.
xfce4-settings(displays): Normalized CRTC 79: size=3D1920x1200, pos=3D0x0.
xfce4-settings(displays): Normalized CRTC 81: size=3D1920x1200, pos=3D1920x=
0.
xfce4-settings(displays): min_h =3D 200, min_w =3D 320, max_h =3D 16384, ma=
x_w =3D
16384, prev_h =3D 1200, prev_w =3D 5760, prev_hmm =3D 318, prev_wmm =3D 152=
4, h =3D 1200,
w =3D 3840, hmm =3D 318, wmm =3D 1016.
xfce4-settings(displays): Applying desktop dimensions: 3840x1200 (px), 1016=
x318
(mm).
xfce4-settings(displays): Configuring CRTC 80.
xfce4-settings(displays): Configuring CRTC 79.
xfce4-settings(displays): Applying changes to CRTC 79.
xfce4-settings(displays): Configuring CRTC 81.
xfce4-settings(displays): Configuring CRTC 82.
xfce4-settings(displays): Configuring CRTC 83.
xfce4-settings(displays): Configuring CRTC 84.
xfce4-settings(displays): RRScreenChangeNotify event received.
xfce4-settings(displays): Refreshing RandR cache.
xfce4-settings(displays): Detected CRTC 80.
xfce4-settings(displays): Detected CRTC 79.
xfce4-settings(displays): Detected CRTC 81.
xfce4-settings(displays): Detected CRTC 82.
xfce4-settings(displays): Detected CRTC 83.
xfce4-settings(displays): Detected CRTC 84.
xfce4-settings(displays): Detected output 85 DisplayPort-0.
xfce4-settings(displays): Detected output 86 HDMI-0.
xfce4-settings(displays): Detected output 88 DVI-1.
xfce4-settings(displays): Noutput: before =3D 3, after =3D 3.
xfce4-settings(displays): RRScreenChangeNotify event received.
xfce4-settings(displays): Refreshing RandR cache.
xfce4-settings(displays): Detected CRTC 80.
xfce4-settings(displays): Detected CRTC 79.
xfce4-settings(displays): Detected CRTC 81.
xfce4-settings(displays): Detected CRTC 82.
xfce4-settings(displays): Detected CRTC 83.
xfce4-settings(displays): Detected CRTC 84.
xfce4-settings(displays): Detected output 85 DisplayPort-0.
xfce4-settings(displays): Detected output 86 HDMI-0.
xfce4-settings(displays): Detected output 88 DVI-1.
xfce4-settings(displays): Noutput: before =3D 3, after =3D 3.
xfce4-settings(displays): RRScreenChangeNotify event received.
xfce4-settings(displays): Refreshing RandR cache.
xfce4-settings(displays): Detected CRTC 80.
xfce4-settings(displays): Detected CRTC 79.
xfce4-settings(displays): Detected CRTC 81.
xfce4-settings(displays): Detected CRTC 82.
xfce4-settings(displays): Detected CRTC 83.
xfce4-settings(displays): Detected CRTC 84.
xfce4-settings(displays): Detected output 85 DisplayPort-0.
xfce4-settings(displays): Detected output 86 HDMI-0.
xfce4-settings(displays): Detected output 88 DVI-1.
xfce4-settings(displays): Noutput: before =3D 3, after =3D 3.

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D

I'm assuming the important part from the X perspective is when
xfsettingsd/displays.c:xfce_displays_helper_screen_on_event realises the
display is Disconnected, and runs xfce_displays_helper_disable_crtc which c=
alls
XRRSetCrtcConfig with RRCrtc->mode of None/NULL.

If the daemon is killed, no reconfiguration occurs and the desktop keeps its
correct configuration - presumably at the X level its just treated like a
monitor powering off and on - so I guess the next step is for me to underst=
and
what is causing the Disconnect event to be fired through the stack, since t=
he
monitor is definitely not disconnected in reality.

Kudos to Michel for the guess earlier.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15177686901.4Ae8.21396-- --===============0939853110== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0939853110==--