Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 01 Aug 2014, 04:01
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
How to setup Pipelight in Precise Puppy v.5.7.1
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [11 Posts]  
Author Message
shadower_sc

Joined: 21 Apr 2010
Posts: 129
Location: Texas

PostPosted: Mon 14 Jul 2014, 11:34    Post subject:  How to setup Pipelight in Precise Puppy v.5.7.1
Subject description: Native Firefox install, Flash v13+, Silverlight v5.1, in 4 Easy Steps. XD
 

Hello Again Everyone,

I got Pipelight working in Precise Puppy v.5.7.1 and figured I would share. heywoodj's post on how he watches Netflix on Puppy was helpful, especially in noting that Wine-Compholio is installed in a place Puppy does not expect it to be.

Here are links to the Installation Instructions:
Step 01 - Preparation
Step 02 - Setup Firefox for Pipelight Usage
Step 03 - Setup Wine-Compholio for Precise Puppy
Step 04 - Setup Pipelight for Precise Puppy

Last edited by shadower_sc on Mon 14 Jul 2014, 14:13; edited 3 times in total
Back to top
View user's profile Send private message 
shadower_sc

Joined: 21 Apr 2010
Posts: 129
Location: Texas

PostPosted: Mon 14 Jul 2014, 11:39    Post subject: Pipelight for Precise Puppy 5.7.1 Step 01 Preparation  

Step 01 - Preparation:

Part A - Update Puppy Package Manager

Open the Puppy Package Manager by navigating the menu and clicking on the appropriate entry:
Menu->Setup->Puppy Package Manager

Update the Puppy Package Manager:
Click on Configure
Click on Update
Press the ENTER key a few times as directed. The process will take a few minutes depending on the speed of your internet and your computer.
Press the ENTER key to exit once the Puppy Package Manager has updated.

Click ok to close out of the Configure package manager.

Click Exit Package Manager to close the Puppy Package Manager.

While we are here, we will need to use the Package Manager to install a few required files for pipelight to work with Puppy Linux.

Start the Puppy Package Manager again.
Menu->Setup->Puppy Package Manager

Part B - Install Packages from Puppy Package Manager

Use the find box on the bottom left of the window to find and install the following items:
cabextract, zenity (Should be optional), and firefox

Choose to search all repositories when it asks.

I found cabextract_1.4-1 and installed it.

I found multiple entries for zenity and installed zenity_3.4.0
Make sure to select examine dependencies and then download-and-install selected packages.

I found multiple entries for firefox as well and installed the top one which was firefox_30.0+build1.
Make sure to select examine dependencies and then download-and-install selected packages.

Last edited by shadower_sc on Mon 14 Jul 2014, 12:02; edited 1 time in total
Back to top
View user's profile Send private message 
shadower_sc

Joined: 21 Apr 2010
Posts: 129
Location: Texas

PostPosted: Mon 14 Jul 2014, 11:47    Post subject: Pipelight for Precise Puppy 5.7.1 Step 02 Setup Firefox  

Step 02 - Setup Firefox for Pipelight Usage

Part A - Spoof Firefox's User Agent

Start Firefox.
Menu->Internet->Firefox Web Browser

Install User Agent Overrider in Mozilla Firefox: (user_agent_overrider-0.2.4-fx.xpi)
https://addons.mozilla.org/en-US/firefox/addon/user-agent-overrider/
(I had to download it with Seamonkey for some reason and then drag and drop the file into firefox.)
See this page for reference: http://pipelight.net/cms/installation-user-agent.html

It should add a new button to your toolbar with a drop down menu.
Select Windows/Firefox 29 as the User Agent. (Or whatever version of firefox that it associates with windows.)

(Silverlight will ignore your browser, if it thinks you are using a Linux Browser.)

Part B - Spoof Firefox's Platform

Edit about:config and add a platform override in case the site checks the platform as well:
general.platform.override|user set|string|Win32
Again, see this page for reference: http://pipelight.net/cms/installation-user-agent.html

Firefox should now be ready once you have wine-compholio and pipelight installed.

(Some websites may also check to see what Platform you are running.)

Last edited by shadower_sc on Mon 14 Jul 2014, 12:02; edited 2 times in total
Back to top
View user's profile Send private message 
shadower_sc

Joined: 21 Apr 2010
Posts: 129
Location: Texas

PostPosted: Mon 14 Jul 2014, 11:54    Post subject: Pipelight for Precise Puppy 5.7.1 Step 03 Wine-Compholio  

Step 03 - Setup Wine-Compholio

Part A - Download the Current Wine-Compholio Package

Navigate to the launchpad site for pipelight.
https://launchpad.net/~pipelight/+archive/stable/+packages

Select wine-compholio-1.7.XX~ubuntu12.04.1_i386.deb where XX is the current version.
Click on the Package file wine-compholio-1.7.XX~ubuntu12.04.1_i386.deb where XX is the current version to download.
Click on the Package file wine-compholio-i386-1.7.XX~ubuntu12.04.1_i386.deb where XX is the current version to download.
(I downloaded mine to my flash drive, so I could have access to them later.)

Part B - Install and test the Wine-Comholio Package

Install the pre-built precise packages where XX is the current version:
Open Rox-Filer and navigate to the location you saved the files.
Single click on each file to install them.
wine-compholio-1.7.XX~ubuntu12.04.1_i386.deb
wine-compholio-i386-1.7.XX~ubuntu12.04.1_i386.deb

Make a symlink for Puppy, since wine is installed to /opt/wine-compholio/bin, instead of /usr/bin:
ln -s /opt/wine-compholio/bin/wine /usr/bin/wine

Check to make sure you have done it correctly:
wine --version

It should display something like:
wine-1.7.21

Last edited by shadower_sc on Mon 14 Jul 2014, 12:06; edited 2 times in total
Back to top
View user's profile Send private message 
shadower_sc

Joined: 21 Apr 2010
Posts: 129
Location: Texas

PostPosted: Mon 14 Jul 2014, 11:58    Post subject: Pipelight for Precise Puppy 5.7.1 Step 04 Setup Pipelight  

Step 04 - Setup Pipelight

Part A - Download the Pipelight Pacakge

Navigate to the launchpad site for pipelight.
https://launchpad.net/~pipelight/+archive/stable/+packages

Select pipelight-multi-0.2.7~ubuntu12.04.1.
Click on the Package file pipelight-multi_0.2.X.X~ubuntu12.04.1_i386.deb where X.X is the current version to download.
(I downloaded mine to my flash drive, so I could have access to it later.)

Part B - Install and test the pipelight plugin

Install the pre-built precise packages where X.X is the current version:
Open Rox-Filer and navigate to the location you saved the files.
Single click on the file to install it.
pipelight-multi_0.2.X.X~ubuntu12.04.1_i386.deb

Check to make sure you have done it correctly:
pipelight-plugin

It should display the help for pipelight-plugin.
(This also displays what plugins are supported.)

Part C - Setup Pipelight for Firefox

Setup the Pipelight Plugin for mozilla:
pipelight-plugin --create-mozilla-plugins

Enable the Pipelight Plugins you want:
pipelight-plugin --enable silverlight
pipelight-plugin --enable flash

Navigate to http://fds-team.de/pipelight/ and do a test for each plugin you have enabled.
It should force Firefox to initialize the plugin and provide feedback, if something didn't work.

Bouncing Balls/Bubbles Test:
http://bubblemark.com/silverlight2.html
Back to top
View user's profile Send private message 
shadower_sc

Joined: 21 Apr 2010
Posts: 129
Location: Texas

PostPosted: Tue 15 Jul 2014, 17:36    Post subject: Flash Benchmark Test of Pipelight on two machines  

I saw solo's post where he used a benchmark to test PepperFlash in Firefox and that got me curious as to how well pipelight worked. The following are benchmarks from the same place he used and specs for each machine.

Flash Benchmark 2008:
http://www.snailsanimation.com/benchmark08_play.php

Machine#1:
CPU: Intel i5 CPU M520 2.4GHZ Dual-Core
RAM: DDR3 533MHZ 4GB

Benchmark #1
OS: Windows 7 32-bit
Browser: Firefox 30.0
Flash Version: 13.0.0.214
Benchmark Score: 17,240
Lite: 66.34fps - passed
Medium: 62.66 fps - passed
Heavy: 32.34 fps - passed
Ultra: 11.06 fps - failed

Benchmark #2
OS: Precise Puppy Linux v.5.7.1 - Retro / No-PAE
Browser: Firefox 30.0
Flash Version: 13.0.0.214
Benchmark Score: 15,970
Lite: 61.18 fps - passed
Medium: 57.67 fps - passed
Heavy: 29.5 fps - passed
Ultra: 11.34 fps - failed

Machine #2
CPU: Intel Atom CPU N280 1.66GHZ Single Core
RAM: 1GB RAM

Benchmark #1
OS: Lubuntu 13.10
Browser: Firefox 24.0
Flash Version: 11.2.202.335
Benchmark Score: 4,270
Lite: 29.46 fps - passed
Medium: 13.24 - failed
Heavy:
Ultra:

Benchmark #2
OS: Precise Puppy Linux v.5.7.1 - Retro / No-PAE
Browser: Firefox 30.0
Flash Version: 13.0.0.214
Benchmark Score: 5,186
Lite: 36.57 - passed
Medium: 15.29 - failed
Heavy:
Ultra:
Back to top
View user's profile Send private message 
slavvo67

Joined: 12 Oct 2012
Posts: 342
Location: The other Mr. 305

PostPosted: Thu 17 Jul 2014, 01:32    Post subject:  

This looked great until you brought Wine into the picture. It's a big, bloated program that I never cared for. Still, good luck with this. I have a few Silverlight pages that I would have liked to run.

Best,

Slavvo67
Back to top
View user's profile Send private message 
shadower_sc

Joined: 21 Apr 2010
Posts: 129
Location: Texas

PostPosted: Thu 17 Jul 2014, 14:29    Post subject: Wine and Pipelight  

I tested flash on 2 different machines.

The first benchmark of each machine was with the officially supported version of flash for each machine. The second benchmark was with the pipelight version of flash installed.

In the case of the faster Windows 7 machine there was a slight drop in performance of about 2 to 5 frames per second on average. In the case of the slower Lubuntu 13.10 machine there was a slight increase in performance of about 2 to 5 frames per second on average.

My initial test results suggest that Wine is slowing the playback down, but by a very small amount. Especially taking into account the fact that Puppy+Pipelight actually ran faster than Lubuntu+Official Adobe Flash for Linux.

Wine is the only option, if you want anything that is "Windows Only" to ever work on Linux.
Back to top
View user's profile Send private message 
shadower_sc

Joined: 21 Apr 2010
Posts: 129
Location: Texas

PostPosted: Thu 17 Jul 2014, 15:44    Post subject: Xattr and DRM  

Silverlight + DRM needs Xattr support. Aufs and vfat do not support Extended Attributes. As such any site that uses DRM with silverlight will not work from a Live-CD or system that is a vfat / Fat32 filesystem. Most USB Flash Drives are formatted to the Fat32 filesystem. You can easily re-format the USB Flash Drive to NTFS from a Windows system.

A Frugal install on a NTFS or Ext4 Format USB Flash Drive should work.
A Full install on an Ext4 filesystem should work.

Moving the .wine-pipelight folder to an external drive that has an ext4 or NTFS file system and then creating a symlink to it should work.
Example:
mv /root/.wine-pipelight /mnt/sdb1/
ln -s /mnt/sdb1/.wine-pipelight /root/.wine-pipelight

You might be able to use the symlinking option to get DRM working from a Live-CD. This option could be useful for a Kiosk in which the Live-CD would be used on a single machine.

This thread has a lot of discussion on the topic:
http://www.murga-linux.com/puppy/viewtopic.php?t=86016&search_id=1482768283&start=15
Back to top
View user's profile Send private message 
heywoodj

Joined: 15 Mar 2009
Posts: 68

PostPosted: Thu 17 Jul 2014, 21:50    Post subject:  

I'll have to say that after dabbling unsuccessfully for quite a while to figure out how to get Netflix to play on a frugal install, ext4 partitions on USB flash drives don't seem to boot, at all.

One way that might work is to boot on a ext2 partition on the USB, and run WIne off a second ext4 partition on the same drive. It may involve making a chroot jail. I tried for a while, but decided it was too much work, and much easier to have a full install on a ext4 drive.
Back to top
View user's profile Send private message 
pemasu


Joined: 08 Jul 2009
Posts: 5463
Location: Finland

PostPosted: Fri 18 Jul 2014, 04:49    Post subject:  

Oops. My intention was to post about how to get Netflix working in Puppy...but that needed extra step was posted already. Sorry about this post. I was too hasty and didnt read yesterday posts properly. Sorry.

The trick is to move /root/.wine-pipelight folder outside of the savefile...for example to the /mnt/home and symlink it back. As posted earlier. Sorry of this double information post.

Getting Netflix to work in Puppy by following above instructions is correct and tested that they are adequate by me. Just watched Netflix movie.

Cheers.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [11 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » HOWTO ( Solutions )
Jump to:  

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
[ Time: 0.0846s ][ Queries: 11 (0.0036s) ][ GZIP on ]