Alex313031 / Thorium-Special

Special builds of Thorium for SSE3 and different processors.
https://thorium.rocks/
BSD 3-Clause "New" or "Revised" License
183 stars 5 forks source link

Widevine arm64 #60

Closed Shell3 closed 2 months ago

Shell3 commented 1 year ago

System Details

Problem Cannot get widevine drm working.

Additional Notes I tested using Bitmovin and the Spotify web playback SDK. I'm trying to get Thorium working with widevine on other arm64 boards (OrangePi, Radxa). I tested Thorium also on RPI 4 64bit where it seems to be non-functional as well, in the native chromium app for RPI 4 64bit the widevine is functional.

Alex313031 commented 1 year ago

@Shell3 I will test on my new Pi coming in the mail and get back to you.

akancz commented 1 year ago

@Alex313031 Is The DRM widevine feature only supported on RPi4 board ? Or can it be used on other ARM64 boards (OrangePi, Radxa, ...) ?

Alex313031 commented 1 year ago

@Shell3 @akancz This commit > https://github.com/Alex313031/thorium/commit/f2c295f3b6c2a582c345814c72dac9216c4827eb should hopefully get widevine working on linux on the Pi 4

Shell3 commented 1 year ago

@Alex313031 Are you able to provide a build with it, please?

Alex313031 commented 10 months ago

@Shell3 @akancz Widevine only works on the Pi, and only on Raspberry Pi OS (previously raspbian) because it requires a patched GCC to export functions that ChromiumOS/ChromeOS exports. This is becasue the widevine we use comes from an arm64 ChromeOS disk image.

For other distros or hardware, you can build the gcc package yourself using the patches from raspbian. In general though, I suggest using Raspbian + Chromium + the libwidevine package for DRM streaming sites, and Thorium/Firefox for everything else.