-
Notifications
You must be signed in to change notification settings - Fork 245
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Widevine AARCH64 support #1128
Comments
have you some ideas when will be available a stable build? |
I only know what was posted here: https://groups.google.com/a/chromium.org/g/chromium-os-dev/c/GdZ0mebutXw |
@CastagnaIT hi there, long time no see... hope you are doing great |
FYI: aarch64 seems to have hit stable:
|
I have add new Wiki page with references to PR/Issue |
We have aarch64 version of libwidevinecdm.so available now, as detailed here: emilsvennesson/script.module.inputstreamhelper#530
However to use it is still a challenge. I will document the requirements in this issue.
libnspr4.so dependency
not sure if this is new, but the libnspr4 package must be installed because libwidevinecdm.so depends on libnspr4.so
glibc patch for
_dt_determine_tlsoffset
this patch is required: https://github.com/LibreELEC/LibreELEC.tv/blob/master/packages/devel/glibc/patches/arm/glibc-tls-libwidevinecdm.so-since-4.10.2252.0-has-TLS-with.patch
without it, there will be a SEGV when running
dlopen()
. note that RPIOS already includes this patch in theirlibc6==2.31-13+rpt2+rpi1+deb11u5
packageglibc patch for
GLIBC_ABI_DT_RELR
support (if using glibc >= 2.36)patch found here: https://github.com/LibreELEC/LibreELEC.tv/blob/master/packages/devel/glibc/patches/arm/glibc-HACK-Don-t-check-GLIBC_ABI_DT_RELR-support-for-Chrom.patch
not currently required on ubuntu (using glibc 2.35) or debian/rpios (using glibc 2.31)
LSE atomic symbols present in .dynsym
inside the .so file, there are references to two required symbols:
it seems on chromeos they have modified glibc/gcc packages to provide these as dynamic symbols inside various libraries. on stock linux glibc systems, these are not present because they are only used as static/hidden methods provided by
libgcc.a
and embedded inside every library that uses them. we would expect that these definitions would be embedded inside the widevine.so, but instead they are undefined and expected to be provided by an external libraryThe text was updated successfully, but these errors were encountered: