Using Netflix on netflix-desktop results in a runaway process for Silverlight' s plugin-container
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Netflix Desktop |
Triaged
|
Low
|
Erich E. Hoover |
Bug Description
With a bitrate capped at 1050 through Netflix Quality Settings, the system becomes unresponsive after about 20 minutes of watching Netflix. When the Silverlight process runs away, CPU usage approaches 100% with frame rates dropping to below 10 and gradually falling to around 0 over the course of about a minute. Audio playback remains relatively unaffected (with only a few short 0.5-2 sec dropouts if the situation is allowed to degrade without killing plugin-container), but player controls, Firefox controls and the X11 GUI controls become unresponsive. Killing the plugin-container process restores both X11 and WINE to a responsive state, but playback cannot be resumed right away without falling back into the same condition. For the player to work for another 20-30 minutes, I have to either wait a few minutes or restart X11. Restarting Firefox, wine-compholio and X11 is not necessary with a wait of about 5 minutes.
The onset of the issue happens much more quickly with bitrates above 1050, but is not much different until I drop the bitrate below 560. Below 560, CPU usage continues to be abnormally high and frame rates are relatively low, but the system does not lock up completely. Pausing the video from time to time and adjusting video quality settings are about the only things that prevent the runaway process altogether. Disabling pulseaudio* and falling back on ALSA does not stop the runaway process but does improve the sound quality and synchronization to some extent.
https:/
I'm not entirely sure that this bug is unique to netflix-desktop, since you can find a variety of reports like this for capable OS X and Windows machines. I should note that similar framrate issues are happening for me using a virtual machine loaded with Windows XP, but not with other streaming video content sites, even at 720p.
2.1GHz Core2 Duo w/ 4GB RAM, SATA 2 HD, 1360x768@60HZ VGA Display, Intel 4500MHD running Ubuntu Precise w/ LXDE (bugs happen w/ both Compiz & OpenBox).
*NOTE: Disabling pulseadio in LXDE results in lxpanel eating up CPU cycles, which gets better after killing the panel and respawning it. Given the LXDE bug with pulseaudio, I'll try again with a different Desktop and post back with a comment here.
summary: |
- Using Netflix on on netflix-desktop results in a runaway process for + Using Netflix on netflix-desktop results in a runaway process for Silverlight' s plugin-container |
netflix-desktop version is 0.6.1~precise
Tested again on KDE, Trinity KDE (3.5 fork), Gnome3 and Razor-qt. Guess I could still try XFCE...
netflix-desktop worded best on Trinity, where I got better frame rates (average 24fps) and longer play before things started locking up with the 1050 bit rate. Normal KDE had the best compositing, but it didn't play as long. No frame tearing or other artifacts with either one. Gnome compositing was decent too, but plugin-container was short lived (before jerky playback stuttered to a halt).
The Netflix player loads a whole lot faster in Trinity and in KDE, but there was still the issue of waiting to start back up again to stay off the runaway process. Player controls worked better too--The mouse cursor has a habit of disappearing when exiting full screen with the Esc key in all environments, but less so with the KDEs.
The most common timing for the Silverlight mishaps had been around 20min into a video, which made me wonder if Caffeine had anything to do with it. Sure enough stopping Caffeine and disabling DPMS from the command line has been buying me a little more play time, but it hasn't completely resolved the issue.