<div dir="ltr"><div><div><div><div><div><div>Hi Sean,<br><br></div>Note that this patch "<span>driver_name_map</span>: <span>add</span> <span>nouveau</span> and <span>radeon</span> for <span>Mesa</span> <span>Gallium</span>" is only for VA_DISPLAY_DRM case.<br><br></div>About your question, all patches regarding gallium backend for vaapi have landed: <a href="http://cgit.freedesktop.org/mesa/mesa/log/src/gallium/state_trackers/va" target="_blank">http://cgit.freedesktop.org/mesa/mesa/log/src/gallium/state_trackers/va</a><br><br></div>But there are still 4 patches for nouveau driver under review, to support chunk decoding: <a href="https://github.com/CapOM/mesa/commits/st_va_nouveau_chunk_decoding" target="_blank">https://github.com/CapOM/mesa/commits/st_va_nouveau_chunk_decoding</a><br><br></div><div>I have only tested with Nvidia hardware (with nouveau driver so), with <a href="https://github.com/mpv-player/mpv">https://github.com/mpv-player/mpv</a> player and gstreamer-vaapi on videos available here: <br><a href="http://download.blender.org/peach/bigbuckbunny_movies/" rel="noreferrer" target="_blank">http://download.blender.org/peach/bigbuckbunny_movies/</a><br>
<a href="http://playready.directtaps.net/smoothstreaming/" rel="noreferrer" target="_blank">http://playready.directtaps.net/smoothstreaming/</a><br>
<a href="https://github.com/malek0512/PLS/raw/master/Tests/centaur_2.mpg" rel="noreferrer" target="_blank">https://github.com/malek0512/PLS/raw/master/Tests/centaur_2.mpg</a><br><a href="http://www.h264info.com/clips.html" rel="noreferrer" target="_blank">http://www.h264info.com/clips.html</a><br></div><div><br></div>At least for radeon it is already ready, the gallium backend for vaapi is what AMD support and maintain. Maybe they also use the bridge <a href="http://cgit.freedesktop.org/vaapi/vdpau-driver" target="_blank">http://cgit.freedesktop.org/vaapi/vdpau-driver</a> for some comparisons. Christian would be able to give more details about it. But in long terms I think this bridge will be only used by the Nvidia proprietary driver (unless they decide to provide a vaapi backend too)<br><br></div>Regards<br></div>Julien<br><div><div><div><br><div><br></div></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 3 December 2015 at 22:37, Sean V Kelley <span dir="ltr"><<a href="mailto:seanvk@posteo.de" target="_blank">seanvk@posteo.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Julien,<br>
<span class=""><br>
On 11/27/2015 12:53 AM, Julien Isorce wrote:<br>
> This patch allows va_getDriverName to succeed. It is useful in<br>
> vaInitialize to select the vaapi driver provided by Mesa Gallium:<br>
> lib/dri/gallium_drv_video.so<br>
><br>
> Signed-off-by: Julien Isorce <<a href="mailto:j.isorce@samsung.com">j.isorce@samsung.com</a>> ---<br>
> va/drm/va_drm_utils.c | 2 ++ 1 file changed, 2 insertions(+)<br>
<br>
</span>Can you provide a status on the Gallium patch series, have they been<br>
merged? What testing have you done with the gallium backend enabled?<br>
<br>
Thanks,<br>
<br>
Sean<br>
<span class="im HOEnZb"><br>
<br>
><br>
> diff --git a/va/drm/va_drm_utils.c b/va/drm/va_drm_utils.c index<br>
> 71091fd..041be79 100644 --- a/va/drm/va_drm_utils.c +++<br>
> b/va/drm/va_drm_utils.c @@ -41,6 +41,8 @@ static const struct<br>
> driver_name_map g_driver_name_map[] = { { "pvrsrvkm", 8, "pvr"<br>
> }, // Intel UMG PVR driver { "emgd", 4, "emgd" }, // Intel<br>
> ECG PVR driver { "hybrid", 6, "hybrid" }, // Intel OTC Hybrid<br>
> driver + { "nouveau", 7, "gallium" }, // Mesa Gallium driver<br>
> + { "radeon", 6, "gallium" }, // Mesa Gallium driver { NULL,<br>
> } };<br>
><br>
><br>
</span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
Libva mailing list<br>
<a href="mailto:Libva@lists.freedesktop.org">Libva@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/libva" rel="noreferrer" target="_blank">http://lists.freedesktop.org/mailman/listinfo/libva</a><br>
</div></div></blockquote></div><br></div>