Re: [Libva] Disabling sync on vblank

2016-06-26 Thread Ratin
Shouldn't adding SwapbuffersWait parameter in /etc/X11/xorg.conf work? Section "Device" Option "SwapbuffersWait" false Identifier "Card0" Driver "intel" BusID "PCI:0:2:0" EndSection - Ratin On Sun, Jun 26, 2016 at 8:46 AM, Xiang, Haihao wrote: > > Hi Yann, > > vaPutSurf

[Libva] [PATCH] Downgrade the alignment requirement for linear surface on BDW+

2016-06-26 Thread Zhao Yakui
When sharing the YUY2/UYVY buffer with other driver, the current alignment is too strict, which causes that it is not handled correctly by other driver.(The current alignment is considered based on I420/YV12) https://bugs.freedesktop.org/show_bug.cgi?id=96689 Signed-off-by: Zhao Yakui --- src

Re: [Libva] Disabling sync on vblank

2016-06-26 Thread Xiang, Haihao
Hi Yann, vaPutSurface() is calling DRI2SwapBuffers on X11 to display the image, the behavior is controlled by display server. You may check xf86-video-intel for how is DRI2SwapBuffers implemented. Thanks Haihao >-Original Message- >From: Libva [mailto:libva-boun...@lists.freedeskt

[Libva] Disabling sync on vblank

2016-06-26 Thread Yann Dirson
Hello, When I'm decoding a video (using i965-va-driver, libva 1.7.0) and displaying frames using vaPutSurface, it looks as if the latter was syncing on vblank: i observe the frame rate of my program to be exactly that of the video mode refresh. I would like to test if we can do triple-buffering r