[Libva] [PATCH][libva-intel-driver] vpp chroma-formats: report supported chroma formats for vpp

2016-10-12 Thread Daniel Charles
vpp to report the chroma formats according to what's allowed by vaCreateSurfaces2 Signed-off-by: Daniel Charles --- src/i965_drv_video.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/i965_drv_video.c b/src/i965_drv_video.c index

[Libva] [PATCH][libva-intel-driver] ConfigAttribEncROI: check entrypoint on VAGetConfigAttrib

2016-10-12 Thread Daniel Charles
The attribute VAConfigAttribEncROI has to check that the entrypoint is actually a VAEntrypointEncSlice or VAEntrypointEncSliceLP Signed-off-by: Daniel Charles --- src/i965_drv_video.c | 37 ++--- 1 file changed, 22 insertions(+), 15

Re: [Libva] [PATCH intel-driver v2 7/7] test: add some jpeg encode tests

2016-10-12 Thread Kelley, Sean V
I’ve not seen any issues in multiple runs either, Haihao. I likewise ran them again today. No failures. What platform are you testing on? Sean On 10/12/16, 12:57 PM, "Libva on behalf of Eoff, Ullysses A" wrote:

Re: [Libva] [PATCH intel-driver v2 7/7] test: add some jpeg encode tests

2016-10-12 Thread Eoff, Ullysses A
I have not seen these two (7680x4320 YUY2 and UYVY) fail before on my SKL... I just ran them both 25 times each and did not get any failures: "./test_i965_drv_video --gtest_filter=Common/JPEGEncodeInputTest.Full/98 --gtest_repeat=25" "./test_i965_drv_video

[Libva] [Libva-intel-driver][PATCH] Use Media Read message if possible on Gen8+

2016-10-12 Thread Xiang, Haihao
AVS can't gurantee bit-match for a large surface. This fixes the failure reported by gtest case Common/JPEGEncodeInputTest.Full/95. before: [ FAILED ] Common/JPEGEncodeInputTest.Full/95, where GetParam() = (Fixed Size 7680x4320, 0x501176 pointing to "I420") (9239 ms) [--] 1 test from

Re: [Libva] va_getDriverName() returns -1

2016-10-12 Thread Lim, Siew Hoon
Hi Anteja, I’m not sure which platform that you using for emgd driver? EMGD driver only support on certains platform. First, did you manage to emgd.ko loaded and get display up? I think you can find the user guide for setup inside in the link below just now provided by Haihao.

Re: [Libva] va_getDriverName() returns -1

2016-10-12 Thread Xiang, Haihao
> Hi,  > > Thanks Siew  for this steps, I try but error is same...  You should use i915 instead of emgd in kernel if you want to use libva- intel-driver > Is libva need x-server ?   No.  libva can work without Xserver. > > Best regards,  > > Anteja  > > > On Wed, Oct 12, 2016 at 9:36 AM,

Re: [Libva] va_getDriverName() returns -1

2016-10-12 Thread Anteja Vuk Macek
Hi, Thanks Siew for this steps, I try but error is same... Is libva need x-server ? Best regards, Anteja On Wed, Oct 12, 2016 at 9:36 AM, Lim, Siew Hoon wrote: > Hi Anteja, > > > > The i965_drv_video.so may needs to be linked as emgd_drv_video.so by the >

Re: [Libva] va_getDriverName() returns -1

2016-10-12 Thread Lim, Siew Hoon
Hi Anteja, The i965_drv_video.so may needs to be linked as emgd_drv_video.so by the following step: Step 1: cd /usr/lib/dri Step 2: ln –sfv i965_drv_video.so emgd_drv_video.so You can give a try on the step above. Thank you. ….siewhoon From: Libva [mailto:libva-boun...@lists.freedesktop.org]

Re: [Libva] va_getDriverName() returns -1

2016-10-12 Thread Anteja Vuk Macek
Hi, What I should I do to fix libva error ? Best regards, Anteja Vuk - Macek Software Engineer Dolotron d.o.o. Ziskovec 141 HR-4 Cakovec Croatia Tel: ++385 (40) 865 205 Fax: ++385 (40) 865 732 mailto: anteja...@dolotron.com _ On Wed, Oct 12, 2016 at 2:48