How to prevent Flash from messing up your processor

Well, as much as ruining no, but sadly Flash has always been a real resource hog on Linux. Every time we play a Flash video, the consumption of RAM memory skyrockets and the CPU cycles reach very high figures.

The commands below will make Flash use the video card more than the CPU.

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

Results vary by case, but on average, CPU consumption should be reduced by 50%. This implies, among other things, that it will not get as hot.

Compiz

If you're having trouble maximizing Flash videos for full-screen viewing, maybe you should try this other trick. Go to System> Preferences> CompizConfig Options Manager> General Options> General. Disable the option Override redirect from full screen windows.

Open the flash videos with your favorite player

The other option is to abandon the idea of ​​watching Flash videos directly from your Internet browser. Here the options are multiple, depending on the case.

1) Download the video using an extension of your browser prepared for this purpose: Video Download Helper. Then, you open the video with your favorite player.

2) Rummage through the temporary files folder and make a copy of the video. Then, you open the video with your favorite player.

3) In the case of YouTube, you can always use applications such as mini tube to view the videos directly, without using the browser (or Flash).


Leave a Comment

Your email address will not be published. Required fields are marked with *

*

*

  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   manutd31 said

    the best way to play flash videos in linux is using the addon flash video replacer which will replace the embedded flash player with totem or similar player in linux and we can download the videos after fully streaming the videos in high quality mp4 format (it works on few site like youtube, vimeo, metacafe, blip.tv etc… it can detect webm videos in youtube if you have enabled youtube.com/html5 and let the webm videos play without the addon…

    you can download the addon from https://addons.mozilla.org/en-US/firefox/addon/flashvideoreplacer/ or developers site (his name is loving linux) http://www.webgapps.org/addons/flashvideoreplacer…… .the developer is planning support for chrome web browser also….

    i came to know about your site from http://www.webupd8.org/ from the boot iso from grub using unetbootin… i am using google translate to read your blog… your blog is very different from other linux blogs and having interesting contents… i have already book marked it for regular reading….

  2.   autego said

    the solution I got was: the firefox add-on flashvideoreplacer developer.
    it worked for me.

  3.   John Louis Cano said

    Is this trick valid for all Linux distributions?

  4.   gorlok said

    In my Ubuntu, this Compiz option is called in Castilian "Cancel redirection of full screen windows". I'm going to give it a try, because I'm one of those who have trouble with some full screen video sites. Then I tell them.

    Very good tips.

  5.   Saito Mordraw said

    The tips contained here have been saving us since you created the blog = D

    Flash has always been the mountain to beat in GNU / Linux, with the first tip, the truth is that my machine does not rest much (but my card is more than humble), so my solution has always been: browser + flashblock + minitube

    And one or another day sacrifice the machine: p

  6.   Keinek said

    But it will warm up your video card ... perhaps the best thing would be to use cpulimit for the browser in general.

  7.   guest said

    firefox extensions -> flashblock
    wonderful

  8.   durkie said

    .... http://www.totalplay.com.mx -> Skip intro -> The site always takes 1 core of my processor, how it is an i7 no problem, but the fan starts working annoyingly….

  9.   Let's use Linux said

    Thank you! He didn't remember what the Spanish translation was like. A hug! Paul.

  10.   Let's use Linux said

    In principle, yes. It would be necessary to see where the Adobe files are saved in the other distros.

  11.   Let's use Linux said

    It can also be a good idea. The problem is that the video would look very choppy.
    Cheers! Paul.

  12.   Let's use Linux said

    Ahh .. yeah… the almighty flashblock. I love him.

  13.   Fernando TorresM. said

    "Echo" OverrideGPUValidation = true "> ~ / mms.cfg"

    that line, in other forums, the time of "true" they put a 1

    So:

    "Echo" OverrideGPUValidation = 1 ″> ~ / mms.cfg "

    is the same??

    thanks for the information =)

  14.   Let's use Linux said

    Yes.

  15.   Fosco_ said

    I have tried it on Ubuntu and nothing has changed, a flash video (from youtube for example) consumes about 65% of my processor before and after applying this TIP.

    Do I need something to do?

  16.   Let's use Linux said

    It should work, on Ubuntu at least. Try putting 1 instead of true.

  17.   Viper_Scull said

    As far as I know that what it does is the browser skips the step to see if it can speed up the video with the GPU, it doesn't use the GPU. It will just buy you some time, but the processor usage will be the same.
    You cannot accelerate flash with the GPU in Linux, because the flash plugin for Linux does not have that capacity, unlike Windows, where the GPU has been able to accelerate the flash contents for a few months.

  18.   Viper_Scull said

    As far as I know this tip what it does is that the browser skips the step to see if it can accelerate the video with the GPU, it does not use the GPU. It will just buy you some time, but the processor usage will be the same.
    You cannot accelerate flash with the GPU in Linux, because the flash plugin for Linux does not have that capacity, unlike Windows, where the GPU has been able to accelerate the flash contents for a few months.

  19.   Endika-paino-paya2 said

    HEY YOU, STOP COPYING THAT YOU HAVE REMOVED THIS FROM MY BLOG ¬¬ AT LEAST CITATE ME AS AUTHOR ¬¬

  20.   heribertocha said

    You can also put the beta of flash player square that goes faster you just have to download the plugin from the adobe page:

    http://labs.adobe.com/downloads/flashplayer10.html

    once download it put the file that is inside the tar gz in the directory .mozilla / plugins (if that folder does not exist you have to create it with the exact name)
    Once this is done we proceed to change all the permissions to read only and put it as executable in the file options, we restart firefox and in tools> add-ons> plugins we will see that there are 2 that say shockwave flash, one of these corresponds to the one installed in your system (I think 10.0….) and the other one that is 10.2, you have to deactivate the one that is 10.0… and leave the other activated and that's it, we already have the plugin for firefox and chrome (if it also works for this automatically) in Opera we just have to enter menu> options> configuration> content> connector options, and there add the path Your_user_folder / .mozilla / plugins and it will automatically use the newest

    you will notice a big difference (in animations and games the difference is noticeable, tests carried out on an old p4 2,4)

    I hope someone finds it useful> :)

    Note: some things may vary as the names may be different (I am on windows) but the process is that 😀

    Note2: this process also works for the 64-bit version of flash

  21.   Let's use Linux said

    Thank you! The contribution is very interesting!
    A hug! Paul.

  22.   Bullseye said

    Bullseye @ St: ~ $ mv ~ / mms.cfg / etc / adobe /
    mv: can't create regular file "/ etc / adobe /": It's a directory

    What is that error that it returns?

  23.   Let's use Linux said

    Hello! That must be because the first line did not execute well:
    sudo mkdir / etc / adobe
    Don't forget to use sudo, ahead of the 1st and 3rd lines.
    Cheers! Paul.

  24.   Let's use Linux said

    Good to know that! 🙂 I hope Spanish is not an obstacle for you and other English speaking readers to follow Usemos Linux.
    I'm expecting you to comment regularly. I promise to read all your comments and answer all your questions whenever possible.
    See ya! Paul.