Bug 42412

Summary: Video corruptions with fullscreen XV [SNA, 2.16.901]
Product: xorg Reporter: Clemens Eisserer <linuxhippy>
Component: Driver/intelAssignee: Chris Wilson <chris>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
xorg log
none
image corruption in fullscreen
none
no corruptions in windowed mode none

Description Clemens Eisserer 2011-10-31 01:14:29 UTC
Created attachment 52932 [details]
xorg log

When watching videos fullscreen using mplayer with its XV backend, I get image corruptions (as seen on the screenshots) in combination with SNA - everything works fine with UXA.

intel i945GM

libdrm-2.4.27
pixman-0.23.8
linux-3.1.0
xorg 1.11.1
Comment 1 Clemens Eisserer 2011-10-31 01:15:08 UTC
Created attachment 52933 [details]
image corruption in fullscreen
Comment 2 Clemens Eisserer 2011-10-31 01:15:38 UTC
Created attachment 52934 [details]
no corruptions in windowed mode
Comment 3 Chris Wilson 2011-10-31 02:41:25 UTC
Is that with or without XvMC? Is it possible to have a very short snippet of that file?
Comment 4 Clemens Eisserer 2011-10-31 02:53:02 UTC
Hi,

That is with plain XV, no xvmc. Just tested, happens with any video.

Thanks, Clemens
Comment 5 Clemens Eisserer 2011-10-31 02:54:43 UTC
sorry, doesn't seem to happen with any video - just sent you an email with one that hits the problem.
Comment 6 Chris Wilson 2011-10-31 03:12:37 UTC
Yes, I was wondering if it was specific to either the packed or planar video code paths. I'm not seeing the issue using a PineView on a bare X and mplayer -fs using either -vo xv:adaptor=[01], anything else required?
Comment 7 Chris Wilson 2011-10-31 03:27:01 UTC
Ah, when it's partially offscreen.
Comment 8 Chris Wilson 2011-10-31 04:29:10 UTC
commit b1287e49347e0fff67f43d157fa87758d5cbe588
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Mon Oct 31 11:27:36 2011 +0000

    sna/video: Fix copy region for cropped video
    
    Reported-by: Clemens Eisserer <linuxhippy@gmail.com>
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=42412
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>

Ok, if am I right and it was zoom past the screen extents...

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.