StuartP86
Posts: 4
Joined: Thu Sep 02, 2021 12:31 pm

DRM suddenly not working

Thu Sep 02, 2021 12:40 pm

I've been using a Pi4 to stream videos online successfully for some time, this includes Amazon Prime and All4 which seem to need a few extra DRM configurations. However yesterday, Prime and All4 stopped working with the familiar "Digital Rights" error. I've tried to repeat all the steps I have followed in the past to get them working again, but with no success. Has something changed in the last couple of days? Any suggestions on how to get these sites, which use DRM, working again?

terribleted
Posts: 333
Joined: Tue Oct 06, 2020 8:07 pm

Re: DRM suddenly not working

Thu Sep 02, 2021 1:48 pm

assuming you are using the PI OS, the instructions for installing are:

to install Widevine DRM (digital rights management) to allow streaming (netflix, etc).
sudo apt update
sudo apt full-upgrade
sudo apt install libwidevinecdm0
i had a Trash-80 model 1 (circa 1980). upgrading from 4k to 16k of RAM, i thought "i'll never use this much RAM".
Now i have a computer with a million times that much memory. And i keep running out of it.
Not the computer....ME.

pricklypear
Posts: 1
Joined: Thu Sep 02, 2021 2:16 pm

Re: DRM suddenly not working

Thu Sep 02, 2021 2:22 pm

I've had the exact same problem pop up just within the last few days. I did not update anything, but suddenly widevine is not doing what it was for DRM streaming (I first noticed it with Prime Video in chromium).

I've reinstalled widevine several times, and even booted off a fresh install of rapsberry pi OS and widevine is still failing on everything but Netflix.

under chrome://components it lists "Widevine Content Decryption Module - version 0.0.0.0" and when I click "Check for update" it says "Status - Component not updated"

I really don't know what changed. I know it's not version 0.0.0.0, because in terminal when I installed it, it gave the current version number.

StuartP86
Posts: 4
Joined: Thu Sep 02, 2021 12:31 pm

Re: DRM suddenly not working

Thu Sep 02, 2021 2:40 pm

Yes, that was the first thing I tried and it doesn't fix the issue for me.

jakebriggs
Posts: 2
Joined: Thu Sep 02, 2021 8:45 pm

Re: DRM suddenly not working

Thu Sep 02, 2021 8:51 pm

I've got this exact problem on OSMC, a Kodi OS based on Linux.

Google has very helpfully revoked all older widevine versions, and their newest binary does not work with the glibc that osmc and (apparently) rasberypi is uses. We'll need to update to Debian bullseye to get it working.

https://discourse.osmc.tv/t/widevine-ad ... 1-09/90684


TheGreatDayne
Posts: 3
Joined: Fri Sep 03, 2021 1:36 am

Re: DRM suddenly not working

Fri Sep 03, 2021 1:51 am

I'm having the same issue...

I have tried fresh downloads of Raspberry Pi OS made sure everything was up to date and upgraded then installed libwidevinecdm0. This used to work but now does not for Amazon Prime Video... Netflix, Disney+ even YouTube are fine but... Amazon is a no go.

I also have tried to go into the Google Components area to check the version of the WideVine Content Decryption Module and ran into the same problem as pricklypear. It says in there the current version is 0.0.0.0 and will not update by clicking the button. It shouldn't matter anyway because in Terminal I have checked and do have the latest version of WideVine installed (via libwidevinecdm0).

I really wish the providers would just start supporting all platforms... Hope someone with more knowledge than I, can come up with a solve for this soon.

sunny20212021
Posts: 3
Joined: Sat Aug 14, 2021 2:37 pm

Re: DRM suddenly not working

Fri Sep 03, 2021 4:51 am

Same here for me too Netflix works , Primevideo is throwing DRM error. Was working fine till Aug 30th

tkos
Posts: 2
Joined: Fri Sep 03, 2021 11:21 am

Re: DRM suddenly not working

