Flash Video Performance: I may have made a discovery

James C. Ryman rymanj at yahoo.com
Sun Feb 28 04:48:57 UTC 2010



 
This is in responce to  "Michael Haney " E-mail about Flash video 
>The one thing that has really irked me for a long time is the piss poor performance of Flash video on Linux. 
 
Ok Michael, 
 
I do not know if this will help you but it did for me. I keep a copy of what I did in and E-mail to myself.
So when I do a reinstall I can do it again as it has always been an issue for me.

I also had issues with Flash and full-screen video.
The video played back jerky in full screen, would play then seem to stop for a moment then continue and stop for a moment again.
The also was an issue with chewing up all kinds of CPU.
I found the below links when researching.  Below the links are the basic steps I took(Just in case the links are not good anymore).

http://www.webupd8.org/2009/07/speed-up-flash-and-firefox-in-ubuntu.html 

http://allredb.wordpress.com/2009/05/07/speed-up-flash-and-firefox-in-ubuntu-jaunty-904/  

https://bugs.launchpad.net/ubuntu/+bug/346289


1. Type the following command in a terminal: 


sudo mkdir /etc/adobe
echo "OverrideGPUValidation=true" >~/mms.cfg
sudo mv ~/mms.cfg /etc/adobe/



2. Type the following command in a terminal:


sudo gedit /etc/init.d/ondemand

and paste this inside that file:


for CPU_THRESHOLD in /sys/devices/system/cpu/cpu*/cpufreq/ondemand/up_threshold
do
[ -f $CPU_THRESHOLD ] || continue
echo -n 40 > $CPU_THRESHOLD
done




The file basically needs to look like this:


case "$1" in
     start)
      start-stop-daemon --start --background --exec /etc/init.d/ondemand -- background        
          ;;    
      background)
 sleep 60 # probably enough time for desktop login
 for CPUFREQ in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
 do  
  [ -f $CPUFREQ ] || continue  
  echo -n ondemand > $CPUFREQ 
  done 
 
  for CPU_THRESHOLD in /sys/devices/system/cpu/cpu*/cpufreq/ondemand/up_threshold 
  do  
  [ -f $CPU_THRESHOLD ] || continue  echo -n 40 > $CPU_THRESHOLD 
  done 

  ;;    
     restart|reload|force-reload)
         echo "Error: argument '$1' not supported" >&2        
         exit 3        
         ;;    
     stop)
         ;;    
      *)
          echo "Usage: $0 start|stop" >&2
          exit 3        
          ;;
 esac


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20100227/59f5d234/attachment.html>


More information about the ubuntu-users mailing list