http://bugs.winehq.org/show_bug.cgi?id=31993
Bug #: 31993 Summary: Netflix on Firefox hangs with loading bar at 100% Product: Wine Version: 1.5.15 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: ehoover@mines.edu Depends on: 31858 Classification: Unclassified
After working around Bug #31858 Netflix still cannot load movies. The player now just barely loads the movie (blanks the screen) and the first second of the movie is heard, but after that the player just hangs. It's possible that the issue is that "streaming" data is not yet unsupported (this can be seen at http://web.sldrm.video.msn.com/d1/sldrm.html).
http://bugs.winehq.org/show_bug.cgi?id=31993
--- Comment #1 from Erich Hoover ehoover@mines.edu 2012-10-17 15:12:19 CDT --- Steps to reproduce: 0) Create a new Wine prefix and do not install Mono 1) Apply attachment 42172 to work around Bug #31858. 2) Download and install a recent Windows version of Firefox: wget -O Firefox-14.0.1.exe http://download.mozilla.org/?product=firefox-14.0.1-funnelcake13&os=win&...; wine Firefox-14.0.1.exe 3) Launch Firefox 4) Download the Silverlight 4.x installer from within Wine Firefox ( http://go.microsoft.com/fwlink/?LinkID=149156&v=4.0 ). Due to Bug #31881 you should not install Silverlight 5.x 5) Click "Save File" to save the Silverlight installer 6) Double click the "Silverlight.exe" file in the download window and click "Ok" 7) Click "Install now" 8) Uncheck "Enable Microsoft Update" and click "Next>" and then click "Close" 9) Login to Netflix and attempt to play a movie/show
http://bugs.winehq.org/show_bug.cgi?id=31993
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=31993
--- Comment #2 from Austin English austinenglish@gmail.com 2012-10-17 15:15:57 CDT --- (In reply to comment #1)
Steps to reproduce: 0) Create a new Wine prefix and do not install Mono
Does mono break this in some way? Or simply isn't needed?
http://bugs.winehq.org/show_bug.cgi?id=31993
--- Comment #3 from Erich Hoover ehoover@mines.edu 2012-10-17 15:38:19 CDT --- (In reply to comment #2)
(In reply to comment #1)
Steps to reproduce: 0) Create a new Wine prefix and do not install Mono
Does mono break this in some way? Or simply isn't needed?
That's an old instruction from when I didn't realize that you don't need .NET to use Silverlight. I've tested this now and it works just fine with a prefix that contains Mono.
http://bugs.winehq.org/show_bug.cgi?id=31993
Mike Ellery mellery@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mellery@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=31993
--- Comment #4 from Erich Hoover ehoover@mines.edu 2012-10-18 10:39:44 CDT --- Ok, just a quick digging into this indicates that the problem may be related to an exception: 0046:Call KERNEL32.WideCharToMultiByte(0000fde9,00000000,05f58fc0 L"System.Collections.Generic.KeyNotFoundException: [Arg_KeyNotFound]\r\nArguments: \r\nDebugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem. See http://go.microsoft.com/fwlink/?linkid=106663&Version=4.1.10329.0&Fi...) ret=0169ebd5
This occurs almost immediately after trying to work with a strange URL: pack://application/Netflix.Silverlight.CBPApp;component/Effects/BrightnessContrast.ps which distinctly has no entry in PROTOCOLS\Handler\pack ...
I probably won't have time to look into this much more for a few weeks, but this seems like a good place to start if anyone else has some time.
http://bugs.winehq.org/show_bug.cgi?id=31993
Ben Klopfenstein benklop@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |benklop@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=31993
Erich Hoover ehoover@mines.edu changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |wininet
--- Comment #5 from Erich Hoover ehoover@mines.edu 2012-10-30 11:51:21 CDT --- Based on a hunch (an InternetCrackUrlW call before the crash) I pulled in a native wininet DLL and that successfully works around the issue in this bug. Netflix will finally play videos successfully!
My suspicion is that InternetCrackUrlW returns something unexpected, but I'll have to dig into it a little deeper to find out for sure. After Bug #31858 is committed then I'll look into this a little deeper, I just had a few spare minutes and I wanted to test out this hunch.
http://bugs.winehq.org/show_bug.cgi?id=31993
--- Comment #6 from Erich Hoover ehoover@mines.edu 2012-10-30 12:38:18 CDT --- Created attachment 42333 --> http://bugs.winehq.org/attachment.cgi?id=42333 Fix InternetCrackUrl parsing URLs containing a semicolon.
Well, apparently this was easier to look into than I thought (though I really shouldn't have taken the time anyway). It looks like InternetCrackUrl should not consider a semicolon as the start of "extra" data (see attachment). With this fixed then Netflix will load properly without native wininet.
Note: You still need to work around Bug #31858, but you also need to make sure you don't move the mouse over the player until it's finished loading - this causes it to lock up for some reason.
http://bugs.winehq.org/show_bug.cgi?id=31993
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nerv@dawncrow.de
http://bugs.winehq.org/show_bug.cgi?id=31993
Bobby Powers bobbypowers@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bobbypowers@gmail.com
--- Comment #7 from Bobby Powers bobbypowers@gmail.com 2012-10-31 20:56:21 CDT --- (In reply to comment #6)
Created attachment 42333 [details] Fix InternetCrackUrl parsing URLs containing a semicolon.
Well, apparently this was easier to look into than I thought (though I really shouldn't have taken the time anyway). It looks like InternetCrackUrl should not consider a semicolon as the start of "extra" data (see attachment). With this fixed then Netflix will load properly without native wininet.
Note: You still need to work around Bug #31858, but you also need to make sure you don't move the mouse over the player until it's finished loading - this causes it to lock up for some reason.
With just this patch (wininet: Fix InternetCrackUrl parsing URLs containing a semicolon. from http://source.winehq.org/patches/data/91571) and the partial patch from 31858, netflix works.
amazing work
http://bugs.winehq.org/show_bug.cgi?id=31993
Dr. Wes Snyder V wessnyder@comcast.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |wessnyder@comcast.net
--- Comment #8 from Dr. Wes Snyder V wessnyder@comcast.net 2012-11-05 13:21:53 CST --- Hello,
I can confirm the the three patches:
[1/3] http://source.winehq.org/patches/data/91569 [2/3] http://source.winehq.org/patches/data/91570 [3/3] http://source.winehq.org/patches/data/91571
from thread http://bugs.winehq.org/show_bug.cgi?id=31858 make Netflix work. I followed the guide here, no mono (did not ask for it), no other winetrickery, Firefox 14, and Silverlight 4.x.
I want to make a note this only works for 32bit LINUX. Under my main 64bit Ubuntu 12.04, Netflix still errors out.
http://bugs.winehq.org/show_bug.cgi?id=31993
--- Comment #9 from Dr. Wes Snyder V wessnyder@comcast.net 2012-11-05 14:36:17 CST --- Hello,
Update, I can play NetFlix on my 64bit Ubuntu after I created a 32bit PREFIX. I moved the proper folders from my 32bit VM to a folder on my 64bit and pointed Firefox in the PREFIX to this wine. The folders resided at usr/local: bin, include, lib, and share.
I can try from a chroot as well. I already have the chroot setup on the 64bit OS. I am confident this will work from the chroot as well. I know a 64bit PREFIX will not work as I have tried the patches already.
http://bugs.winehq.org/show_bug.cgi?id=31993
--- Comment #10 from André H. nerv@dawncrow.de 2012-11-05 15:55:15 CST --- (In reply to comment #9)
Hello,
Update, I can play NetFlix on my 64bit Ubuntu after I created a 32bit PREFIX. I moved the proper folders from my 32bit VM to a folder on my 64bit and pointed Firefox in the PREFIX to this wine. The folders resided at usr/local: bin, include, lib, and share.
Remember: You can simply create a 32bit WINEPREFIX on 64bit Linux e.g.: WINEARCH=win32 WINEPREFIX=~/.winenetflix32 wineboot
http://bugs.winehq.org/show_bug.cgi?id=31993
--- Comment #11 from Dr. Wes Snyder V wessnyder@comcast.net 2012-11-05 16:17:32 CST --- Hello,
Yes, thanks. However, creating the 32bit PREFIX does not aide in changing the code and compiling a 32bit wine version, thus the 32bit VM or the chroot on the 64bit one. I tried the suggestions at http://wiki.winehq.org/Wine64 to compile both versions at once but it did not work. Anyone have suggestions?
http://bugs.winehq.org/show_bug.cgi?id=31993
--- Comment #12 from Erich Hoover ehoover@mines.edu 2012-11-05 16:19:37 CST --- (In reply to comment #11)
Hello,
Yes, thanks. However, creating the 32bit PREFIX does not aide in changing the code and compiling a 32bit wine version, thus the 32bit VM or the chroot on the 64bit one. I tried the suggestions at http://wiki.winehq.org/Wine64 to compile both versions at once but it did not work. Anyone have suggestions?
From an email I recently posted wine-devel:
==== I just upgraded to 12.04, until they fix the "32-bit headers problem" you'll have to manually create the symbolic links for the "-dev" package behavior: ---- cd /usr/lib/i386-linux-gnu sudo ln -s libfreetype.so.6 libfreetype.so sudo ln -s libXau.so.6 libXau.so sudo ln -s libXcursor.so.1 libXcursor.so sudo ln -s libXi.so.6 libXi.so sudo ln -s libXext.so.6 libXext.so sudo ln -s libXxf86vm.so.1 libXxf86vm.so sudo ln -s libXrandr.so.2 libXrandr.so sudo ln -s libXrender.so.1 libXrender.so sudo ln -s libXinerama.so.1 libXinerama.so sudo ln -s libXcomposite.so.1 libXcomposite.so sudo ln -s libGLU.so.1 libGLU.so sudo ln -s libOSMesa.so.6 libOSMesa.so sudo ln -s libgnutls.so.26 libgnutls.so sudo ln -s libsane.so.1 libsane.so sudo ln -s libv4l1.so.0 libv4l1.so sudo ln -s libv4l2.so.0 libv4l2.so sudo ln -s liblcms.so.1 liblcms.so sudo ln -s libcapi20.so.3 libcapi20.so sudo ln -s libcups.so.2 libcups.so sudo ln -s libfontconfig.so.1 libfontconfig.so sudo ln -s libtiff.so.4 libtiff.so sudo ln -s libmpg123.so.0 libmpg123.so sudo ln -s libodbc.so.1 libodbc.so sudo ln -s libopenal.so.1 libopenal.so sudo ln -s libldap-2.4.so.2 libldap.so sudo ln -s libldap_r-2.4.so.2 libldap_r.so sudo ln -s liblber-2.4.so.2 liblber.so sudo ln -s libxml2.so.2 libxml2.so sudo ln -s libxslt.so.1 libxslt.so sudo ln -s libssl.so.0.9.8 libssl.so sudo ln -s libcrypto.so.0.9.8 libcrypto.so sudo ln -s libjpeg.so.8 libjpeg.so sudo ln -s mesa/libGL.so libGL.so cd /usr/lib/i386-linux-gnu/mesa sudo ln -s libGL.so.1 libGL.so cd /lib/i386-linux-gnu sudo ln -s libdbus-1.so.3 libdbus-1.so sudo ln -s libpng12.so.0 libpng.so ----
It is important to note that all the above assumes that you have all the packages you need loaded in ":i386" form. I have not included packages that won't coinstall on amd64 or haven't gotten to work (libhal, libgsm, gstreamer, libgphoto2). If your setup is anything like mine then you'll only need to add a couple more packages: sudo apt-get install libosmesa6:i386 libosmesa-dev libjpeg-turbo8-dev:i386
It's possible that I'm missing a few links, but I've tested the above configuration and it compiles and works for the few things I've opened so far (Firefox, Borderlands, and Diablo III).
Erich
PS: You may need to work around Bug #30410 (http://bugs.winehq.org/show_bug.cgi?id=30410), without that fix I couldn't play Borderlands. ====
http://bugs.winehq.org/show_bug.cgi?id=31993
--- Comment #13 from Dr. Wes Snyder V wessnyder@comcast.net 2012-11-06 06:50:43 CST --- Hello,
I added the following: sudo apt-get install libosmesa6:i386 libosmesa-dev libjpeg-turbo8-dev:i386 and now Silverlight plugin crashes with no error report. I will check to see if I can compile wine64 and wine following the rest of the post. I may need to uninstall the last items I installed? I did try re-installing the Silverlight plugin to no avail.
http://bugs.winehq.org/show_bug.cgi?id=31993
--- Comment #14 from Dr. Wes Snyder V wessnyder@comcast.net 2012-11-06 07:12:23 CST --- Hello,
I figured out why Silverlight generated an error. When I installed the additional packages my OpenGL driver was removed. I have an ATI 3870 X2 card. I reinstalled the driver and Netflix works again. However, now it appears stuck in fast forward mode along with the sound. Actually, it did this yesterday after the third movie/show. I will restart the computer to see if that clears it up.
On the symbolic link side, I checked some of the ones mentioned and it appears I already have symbolic links. I found this under /usr/lib/i386-linux-gnu:
lrwxrwxrwx 1 root root 15 Nov 9 2011 libXau.so.6 -> libXau.so.6.0.0 -rw-r--r-- 1 root root 9588 Nov 9 2011 libXau.so.6.0.0
Not sure if I should change these or not.
http://bugs.winehq.org/show_bug.cgi?id=31993
--- Comment #15 from Dr. Wes Snyder V wessnyder@comcast.net 2012-11-06 08:26:57 CST --- Hello,
Computer restart corrected the audio and video playback.
http://bugs.winehq.org/show_bug.cgi?id=31993
--- Comment #16 from Dr. Wes Snyder V wessnyder@comcast.net 2012-11-06 15:08:05 CST --- (In reply to comment #15)
Hello,
Computer restart corrected the audio and video playback.
The sound and video problems come back after one movie or TV episode. I can resolve if I move the slider bar multiple times back and forth to 'sync' or 'slow' the sound and video to normal speed. Not sure if the logs would show this behaviour.
http://bugs.winehq.org/show_bug.cgi?id=31993
--- Comment #17 from Erich Hoover ehoover@mines.edu 2012-11-07 17:26:47 CST --- (In reply to comment #9)
Update, I can play NetFlix on my 64bit Ubuntu after I created a 32bit PREFIX. ...
Could you please create a new bug for the 64-bit failure and put a dependency on this bug?
(In reply to comment #16)
... The sound and video problems come back after one movie or TV episode. I can resolve if I move the slider bar multiple times back and forth to 'sync' or 'slow' the sound and video to normal speed. Not sure if the logs would show this behaviour.
I've not noticed this particular issue, but when I do (rarely) notice audio issues with Wine I've noticed that they can be resolved by executing "pulseaudio -k". You might give that a try.
http://bugs.winehq.org/show_bug.cgi?id=31993
Dr. Wes Snyder V wessnyder@comcast.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |32171
http://bugs.winehq.org/show_bug.cgi?id=31993
--- Comment #18 from Dr. Wes Snyder V wessnyder@comcast.net 2012-11-08 06:03:42 CST --- (In reply to comment #17)
(In reply to comment #9)
Update, I can play NetFlix on my 64bit Ubuntu after I created a 32bit PREFIX. ...
Could you please create a new bug for the 64-bit failure and put a dependency on this bug?
(In reply to comment #16)
... The sound and video problems come back after one movie or TV episode. I can resolve if I move the slider bar multiple times back and forth to 'sync' or 'slow' the sound and video to normal speed. Not sure if the logs would show this behaviour.
I've not noticed this particular issue, but when I do (rarely) notice audio issues with Wine I've noticed that they can be resolved by executing "pulseaudio -k". You might give that a try.
Hello,
I created Bug 32171 with dependency on this one as requested.
http://bugs.winehq.org/show_bug.cgi?id=31993
--- Comment #19 from Dr. Wes Snyder V wessnyder@comcast.net 2012-11-08 07:54:04 CST --- (In reply to comment #18)
(In reply to comment #17)
(In reply to comment #9)
Update, I can play NetFlix on my 64bit Ubuntu after I created a 32bit PREFIX. ...
Could you please create a new bug for the 64-bit failure and put a dependency on this bug?
(In reply to comment #16)
... The sound and video problems come back after one movie or TV episode. I can resolve if I move the slider bar multiple times back and forth to 'sync' or 'slow' the sound and video to normal speed. Not sure if the logs would show this behaviour.
I've not noticed this particular issue, but when I do (rarely) notice audio issues with Wine I've noticed that they can be resolved by executing "pulseaudio -k". You might give that a try.
Hello,
I created Bug 32171 with dependency on this one as requested.
Pulseaudio -k seemed to work. I ran the command and restarted the show. Note: the show would not play after running this command. I could move the bar around and the screen would adjust but not play. Minor annoyance.
http://bugs.winehq.org/show_bug.cgi?id=31993
Erich Hoover ehoover@mines.edu changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |499c53175bd9e886dcbf02d0a70 | |bad0d1ac0b900 Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #20 from Erich Hoover ehoover@mines.edu 2012-11-17 16:29:25 CST --- This issue is now fixed by commit 499c53175bd9e886dcbf02d0a70bad0d1ac0b900.
http://bugs.winehq.org/show_bug.cgi?id=31993
--- Comment #21 from Bobby Powers bobbypowers@gmail.com 2012-11-18 10:18:39 CST --- (In reply to comment #20)
This issue is now fixed by commit 499c53175bd9e886dcbf02d0a70bad0d1ac0b900.
awesome! thanks Erich!
http://bugs.winehq.org/show_bug.cgi?id=31993
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #22 from Alexandre Julliard julliard@winehq.org 2012-11-23 14:30:09 CST --- Closing bugs fixed in 1 5.18.
http://bugs.winehq.org/show_bug.cgi?id=31993
--- Comment #23 from Dr. Wes Snyder V wessnyder@comcast.net 2012-11-23 18:58:54 CST --- Hello,
I tested with wine1.5.18 and it did not work. I received the same error message before the fixes were updated. I also tried the 64bit and it stopped at 20% (will post under that bug later). Before I generate a WINEDEBUG, can someone else test?
http://bugs.winehq.org/show_bug.cgi?id=31993
--- Comment #24 from Erich Hoover ehoover@mines.edu 2012-11-23 19:10:24 CST --- (In reply to comment #23)
Hello,
I tested with wine1.5.18 and it did not work. I received the same error message before the fixes were updated. I also tried the 64bit and it stopped at 20% (will post under that bug later). Before I generate a WINEDEBUG, can someone else test?
Bug #31858 is not fixed in git yet.
https://bugs.winehq.org/show_bug.cgi?id=31993 Bug 31993 depends on bug 31858, which changed state.
Bug 31858 Summary: Netflix on Firefox fails with Internet Connection Problem when loading bar is at 99% https://bugs.winehq.org/show_bug.cgi?id=31858
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |DUPLICATE