<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#c14">Comment # 14</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>(In reply to Matthias Schiffer from <a href="show_bug.cgi?id=92296#c11">comment #11</a>)
<span class="quote">> Created <span class=""><a href="attachment.cgi?id=119579" name="attach_119579" title="gdb log for crash 1">attachment 119579</a> <a href="attachment.cgi?id=119579&action=edit" title="gdb log for crash 1">[details]</a></span>
> gdb log for crash 1
>
> While I thought that crash 1 had been fixed, this is not the case after all;
> on both Xserver 1.17.2 and 1.17.4, and both the current xf86-video-intel git
> master and the version I used when I tested last time, it crashes every time
> I try it. </span >
Still mixing Present/DRI3 + DRI2? If so, this may help
diff --git a/src/sna/sna_dri2.c b/src/sna/sna_dri2.c
index 6f5e9f7..43b1534 100644
--- a/src/sna/sna_dri2.c
+++ b/src/sna/sna_dri2.c
@@ -2207,7 +2207,7 @@ can_xchg_crtc(struct sna *sna,
if (!DBG_CAN_XCHG)
return false;
- if ((sna->flags & SNA_TEAR_FREE) == 0) {
+ if ((sna->flags & SNA_TEAR_FREE) == 0 || !sna->mode.shadow_enabled) {
DBG(("%s: no, requires TearFree\n",
__FUNCTION__));
return false;</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>