[Libva] VA-API does no v-sync with H264 interlaced videos

Lutz Sammer johns98 at gmx.net
Sat Mar 9 08:23:50 PST 2013


On 03/07/2013 12:32 PM, Daniel Vetter wrote:
> On Thu, Mar 7, 2013 at 9:38 AM, Lutz Sammer <johns98 at gmx.net> wrote:
>> vaPutSurface (X11) waits on v-sync?
>
> With the minor nit that for a long time the intel X driver didn't
> implement this on snb/ivb, resulting in tearing. But with kernel 3.8
> and latest xfree86-video-intel when using the SNA backed it should
> work.

The result is that with xf86-video-intel GIT from yesterday,
libva-intel-driver-1.0.18, libva-1.1.0 and kernel-3.8.2.
vaPutSurface does no longer wait on vsync.

With SNA:
X &; export DISPLAY=:0.0; putsurface -> 75.29 FPS
CTRL-C

X crash:
(EE)
(EE) Backtrace:
(EE) 0: X (xorg_backtrace+0x36) [0x58a976]
(EE) 1: X (0x400000+0x18e659) [0x58e659]
(EE) 2: /lib64/libpthread.so.0 (0x3b01800000+0x10a90) [0x3b01810a90]
(EE) 3: ?? [0x1ba0950]
(EE)
(EE) Segmentation fault at address 0x1ba0950

With UXA:
X &; export DISPLAY=:0.0; putsurface -> 50.20 FPS

No crash in 10 tries.

 >
 > Note that it always worked when using a gl fullscreen compositor.

I knew this, but some years ago, when I started the code,
there was some other problems. (Can't remember what.)

Johns


More information about the Libva mailing list