Pipelight
32-Bit Graphics Driver
Although 32-bit distributions mostly play Silverlight videos smoothly, you might experience dropouts in the playback with a 64-bit Linux. The problems with 64-bit support are caused by the fact that the 32-bit Silverlight requires a 32-bit graphics card driver.
The setup routines for installing of most distributions will not install this 32-bit driver out the box. You can tell that the driver is missing from the error messages of the Pipelight plugin when you start the browser in a terminal. Listing 7 shows the output for a system with an Intel graphics card.
Listing 7
Driver Problems on 64-Bit Systems
On Debian and Ubuntu, you can configure the 32-bit drivers by installing the libgl1-mesa-dri:i386
package. On Ubuntu 12.04, install libgl1-mesa-dri-lts-saucy:i386 (Listing 8). Although the libgl1-mesa-dri:i386 package is available on Ubuntu 12.04, it removes the entire X server – so do be careful. Under Arch Linux, you need to specifically install the driver required for your system (Listing 9). Look online for additional information on 32-bit drivers with Pipelight [13].
Listing 8
32-Bit Drivers in Ubuntu
Listing 9
32-Bit Drivers in Arch
Optimizing Pulseaudio
The PulseAudio sound server used in many Linux distributions can also cause problems with services that require Pipelight and Silverlight.
Misfires occur if the sound server fails to keep up with the sound. This problem is not limited to older systems with slow CPUs: I simulated the problem on a computer with a recent Core i7 quad-core CPU (3GHz).
You can usually solve these PulseAudio problems with a smaller packet size. To change the packet size, open the PulseAudio configuration file, /etc/pulse/daemon.conf
, as root in your favorite editor, and edit the following default-fragment-size-msec
(Listing 10).
Listing 10
/etc/pulse/daemon.conf
The default value is 25; I changed this value to 5, and a Silverlight-based video ran at 25 fps without any jerkiness in the image and sound. To enable the new settings, you should save the configuration file and restart PulseAudio using the pulseaudio -k
command.
Conclusions
In my tests, I was able to successfully use several popular video-on-demand services in Linux. Only Sky Go turned out to be really awkward because I had to change the configuration to force the system to use Silverlight 5.0. Future versions of Pipelight will do a better job of supporting the more advanced encryption in Silverlight Version 5.1. Note that some of the hurdles are legal, because many of the problems with Silverlight 5.1 support are related to DRM. The Magine and Watchever services turned out to be particularly Linux friendly and did not even force me to spoof a Windows user agent.
I discovered one annoying limitation with Amazon Prime Instant Video: Amazon's online video library only plays movies in SD quality with Pipelight under Linux; the Amazon player refuses to play HD videos, claiming that the monitor lacks HDCP support [14]. (See the "HDCP" box.) The reason for this problem is that the Linux graphics drivers do not support functions for restricting the user, but Amazon's service requires mandatory digital rights restrictions. The Pipelight team is working on an appropriate workaround.
HDCP
High-bandwidth Digital Content Protection (HDCP) is a copy protection scheme used to prevent tapping of video and audio data on the (mandatory digital) connection between the sender and receiver. If the output device does not support HDCP, the player reduces the resolution or completely refuses to play back.
Many Rasp Pi fans use the tiny computer as a media center. Raspbmc and OpenELEC are two distributions that specialize in optimizing XBMC for the capabilities of the Rasp Pi. In theory, a Raspberry Pi media center would be an ideal use for Pipelight; however, Silverlight is only available for x86 instruction sets, so the Silverlight plugin won't work with the ARM-based Raspberry Pi.
Infos
- Microsoft Silverlight: http://www.microsoft.com/silverlight/
- Moonlight: http://mono-project.com/Moonlight
- Pipelight: http://fds-team.de/cms/articles/2013-08/pipelight-using-silverlight-in-linux-browsers.html
- Pipelight install: http://fds-team.de/cms/pipelight-installation.html
- Pipelight-Stable-PPA: https://launchpad.net/~pipelight/+archive/stable
- Silverlight Balls animation test: http://bubblemark.com/silverlight2.html
- Experience IIS Smooth Streaming: http://www.iis.net/media/experiencesmoothstreaming
- Experience IIS Smooth Streaming 1080p: http://www.iis.net/media/experiencesmoothstreaming1080p
- User agent switcher for Chrome/Chromium:https://chrome.google.com/webstore/detail/user-agent-switcher-for-c/djflhoibgkdhkhhcedjiklpkjnoahfmg
- User agent overrider for Firefox: https://addons.mozilla.org/en-US/firefox/addon/user-agent-overrider
- User agent switcher for Opera: https://addons.opera.com/de/extensions/details/user-agent-switcher
- Gnome 3 full-screen bug: https://bugs.launchpad.net/pipelight/+bug/1277972
- Installing 32-bit graphics drivers: https://answers.launchpad.net/pipelight/+faq/2485
- Status of HDCP support: https://answers.launchpad.net/pipelight/+question/244793
« Previous 1 2
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
Canonical Bumps LTS Support to 12 years
If you're worried that your Ubuntu LTS release won't be supported long enough to last, Canonical has a surprise for you in the form of 12 years of security coverage.
-
Fedora 40 Beta Released Soon
With the official release of Fedora 40 coming in April, it's almost time to download the beta and see what's new.
-
New Pentesting Distribution to Compete with Kali Linux
SnoopGod is now available for your testing needs
-
Juno Computers Launches Another Linux Laptop
If you're looking for a powerhouse laptop that runs Ubuntu, the Juno Computers Neptune 17 v6 should be on your radar.
-
ZorinOS 17.1 Released, Includes Improved Windows App Support
If you need or desire to run Windows applications on Linux, there's one distribution intent on making that easier for you and its new release further improves that feature.
-
Linux Market Share Surpasses 4% for the First Time
Look out Windows and macOS, Linux is on the rise and has even topped ChromeOS to become the fourth most widely used OS around the globe.
-
KDE’s Plasma 6 Officially Available
KDE’s Plasma 6.0 "Megarelease" has happened, and it's brimming with new features, polish, and performance.
-
Latest Version of Tails Unleashed
Tails 6.0 is based on Debian 12 and includes GNOME 43.
-
KDE Announces New Slimbook V with Plenty of Power and KDE’s Plasma 6
If you're a fan of KDE Plasma, you'll be thrilled to hear they've announced a new Slimbook with an AMD CPU and the latest version of KDE Plasma desktop.
-
Monthly Sponsorship Includes Early Access to elementary OS 8
If you want to get a glimpse of what's in the pipeline for elementary OS 8, just set up a monthly sponsorship to help fund its continued existence.