Re: [Mesa-dev] Please implement the vaapi-egl for vaapi hardware decoding, vdpau can't handle HEVC 10bit video.

2017-12-04 Thread Mark Thompson
On 04/12/17 16:33, Leo Liu wrote:
> On 12/04/2017 04:32 AM, Emil Velikov wrote:
>> On 2 December 2017 at 15:26, Julian Lai  wrote:
>>> Since the crappy vaapi-glx was dropped off by mpv-git player, there is no
>>> way to play HEVC 10bit video with zero-copy hardware acceleration, vdpau
>>> can't do it either, please implement it to make it work.
>>>
>> Both Mesa and libva changes are required. Mark sent patches few months
>> ago, yet libva does not include them in 2.0 :-(
>> The Mesa parts couldn't land until the libva ones are in.
> Mark had a patch "[PATCH] st/va: Enable vaExportSurfaceHandle() "in the list 
> to enable it with VA version 1.1.0
> 
> I think he probably can point out where to get that VA.
It's in libva master now, will be in 2.1.  The API version isn't bumped yet, 
though, so you still need to edit that to 1.1.0 for other projects (that is, 
mpv and mesa) to detect it.

- Mark
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


Re: [Mesa-dev] Please implement the vaapi-egl for vaapi hardware decoding, vdpau can't handle HEVC 10bit video.

2017-12-04 Thread Leo Liu



On 12/04/2017 12:47 PM, Emil Velikov wrote:

On 4 December 2017 at 16:33, Leo Liu  wrote:


On 12/04/2017 04:32 AM, Emil Velikov wrote:

On 2 December 2017 at 15:26, Julian Lai  wrote:

Since the crappy vaapi-glx was dropped off by mpv-git player, there is no
way to play HEVC 10bit video with zero-copy hardware acceleration, vdpau
can't do it either, please implement it to make it work.


Both Mesa and libva changes are required. Mark sent patches few months
ago, yet libva does not include them in 2.0 :-(
The Mesa parts couldn't land until the libva ones are in.

Mark had a patch "[PATCH] st/va: Enable vaExportSurfaceHandle() "in the list
to enable it with VA version 1.1.0

I think he probably can point out where to get that VA.

@Mark, if you got chance, please add rb/ab to your patch, and send to me, I
will push it for you.


There's a pending nitpick for it.
Side note: the ML should send you a copy, does it not?

Yes. Just saw that.

Thanks for the reminder, but don't be worry, normally before I commit 
any patches, I even would like to browse either patchwork or mailing 
list achieve to check if any mails that missed from my mail client.


Leo


If Thunderbird
"does not like you" ;-) one could pull it from the Patchwork [1].

Although he might as well request an account [2] [3]

HTH
Emil

[1] https://patchwork.freedesktop.org/patch/191288/
[2] https://www.freedesktop.org/wiki/AccountRequests/ -- instructions
[3] https://bugs.freedesktop.org/show_bug.cgi?id=99601 -- example


___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


Re: [Mesa-dev] Please implement the vaapi-egl for vaapi hardware decoding, vdpau can't handle HEVC 10bit video.

2017-12-04 Thread Leo Liu



On 12/04/2017 04:32 AM, Emil Velikov wrote:

On 2 December 2017 at 15:26, Julian Lai  wrote:

Since the crappy vaapi-glx was dropped off by mpv-git player, there is no
way to play HEVC 10bit video with zero-copy hardware acceleration, vdpau
can't do it either, please implement it to make it work.


Both Mesa and libva changes are required. Mark sent patches few months
ago, yet libva does not include them in 2.0 :-(
The Mesa parts couldn't land until the libva ones are in.
Mark had a patch "[PATCH] st/va: Enable vaExportSurfaceHandle() "in the 
list to enable it with VA version 1.1.0


I think he probably can point out where to get that VA.

@Mark, if you got chance, please add rb/ab to your patch, and send to 
me, I will push it for you.


Thanks,
Leo



See https://bugs.freedesktop.org/show_bug.cgi?id=104035

-Emil
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


Re: [Mesa-dev] Please implement the vaapi-egl for vaapi hardware decoding, vdpau can't handle HEVC 10bit video.

2017-12-04 Thread Emil Velikov
On 4 December 2017 at 16:33, Leo Liu  wrote:
>
>
> On 12/04/2017 04:32 AM, Emil Velikov wrote:
>>
>> On 2 December 2017 at 15:26, Julian Lai  wrote:
>>>
>>> Since the crappy vaapi-glx was dropped off by mpv-git player, there is no
>>> way to play HEVC 10bit video with zero-copy hardware acceleration, vdpau
>>> can't do it either, please implement it to make it work.
>>>
>> Both Mesa and libva changes are required. Mark sent patches few months
>> ago, yet libva does not include them in 2.0 :-(
>> The Mesa parts couldn't land until the libva ones are in.
>
> Mark had a patch "[PATCH] st/va: Enable vaExportSurfaceHandle() "in the list
> to enable it with VA version 1.1.0
>
> I think he probably can point out where to get that VA.
>
> @Mark, if you got chance, please add rb/ab to your patch, and send to me, I
> will push it for you.
>
There's a pending nitpick for it.
Side note: the ML should send you a copy, does it not? If Thunderbird
"does not like you" ;-) one could pull it from the Patchwork [1].

Although he might as well request an account [2] [3]

HTH
Emil

[1] https://patchwork.freedesktop.org/patch/191288/
[2] https://www.freedesktop.org/wiki/AccountRequests/ -- instructions
[3] https://bugs.freedesktop.org/show_bug.cgi?id=99601 -- example
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


Re: [Mesa-dev] Please implement the vaapi-egl for vaapi hardware decoding, vdpau can't handle HEVC 10bit video.

2017-12-04 Thread Emil Velikov
On 2 December 2017 at 15:26, Julian Lai  wrote:
> Since the crappy vaapi-glx was dropped off by mpv-git player, there is no
> way to play HEVC 10bit video with zero-copy hardware acceleration, vdpau
> can't do it either, please implement it to make it work.
>
Both Mesa and libva changes are required. Mark sent patches few months
ago, yet libva does not include them in 2.0 :-(
The Mesa parts couldn't land until the libva ones are in.

See https://bugs.freedesktop.org/show_bug.cgi?id=104035

-Emil
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] Please implement the vaapi-egl for vaapi hardware decoding, vdpau can't handle HEVC 10bit video.

2017-12-04 Thread Julian Lai
Since the crappy vaapi-glx was dropped off by mpv-git player, there is no
way to play HEVC 10bit video with zero-copy hardware acceleration, vdpau
can't do it either, please implement it to make it work.
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev