Package Details: chromium-widevine-armv7h 4.10.1679.0-1

Git Clone URL: https://aur.archlinux.org/chromium-widevine-armv7h.git (read-only, click to copy)
Package Base: chromium-widevine-armv7h
Description: A browser plugin designed for the viewing of premium video content (version for armv7h)
Upstream URL: https://www.widevine.com/
Keywords: amazon chrome chromium DRM netflix plugin prime widevine
Licenses: custom
Conflicts: chromium-widevine
Provides: chromium-widevine
Submitter: mogwai
Maintainer: mogwai
Last Packager: mogwai
Votes: 1
Popularity: 0.002213
First Submitted: 2019-11-20 21:39
Last Updated: 2020-06-25 13:06

Pinned Comments

mogwai commented on 2019-11-20 21:45

Please note that libwidevinecdm.so needs to be extracted from a chromeos recovery image. The compressed image takes up about 1G. After extraction of the root image, the whole procedure will take up about 5G. So please make sure to have enough free storage space before running makepkg.

Latest Comments

1 2 Next › Last »

mogwai commented on 2020-09-15 09:23

@NicolasV and anyone who's interested: I'm working on updating this package to support multiple browsers, including recent chromium versions (which will need a source code patch), firefox and possibly others as well. However, this will take some time to figure out the patches. I'll try to upstream any chromium source code patches to the archlinuxarm chromium build.

In the meantime, to anyone interested in setting up widevine support in firefox on armv7h manually, see this link

NicolasV commented on 2020-09-15 08:24

@mogwai, you mentionned other browsers are able to support widevine on ARM. Which one? I tried Vivaldi but I'm facing the same issue (as it's based on Chromium too) Firefox does not seem to support Widevine on arm architecture as well...

NicolasV commented on 2020-09-09 08:08

@mogwai: thanks for the time spent looking at chromium code. I could try to recompile chromium for armv7h architecture with patched code (I have a Ryzen 3600 which can help with cross-compiling) I didn't know other browsers are supporting widevine on arm. Maybe without hardware acceleration, which is working great with Chromium

mogwai commented on 2020-09-09 08:00

I think I've traced the problem. Recent chromium source code is checking whether CDM is available for the target platform. Of course, "arm" is only supported on chromeos and not desktop linux. So, even if the "enable_widevine" flag is set during compilation, it will ignore it. I've only checked the current chromium master branch and the 78 tag: the master branch is doing this explicit check, while the 78 code is not (or at least it's doing something completely different; the code has been completely re-written).

In principle, it looks like the chromium source code can (easily) be patched for this, but ATM I don't have hardware that can re-compile it within <6 hours...

NB: Please be aware that other browsers have no problem supporting widevine on arm.

NicolasV commented on 2020-09-03 11:43

@mogwai :

1) I have not a precise idea of when the problem occured and which package broke the couple chromium/widevine. Well, seems the only packages chromium is complaining about are "icu" and "re2" so downgrading is not really an issue. I tried all the chromium versions and it appears that chromium on my Odroid XU4 (armv7h) Chromium stopped loading the Widevine lib at version 79+. The latest version loading Widevine was the 78.x so I froze the upgrade of Chromium in order to continue using Netflix.

2) Second issue even if I'm able to get back to chromium-78, it crashes when I start a video on Netflix complaining about GL Framebuffer. This issue was fixed in latter version (maybe caused by a GL related package upgrade) so I'm stuck for the moment in a dead end (GL issue with chromium-78 or no Widevine with more recent versions) I need to find which package broke the GL/ES calls

mogwai commented on 2020-09-03 10:05

@NicolasV : Well, I don't know at this moment. What I mentioned below is what I found after some quick searching on the internet. As mentioned below, I would need to really dive into the details before I can give a definitive answer.

About downgrading: indeed, it can be tricky if you have a lot of hard dependencies on a certain chromium version. Did you check your local pacman cache in /var/cache/pacman/pkg ?

NicolasV commented on 2020-09-03 09:58

@mogwai: that's not clear, do you mean we should stick with chromium up to version 81.x or 83.x? (seems the widevine-patch.sh) was removed in chromium 83 PKGBUILD)

Trying to downgrade but that's not an easy task because of some dependencies which should be downgraded as well. If I find working combination, I will add a comment on chromium & widevine packages.

Found archived chromium builds here: http://tardis.tiny-vps.com/aarm/packages/c/chromium/

mogwai commented on 2020-09-03 07:16

@NicolasV : I'm mainly using this package to add widevine support to firefox, so I haven't checked chromium in the last couple of weeks. Apparently, since chromium 78+, widevine support (for x86_64!) is being integrated into chromium proper. From chromium 84 onwards it apparently ignores "external" widevine libraries (see chromium-widevine AUR package). I can imagine that this has serious consequences for chromium on armv7h. I will try to look into this over the next couple of days. But reading comments on similar packages in other distributions, I'm not very optimistic: it seems that chromium itself needs to be patched.

As a short term workaround, you could consider downgrading chromium for the time being.

NicolasV commented on 2020-09-02 11:32

Hi, I used to manually install libwidevinecdm.so and it worked great for all chromium version up to 78. Since then, the WidevineCDM plugin is not working anymore and I'm looking for other options to make it back again in Chromium (I'm using an Odroid XU4) Has something changed in Chromium and the way it loads plugins? I installed this package which fetched the same version of the ARM lib, but unfortunately it doesn't seem to work either. Am I missing something?

Diego.Florez commented on 2020-04-26 17:37

Potential base script for auto update ChromeOS stable release version https://gist.github.com/ruario/19a28d98d29d34ec9b184c42e5f8bf29

Recovery tool list of all available Recovery ChromeOS binaries. https://dl.google.com/dl/edgedl/chromeos/recovery/recovery.conf

Replace __chromeos_ver inside PKGBUILD Last stable at 2020.04.26 12739.111.0