osmc / osmc

OSMC (Open Source Media Center) is a free and open source media center distribution
https://osmc.tv
GNU General Public License v2.0
1.64k stars 390 forks source link

Newer Widevine CDM requires TCMalloc support #634

Open BlackEdder opened 3 years ago

BlackEdder commented 3 years ago

On the raspberrypi (and arch7 in general) widevine CDM will require TCMalloc in the future. This requires a patched glibc. For full details see:

https://github.com/emilsvennesson/script.module.inputstreamhelper/pull/441

The above also includes links to the patches that libreElec and CoreElec apply to glibc for their implementation.

samnazarko commented 3 years ago

We won’t ship our own glibc. This will need to wait until Buster.

Older CDM still works - but for how long is unclear.

BlackEdder commented 3 years ago

Thanks @samnazarko , I can understand why you wouldn't want to maintain your own glibc.

This will need to wait until Buster.

Do you have any idea when that might be (within a few months, or more like a year)?

samnazarko commented 3 years ago

Sorry - I meant Bullseye.

There is still no hard freeze yet, so no ETA.

On 9 Jun 2021, at 13:40, Edwin van Leeuwen @.***> wrote:



Thanks @samnazarkohttps://github.com/samnazarko , I can understand why you wouldn't want to maintain your own glibc.

This will need to wait until Buster.

Do you have any idea when that might be (within a few months, or more like a year)?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/osmc/osmc/issues/634#issuecomment-857622466, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAHDWLFE5A4JUKGIVFFQESDTR5HJHANCNFSM46JSI4ZQ.

Blaimi commented 3 years ago

Amazon via https://github.com/Sandmann79/xbmc died today, so I gave it a try.

I could update to the new version of widevine by patching the glibc package following the comment https://github.com/xbmc/inputstream.adaptive/issues/678#issuecomment-855282129. Not mentioned in the comment is the installation of tcmalloc-minimal4. I also made a symlink from /usr/lib/libtcmalloc_minimal.so to /usr/lib/arm-linux-gnueabihf/libtcmalloc_minimal.so.4. I don't think this symlink is necessary for the build or for loading libwidevine, but it is at least for the inputstream plugin version-check.

@osmc: I can understand, why you do not want to maintain your own package but I think it's worth about thinking of it again. The package did not yet receive an update on buster an had only four on stretch. I know nothing about your timeline for bullseye, buster took from upstream release in July '19 to October '20. Not being able to play amazon (and maybe netflix) videos for the next year would be a pity :(

matthuisman commented 3 years ago

@Blaimi undo what you did, and just do this: https://github.com/xbmc/inputstream.adaptive/issues/678#issuecomment-913047151 Also look at the comment above it. sounds like OSMC may bring in something quicker.