[Mesa-dev] [PATCH 09/10] st/vdpau: implement the new DMA-buf based interop

Ilia Mirkin imirkin at alum.mit.edu
Sun Sep 4 19:37:02 UTC 2016


On Tue, Mar 8, 2016 at 7:21 AM, Christian König <deathsimple at vodafone.de> wrote:
> @@ -80,7 +82,7 @@ vlVdpOutputSurfaceCreate(VdpDevice device,
>     res_tmpl.depth0 = 1;
>     res_tmpl.array_size = 1;
>     res_tmpl.bind = PIPE_BIND_SAMPLER_VIEW | PIPE_BIND_RENDER_TARGET |
> -                   PIPE_BIND_LINEAR;
> +                   PIPE_BIND_LINEAR | PIPE_BIND_SHARED;

Hi Christian,

This change appears to have semi-broken vdpau on nouveau. Whenever I
flip on the OSD in mplayer, the rendering becomes *extremely* slow.
However regular up-scaling without the OSD is plenty fast. This
effectively is forcing the output surfaces to live in GART instead of
VRAM. I believe that the OSD involves blending of some sort, so I can
definitely imagine that being slow. Any thoughts on the proper way to
address that? Removing the PIPE_BIND_SHARED from that line "fixes" it.

  -ilia


More information about the mesa-dev mailing list