Summary: | Composite Bypass no longer works | ||
---|---|---|---|
Product: | Mesa | Reporter: | U. Artie Eoff <ullysses.a.eoff> |
Component: | EGL/Wayland | Assignee: | Wayland bug list <wayland-bugs> |
Status: | VERIFIED FIXED | QA Contact: | mesa-dev |
Severity: | critical | ||
Priority: | medium | CC: | chadversary, cworth, wayland-bugs |
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | Best fix so far |
Description
U. Artie Eoff
2013-09-16 20:40:40 UTC
Created attachment 85941 [details] [review] Best fix so far Here's the best fix so far. Not entirely happy with it, but it's not terrible. Happy I waited to push this, I came up with a much better fix: commit 360a141f24a9d00891665b7fedb77ffb116944ca Author: Kristian Høgsberg <krh@bitplanet.net> Date: Thu Sep 26 12:25:11 2013 -0700 wayland: Don't rely on static variable for identifying wl_drm buffers Now that libEGL has been fixed to not leak all kinds of symbols, gbm links to its own copy of the libwayland-drm.a helper library. That means we can't rely on comparing the addresses of a static vtable symbol in that library to determine if a wl_buffer is a wl_drm_buffer. Instead, we move the vtable into the wl_drm struct and use that for comparing. https://bugs.freedesktop.org/show_bug.cgi?id=69437 Cc: 9.2 <mesa-stable@lists.freedesktop.org> Thanks, I confirmed it fixes the issue on master... waiting on 9.2 backport. Any progress on getting this backported to the 9.2 branch? (In reply to comment #4) > Any progress on getting this backported to the 9.2 branch? I attempted a cherry-pick over to the 9.2 branch, and there were non-trivial conflicts taht I didn't feel comfortable attempting to resolve. I believe I pinged Kristian, asking if he could backport the patch. Kristian? -Carl (In reply to comment #5) > (In reply to comment #4) > > Any progress on getting this backported to the 9.2 branch? > > I attempted a cherry-pick over to the 9.2 branch, and there were non-trivial > conflicts taht I didn't feel comfortable attempting to resolve. > > I believe I pinged Kristian, asking if he could backport the patch. > > Kristian? Yup, wasn't an trivialy backport so it took a little longer and we missed the recent release. I'll get a fix ready for the next one. Just pushed the backported fix to 9.2: commit 7ab2b8c4c4607817c91946dcba943b29f1bd1895 Author: Kristian Høgsberg <krh@bitplanet.net> Date: Thu Sep 26 12:25:11 2013 -0700 wayland: Don't rely on static variable for identifying wl_drm buffers Now that libEGL has been fixed to not leak all kinds of symbols, gbm links to its own copy of the libwayland-drm.a helper library. That means we can't rely on comparing the addresses of a static vtable symbol in that library to determine if a wl_buffer is a wl_drm_buffer. Instead, we move the vtable into the wl_drm struct and use that for comparing. Backported from 360a141f24a9d00891665b7fedb77ffb116944ca. https://bugs.freedesktop.org/show_bug.cgi?id=69437 Cc: 9.2 <mesa-stable@lists.freedesktop.org> Verified fixed on both master and 9.2 branches... Thanks! |
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.