Open Bug 1612995 Opened 5 years ago Updated 8 months ago

Build Widevine for linux arm64

Categories

(Core :: Audio/Video: GMP, enhancement, P3)

72 Branch
ARM64
Linux
enhancement

Tracking

()

People

(Reporter: jgmdev, Unassigned)

References

(Blocks 1 open bug)

Details

User Agent: Mozilla/5.0 (X11; Linux aarch64; rv:72.0) Gecko/20100101 Firefox/72.0

Steps to reproduce:

Visit Websites like Hulu, Disney+, Spotify, Netflix, etc...

Actual results:

Firefox can't play multimedia content on these sites or DRM/EME isn't detected installed.

Expected results:

I should be able to play videos on these websites. With the increased usage of single board computers like the Raspberry Pi, Odroid's and even ARM64 laptops firefox should add EME support for this cpu architecture.

Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0

Hi,

I will move this over to a component so developers can take a look over it. If this is not the correct component please feel free to change it to an appropriate one.
Maybe this issue is related to this bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1392037

Component: Untriaged → Audio/Video: Playback
Product: Firefox → Core
See Also: → 1392037
Flags: needinfo?(bvandyk)

There are technical limitations to our ability to ship DRM on these platforms. Primarily that CDM vendors are not shipping CDMs for these architectures.

Type: defect → enhancement
Flags: needinfo?(bvandyk)
Priority: -- → P3

Surely Google must have a build for ARM64 already for their Android devices? So making one for Linux ARM64 shouldn't be entirely impossible from a technical angle at least, maybe they can be convinced to give it a try at some point

Severity: normal → S3

https://github.com/cisco/openh264/issues/3504#issuecomment-1276992466

So, where do we find the library for Linux aarch64?
I too have a Raspberry Pi & want to be able to view Hulu videos on my Pi. (I'm running Pi OS-64 bit)

Status: UNCONFIRMED → NEW
Type: enhancement → task
Ever confirmed: true
OS: Unspecified → Linux
Hardware: Unspecified → ARM64
See Also: → aarch64-eme
Summary: Linux Desktop ARM64/AArch64 DRM/EME Support → Build Widevine for linux arm64

This doesn't block bug 1677963, and is essentially out of our hands anyway.

No longer blocks: linux-arm64-ci
Type: task → enhancement

Even for devices that support 64bit, Google builds 32bit userspace due to reduced memory overhead (example: Chrome OS devices). Thus there is currently no 64 bit library available. However, if you follow the same approach as Google and use 32bit userspace, their 32bit widevine could be integrated. In fact it is packaged for Raspberry Pi in Raspbian ARMHF (which is the 32bit release).

Just figured that this also breaks https://open.spotify.com/ - will try to figure out how this is handled for aarch64 ChromeOS.

aarch64 ChromeOS uses 32bit userspace. For Debian that corresponds to the armhf port

There seems to be an aarch64 build of widevine (libwidevinecdm0) from Raspberry Pi OS 64-bit now.

See:

https://forums.raspberrypi.com/viewtopic.php?p=2083103#p2083103

An update has been pushed to support libwidevinecdm0 and chromium-browser on 64-bit RPiOS bullseye directly.
This is used by DRM protected services like Netflix and Amazon Prime.

If you were previously using 32-bit libwidevinecdm0/chromium-browser on 64-bit RPiOS, it should be possible to apt remove them,
and reinstall the native 64-bit versions. This should result in an improvement in widevine video performance.

https://forums.raspberrypi.com/viewtopic.php?p=2083944&hilit=firefox#p2083944

I just verified the steps needed (in that thread, install libwidevinecdm0, exit chromium and star again).
And that Netflix and Firefox now work on my 64bit PiOS.

Blocks: raspi
Component: Audio/Video: Playback → Audio/Video: GMP
See Also: → 1831210

I run on my Raspberry Pi 400 opensuse tumbleweed Aarch64. I hope Firefox can soon support widevine. :)

For info: build spec for Firefox in opensuse: https://build.opensuse.org/package/view_file/mozilla:Factory/MozillaFirefox/MozillaFirefox.spec?expand=1

You need to log in before you can comment on or make changes to this bug.