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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Nov 12 01:01:12 PST 2015


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

--- Comment #14 from Chris Wilson <chris at chris-wilson.co.uk> ---
(In reply to Matthias Schiffer from comment #11)
> Created attachment 119579 [details]
> 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. 

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;

-- 
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/20151112/0ef78ea5/attachment-0001.html>


More information about the intel-gfx-bugs mailing list