The time now is Mon 20 May 2013, 01:21
All times are UTC - 4 |
| Author |
Message |
stowpirate

Joined: 18 Mar 2007 Posts: 61
|
Posted: Sun 05 May 2013, 02:50 Post subject:
Google Chrome and latest version of flash player |
|
Just located the plugin for flash on the working Chrome v24, it getting complicated as it appears you cannot just copy the files over into the firefox/mozilla plugin directory. Flash is now on v11.7... and chrome v26 on my system will not let me run it as root so won't work in Puppy.
/opt/google/chrome/PepperFlash
and files involved are
libpepflashplayer.so
manifest.json
{
"description": "Pepper Flash Player",
"name": "Flapper",
"version": "11.5.31.137",
"x-flapper-revision": "1150867",
"x-ppapi-arch": "ia32",
"x-ppapi-os": "linux",
"x-ppapi-required-interfaces": [
"PPB_AudioConfig;1.1|PPB_AudioConfig;1.0",
"PPB_AudioInput(Dev);0.3|PPB_AudioInput(Dev);0.2",
"PPB_Audio;1.0",
"PPB_BrowserFont_Trusted;1.0",
"PPB_Buffer(Dev);0.4",
"PPB_CharSet(Dev);0.4",
"PPB_Core;1.0",
"PPB_Crypto(Dev);0.1",
"PPB_CursorControl(Dev);0.4",
"PPB_FileChooser(Dev);0.6|PPB_FileChooser(Dev);0.5",
"PPB_FileChooserTrusted;0.6|PPB_FileChooserTrusted;0.5",
"PPB_FileRef;1.0",
"PPB_Flash_Clipboard;5.0|PPB_Flash_Clipboard;4.0",
"PPB_Flash_File_FileRef;2",
"PPB_Flash_File_ModuleLocal;3",
"PPB_Flash_FontFile;0.1|PPB_PDF;1",
"PPB_FlashFullscreen;1.0|PPB_FlashFullscreen;0.1",
"PPB_Flash;13.0|PPB_Flash;12.6|PPB_Flash;12.5|PPB_Flash;12.4",
"PPB_Flash_Menu;0.2",
"PPB_Graphics2D;1.0",
"PPB_Graphics3D;1.0",
"PPB_ImageData;1.0",
"PPB_IMEInputEvent(Dev);0.2|PPB_IMEInputEvent(Dev);0.1",
"PPB_InputEvent;1.0",
"PPB_Instance;1.0",
"PPB_Memory(Dev);0.1",
"PPB_NetAddress_Private;1.1|PPB_NetAddress_Private;1.0|PPB_NetAddress_Private;0.1",
"PPB_OpenGLES2ChromiumMapSub;1.0|PPB_OpenGLES2ChromiumMapSub(Dev);1.0|PPB_GLESChromiumTextureMapping(Dev);0.1",
"PPB_OpenGLES2;1.0",
"PPB_TCPSocket_Private;0.4|PPB_TCPSocket_Private;0.3",
"PPB_TextInput(Dev);0.2|PPB_TextInput(Dev);0.1",
"PPB_UDPSocket_Private;0.4|PPB_UDPSocket_Private;0.3",
"PPB_URLLoader;1.0",
"PPB_URLLoaderTrusted;0.3",
"PPB_URLRequestInfo;1.0",
"PPB_URLResponseInfo;1.0",
"PPB_URLUtil(Dev);0.6",
"PPB_Var;1.1|PPB_Var;1.0",
"PPB_VideoCapture(Dev);0.3|PPB_VideoCapture(Dev);0.2",
"PPB_View;1.0"
]
|
|
Back to top
|
|
 |
disciple
Joined: 20 May 2006 Posts: 6179 Location: Auckland, New Zealand
|
Posted: Sun 05 May 2013, 04:50 Post subject:
|
|
Just checking: do you want help with something, or are you just describing your observations?
Yes, the newfangled "salt and pepper" plugin system is unique to Chrome (Google doing its bit for standardisation/compatibility/interoperability ).
But you should be able to run Chrome as root if you really want. I've seen mention of a special command line option, and there is also a binary hack that you can do. I don't remember doing the binary hack for a while, so maybe I am using the command line option these days.
_________________ DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
|
|
Back to top
|
|
 |
stowpirate

Joined: 18 Mar 2007 Posts: 61
|
Posted: Sun 05 May 2013, 05:27 Post subject:
|
|
| disciple wrote: | Just checking: do you want help with something, or are you just describing your observations?
Yes, the newfangled "salt and pepper" plugin system is unique to Chrome (Google doing its bit for standardisation/compatibility/interoperability ).
But you should be able to run Chrome as root if you really want. I've seen mention of a special command line option, and there is also a binary hack that you can do. I don't remember doing the binary hack for a while, so maybe I am using the command line option these days. |
Bit of both really. They are observations which some might find interesting. Also how do I run Chrome v26. as it refuses to run as root?
The one on this thread works albeit old version of flash
http://www.murga-linux.com/puppy/viewtopic.php?t=84155
|
|
Back to top
|
|
 |
666philb

Joined: 07 Feb 2010 Posts: 1217 Location: wales
|
Posted: Sun 05 May 2013, 06:54 Post subject:
|
|
What puppy are you using?
_________________ Quickpet_Precise, install popular apps quickly http://www.murga-linux.com/puppy/viewtopic.php?t=83642
LÖVE2d, a collection of 27 lua gameshttp://www.murga-linux.com/puppy/viewtopic.php?t=76739
|
|
Back to top
|
|
 |
stowpirate

Joined: 18 Mar 2007 Posts: 61
|
Posted: Sun 05 May 2013, 08:16 Post subject:
|
|
| 666philb wrote: | | What puppy are you using? |
528
|
|
Back to top
|
|
 |
OscarTalks
Joined: 05 Feb 2012 Posts: 324 Location: London, England
|
Posted: Sun 05 May 2013, 08:26 Post subject:
|
|
I was taking a look at Google Chrome for the first time yesterday. I have version 26.0.1410.63 and was testing in Lucid Plus and Wheezy.
I don't have any trouble getting it to run as root because I just insert the --user-data-dir switch into the wrapper script along with the --allow-outdated-plugins switch.
The Pepper Flash plugin doesn't work properly though. Playback of Flash content is jerky and stuttery. It is a version of Flash (11.7.x.x) which is not supported in Linux so maybe not surprising. Chromium and Iron do not have this plugin and load the normal Flash Player from /usr/lib/mozilla/plugins if it is installed.
With Google Chrome, make sure you have a suitable Flash Player installed and then go to the plugins page via settings or chrome://plugins. Click on "+ details" on the right to expand the page and you will see that the 2 Flash Players are listed separately so you can disable the Pepper Flash one and use only the good one in /usr/lib/mozilla/plugins.
_________________ Oscar in England
|
|
Back to top
|
|
 |
stowpirate

Joined: 18 Mar 2007 Posts: 61
|
Posted: Sun 05 May 2013, 08:50 Post subject:
|
|
| OscarTalks wrote: | I was taking a look at Google Chrome for the first time yesterday. I have version 26.0.1410.63 and was testing in Lucid Plus and Wheezy.
I don't have any trouble getting it to run as root because I just insert the --user-data-dir switch into the wrapper script along with the --allow-outdated-plugins switch.
The Pepper Flash plugin doesn't work properly though. Playback of Flash content is jerky and stuttery. It is a version of Flash (11.7.x.x) which is not supported in Linux so maybe not surprising. Chromium and Iron do not have this plugin and load the normal Flash Player from /usr/lib/mozilla/plugins if it is installed.
With Google Chrome, make sure you have a suitable Flash Player installed and then go to the plugins page via settings or chrome://plugins. Click on "+ details" on the right to expand the page and you will see that the 2 Flash Players are listed separately so you can disable the Pepper Flash one and use only the good one in /usr/lib/mozilla/plugins. |
Can you give the info about the Pepper Plugin in a tad more simple English as I do not fully understand:
--user-data-dir
--allow-outdated-plugins switch
|
|
Back to top
|
|
 |
OscarTalks
Joined: 05 Feb 2012 Posts: 324 Location: London, England
|
Posted: Sun 05 May 2013, 10:51 Post subject:
|
|
Assuming you are launching Google Chrome via the script /opt/google/chrome/google-chrome open that file as text and look for the bottom line. Mine reads:-
| Code: | | exec -a "$0" "$HERE/chrome" "$@" |
Add those two items --user-data-dir and --allow-outdated-plugins to that line before the "$@" (with spaces) so it looks like this:-
| Code: | | exec -a "$0" "$HERE/chrome" --user-data-dir --allow-outdated-plugins "$@" |
Be sure to have a carriage return at the end so you have started a new blank line below. Save and close.
(Note: You can specify another location with --user-data-dir=/root/some/other/directory but just --user-data-dir on its own allows Google Chrome to run as root and uses the default location of /root/.config/chromium for the user profile data. Inserting --allow-outdated-plugins prevents the browser from complaining if, out of choice or neccessity, we are using an older version of Flash Player.)
As for Pepper Flash, what I am saying is that I think we can't use it. If the Puppy you are running doesn't have a Flash Player installed then use GetFlash or install a .PET ( http://www.murga-linux.com/puppy/viewtopic.php?t=84267 ) and then use the plugins settings to disable Pepper Flash and make sure the browser only loads and uses the one that works.
I am no expert, so anyone with more experience or other ideas is welcome to chime in.
_________________ Oscar in England
|
|
Back to top
|
|
 |
disciple
Joined: 20 May 2006 Posts: 6179 Location: Auckland, New Zealand
|
Posted: Sun 05 May 2013, 15:47 Post subject:
|
|
| OscarTalks wrote: | | The Pepper Flash plugin doesn't work properly though. Playback of Flash content is jerky and stuttery. It is a version of Flash (11.7.x.x) which is not supported in Linux so maybe not surprising. |
If it was truly not supported then you wouldn't have it at all.
Perhaps it is supported by Google instead of Adobe.
Re the jerkiness, it would be interesting to run top and see if the pepper plugin is maxing out your cpu and the old plugin isn't.
_________________ DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
|
|
Back to top
|
|
 |
OscarTalks
Joined: 05 Feb 2012 Posts: 324 Location: London, England
|
Posted: Sun 12 May 2013, 10:51 Post subject:
|
|
A bit of an update on this. Having seen some information in the Dpup Wheezy thread I have added --audio-buffer-size=2048 to the script and now YouTube and other Flash content is playing perfectly with the pepperflash plugin. I'm using Google Chrome 26.0.1410.63 in Wheezy with no other Flash Player installed.
Uploaded in case people want to test and report:-
Google Chrome 26.0.1410.63 .sfs
download = http://www1.datafilehost.com/d/624e595e
md5sum = 29405b9ebda5c93dd8c87cce3bd854a5
Google Chrome 26.0.1410.63 .pet
download = http://www1.datafilehost.com/d/8cc84e15
md5sum = 004f35cacb52220974bba14693d7f7ae
_________________ Oscar in England
|
|
Back to top
|
|
 |
pemasu

Joined: 08 Jul 2009 Posts: 5167 Location: Finland
|
Posted: Sun 12 May 2013, 11:38 Post subject:
|
|
Here is generic google-chrome fixator.
Download google-chrome .deb. Install it. Then install this pet. It has the bbe binary editor included with pinstall.sh script. Together they fix the installed google-chrome otherwise so that run-as-root restriction has been removed and also the audio problem will be fixed. There is cache limitation to 10 Mb.
Cheers.
| Description |
|

Download |
| Filename |
google-chrome-fixator-0.0.1.pet |
| Filesize |
14.16 KB |
| Downloaded |
21 Time(s) |
|
|
Back to top
|
|
 |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|