rpiRyan
Posts: 9
Joined: Tue May 10, 2016 12:34 am

ARCH ARM Chromium Pepper Flash

Thu May 26, 2016 11:29 pm

Hello, I need some assistance on some matter of installing and getting Pepper (Flash) Plugin API, or PPAPI, to work on my Raspberry Pi 2, running Arch ARM.

uname -r :

4.4.11-3-ARCH

sudo pacman -S chromium :

resolving dependencies...
looking for conflicting packages...

Packages (1) chromium-50.0.2661.102-1

Total Installed Size: 118.48 MiB
Net Upgrade Size: 0.00 MiB

:: Proceed with installation? [Y/n]

Now, as you know, my Chromium version is 50.0.2661.102-1.

I have gone through a tutorial and downloaded a folder to place into my
/ directory. The folder contains /usr/ and a collection of libraries like lib and share.
Inside Lib, we have PepperFlash, and all the correponding .so's for PPAPI.
Inside Share, we have license.txt, which I don't believe is absolutely neccesary.

file /usr/lib/PepperFlash/libpepflashplayer.so :

/usr/lib/PepperFlash/libpepflashplayer.so: ELF 32-bit LSB shared object, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, BuildID[sha1]=fd521c1a02e7fc840e750490a53b4c236ac08c95, stripped

As you can see, the flash player is for ARM 32 bit, which is the Raspberry Pi 2.

Now the tricky part.

According to many tutorials I have come across, all you have to do is place the plugin in the /usr/lib/chromium-browser/plugins directory, and update /usr/lib/chromium-browser/default with a couple of lines of code to CHROMIUM_FLAGS to make it work.

However, this is not the case. The only folder(s) I have with chromium are /usr/lib/chromium and /usr/lib/chromium-launcher.
Chromium-Launcher only contains one file, so I will disregard it.

There is no "default" text file in /usr/lib/chromium, so I create one and filled it out with
flags pointing at /usr/lib/PepperFlash/libpepflashplayer.so

/usr/lib/chromium/default : CHROMIUM_FLAGS="--ppapi-flash-path=/usr/lib/PepperFlash/libpepflashplayer.so --ppapi-flash-version=21.0.0.000"

Which is copied off a website tutorial.
The only thing I edited was the flash version, as I have 21.0.0.000.

This did not work upon starting chromium, as the page "chome://plugins" did not show any Flash plugins.

I have tried to "export CHROMIUM_FLAGS = 'foo' " but to no avai.
I have also tried running chromium from terminal with the option --plugins-enabled and so forth, but no dice.

Any help would be appreciated! :D

sdjf
Posts: 1395
Joined: Fri Mar 16, 2012 5:20 am
Location: California
Contact: Website

Re: ARCH ARM Chromium Pepper Flash

Fri May 27, 2016 2:14 pm

You can see what the system calls are by starting from a terminal with strace. -o says where to put the output, -s gives length of output strings

strace -s 60 -o OUTPUTFILENAME YOURCOMMAND &

& at end of line gives you command line access during execution.
FORUM TIP: To view someone's posting history, sign in, click on their user name, then on "Search User's Posts." || Running ArchLinuxArm on Model 2B and 512MB Model B

Return to “Arch”