[Bug 94250] Intel driver crashes when undocking Lenovo T450s

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Feb 23 14:43:31 UTC 2016


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

--- Comment #11 from Chris Wilson <chris at chris-wilson.co.uk> ---
(In reply to cs_gon from comment #7)
> Created attachment 121918 [details]
> Xorg.0.log.1
> 
> Xorg log for assertion
> 
> (EE) sna_dri2_event_free:1663 assertion '!info->signal' failed

That is not a huge issue, just a bit of debug code needs cancelling along the
error path.

(In reply to cs_gon from comment #10)
> Created attachment 121921 [details]
> stack_trace2.txt
> 
> stack trace for assertion
> 
> (EE) sna_dri2_schedule_flip:3078 assertion 'info->front == front' failed

This is actually more of an issue. This should reduce the assert

commit 3593a2d18928f74ee470f824dc34b8b5b148ce2d
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Tue Feb 23 14:36:10 2016 +0000

    sna/dri2: Reset front pointer on frame event across a modeset

    If the root window's pixmap is changed (e.g. to resizing the
    framebuffer) then an outstanding flip becomes invalid. The invalid flip
    is marked as having a stale front, and that triggers an assertion if the
    user then tries to schedule flip before the pending flip event is
    processed.

    References: https://bugs.freedesktop.org/show_bug.cgi?id=9425
    Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>

but it is still a little bit of a puzzle how we did not drain the event queue
first. That's probably explained by

commit 4cd43faa646e368624079b73b216f6546ede5c16
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Tue Feb 23 14:40:39 2016 +0000

    sna: Flush the DRM event queue after a modeset

    Changing the mode will cause the DRM events(pageflips, vblanks) to
    be completed and the queue flushed. After applying the CRTC, drain the
    event queue.

    Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>

-- 
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/20160223/d95e381f/attachment.html>


More information about the intel-gfx-bugs mailing list