Since using DRI3 (and TearFree) I finally solved the tearing issues I am having with stable driver and xorg-server but, sadly, it has the drawback of totem (and any player using vaapi) to crash with this error: intel_do_flush_locked failed: No such file or directory I have found this upstream report... but it looks like upstream is not looking to it :(... I am not sure if you are in touch with someone there that could get this solved finally :/ https://bugs.freedesktop.org/show_bug.cgi?id=71759 Thanks a lot
Is this a regression from the current stable driver? If not, I would consider it not a blocker of the stabilization bug.
It is a regression because DRI3 will expose this new bug (even fixing the tearing over DRI2) Do you think https://bugs.freedesktop.org/show_bug.cgi?id=71759#c17 is feasible to be tried? I can try that patch if needed :/
xf86-video-intel-2.99.917-r2 doesn't support DRI3 and so this is not a regression, just an additional new feature that doesn't work right. x11 project tries to avoid carrying patches that were not applied upstream. Once upstream has applied this patch (or at least given a "lgtm" comment) we can backport it or make a new snapshot. Maybe mattst88 can comment on upstream's plans for this patch. If the patch works for you, it would be good to comment on the fdo bug about it.
If I don't misremember dri3 is now enabled by default, and, then, it is a regression :/ Well, at least, people will pass from opening videos with, for example, totem and, later, totem crashing each time they try to use it if they have vaapi support enabled
Yeah, the patch against libdrm works fine :D
Thanks for testing. Some status update: [21:26:16] <chithead> mattst88: do you know if anyone at intel is currently looking into bug 582544? if not, what is the best way to proceed, disable dri3 by default? [21:48:15] <mattst88> chithead: ugh. I doubt it [21:48:28] <mattst88> ickle doesn't like dri3 and keith and eric left [22:12:26] <chithead> mrueg: you enabled dri3 by default for xf86-video-intel, what do you say? [22:27:04] <mattst88> chithead: I'll try to ask around on tuesday (monday's a holiday)
Personally I would prefer to apply the patch to libdrm instead of reverting to all the tearing issues with older xorg-server and driver versions :(
I don't understand what the patch does, and what other effects it may have. Upstream hasn't commented on it yet. I would not be comfortable applying it at this point.
I have tried to ask in upstream report but they keep ignoring all :( Maybe one option would be to CC libdrm maintainers in upstream bug... but I don't know what is their address :S
Created attachment 437156 [details, diff] xf86-video-intel-2.99.917_p20160518.ebuild.patch Disable dri3 by default, display a warning message when the user enables it. This change would make this bug longer block the xorg stabilization. (In reply to Pacho Ramos from comment #9) xf86-video-intel and libdrm_intel are developed by the same team afaik. So the issue is known to the correct people.
commit 1909f4a87a7d6a7ac3d2c08fd644fc76fcd111f7 Author: Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> Date: Mon Jul 4 18:34:49 2016 +0200 x11-drivers/xf86-video-intel: always build dri3, but default to dri2 at runtime Bug: https://bugs.gentoo.org/show_bug.cgi?id=582544
*** Bug 592962 has been marked as a duplicate of this bug. ***
As per https://bugs.freedesktop.org/show_bug.cgi?id=71759#c51 seems the patch to fix this issue has been accepted by mainstream and will be released with mesa 12.0.4
This is fixed with mesa-13.0.0.