Summary: | [regression] GLX+VA-API+clutter-gst video playback is corrupt with Mesa 17.3 (but is fine with 17.2) | ||
---|---|---|---|
Product: | Mesa | Reporter: | Daniel van Vugt <daniel.van.vugt> |
Component: | GLX | Assignee: | Thomas Hellström <thellstrom> |
Status: | RESOLVED FIXED | QA Contact: | mesa-dev |
Severity: | normal | ||
Priority: | medium | CC: | david.regev, piotrdrag, thellstrom, tjaalton |
Version: | 17.3 | ||
Hardware: | Other | ||
OS: | All | ||
See Also: |
https://launchpad.net/bugs/1747744 https://bugzilla.gnome.org/show_bug.cgi?id=792227 |
||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | Suggested fix |
Description
Daniel van Vugt
2018-02-08 07:18:45 UTC
broken on 18.0.0-rc2 as well Bisected. 5198e48a0d9a991d897cf4c71fdb82ac0e43b025 is the first bad commit commit 5198e48a0d9a991d897cf4c71fdb82ac0e43b025 Author: Thomas Hellstrom <thellstrom@vmware.com> Date: Fri Aug 11 09:57:51 2017 +0200 loader_dri3/glx/egl: Remove the loader_dri3_vtable get_dri_screen callback It's not very usable since in the rare, but definitely existing case that we don't have a current context, it will return NULL. Presumably it will always be safe to use the dri screen the drawable was created with for operations on that drawable. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Reviewed-by: Michel Dänzer <michel.daenzer@amd.com> :040000 040000 16f02799b47aefb1cac40343c1ae0c7dd6d1b63a ca0b60d0abef87f31c0b0052de72b67e6d1f9311 M src Hm, This is really a cleanup commit assuming that it's illegal to pass drawables around different screens. But I see now that the @draw argument to get_dri_screen() is not used in the implementations, so the correct cleanup appears to be to remove that argument, and indeed let the function return the screen of the currently bound context. From what I can tell, reverting that commit should be safe. But I'll put together a proper patch. Created attachment 137229 [details] [review] Suggested fix Daniel, could you try the attached patch to verify that it fixes the problem. Thanks, tested on top of 18.0.0-rc2 and it works now. Verified (with git master): attachment 137229 [details] [review] does fix the problem. Thanks. Thanks. Sent the patch for review. If anyone wants a Tested-by: tag, please respond to the PATCH email on mesa-dev. /Thomas Fixed in mesa master with backport requests. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.