<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Xorg crashes with reverse PRIME (intel+nouveau) and OpenGL/VA-API"
href="https://bugs.freedesktop.org/show_bug.cgi?id=92296#c8">Comment # 8</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Xorg crashes with reverse PRIME (intel+nouveau) and OpenGL/VA-API"
href="https://bugs.freedesktop.org/show_bug.cgi?id=92296">bug 92296</a>
from <span class="vcard"><a class="email" href="mailto:chris@chris-wilson.co.uk" title="Chris Wilson <chris@chris-wilson.co.uk>"> <span class="fn">Chris Wilson</span></a>
</span></b>
<pre>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);</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>