flathub / flathub/com.google.Chrome

Fedora 38 - libwidevinecdm.so could not be loaded

Open
#213 3 comments 2 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
67
Forks
39
Avg merge
6h 48m
Merged PRs (30d)
7

Description

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?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the Chrome launch from a terminal on Fedora 38 and inspect the reported libwidevinecdm.so paths under the Chrome profile and Flatpak installation. Compare the permissions and loading behavior of those files with Firefox's working copy; done means Netflix and HBO Max play without the CDM loading error.

Written by the indexing model from the issue text.

Assessment

Tech stack
fedora, linux
Domain
desktop-dev, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.