Fri Sep 03, 2021 11:24 am

So the link to the discord seemed to indicate that the widevine fix may not be available until 2022? And that it may not be available to Pi users.

If this is indeed true, what alternatives exist to do playback in things like Prime? Is there an alternate OS that might allow for playback? Or is this a hardware issue?

User avatar
Botspot
Posts: 1774
Joined: Thu Jan 17, 2019 9:47 pm
Location: Texas
Contact: Website

Re: DRM suddenly not working

Fri Sep 03, 2021 12:41 pm

sunny20212021 wrote:
Fri Sep 03, 2021 4:51 am
Same here for me too Netflix works , Primevideo is throwing DRM error. Was working fine till Aug 30th
This problem is affecting everyone. Some people think it is being caused by the recent kernel update: viewtopic.php?f=28&t=318928&p=1909272#p1909132
Easily install apps on your Pi with Pi-Apps! Over 500k users.
Includes two Zoom desktop apps, 3 ways to run Minecraft, 10 web browsers, appearance themes, and 105 more.
More info: https://github.com/Botspot/pi-apps

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 29632
Joined: Sat Jul 30, 2011 7:41 pm

Re: DRM suddenly not working

Fri Sep 03, 2021 1:05 pm

I believe this is almost certainly something that has happened outside our control. Google have changed Widevine and the new version doesn't link on Buster. Bullseye is working fine.

It's not a kernel problem, more of a packaging problem. We are looking in to a fix for Buster, but it's quite intrusive.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Working in the Applications Team.

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 29632
Joined: Sat Jul 30, 2011 7:41 pm

Re: DRM suddenly not working

Fri Sep 03, 2021 1:22 pm

Bit more information on the issue itself (this is my understanding of the issue, YMMV)

Google extended glibc, which means ld.so cannot load widevine. And then revoked keys for older versions.

But the real problem is that Google have not yet upstreamed the change to glibc (and may never), so we need to use a specific patch, and hope that future upstream changes don't break anything.

We applied the patch to Bullseye, now need to apply it to Buster. I guess that we were not expecting the revocation so soon, but could be wrong.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Working in the Applications Team.

fivenote
Posts: 37
Joined: Sun Dec 06, 2020 3:52 pm

Re: DRM suddenly not working

Sat Sep 04, 2021 8:00 pm

jamesh wrote:
Fri Sep 03, 2021 1:22 pm
Bit more information on the issue itself (this is my understanding of the issue, YMMV)

Google extended glibc, which means ld.so cannot load widevine. And then revoked keys for older versions.

But the real problem is that Google have not yet upstreamed the change to glibc (and may never), so we need to use a specific patch, and hope that future upstream changes don't break anything.

We applied the patch to Bullseye, now need to apply it to Buster. I guess that we were not expecting the revocation so soon, but could be wrong.
Thanks for the help!

FWIW... what stopped working for me recently that may or may not be related...

(1) Amazon Prime video
(2) Spotify in Chromium - repeatedly skips songs or quits play after 10 seconds
(3) YouTube in Chromium - won't load video. Can sometimes play after several page refreshes

As others mentioned, some DRM sites still work like Netflix and Disney.

twiggyxlr4
Posts: 42
Joined: Fri Jun 18, 2021 12:59 am

Re: DRM suddenly not working

Sun Sep 05, 2021 2:55 am

Would updating or changing the version to Debian 11 bullseye (x64 preferably) solve this issue on the rpi4 ?
Last edited by twiggyxlr4 on Sun Sep 05, 2021 3:56 am, edited 1 time in total.

bhanujha
Posts: 1
Joined: Sun Sep 05, 2021 3:41 am

Re: DRM suddenly not working

Sun Sep 05, 2021 3:43 am

I am facing the same issue and it seems like sudden stop. I tried multiple reinstallation but seems like there is no way to move on.

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 29632
Joined: Sat Jul 30, 2011 7:41 pm

Re: DRM suddenly not working

Sun Sep 05, 2021 6:25 am

We hope to have a fix for this early next week for Buster, Bullseye already has the fix.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Working in the Applications Team.

ame
Posts: 3729
Joined: Sat Aug 18, 2012 1:21 am
Location: New Zealand

Re: DRM suddenly not working

Sun Sep 05, 2021 7:47 am

The real problem is DRM.

I had the same issue with Kodi, but it helpfully found a new version of Widevine and installed it, then some helpful chap on the internet, whom I have never met, gave instructions for upgrading my version of Kodi so that everything would play together nicely.

I was out for about 10 minutes. Up and running again no worries.

twiggyxlr4
Posts: 42
Joined: Fri Jun 18, 2021 12:59 am

Re: DRM suddenly not working

Sun Sep 05, 2021 7:51 am

Would you mind posting the solution here, maybe someone with more know-how will be able to implement the fix on Chromium . Thanks!

ame
Posts: 3729
Joined: Sat Aug 18, 2012 1:21 am
Location: New Zealand

Re: DRM suddenly not working

Sun Sep 05, 2021 8:10 am

This is all I have:
https://www.matthuisman.nz/2021/05/wide ... roken.html

Unfortunately, the Raspberry Pi OS entry is still in progress.

A pox on DRM.

eby
Posts: 22
Joined: Wed Nov 28, 2012 11:27 am

Re: DRM suddenly not working

Sun Sep 05, 2021 3:55 pm

Same issue here, I thought it was something i did broke DRM on Pi 4.

chromium WideVine Content Decryption Module version reports 0.0.0.0

User avatar
mattrix
Posts: 143
Joined: Mon Mar 02, 2015 6:20 am
Location: New Zealand
Contact: Website Twitter

Re: DRM suddenly not working

Sun Sep 05, 2021 10:26 pm

For anyone who just can't wait for the "official" resolution, commands below should get you back in action.
use at your own risk

Code: Select all

sudo apt-get install gnupg
curl -s --compressed "https://wagnerch.github.io/ppa/buster/KEY.gpg" | sudo apt-key add -
sudo curl -s --compressed -o /etc/apt/sources.list.d/wagnerch-buster-ppa.list "https://wagnerch.github.io/ppa/buster/wagnerch-buster-ppa.list"
sudo apt-get update
sudo apt-get install --only-upgrade libc6
sudo reboot
I have tested the above on Raspberry Pi OS (32-bit) on Pi4.
Tested in Chromium using https://bitmovin.com/demos/drm

ABOVE IS NO LONGER NEEDED
Official fix is now out:
viewtopic.php?f=63&t=318893&p=1910145#p1910748
Last edited by mattrix on Tue Sep 21, 2021 9:59 pm, edited 15 times in total.
www.matthuisman.nz

twiggyxlr4
Posts: 42
Joined: Fri Jun 18, 2021 12:59 am

Re: DRM suddenly not working

Sun Sep 05, 2021 10:41 pm

Have you tested it? And if yes, on what OS ? Thanks

User avatar
mattrix
Posts: 143
Joined: Mon Mar 02, 2015 6:20 am
Location: New Zealand
Contact: Website Twitter

Re: DRM suddenly not working

Sun Sep 05, 2021 10:47 pm

tested in Raspberry Pi OS.
OSMC instructions are similar, and can be found here: https://github.com/xbmc/inputstream.ada ... -913047151
www.matthuisman.nz

twiggyxlr4
Posts: 42
Joined: Fri Jun 18, 2021 12:59 am

Re: DRM suddenly not working

Sun Sep 05, 2021 10:53 pm

Then this should work on Twister OS as well since it is a Raspbian build.

TheGreatDayne
Posts: 3
Joined: Fri Sep 03, 2021 1:36 am

Re: DRM suddenly not working

Sun Sep 05, 2021 11:44 pm

Woohoo!! Works great!

Thanks much mattrix!

psst... Any ideas on getting Udemy videos to playback?

Return to “General discussion”