[Bug 92296] Xorg crashes with reverse PRIME (intel+nouveau) and OpenGL/VA-API

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Nov 11 12:42:12 PST 2015


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

--- Comment #8 from Chris Wilson <chris at chris-wilson.co.uk> ---
Theory is that the wrong backend is being called...

If you enable assertions (say --enable-debug=full since it appears to crash
very early) and try:

--- a/src/sna/sna_present.c
+++ b/src/sna/sna_present.c
@@ -312,6 +312,7 @@ sna_present_queue_vblank(RRCrtcPtr crtc, uint64_t event_id, 
        DBG(("%s(pipe=%d, event=%lld, msc=%lld)\n",
             __FUNCTION__, sna_crtc_pipe(crtc->devPrivate),
             (long long)event_id, (long long)msc));
+       assert(sna->scrn == ((xf86CrtcPtr)crtc->devPrivate)->scrn);

        swap = sna_crtc_last_swap(crtc->devPrivate);
        warn_unless((int64_t)(msc - swap->msc) >= 0);

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


More information about the intel-gfx-bugs mailing list