[Arm-netbook] [EOMA68] A20 G2D / VAAPI / VDPAU video acceleration in web browsers

Andreas Baierl list at imkreisrum.de
Wed Aug 10 15:37:17 BST 2016


Am 10.08.2016 um 16:30 schrieb Luke Kenneth Casson Leighton:
> ---
> crowd-funded eco-conscious hardware: https://www.crowdsupply.com/eoma68
>
>
> On Wed, Aug 10, 2016 at 8:23 AM, Andreas Baierl <list at imkreisrum.de> wrote:
>> Hi Luke,
>>
>> Am 10.08.2016 um 00:16 schrieb Luke Kenneth Casson Leighton:
>>> ---
>>> crowd-funded eco-conscious hardware: https://www.crowdsupply.com/eoma68
>>>
>>>
>>> On Tue, Aug 9, 2016 at 10:40 PM, Russell Hyer <russell.hyer at gmail.com>
>>> wrote:
>>>> Hi Luke,
>>>>
>>>> So, if I've understood this post correctly, video playback on vlc
>>>> would perhaps be within the bounds of what the A20 hardware / software
>>>> could do?
>>>    yes.  ffplay, vlc, mpv, mplayer - all work fine, that's what this
>>> update was about:
>>>     https://www.crowdsupply.com/eoma68/micro-desktop/updates/cedrus
>>>
>>>    basically by using the full capabilities of the A20's accelerated
>>> hardware (both CEDAR and G2D), the CPU usage is somewhere around the
>>> 10% mark.  peanuts in other words.
>>>
>>>    the reason why those work is, through vdpau plugins there's two
>>> parts: "decode" part and "actual on-screen display" part.  all those
>>> video players have an option to do *both* things, and the vdpau-sunxi
>>> plugin that the Cedrus team wrote goes "okay, we're configured to use
>>> G2D, let's just go for it".
>>>
>>>    that's why you end up with the overlay issues, btw, because the G2D
>>> hardware is told to write direct to an area on-screen, bypassing the
>>> X11 protocol.
>> Just a minor correction. The G2D (mixer processor) hardware (only on
>> A10/A20) is only used within libvdpau-sunxi to blit one rgba surface into
>> another one. It has nothing to do with bringing something *really* to
>> screen, because it only handles the blit or fill actions on rgba surfaces.
>> The only use of rgba surfaces that i know of, is to realize an OSD,
>> subtitles etc... as an overlay over the video.
>   interesting.... because if i don't enable OSD i get absolutely
> nothing (black screen) on mpv and other players.
Arghh... You are the second one, that reports that issue :(
Now i really have to investigate into this :p
With enable you mean setting VDPAU_OSD=1 ? And I suppose you do this all 
in windows within X11?

But getting offtopic now. Maybe we should continue on irc...

rellla

>   i knoooow....
>
> l.
>
> _______________________________________________
> arm-netbook mailing list arm-netbook at lists.phcomp.co.uk
> http://lists.phcomp.co.uk/mailman/listinfo/arm-netbook
> Send large attachments to arm-netbook at files.phcomp.co.uk




More information about the arm-netbook mailing list