TESTED ON UBUNTU 's 15.10 (Wily) and 12.10 (Quantal Quetzal) and 13.04 (Raring Ringtail)
it works on every edition after 12.04
REVIEWED 02/23/2016
NETFLIX-DESKTOP
After trying lots of different kind of things to solve this problem (with any luck on mi side) I figure that the problem consists that the videos where running too fast, in fast forward, like 2 times faster making videos unwatchable and sound sharper. That's when I started to do some benchmark tests, and process speed comparisons.
Then, I came to the conclussion that the speed of the whole "netflix-desktop" "wine" "silverlight" and maybe other process launched from netflix-desktop were obeying the speed of the pulseaudio daemon, and this last was running too fast in my box, a 4 core cpu processor.
THE SOLUTION. (tested on 32 bits and 64 bits ubuntu distributions)
By slowing down the pulseaudio daemon with cpulimit, all run like a charm !
1- Install cpulimit if you don't have it.
$ sudo apt-get install cpulimit
2- Launch cpulimit slowing down pulseaudio and run netflix after that.
$ cpulimit -e pulseaudio -c 1 -l 10 & netflix-desktop
(although I use pulseaudio, it could work for other audio daemons, you should try)
notes:
-e pulseaudio (finds the pid by the name)
-c 1 (uses only 1 core)
-l 10 (limit the core to 10% of its speed for the chosen application)
& netflix-desktop (runs netflix-desktop inmediatly after cpulimit succeeds launching)
ENJOY !!! (please "like" it if you find it useful)
Thanks so much! It worked like a charm for me.
ReplyDeleteThanks.. Worked on Mint 15.
ReplyDeleteI am glad it worked for you too...
ReplyDeleteSadly, my 12.04 install says
ReplyDeletecpulimit: invalid option -- 'c'
I copied and pasted from your blog entry above, any ideas? It says it's cpulimit (1.4-1) if that matters.
Also, I'm curious to know if this is something that (should it work for me) I will need to do every time I fire up Netflix, or will it remain running in the background and only come into play when I use Netflix?
Glad someone is addressing this.:)
you have to use only one '-' check cpulimit -h for help... the c stands for cores...
DeleteGetting the same result for 12.04:
Deletecpulimit: invalid option -- 'c'
Used the line:
$ cpulimit -e pulseaudio -c 1 -l 10 & netflix-desktop
No result, still choppy.
try playing around with those values...
Delete-c is the number of cores...
-l limit up to 10% try reducing it...let's say from 1 to 10...
Invalid option -- 'c'.
ReplyDeleteDamn--so close, yet so far away. Thanks for working on this, though. I hope we figure this 'c' issue out.
I am running Ubuntu 12.04 and am running a ThinkPad 15 with an Intel i3 (2 core) processor.
just in case
Deletesudo apt-get update
sudo apt-get install cpulimit
and make sure to type it correctly "-c" no spaces.
your post leads me towards the right direction
ReplyDeletethank you
DeleteRestarting pulseaudio with the command:
ReplyDelete$ pulseaudio -k
Also does the trick.
nice, didn't try that !
DeleteIt worked well.
ReplyDelete$ pkill netflix; pulseaudio -k; cpulimit -e pulseaudio -c 1 -l 10 & netflix-desktop
Your work is deserved to be appreciated hard working efforts done in your blog.
ReplyDeletethank you so much its better but the sound is still off a little bit
ReplyDeletei think i just need to fine tune it