[Intel-gfx] [ANNOUNCE] xf86-video-intel 188.8.131.523
cworth at cworth.org
Thu Apr 16 13:12:42 PDT 2009
On Thu, 2009-04-16 at 21:10 +0200, Tino Keitel wrote:
> On Thu, Apr 16, 2009 at 10:00:40 -0700, Carl Worth wrote:
> > On Thu, 2009-04-16 at 17:56 +0100, Barry Scott wrote:
> > > The code you have to prevent tearing will only work without compositing.
> > Yes, I just verified that if I simply start xcompmgr then I get tearing
> > once again.
> FYI: I also tried with compositing disabled (it was enabled in my Xfce
> setup). This changes the tearing to be not so ugly and strong anymore.
> But I can still see a tearing line during camera moves with textured
> video, whereas it looks perfect with video overlay.
For the case of "tear-free video with compositing manager" we'll need to
do some more driver work. See elsewhere in this thread where Jesse
mentions adding the scanline-based waiting code to an I830DRI2CopyRegion
hook for our driver.
For the case of no compositing manager, Eric Smith has been doing some
debugging work and found what looks like a corrupted value in the driver
leading to the sync code attempting to syn on the wrong pipe:
Hopefully we'll soon find where the corruption is coming from and fix
this. If you're hitting a similar problem, you might be able to work
around it by editing the I830PutImage function in i830_video.c. Find the
"if (sync)" block and change the following condition:
if (intel_crtc->pipe == 0)
if (intel_crtc->pipe != 1)
which should make any values for intel_crtc->pipe other than 0 and 1
sync on pipe A instead of on pipe B.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 189 bytes
Desc: This is a digitally signed message part
More information about the xorg