LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM
User Name
Password
Slackware - ARM This forum is for the discussion of Slackware ARM.

Notices


Reply
  Search this Thread
Old 09-19-2021, 03:38 PM   #1
Minime_2003
Member
 
Registered: Aug 2021
Location: Sweden
Distribution: Slackware
Posts: 123

Rep: Reputation: 40
How-To Get Widevine 4.10.2252.0 working on slackware ARM


Download or recompile glibc from the slackbuild scripts found here.
If you dont want to hazzle with compiling it, i have added precompiled and patched (Added support for SHT_RELR and TLS) binaries here.
This information and patches was gathered from here.

If you decide to compile glibc your self, i recommend you to read and install Stuart Winter´s slackkit and documentation as its his glibc slackbuild that i used to add the patches to and compile glibc natively.

If you install the precompiled binaries make sure you use the command "upgradepkg aaa_glibc-solibs-2.33-arm-4.txz glibc-2.33-arm-4.txz"
and it has to be in this order or you will have problems...

Get libwidevine by using this script.

As this will install the libwidevine.so file under "/opt/WidevineCdm/" you can either rewrite the script so it installs "/usr/lib/chromium/" or you move the WidevineCdm directory to "/usr/lib/chromium/".
Third option is just to softlink libwidevine.so to chromium.
Code:
mkdir -p /usr/lib/chromium/WidevineCdm/_platform_specific/linux_arm/
ln -s /opt/WidevineCdm/_platform_specific/linux_arm/libwidevinecdm.so /usr/lib/chromium/WidevineCdm/_platform_specific/linux_arm/
ln -s /opt/WidevineCdm/manifest.json /usr/lib/chromium/WidevineCdm/
Third option is just to softlink libwidevine.so to chromium-ungoogled.
Code:
mkdir -p /usr/lib/chromium-ungoogled/WidevineCdm/_platform_specific/linux_arm/
ln -s /opt/WidevineCdm/_platform_specific/linux_arm/libwidevinecdm.so /usr/lib/chromium-ungoogled/WidevineCdm/_platform_specific/linux_arm/
ln -s /opt/WidevineCdm/manifest.json /usr/lib/chromium-ungoogled/WidevineCdm/
If you are using kodi, you can skip the last part (the script) as "inputstream helper" plugin will download and install widevine for you.

Last part to make chromium or chromium-ungoogled work is to change your user-agent:
Code:
# Remove this (if ungoogled its "chromium-ungoogled" instead of "chromium")
Exec=/usr/bin/chromium %U
# Add this
Exec=/usr/bin/chromium --user-agent="Mozilla/5.0 (X11; CrOS armv7l 10895.56.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.159 Safari/537.36" " %U
Add this to the chromium.desktop/chromium-ungoogled.desktop launcher.

Note: When it comes to chromium/choromium-ungoogled i have patched it to enable Widevine support for ARM and also patched chromium.desktop/chromium-ungoogled.desktop launcher with user-agent information.
So you should not have to add this yourself.
chromium buildscript found at my github.
Will see if i can upload chromium and chromium-ungoogled binaries for Slackware ARM to my github when i have compiled 93.0.4577.82.
But it takes some time to compile...

All this is tested and working for streaming site´s like "Netflix", "Disney plus", "C-More", "sfanytime" and "Boxer-Play".
Small note, this also resolves c-more streams using c-more kodi-plugin.

Also resolves playback issues with Spotify webplay.

Best regards:
Minime

Last edited by Minime_2003; 09-20-2021 at 05:40 PM.
 
Old 05-12-2022, 02:16 AM   #2
slackartist
Member
 
Registered: Oct 2015
Location: Where the buffalo's roam
Distribution: Slackware Current Multilib
Posts: 161
Blog Entries: 20

Rep: Reputation: 26
Cool cool browser!

thanks a ton!

i did this just last week and enjoying the fruits of having chromium on my armv7 chromebook 8=D haha

ah. but there is something about the components are not enabled when i look in chromium://components

everything else does work except addons also. Though it looks like theres a method to do it which im not at all worry about.


---

widevine does work in vivaldi. and vivaldi plays netflix ive learnt. thanks again! cheers
 
Old 05-24-2022, 02:15 AM   #3
pm_a_cup_of_tea
Member
 
Registered: May 2021
Posts: 58

Rep: Reputation: Disabled
Hi minime_2003, thank you for doing this. I've been reading your build instructions for chromium from your github page and before I embark on the "...at least thirty six hours if not even more" build time I wanted to make sure that I have understood correctly
1) You list nasm as a build dependency but nasm isn't included in slackware arm
2) I'm not at all familiar with java, I see three java packages at the SARPi project; adoptopenjdk-17.0, adoptopenjdk-11.0 and jdk-8u311-armv7. Which one is needed?

Thanks again for your work.
 
Old 05-24-2022, 06:33 AM   #4
Minime_2003
Member
 
Registered: Aug 2021
Location: Sweden
Distribution: Slackware
Posts: 123

Original Poster
Rep: Reputation: 40
Quote:
Originally Posted by pm_a_cup_of_tea View Post
Hi minime_2003, thank you for doing this. I've been reading your build instructions for chromium from your github page and before I embark on the "...at least thirty six hours if not even more" build time I wanted to make sure that I have understood correctly
1) You list nasm as a build dependency but nasm isn't included in slackware arm
2) I'm not at all familiar with java, I see three java packages at the SARPi project; adoptopenjdk-17.0, adoptopenjdk-11.0 and jdk-8u311-armv7. Which one is needed?

Thanks again for your work.
1. Used Aliens dependecy list and i am not 100% if all his notes are are correct. but most of them shuld be.
Saw this post "No nasm and what else and how to fix".
So for some reason thay forgot to add nasm to Slackware Arm.
Should be fixed now.

2. This is the package you want for java "jdk-8u311-armv7".

Have not had time to run the last update yet. but i have been thinking about trying to get around to this.
Thinking its about time, as there has been alot of realeases sice the last update.

Last edited by Minime_2003; 05-24-2022 at 09:01 AM.
 
Old 05-25-2022, 01:54 AM   #5
pm_a_cup_of_tea
Member
 
Registered: May 2021
Posts: 58

Rep: Reputation: Disabled
Still running.... So far so good with the latest release.

update: Just over 44 hours, but its running just fine

Last edited by pm_a_cup_of_tea; 05-27-2022 at 12:52 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Debian Arm & widevine business_kid Debian 3 07-06-2020 07:10 AM
Widevine crashes qutebrowser or Falkon budrz89 Linux From Scratch 2 05-07-2020 12:33 PM
NetFlix issues from within chroot 'jail - browser constantly 'downloading' WideVine modules, but never plays..... Mike_Walsh Linux - Containers 1 08-26-2019 09:56 AM
[SOLVED] Chromium widevine? hitest Slackware 5 04-23-2015 03:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM

All times are GMT -5. The time now is 06:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration