Skip to content
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

Fedora 38 - libwidevinecdm.so could not be loaded #213

Open
ghost opened this issue May 25, 2023 · 3 comments
Open

Fedora 38 - libwidevinecdm.so could not be loaded #213

ghost opened this issue May 25, 2023 · 3 comments

Comments

@ghost
Copy link

ghost commented May 25, 2023

I've setup a fresh install of Fedora 38 and noticed that some streaming services were not running: Netflix and HBO Max. (Youtube is working fine)

So I launched Chrome from the terminal and noticed this error message:

[481:296:0525/124853.229406:ERROR:cdm_module.cc(114)] CDM at /home/rmoraes/.var/app/com.google.Chrome/config/google-chrome/WidevineCdm/4.10.2652.1/_platform_specific/linux_x64/libwidevinecdm.so could not be loaded.
[481:296:0525/124853.229634:ERROR:cdm_module.cc(115)] Error: /home/rmoraes/.var/app/com.google.Chrome/config/google-chrome/WidevineCdm/4.10.2652.1/_platform_specific/linux_x64/libwidevinecdm.so: cannot open shared object file: Operation not permitted

I looked up the libwidevinecdm.so file and got this:

/home/rmoraes/.mozilla/firefox/mnl1w508.default-release/gmp-widevinecdm/4.10.2557.0/libwidevinecdm.so
/home/rmoraes/.var/app/com.google.Chrome/config/google-chrome/WidevineCdm/4.10.2652.1/_platform_specific/linux_x64/libwidevinecdm.so
/var/lib/flatpak/app/com.google.Chrome/x86_64/stable/ba19c40be5407bf6cac74d38defe5b13bc0e7f39198da1e8349ffcd1513b764f/files/extra/WidevineCdm/_platform_specific/linux_x64/libwidevinecdm.so

The Firefox above is the one installed by default (non-flatpak) and works fine with DRM media. For the Chrome related folders here's an ls:

rmoraes@fedora ~/.var/app/com.google.Chrome/config/google-chrome/WidevineCdm/4.10.2652.1/_platform_specific/linux_x64
$ ls
total 11M
drwx------. 1 ghost  40 May 25 12:44 .
drwx------. 1 ghost  18 May 23 12:46 ..
-rw-------. 1 ghost 11M May 23 12:46 libwidevinecdm.so

and

rmoraes@fedora /var/lib/flatpak/app/com.google.Chrome/x86_64/stable/ba19c40be5407bf6cac74d38defe5b13bc0e7f39198da1e8349ffcd1513b764f/files/extra/WidevineCdm/_platform_specific/linux_x64
$ ls
total 12M
drwxr-xr-x. 1 root  34 May 15 14:02 .
drwxr-xr-x. 1 root  18 May 15 14:02 ..
-rw-r--r--. 1 root 12M May 15 13:57 libwidevinecdm.so

So far it's looks like everything is fine but it's not working :/

As I said before this is a fresh install. Maybe I'm missing some OS-level dependencies?

refi64 added a commit that referenced this issue May 27, 2023
Potentially fixes #212, #213.

Signed-off-by: Ryan Gonzalez <[email protected]>
@refi64
Copy link
Collaborator

refi64 commented May 27, 2023

Probably related to flathub/com.google.ChromeDev#78.

@GlenKPeterson
Copy link

Thank you for the flatpak Chrome package!

I think I have the same issue. Around 2 weeks ago, Disney+ and Amazon Prime stopped being able to stream movies on flatpak Chrome (Youtube was unaffected). My host OS is Ubuntu 22.04. I installed Chrome through apt and Disney+ and Amazon Prime both work there, but not in the Flatpak.

Flatpak Chrome:
Version 113.0.5672.126 (Official Build) unknown (64-bit)

Ubuntu 22.04 apt Chrome:
Version 114.0.5735.106 (Official Build) (64-bit)

Maybe the Flatpak version of Chrome is just out of date? I believe I have the latest version available from Flathub (flatpak update says so).

@GlenKPeterson
Copy link

Same issue with Google Chrome Version 114.0.5735.133 (Official Build) unknown (64-bit) Flatpak.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants