Summary: | Non-compiz compositing breaks xf86-video-savage XVideo colorkeying | ||
---|---|---|---|
Product: | xorg | Reporter: | Alex Villacís Lasso <avillaci> |
Component: | Driver/savage | Assignee: | Xorg Project Team <xorg-team> |
Status: | RESOLVED FIXED | QA Contact: | Xorg Project Team <xorg-team> |
Severity: | normal | ||
Priority: | medium | ||
Version: | git | ||
Hardware: | x86 (IA32) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
Description
Alex Villacís Lasso
2008-11-04 16:31:55 UTC
Created attachment 20054 [details]
gst-launch xvimagesink, no compositing manager active
Screenshot of gst-launch with xvimagesink and no compositing manager. Dark-green square is the normal color key used in my system.
Created attachment 20055 [details]
gst-launch xvimagesink, metacity internal compositing manager active
This shows gst-launch with xvimagesink and metacity compositing manager active. Here, the colorkeying has been overwritten by a copy of the background image.
This is a driver issue. At the very least, it should use xf86XVFillKeyHelperDrawable() when available instead of xf86XVFillKeyHelper() to make sure the colour key is drawn correctly for composited windows. (In reply to comment #3) > This is a driver issue. At the very least, it should use > xf86XVFillKeyHelperDrawable() when available instead of xf86XVFillKeyHelper() > to make sure the colour key is drawn correctly for composited windows. > Thanks for the explanation. I will try to whip up a patch tonight. However, a grep on the drivers from current git show that the only user of xf86XVFillKeyHelperDrawable() is xf86-video-ati. Assuming your explanation is correct, then every single driver that implements xvideo via colorkeying is broken in the same way as xf86-video-savage. How come nobody has noticed it? (In reply to comment #4) > Assuming your explanation is correct, then every single driver that implements > xvideo via colorkeying is broken in the same way as xf86-video-savage. Right. > How come nobody has noticed it? Not sure, I guess most people don't realize there's a way to improve the problem without using textured video. Created attachment 20115 [details] [review] Patch to conditionally use xf86XVFillKeyHelperDrawable if available This patch implements a conditional test for the xf86XVFillKeyHelperDrawable and uses it if available. This fixes the colorkeying corruption in the cases I could test (gst-launch and totem). Applies against current git. Suggested patch has been committed to current git. |
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.