Recently I started to test wpe-webkit-mir-kiosk and I’m very surprised at how it works pretty well.
I’m a newbie using snap and I would like to know how I could add video/audio codecs support in this snap. I’m using https://html5test.com/ for checking and all video and audio codecs are unavailable.
Hi @aroeira,
glad to hear it’s working for you – except for the codecs. Which version of the snap are you using (revision + channel), and on which architecture?
EDIT:
I just tested wpe-webkit-mir-kiosk on a Raspberry Pi (armhf) running Ubuntu Core, WPE snap from latest/stable: 2.30.5 / rev 56
Audio codecs all show “Yes” except Dolby Digital and Dolby Digital Plus, video codecs all “Yes” except H.265.
Hi @aroeira,
no worries To be clear: You intend to use the integrated graphics of an Intel Celeron CPU, right? Or does the target machine have a dedicated GPU? I think the specific model/name would be best to find out which Ubuntu package contains the necessary drivers for your target device. Then I’ll gladly add it as an architecture-specific stage package. Maybe @alan_g knows (once we know the model)?
Sorry, video acceleration and codecs are not my area. But I can give a bit of background.
One of the principle limitations on Ubuntu Core at present is that graphical snaps need to include any userspace graphics libraries corresponding to the kernel drivers and the graphics hardware.
For the Mir based snaps we’ve chosen to include the Mesa userspace libraries. These open source libraries provide support for a wide range of hardware and have a stable interface to the kernel drivers.
For Intel based graphics I’d expect that staging va-driver-all will provide support for video acceleration. But there my knowledge ends.
The situation on ARM is different and typically each SoC needs a bespoke kernel module (which, unless specific enablement has been done, may not be in Ubuntu Core) and a bespoke userspace.
In particular, the proprietary Broadcom DispmanX drivers needed for the RPi3 are not enabled by the default Ubuntu Core kernel, and nor is the corresponding userspace included in any of the Mir snaps.
Thanks @alan_g for the explanation and package name! I added va-driver-all to the snap’s stage packages with an architecture-specific grammar, to avoid bloating the armhf version.
@aroeira I released revision 57 to the amd64 edge and beta channels, and on my Ubuntu Desktop machine with AMD Rv710 html5test.com now reports proper video/audio codec support like on armhf. Please test on your machine and let me know if I can promote the build to stable.