[Bug 108495] [patch][crash] Xorg is crashing on startup in xinerama configuration

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Oct 19 12:36:28 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=108495

--- Comment #4 from Chris Wilson <chris at chris-wilson.co.uk> ---
Try

diff --git a/src/sna/sna_display.c b/src/sna/sna_display.c
index 96e7b1bc..76e1e75b 100644
--- a/src/sna/sna_display.c
+++ b/src/sna/sna_display.c
@@ -7743,7 +7743,10 @@ bool sna_mode_pre_init(ScrnInfoPtr scrn, struct sna
*sna)
                }
        }
        sort_config_outputs(sna);
-       TimerSet(NULL, 0, COLDPLUG_DELAY_MS, sna_mode_coldplug, sna);
+
+       /* Simulate a hotplug event on wakeup to force a RR probe */
+       if (rrGetScrPriv(screen))
+               TimerSet(NULL, 0, COLDPLUG_DELAY_MS, sna_mode_coldplug, sna);

        sna_setup_provider(scrn);
        return scrn->modes != NULL;

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20181019/758b7871/attachment.html>


More information about the intel-gfx-bugs mailing list