You are not logged in.

#1 2010-04-25 02:37:11

broch
Banned
From: L.A. California
Registered: 2006-11-13
Posts: 975

High CPU usage in Flash/firefox fix (partial)

first don't keep your hopes high.
second it works for me
third I have nvidia 7400 Go
fourth it supposedly works better for intel cards.

method:
create /etc/adobe
sudo mkdir /etc/adobe
create file
mms.cfg
with this content:
OverrideGPUValidation = 1

move file to /etc/adobe

that is all
in my case this decreased CPU usage from ~70% to 45%. Not bad though still far cry from windows.

references:
http://blogs.adobe.com/penguin.swf/2008 … ile_1.html
http://ubuntuforums.org/showpost.php?p= … stcount=70

hope this will help

Offline

#2 2010-04-25 09:15:31

kokoko3k
Member
Registered: 2008-11-14
Posts: 1,520

Re: High CPU usage in Flash/firefox fix (partial)

Tried on youtube, fullscreen, same cpu usage:
first:

kokonicki@netbook ~ $ top -b|grep -i firefox
 3149 kokonick  20   0  399m 138m  37m S   95 13.9   3:55.62 firefox                                                                           
 3149 kokonick  20   0  399m 138m  37m R  106 13.9   3:58.85 firefox                                                                           
 3149 kokonick  20   0  425m 146m  37m D  110 14.7   4:02.22 firefox                                                                           
 3149 kokonick  20   0  445m 151m  39m R  123 15.2   4:05.94 firefox                                                                           
 3149 kokonick  20   0  445m 152m  39m S  151 15.3   4:10.55 firefox                                                                           
 3149 kokonick  20   0  445m 152m  39m R  151 15.3   4:15.18 firefox                                                                           
 3149 kokonick  20   0  445m 152m  39m R  149 15.3   4:19.74 firefox                                                                           
 3149 kokonick  20   0  445m 152m  39m S  156 15.3   4:24.48 firefox                                                                           
 3149 kokonick  20   0  445m 152m  39m S  154 15.3   4:29.17 firefox                                                                           
 3149 kokonick  20   0  445m 152m  39m S  153 15.3   4:33.88 firefox                                                                           
 3149 kokonick  20   0  445m 152m  39m R  153 15.3   4:38.61 firefox                                                                           
 3149 kokonick  20   0  445m 152m  39m S  150 15.3   4:43.18 firefox                                                                           
 3149 kokonick  20   0  445m 152m  39m R  155 15.3   4:47.92 firefox                                                                           
 3149 kokonick  20   0  445m 152m  39m S  155 15.3   4:52.66 firefox                                                                           
 3149 kokonick  20   0  445m 152m  39m S  150 15.3   4:57.28 firefox                                                                           
 3149 kokonick  20   0  445m 152m  39m R  153 15.3   5:01.97 firefox                                                                           
 3149 kokonick  20   0  445m 152m  39m S  151 15.3   5:06.57 firefox                                                                           
 3149 kokonick  20   0  445m 151m  39m R  152 15.2   5:11.22 firefox                                                                           
 3149 kokonick  20   0  445m 151m  39m R  151 15.2   5:15.82 firefox                                                                           
 3149 kokonick  20   0  446m 151m  39m S   34 15.2   5:16.85 firefox

after (browser reloaded, same video):

 4590 kokonick  20   0  368m 110m  38m R   98 11.1   0:31.68 firefox                                                                           
 4590 kokonick  20   0  400m 126m  38m R  102 12.7   0:34.82 firefox                                                                           
 4590 kokonick  20   0  408m 122m  37m R  133 12.2   0:38.88 firefox                                                                           
 4590 kokonick  20   0  408m 122m  37m R  149 12.3   0:43.40 firefox                                                                           
 4590 kokonick  20   0  408m 122m  37m R  152 12.3   0:48.07 firefox                                                                           
 4590 kokonick  20   0  409m 123m  37m S  146 12.4   0:52.52 firefox                                                                           
 4590 kokonick  20   0  409m 123m  37m R  150 12.4   0:57.13 firefox                                                                           
 4590 kokonick  20   0  409m 124m  37m R  156 12.5   1:01.88 firefox                                                                           
 4590 kokonick  20   0  410m 124m  37m R  154 12.5   1:06.56 firefox                                                                           
 4590 kokonick  20   0  410m 124m  37m S  150 12.5   1:11.13 firefox                                                                           
 4590 kokonick  20   0  410m 124m  37m S  150 12.5   1:15.69 firefox                                                                           
 4590 kokonick  20   0  410m 124m  37m R  156 12.5   1:20.48 firefox                                                                           
 4590 kokonick  20   0  410m 124m  37m S  146 12.5   1:24.94 firefox                                                                           
 4590 kokonick  20   0  410m 124m  37m S  155 12.5   1:29.65 firefox                                                                           
 4590 kokonick  20   0  410m 124m  37m R  152 12.5   1:34.29 firefox                                                                           
 4590 kokonick  20   0  410m 124m  37m R  150 12.5   1:38.88 firefox                                                                           
 4590 kokonick  20   0  410m 124m  37m R  154 12.5   1:43.55 firefox                                                                           
 4590 kokonick  20   0  410m 123m  37m R  149 12.4   1:48.07 firefox                                                                           
 4590 kokonick  20   0  410m 123m  37m S  105 12.4   1:51.27 firefox

Maybe it is because my intel card doesn't need it (945GME, without compositing).
Will try nvidia soon.

Last edited by kokoko3k (2010-04-25 09:17:48)

Offline

#3 2010-04-25 09:29:21

vito45
Member
Registered: 2008-12-18
Posts: 35

Re: High CPU usage in Flash/firefox fix (partial)

CPU usage is high but videos on youtube are smoother smile

Offline

#4 2010-04-25 14:10:45

empthollow
Member
Registered: 2009-09-26
Posts: 168

Re: High CPU usage in Flash/firefox fix (partial)

Thanks for the tip, videos are now watchable on my laptop in firefox, before the sound would glitch out and video would be choppy.  Had to use midori or opera.  smile  Ironically, midori videos seem to be slightly more choppy.  This is the only tip I have ever seen despite google searches for this exact problem.  I have a 1.5ghz celeron with 768mb ram.  I am using ati driver for x200m card in my laptop.  My cpu is high but performance is better.  Thanks again!


--empthollow
Check out my Arch based live distro http://fluxcapacity.99k.org

Offline

Board footer

Powered by FluxBB