| Summary: | [patch][crash] Xorg is crashing on startup in xinerama configuration | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | xorg | Reporter: | Mariusz Białończyk <manio> | ||||||||||
| Component: | Driver/intel | Assignee: | Chris Wilson <chris> | ||||||||||
| Status: | RESOLVED FIXED | QA Contact: | Intel GFX Bugs mailing list <intel-gfx-bugs> | ||||||||||
| Severity: | major | ||||||||||||
| Priority: | medium | ||||||||||||
| Version: | unspecified | ||||||||||||
| Hardware: | x86-64 (AMD64) | ||||||||||||
| OS: | Linux (All) | ||||||||||||
| Whiteboard: | |||||||||||||
| i915 platform: | i915 features: | ||||||||||||
| Attachments: |
|
||||||||||||
|
Description
Mariusz Białończyk
2018-10-19 11:37:07 UTC
Created attachment 142091 [details]
xorg.log
Created attachment 142092 [details]
xorg.conf
Created attachment 142093 [details] [review] my patch 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;
Would help if I didn't move the code before pasting. Created attachment 142094 [details] [review] Only generate coldprobe for RR Chris, I am confirming that with your patch applied, it is working properly :) Thank you! commit f146dc06ce32df9c2f9b46691e968c7e1bcaeb52 (HEAD -> master, upstream/master) Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Fri Oct 19 13:44:43 2018 +0100 sna: Only generate a coldprobe RR probe when RandR is enabled If Xinerama is enabled, RandR is disabled and calling into RR functions merely explode, so don't. Reported-by: Mariusz Białończyk <manio@skyboo.net> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108495 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.