Summary: | Hotplugging external display with weston running leads to compositor lockup | ||
---|---|---|---|
Product: | Wayland | Reporter: | Rob Bradford <rob> |
Component: | weston | Assignee: | Wayland bug list <wayland-bugs> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | critical | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Rob Bradford
2013-05-03 14:08:31 UTC
And like https://bugs.freedesktop.org/show_bug.cgi?id=63812 i've tracked this down to: commit e5a1225bc436f86b5241152bb332014d64f5b446 Author: Jonas Ådahl <jadahl@gmail.com> Date: Fri Apr 5 23:07:11 2013 +0200 Make backends always specify output repaint time commit 95eb3a2eb470bd341ab078c7e48a28ffebc6dde1 Author: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com> Date: Tue May 7 14:16:59 2013 +0300 compositor-drm: Don't page flip before a mode is set The function drm_output_start_repaint_loop() unconditionally issues a page flip, even if the crtc for that output has not been enabled yet. That causes the page flip to fail, and drm_output_repaint() is never called. Solve this by bypassing the initial page flip if the output needs a mode set. This has the caveat of affecting latency predictability for that first frame and when a "driver" mode fullscreen surface causes a mode set. However, on both cases the mode set would take an unpredictable amount of time anyway. https://bugs.freedesktop.org/show_bug.cgi?id=63812 https://bugs.freedesktop.org/show_bug.cgi?id=64183 |
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.