Package Details: widevine-armv7h 4.10.1679.0-1

Git Clone URL: https://aur.archlinux.org/widevine-armv7h.git (read-only, click to copy)
Package Base: 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 firefox netflix plugin prime widevine
Licenses: custom
Conflicts: chromium-widevine, chromium-widevine-armv7h
Provides: chromium-widevine
Submitter: mogwai
Maintainer: mogwai
Last Packager: mogwai
Votes: 1
Popularity: 0.135393
First Submitted: 2020-10-12 22:02
Last Updated: 2020-10-12 22:02

Pinned Comments

mogwai commented on 2020-10-12 22:09

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. Also make sure to run the registering scripts register_widevine_firefox and/or register_widevine_chromium for every user that needs to be able to use widevine. This script only needs to be run once; no need to repeat it after upgrade.

Important: currently, this plugin does not work with the armv7h chromium version from the archlinuxarm repository. A chromium source code patch is required to support widevine on armv7h. I'll try to get this patch upstreamed, but no guarantee that it will be accepted.

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

mogwai commented on 2020-10-12 22:12

@fagould4525: As mentioned in another comment below, chromium 78+ needs a source code patch in order for widevine to work on armv7h. I'm trying to get this patch to be accepted in the archlinuxarm build for armv7h. But there is no guarantee that it will be accepted. However, libwidevinecdm does work with the firefox from the archlinuxarm repository. For that purpose I made a new package widevine-armv7h which will support both firefox and chromium (if patched).

mogwai commented on 2020-10-12 22:09

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. Also make sure to run the registering scripts register_widevine_firefox and/or register_widevine_chromium for every user that needs to be able to use widevine. This script only needs to be run once; no need to repeat it after upgrade.

Important: currently, this plugin does not work with the armv7h chromium version from the archlinuxarm repository. A chromium source code patch is required to support widevine on armv7h. I'll try to get this patch upstreamed, but no guarantee that it will be accepted.

fagould4525 commented on 2020-10-08 17:23

I cannot get chromium to work with Netflix and tried making this package but it still does not work. After installing, this is the chromium version:

Chromium 85.0.4183.121 Arch Linux ARM

When attempting to play a Netflix video, below is what is displayed on the screen:

We're having trouble playing Netflix. Please visit chrome://components, find "Widevine Content Decryption Module" and click the "Check for update" button.

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/