[Intel-gfx] [ANNOUNCE] xf86-video-intel

Carl Worth cworth at cworth.org
Thu Apr 16 22:12:42 CEST 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...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20090416/b58bb18e/attachment.sig>

More information about the Intel-gfx mailing list