LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Improve Flash performance under Firefox (https://www.linuxquestions.org/questions/slackware-14/improve-flash-performance-under-firefox-4175502482/)

moisespedro 04-21-2014 03:30 PM

Improve Flash performance under Firefox
 
Hi, I am having an issue: Flash on Firefox is really sluggish (I only use it on Youtube) and on Chromium it is not. I tried the same versions under both (11.2.202.346 and 11.2.202.350) - I disabled pepperflash on Chromium, so they both were running the same version. However, on Firefox the performance is poor while on Chromium is fine (with or without fullscreen). What Chromium does differently?

business_kid 04-21-2014 04:50 PM

Google it. There's some config file for flash which you can tell flash to use acceleration with. Something like 'flach config file.'

moisespedro 04-21-2014 05:11 PM

You mean hardware acceleration? It is turned on (on or off makes no difference)

enorbet 04-21-2014 05:47 PM

Firefox is releasing updated betas almost daily because of issues with Flash. At first this had only a small effect on me as I've been using the HTML5 option on YouTube for a long time. HTML5 is noticeably better. Recently I got a Firefox addon that increases the preference for HTML5 but have had to disable it until Firefox gets this cacheing and flash problem sorted. In the meantime I have Flash configured to "ask" permission to run.

ReaperX7 04-21-2014 09:32 PM

It could be your video driver. I know the OEM Nvidia and AMD drivers have some acceleration of Flash, but it's not that useful really. HTML5 is much better.

moisespedro 04-21-2014 09:36 PM

Video driver doesn't answer why Chromium runs better with the same flash plugins. Vy the way, I think it might be the right time to switch to HTML 5.

ReaperX7 04-21-2014 09:37 PM

Chromium might use Pepper. Pepper-Flash is more up-to-date than Adobes.

moisespedro 04-21-2014 09:38 PM

Quote:

Originally Posted by ReaperX7 (Post 5156804)
Chromium might use Pepper. Pepper-Flash is more up-to-date than Adobes.

As stated on OP I disabled it

ReaperX7 04-21-2014 09:41 PM

Chromium also uses a different code base so there's a possibility it has something to do with the Mozilla/Gecko API and Flash.

Have you compared it to HTML5 as of late?

moisespedro 04-21-2014 09:46 PM

Not yet, am in bed now, gonna sleep and try tomorrow :p

jtsn 04-22-2014 06:03 AM

Flash Player 11.2 is an ancient codebase from 2012, which will only get security updates until 2017. It supports hardware overlay video only when using VDPAU, but this is broken too (color channels swapped). Otherwise it will convert YUV to RGB using the CPU and then paint it on the screen using X11 drawing calls, which is too slow for being usable.

Long story short: The Linux Flash Player is abandonware and broken beyond repair.

You could try running the Windows version of Flash Player 13 using pipelight.

Claudiu.Ionel 04-23-2014 04:13 PM

some differences between chromium and firefox
 
I have seen good results with Firefox if I disable smooth scrolling. This function eats a little CPU.
Chromium also ships without smooth scrolling.
Check for updates and install the latest Firefox. Now I'm running version 28.0 and I have no problems with flash. If I'm playing some flash games it is true that chromium will give you some extra fps, at the cost of more memory being used. Delete cache once in a while and Firefox will breath a little easier.
Adobe Flash is built on ActionScript and Javascript if I'm not mistaking, so it is normal to see some little differences between Firefox and Chromium. They have different script engines.
And lastly disable any Add-ons that you don't use ... :)
PS: Happy browsing! And HTML 5 is much much faster

Nh3xus 04-24-2014 01:44 PM

In Firefox v28, the hardware acceleration must be enabled with a new method.

I've described the steps here :

http://www.linuxquestions.org/questi...3/#post5151457

moisespedro 04-25-2014 07:19 AM

I am trying html5 but I can only watch videos at 360p :(

EDIT: Nvm, this extension does the trick https://addons.mozilla.org/pt-BR/fir...html5/?src=api


All times are GMT -5. The time now is 12:08 PM.