| View previous topic :: View next topic |
| Author |
Message |
cctsurf n00b


Joined: 12 Oct 2006 Posts: 64
|
Posted: Thu Feb 14, 2013 5:08 am Post subject: HOWTO: Install Netflix on Gentoo |
|
|
as root:
| Code: | | echo ">app-emulation/wine-1.5.30" >> /etc/portage/packages.mask |
Download Patches from http://www.compholio.com/wine-compholio/#patches
if your patches were from wine-1.5.29 or before, re-download the patches for wine 1.5.30 and above, they have changed.
| Code: | mkdir /etc/portage/patches/app-emulation/wine-1.5.30 -p
cp *.patch /etc/portage/patches/app-emulation/wine-1.5.30/
emerge wine winetricks |
as user:
| Code: | | wget -O Firefox-18.0.2.exe http://download.mozilla.org/?product=firefox-18.0.2\&os=win\&lang=en-US; wine Firefox-18.0.2.exe /S |
Install Silverlight in wine: | Code: | | wget -O Silverlight-4.exe http://silverlight.dlservice.microsoft.com/download/6/A/1/6A13C54D-3F35-4082-977A-27F30ECE0F34/10329.00/runtime/Silverlight.exe; wine Silverlight-4.exe /q |
Install Fonts: | Code: | | winetricks allfonts |
Verify Extended Attribute support: (if these fail, we'll have to make certain that extended attributes are enabled)
| Code: |
cd ~/.wine
touch tt
setfattr -n "user.testAttr" -v "attribute value" tt
getfattr tt
|
If the above fails we have to check whether our kernel supports extended attributes in either /boot/config-?.?.?-gentoo or /usr/src/linux/.config
If XATTR is not enabled for your root and home file systems, it must be enabled in the kernel config
Whether or not XATTR is enabled, if the system fails the Extended Attribute support, we must add it to /etc/fstab by adding user_xattr to the options in fstab (ie defaults,user_xattr) for the / filesystem. you can remount without rebooting by using
I had to set opengl to x11-org: as root | Code: | | eselect opengl set xorg-x11 |
Start Firefox in Wine: | Code: | | wine "C:\Program Files\Mozilla Firefox\firefox.exe" http://netflix.com/ |
login to Netflix as you normally would and try to stream something
Troubleshooting:
if error N8156-6022 you have XATTR problems
if error N8156-6013: find mspr.hds under ~.wine and delete it
Last edited by cctsurf on Mon May 13, 2013 5:11 pm; edited 8 times in total |
|
| Back to top |
|
 |
cctsurf n00b


Joined: 12 Oct 2006 Posts: 64
|
Posted: Thu Feb 14, 2013 6:44 pm Post subject: |
|
|
Works beautifully on my desktop, however, I'm running into an error on my laptop (actually the same error on my netflix-desktop on my kubuntu computer).
The Error is n8102-154-3035, just as silverlight is beginning streaming, it seems to be a network error, Netflix says, "does your network limit streaming?", or possibly "is your ip address outside of the netflix country?" |
|
| Back to top |
|
 |
charetjc n00b

Joined: 21 Jul 2006 Posts: 19
|
Posted: Sun Feb 17, 2013 3:43 pm Post subject: |
|
|
I hear the audio, but no video.
During playback, firefox stops updating the browser window and my terminal is spammed with
| Code: | | fixme:d3d:wined3d_swapchain_present Ignoring flags 0x80000000. |
I'm not sure why I don't see any video, but it may be related to:
* my Gentoo is unstable (~amd64)
* I run a multihead 2-monitor display with nvidia-drivers-313.18 and awesome wm I did have to start Firefox in Wine with the (x86) path. | Code: | | wine "C:\Program Files (x86)\Mozilla Firefox\firefox.exe" http://netflix.com/ |
Update:
I checked out http://www.iis.net/media/experiencesmoothstreaming from a wine bug, the embedded playback is decent (smooth, but artifacts around the edges).
Switching to fullscreen playback either stalls video refreshing, or offsets the video such that it'd be centered across both screens (except my browser window is confined to one screen).
Update 2:
Screwing with fullscreen mode while a video's playing (pressing f and escape) until I get a window with working video gets me one step closer.
Now if I could only convince silverlight to stretch the video to fill the window. I get a silverlight window that expects to fill both screens (which I can't force), so my silverlight is confined to one screen and the video is horizontally squeezed. At least I don't have to dual boot windows just for netflix.
Thanks for the how-to OP.
Last edited by charetjc on Sun Feb 17, 2013 4:45 pm; edited 2 times in total |
|
| Back to top |
|
 |
666threesixes666 Apprentice


Joined: 31 May 2011 Posts: 289
|
Posted: Sun Feb 17, 2013 4:14 pm Post subject: |
|
|
hi ive written wiki.gentoo.orgs sudo, git, rails, passenger and other wikis.... someone told me that with netflix you get so many accounts to give away.... if you were to hook it up with a netflix guest account id work to get it running linux native. i was looking into "start your free month" but i only have a check card with like 2 dollars on it.  _________________ Satan compels thee |
|
| Back to top |
|
 |
cctsurf n00b


Joined: 12 Oct 2006 Posts: 64
|
Posted: Tue Feb 19, 2013 10:57 am Post subject: |
|
|
@charetjc:
Did you change your opengl to x11-org? (I know, it sounds crazy, but it works.)
| Code: | | eselect opengl set xorg-x11 |
I had that problem initially as well.
I have a multi-screen (6) setup as well, and when I restarted x, I had just as high a frame rate on glx-gears as I had using nvidia's opengl setup.
Hope that helps |
|
| Back to top |
|
 |
efudd n00b

Joined: 24 Mar 2013 Posts: 1
|
Posted: Sun Mar 24, 2013 11:35 pm Post subject: |
|
|
Hmm. this just gives me a 1001 error saying the player could not be loaded. :/
*EDIT* tried again from scratch...
The 1001 error may have been caused by my failure to use winetricks to install allfonts.
Also, it looks like the opengl thing can be done without restarting X11... I set, started the app and all was good (stuck at 98% streaming for a while).
Not getting an HD stream yet, however.. thank you, tho!
-e |
|
| Back to top |
|
 |
jaake n00b

Joined: 22 Mar 2013 Posts: 1
|
Posted: Thu Apr 04, 2013 3:48 am Post subject: getting error 8N156-6013 |
|
|
I know it says to find mspr.hds in ~/.wine but I can't find that file anywhere. _________________ #: emerge life |
|
| Back to top |
|
 |
gary987 n00b

Joined: 07 Oct 2006 Posts: 11
|
Posted: Mon Apr 15, 2013 12:49 am Post subject: |
|
|
Patches no longer compile?
/var/tmp/portage/app-emulation/wine-1.5.26/work/wine-1.5.26/dlls/ws2_32/socket.c: In function 'WSAIoctl':
/var/tmp/portage/app-emulation/wine-1.5.26/work/wine-1.5.26/dlls/ws2_32/socket.c:3397:8: error: too many arguments to function '_is_blocking'
/var/tmp/portage/app-emulation/wine-1.5.26/work/wine-1.5.26/dlls/ws2_32/socket.c:806:12: note: declared here
x86_64-pc-linux-gnu-gcc -m32 -c -I/var/tmp/portage/app-emulation/wine-1.5.26/work/wine-1.5.26/dlls/wsock32 -I. -I/var/tmp/portage/app-emulation/wine-1.5.26/work/wine-1.5.26/include -I../../include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers -Wstrict-prototypes -Wtype-limits -Wunused-but-set-parameter -Wwrite-strings -fno-omit-frame-pointer -Wpointer-arith -Wlogical-op -I/usr/include/freetype2 -O2 -pipe -march=athlon64-sse3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -o socket.o /var/tmp/portage/app-emulation/wine-1.5.26/work/wine-1.5.26/dlls/wsock32/socket.c
make[1]: *** [socket.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-emulation/wine-1.5.26/work/wine-1.5.26-x86/dlls/ws2_32'
make: *** [dlls/ws2_32] Error 2
make: *** Waiting for unfinished jobs.... |
|
| Back to top |
|
 |
cctsurf n00b


Joined: 12 Oct 2006 Posts: 64
|
Posted: Mon Apr 15, 2013 4:33 am Post subject: |
|
|
If your patches are not compiling, new versions of the patch are available that now support versions 1.5.27 and 1.5.28 please redownload the patches from the site above.
Note that I edit and update the post as I have the opportunity to try new versions of wine with netflix.
with regard to finding mspr.hds, try the following:
| Code: |
cd ~/.wine
find | grep mspr.hds
|
Hope that helps.
cctsurf |
|
| Back to top |
|
 |
siknasa9 n00b

Joined: 09 Dec 2011 Posts: 19
|
Posted: Tue Apr 16, 2013 6:21 am Post subject: |
|
|
Anyone know a way to bypass the silverlight upgrade? I searched and the only "fix" I found was to delete a folder that is only created on the Ubuntu install. _________________ Autobots... roll out!! |
|
| Back to top |
|
 |
jpicard n00b

Joined: 18 Apr 2013 Posts: 1
|
Posted: Thu Apr 18, 2013 11:40 pm Post subject: |
|
|
@cctsurf
Thanks for your guide. I was a able to get it working with wine-9999 winetricks-99999999. When installing firefox and silverlight I had not use the /S and /q flags, otherwise wine couldn't execute the installers. They can't have been too important since it worked without them, but what were those flags supposed to do? |
|
| Back to top |
|
 |
NuMPTy Tux's lil' helper

Joined: 04 Mar 2012 Posts: 75
|
Posted: Fri Apr 19, 2013 5:42 pm Post subject: |
|
|
Worked great for me, thanks for the how-to
Edit:: Actually, apparently not so great. It seems to be extremely choppy, even on the lowest quality setting (CPU isn't maxed). Box that I'm testing on:
3.8.6-gentoo #1 SMP Thu Apr 11 07:24:28 EDT 2013 x86_64 Intel(R) Xeon(R) CPU X3440 @ 2.53GHz
Nvidia 460GTX 768MB for Video
Any ideas? _________________ ACCEPT_KEYWORDS="~amd64" |
|
| Back to top |
|
 |
gary987 n00b

Joined: 07 Oct 2006 Posts: 11
|
Posted: Tue Apr 23, 2013 2:59 am Post subject: |
|
|
| NuMPTy wrote: | Worked great for me, thanks for the how-to
Edit:: Actually, apparently not so great. It seems to be extremely choppy, even on the lowest quality setting (CPU isn't maxed). Box that I'm testing on:
3.8.6-gentoo #1 SMP Thu Apr 11 07:24:28 EDT 2013 x86_64 Intel(R) Xeon(R) CPU X3440 @ 2.53GHz
Nvidia 460GTX 768MB for Video
Any ideas? |
Well your Video card should be fine. I have no trouble running it on a Nvidia GT 210 card with compositing on. |
|
| Back to top |
|
 |
charetjc n00b

Joined: 21 Jul 2006 Posts: 19
|
Posted: Thu Apr 25, 2013 6:10 am Post subject: |
|
|
| cctsurf wrote: | @charetjc:
Did you change your opengl to x11-org? (I know, it sounds crazy, but it works.)
| Code: | | eselect opengl set xorg-x11 |
|
@cctsurf:
Originally, my video issues sorted themselves out. They returned while sorting out this issue with the Silverlight upgrade, and this advice worked perfectly for me. Thanks.
For anyone trying to fix the silverlight upgrade on netflix, here's what I did.
| Code: | $ wine Silverlight.exe /qu
$ wine Silverlight.exe /q
| Hopefully that gets netflix working for ya.
@cctsurf: if this works for enough people, feel free to add these directions to the end of your OP guide  |
|
| Back to top |
|
 |
cctsurf n00b


Joined: 12 Oct 2006 Posts: 64
|
Posted: Mon May 13, 2013 5:20 pm Post subject: |
|
|
Has charetjc's post worked for people? I've not had to upgrade silverlight yet, so I'm not a good test case. I'll follow his directions when I can get a moment and see how they work...
I'm not getting notifications on this thread anymore, that's annoying, I didn't see this until I was updating for wine-1.5.30.
If you are wanting to try his directions and keep your current wine install for backup, you can do the following:
| Code: | cd
cp -a .wine old.wine
|
follow charetjc's instructions
if they work for you,
if they dont,
| Code: | cd
rm -rf .wine
mv old.wine wine
|
|
|
| Back to top |
|
 |
cctsurf n00b


Joined: 12 Oct 2006 Posts: 64
|
Posted: Sat May 18, 2013 9:27 pm Post subject: |
|
|
This upgrade failed for me. I had audio but no picture. Erich notes in the forum you referenced that he cannot support silverlight 5, but that we should only be upgrading to the latest silverlight-4.
| Quote: | | Kevin: Yes, a while back I changed the install process for Silverlight to launch with the "/noupdate" flag - so anyone that started with a profile from before that change would periodically be prompted to update. I ensure that the installed version for the initial profile is compatible with Wine, so far that means using the latest version of Silverlight 4.x (as I cannot support Silverlight 5.x at this time). |
|
|
| Back to top |
|
 |
|