Summary: | Green lines at bottom/right when using XV to render only part of a image | ||
---|---|---|---|
Product: | xorg | Reporter: | Sebastian Dröge (slomo) <slomo> |
Component: | Driver/intel | Assignee: | Chris Wilson <chris> |
Status: | RESOLVED NOTOURBUG | QA Contact: | Intel GFX Bugs mailing list <intel-gfx-bugs> |
Severity: | normal | ||
Priority: | medium | CC: | tim |
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
See Also: | https://bugzilla.gnome.org/show_bug.cgi?id=685305 | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Sebastian Dröge (slomo)
2012-12-12 11:18:37 UTC
Forgot to mention that this (at least) happens with the I420 color format Can I have an Xorg.log or two from the people affected by this? Overlay or textured video? Installed gstreamer1.0, and I can reproduce. Thanks. The green is an artifact of you padding with zero and the hardware sampling those border pixels. Step 1: stop lying. This will hide the issue for unscaled videos: commit 9001263b32efde1361555432914d9ac3ee780511 Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Wed Dec 12 12:03:40 2012 +0000 sna/gen3+: Use nearest for unscaled videos If the output is unscaled, then we do not require pixel interpolation (and planar formats are exactly subsampled). References: https://bugs.freedesktop.org/show_bug.cgi?id=58185 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> But you need to be more careful with your source data. (In reply to comment #4) > The green is an artifact of you padding with zero and the hardware sampling > those border pixels. Step 1: stop lying. Step 1: don't read pixels outside of the given region > But you need to be more careful with your source data. I suspect there is more going on. Filling the complete image with the same color also creates a small line when cropping so I don't know where it is getting these other colors from. (In reply to comment #6) > (In reply to comment #4) > > The green is an artifact of you padding with zero and the hardware sampling > > those border pixels. Step 1: stop lying. > > Step 1: don't read pixels outside of the given region Ah, but it is not. You've included the pad pixels in your source region. > > But you need to be more careful with your source data. > > I suspect there is more going on. Filling the complete image with the same > color also creates a small line when cropping so I don't know where it is > getting these other colors from. What do you mean by complete image? (In reply to comment #7) > (In reply to comment #6) > > (In reply to comment #4) > > > The green is an artifact of you padding with zero and the hardware sampling > > > those border pixels. Step 1: stop lying. > > > > Step 1: don't read pixels outside of the given region > > Ah, but it is not. You've included the pad pixels in your source region. What do you mean? The source region only contains the part that should be rendered, i.e. not the padding. > > > But you need to be more careful with your source data. > > > > I suspect there is more going on. Filling the complete image with the same > > color also creates a small line when cropping so I don't know where it is > > getting these other colors from. > > What do you mean by complete image? The complete XvImage |
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.