* OT: Video tearing
@ 2012-05-11 9:06 Oliver Seitz
2012-05-23 18:35 ` Jesse Barnes
0 siblings, 1 reply; 2+ messages in thread
From: Oliver Seitz @ 2012-05-11 9:06 UTC (permalink / raw)
To: intel-gfx
Hi, perhaps one of the experts can answer this in a few words...
SandyBridge can prevent tearing only by using pageflipping.
pageflipping on Xorg always flips the whole framebuffer, so it can only
be synced to one output device.
The vaapi-enabled MPlayer plays nice in fullscreen mode (via vaapi or
gl), but sometimes tears in windowed mode.
Is this a MPlayer, Xorg, intel driver or SandyBridge problem? It's clear
that pageflipping can not be syncronized to two displays at once, but I
see no theoretical need for a video being fullscreen to make use of
pageflipping.
Thank you for any hints!
Greets,
Kiste
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: OT: Video tearing
2012-05-11 9:06 OT: Video tearing Oliver Seitz
@ 2012-05-23 18:35 ` Jesse Barnes
0 siblings, 0 replies; 2+ messages in thread
From: Jesse Barnes @ 2012-05-23 18:35 UTC (permalink / raw)
To: Oliver Seitz; +Cc: intel-gfx
On Fri, 11 May 2012 11:06:37 +0200
Oliver Seitz <info@vtnd.de> wrote:
> Hi, perhaps one of the experts can answer this in a few words...
>
> SandyBridge can prevent tearing only by using pageflipping.
>
> pageflipping on Xorg always flips the whole framebuffer, so it can only
> be synced to one output device.
>
> The vaapi-enabled MPlayer plays nice in fullscreen mode (via vaapi or
> gl), but sometimes tears in windowed mode.
>
> Is this a MPlayer, Xorg, intel driver or SandyBridge problem? It's clear
> that pageflipping can not be syncronized to two displays at once, but I
> see no theoretical need for a video being fullscreen to make use of
> pageflipping.
>
> Thank you for any hints!
It's partly a hardware limitation, but it's really a bug in
xf86-video-intel since we don't work around it properly.
It should be possible for us to use flipping in the DDX all the time by
rendering everything to an offscreen buffer, but that involves some
surgery to the DDX we haven't done yet.
--
Jesse Barnes, Intel Open Source Technology Center
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-05-23 18:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-11 9:06 OT: Video tearing Oliver Seitz
2012-05-23 18:35 ` Jesse Barnes
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox