Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
HOWTO: Get Netflix working
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
white_tiger
n00b
n00b


Joined: 04 Oct 2011
Posts: 33

PostPosted: Sun Mar 16, 2014 6:00 am    Post subject: HOWTO: Get Netflix working Reply with quote

To get Netflix working on your Gentoo machine is not that hard and you don't have to compile the software yourself, just use the ebuilds that are there already.

First thing is make sure that xattr is active:

When you using an ext4 file system you don't have to worry about xattr as of kernel 3.7 since it is active by default.

Is you are using an ext3 filesystem you need to make sure you build it with the extended attributes option active.
Code:

File systems  --->
    Ext3 journalling file system support
[*]     Ext3 extended attributes


Next you need to mount your ext3 file system with xattr by setting it in your /etc/fstab.
Again only needed when you are using an ext3 file system.
Code:

# <fs>          <mountpoint>    <type>          <opts>          <dump/pass>
/dev/sd(x)              /               ext3           user_xattr      0 1


Get the compholio patches here to be applied in the wine ebuild later on.

Unpack the tar.gz as user
Code:

tar -xvzf patches.tar.gz


When your not using the unstable tree you need to do the next step first to get wine 1.7.14:

As root:
For x86 systems.
Code:
echo “app-emulation/wine ~x86” >> /etc/portage/package.keywords

For amd64 systems.
Code:
echo “app-emulation/wine ~amd64” >> /etc/portage/package.keywords


Next we have to make sure the patches can be loaded in the ebuild of wine.

Code:
mkdir -p /etc/portage/patches/app-emulation/wine-1.7.14


Code:
cp patches/*.patch /etc/portage/patches/app-emulation/wine-1.7.14/


Get sabayon overlay for pipelight.
Code:

emerge --ask layman

Code:

echo "source /var/lib/layman/make.conf" >> /etc/portage/make.conf

Code:

layman -L

Code:

layman -a sabayon


Now to set the right use flags for pipelight:
Code:
mkdir /etc/portage/package.use

Code:
echo “www-plugins/pipelight flash silverlight" > /etc/portage/package.use/netflix.use


Now you can install the software
Code:
emerge –ask wine corefonts pipelight firefox-bin


Code:
pipelight-plugin –create-mozilla-plugins


as user:
Code:
pipelight-plugin --enable silverlight

Code:
pipelight-plugin --enable flash


Start firefox-bin from a terminal and surf a bit. Pipelight will download the necessary software in the background. You can see the progress in your terminal. When it is finished close firefox-bin and proceed with the next steps.

as root:
Code:
nano -w /usr/share/pipelight/pipelight-silverlight5.1


Uncomment the following two lines

Code:

…......
enableGPUAcceleration=false     # disable GPU acceleration
…........

….......
overwriteArg      = enableGPUAcceleration=false
….........


save the file. (Note: with this config nvidia users dont need to set opengl to xorg-X11, but can leave it at nvidia)

Start firefox-bin as user and you are ready for the final steps.

Now you need a user agent overrider to make Netflix think you are on a Windows Machine.
See https://answers.launchpad.net/pipelight/+faq/2351 on how to do that and don't forget to set the user agent as advised on that page.

When you have done that, open in your Netflix in your browser, login into your account and enjoy watching.

Note: To make sure sabayon does not pull in system packages after installing pipeline I advice you to remove te overlay

as root:
Code:

layman -d sabayon


Last edited by white_tiger on Sat Mar 22, 2014 7:19 pm; edited 3 times in total
Back to top
View user's profile Send private message
Sansavarous
n00b
n00b


Joined: 15 Feb 2004
Posts: 22
Location: My computer.

PostPosted: Tue Mar 18, 2014 5:58 pm    Post subject: Reply with quote

Schaweet!

I'll give this a try tonight.
Back to top
View user's profile Send private message
moisespedro
n00b
n00b


Joined: 01 Jan 2014
Posts: 71

PostPosted: Sat Mar 22, 2014 1:39 pm    Post subject: Reply with quote

I have a problem with adding sabayon overlay: it tries to replaces normal gentoo packages. How can zi avoid this?
Back to top
View user's profile Send private message
white_tiger
n00b
n00b


Joined: 04 Oct 2011
Posts: 33

PostPosted: Sat Mar 22, 2014 7:21 pm    Post subject: Reply with quote

It shoult only install the needed packages for pipeline. After the install and when Netflix is working just do a

Code:

layman -d sabayon


as root to remove the overlay. You don't need it anymore untill there is a mayor update for pipeline for lets say full hardware acceleration for instance.
Back to top
View user's profile Send private message
rudregues
Apprentice
Apprentice


Joined: 29 Jan 2013
Posts: 198

PostPosted: Sat Mar 22, 2014 8:52 pm    Post subject: Reply with quote

moisespedro wrote:
I have a problem with adding sabayon overlay: it tries to replaces normal gentoo packages. How can zi avoid this?

You can mask the entire overlay and unmask only the packages you need. See here http://forums.gentoo.org/viewtopic-p-7518568.html#7518568
_________________
Emerging en gentoo
Back to top
View user's profile Send private message
agent14709
n00b
n00b


Joined: 29 Apr 2012
Posts: 3

PostPosted: Mon Apr 21, 2014 11:28 pm    Post subject: Reply with quote

Thanks for this tutorial, very easy and laid out nicely. I do have one issue, and that's with this line:
Code:
emerge –ask wine corefonts pipelight firefox-bin

I get an error that there are no ebuilds to satisfy media-libs/gst-plugins-ugly:0.10[abi_x86_32(-)]
Back to top
View user's profile Send private message
Nicias
Guru
Guru


Joined: 06 Dec 2005
Posts: 395

PostPosted: Tue Apr 22, 2014 8:39 pm    Post subject: Reply with quote

Worked for me!
Back to top
View user's profile Send private message
Nicias
Guru
Guru


Joined: 06 Dec 2005
Posts: 395

PostPosted: Tue Apr 22, 2014 8:41 pm    Post subject: Reply with quote

agent14709 wrote:
Thanks for this tutorial, very easy and laid out nicely. I do have one issue, and that's with this line:
Code:
emerge –ask wine corefonts pipelight firefox-bin

I get an error that there are no ebuilds to satisfy media-libs/gst-plugins-ugly:0.10[abi_x86_32(-)]

I put the following in some files:
Code:
$ cat /etc/portage/package.mask/overlay
*/*::sabayon

$ cat /etc/portage/package.unmask/overlay
www-plugins/pipelight::sabayon

That stopped portage from pulling in anything besides the pipelight plugin.
Back to top
View user's profile Send private message
rudregues
Apprentice
Apprentice


Joined: 29 Jan 2013
Posts: 198

PostPosted: Tue Apr 22, 2014 9:44 pm    Post subject: Reply with quote

Nicias, why do you make this way:
Nicias wrote:
Code:
$ cat /etc/portage/package.mask/overlay
*/*::sabayon

$ cat /etc/portage/package.unmask/overlay
www-plugins/pipelight::sabayon

Instead of this way:
Code:
$ cat /etc/portage/package.mask
*/*::sabayon

$ cat /etc/portage/package.unmask
www-plugins/pipelight::sabayon
?

(I'm asking because I read somewhere the former way is deprecated, but it was just a comment from someone, not official doc)
_________________
Emerging en gentoo
Back to top
View user's profile Send private message
Nicias
Guru
Guru


Joined: 06 Dec 2005
Posts: 395

PostPosted: Tue Apr 22, 2014 10:02 pm    Post subject: Reply with quote

I was under the impression that the directory method was preferable to the single-file method for organizational purposes.
Back to top
View user's profile Send private message
desultory
Administrator
Administrator


Joined: 04 Nov 2005
Posts: 8033

PostPosted: Wed Apr 23, 2014 3:08 am    Post subject: Reply with quote

rudregues wrote:
(I'm asking because I read somewhere the former way is deprecated, but it was just a comment from someone, not official doc)
It might be deprecated in certain specific environments, but that would be due to administrator preferences or other cases which would vary from outside of the norm to the verge of being wholly hypothetical.

As mentioned in the man page, the feature is not present in the package manager specification at this time. However, it should be noted that the specification deliberately avoids covering user side configuration. Lacking such a notice, that mention might be the source of some confusion which could lead to the impression that it was deprecated for user configuration.
Back to top
View user's profile Send private message
agent14709
n00b
n00b


Joined: 29 Apr 2012
Posts: 3

PostPosted: Wed Apr 23, 2014 11:55 pm    Post subject: Reply with quote

So I was able to get this to install finally, but when I load up Netflix I'm getting a DRM error (N8156-6205) after the initial loading screen when playing a video. The pipelight site has two other issues about this, but both of them seem related to not having xattr enabled, which I have enabled (I've used their example script which prints "Don't work" or "It worky!"). Any ideas? I'm trying to do this on Chrome, but have tested with Firefox as well.
Back to top
View user's profile Send private message
V1nnyM3
n00b
n00b


Joined: 07 Jan 2013
Posts: 8

PostPosted: Sun May 04, 2014 2:57 am    Post subject: Reply with quote

Oh yeah it works! This is the best howto out there thus far, version I installed 1.7.14. Only found one small clerical item:

Code:
emerge –ask wine corefonts pipelight firefox-bin


need to add the extra "-" so it's actually:

Code:
emerge --ask wine corefonts pipelight firefox-bin


Just in case any of the new folks stumble. Great howto though, well done!
Back to top
View user's profile Send private message
jfindlay
n00b
n00b


Joined: 12 Feb 2005
Posts: 2

PostPosted: Mon Jul 07, 2014 1:23 am    Post subject: Reply with quote

There is no need to manually apply the compholio patches. Any of wine-1.7.{19|20|21} or wine-9999 are already setup by the gentoo devs to apply the compholio patches via a github repo if you set USE='pipelight'. So, if ~<arch> wine works for you, an actually maintained compholio patchset can be obtained by:
Code:
# mkdir -p /etc/portage/package.use && echo 'app-emulation/wine pipelight' >> /etc/portage/package.use/pipelight

It may also be necessary to unmask wine so that you're emerging wine-1.7.19 or later:
Code:
# mkdir -p /etc/portage/package.accept_keywords && echo 'app-emulation/wine ~<arch>' >> /etc/portage/package.accept_keywords/pipelight
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
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