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

Xiang, Haihao haihao.xiang at intel.com
Thu Feb 28 23:07:30 PST 2013


On Mon, 2013-02-25 at 20:02 +0100, Lutz Sammer wrote: 
> Hello,
> 
> I wrote a video player for VA-API.
> It works fine with TV-stations in mpeg 576i and h264 720p.
> Only stations with H264 1080i and H264 576i have the problem.
> I think it is important that it is H264 and interlaced.
> 
> The problem is that vaPutSurface doesn't wait on v-sync.
> When I run putsurface (from the libva tools/examples) on the same X11,
> it shows 62.75 FPS.

VA doesn't handle vsync. Instead, it is the responsibility of display
server (such as X11, Wayland).


> 
> With other videos putsurface shows the correct 50.20 FPS.
> 
> Sometimes after running putsurface the video runs with the correct
> 50hz.
> 
> The X11 server runs always with 1080p 50 Hz.
> 
> Is this a known bug? What can I do to find the problem?
> 
> Johns
> 
> vainfo:
> libva info: VA-API version 0.33.0
> libva info: va_getDriverName() returns 0
> libva info: Trying to open /usr/lib64/va/drivers/i965_drv_video.so
> libva info: Found init function __vaDriverInit_0_33
> libva info: va_openDriver() returns 0
> vainfo: VA-API version: 0.33 (libva 1.1.0)
> vainfo: Driver version: Intel i965 driver - 1.0.19
> 
> kernel 3.8.0
> 
> x11-drivers/xf86-video-intel-2.21.3
> 
> _______________________________________________
> Libva mailing list
> Libva at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/libva




More information about the Libva mailing list