LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 04-21-2014, 04:30 PM   #1
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,139

Rep: Reputation: 151Reputation: 151
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?
 
Old 04-21-2014, 05:50 PM   #2
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,612

Rep: Reputation: 584Reputation: 584Reputation: 584Reputation: 584Reputation: 584Reputation: 584
Google it. There's some config file for flash which you can tell flash to use acceleration with. Something like 'flach config file.'
 
Old 04-21-2014, 06:11 PM   #3
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,139

Original Poster
Rep: Reputation: 151Reputation: 151
You mean hardware acceleration? It is turned on (on or off makes no difference)
 
Old 04-21-2014, 06:47 PM   #4
enorbet
Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware 14 is Main OpSys on Main PC, 2ndary are OpenSuSe 13 and SolydK
Posts: 731

Rep: Reputation: 339Reputation: 339Reputation: 339Reputation: 339
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.

Last edited by enorbet; 04-21-2014 at 06:48 PM.
 
Old 04-21-2014, 10:32 PM   #5
ReaperX7
Senior Member
 
Registered: Jul 2011
Location: California
Distribution: LFS-7.6, Slackware 14.1, FreeBSD 10.1
Posts: 3,831
Blog Entries: 15

Rep: Reputation: 1186Reputation: 1186Reputation: 1186Reputation: 1186Reputation: 1186Reputation: 1186Reputation: 1186Reputation: 1186Reputation: 1186
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.
 
Old 04-21-2014, 10:36 PM   #6
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,139

Original Poster
Rep: Reputation: 151Reputation: 151
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.
 
Old 04-21-2014, 10:37 PM   #7
ReaperX7
Senior Member
 
Registered: Jul 2011
Location: California
Distribution: LFS-7.6, Slackware 14.1, FreeBSD 10.1
Posts: 3,831
Blog Entries: 15

Rep: Reputation: 1186Reputation: 1186Reputation: 1186Reputation: 1186Reputation: 1186Reputation: 1186Reputation: 1186Reputation: 1186Reputation: 1186
Chromium might use Pepper. Pepper-Flash is more up-to-date than Adobes.
 
1 members found this post helpful.
Old 04-21-2014, 10:38 PM   #8
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,139

Original Poster
Rep: Reputation: 151Reputation: 151
Quote:
Originally Posted by ReaperX7 View Post
Chromium might use Pepper. Pepper-Flash is more up-to-date than Adobes.
As stated on OP I disabled it
 
Old 04-21-2014, 10:41 PM   #9
ReaperX7
Senior Member
 
Registered: Jul 2011
Location: California
Distribution: LFS-7.6, Slackware 14.1, FreeBSD 10.1
Posts: 3,831
Blog Entries: 15

Rep: Reputation: 1186Reputation: 1186Reputation: 1186Reputation: 1186Reputation: 1186Reputation: 1186Reputation: 1186Reputation: 1186Reputation: 1186
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?
 
Old 04-21-2014, 10:46 PM   #10
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,139

Original Poster
Rep: Reputation: 151Reputation: 151
Not yet, am in bed now, gonna sleep and try tomorrow
 
Old 04-22-2014, 07:03 AM   #11
jtsn
Member
 
Registered: Sep 2011
Location: Europe
Distribution: Slackware
Posts: 905

Rep: Reputation: 445Reputation: 445Reputation: 445Reputation: 445Reputation: 445
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.
 
1 members found this post helpful.
Old 04-23-2014, 05:13 PM   #12
Claudiu.Ionel
LQ Newbie
 
Registered: May 2013
Location: home
Distribution: Slackware
Posts: 6

Rep: Reputation: Disabled
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

Last edited by Claudiu.Ionel; 04-23-2014 at 05:19 PM. Reason: just that html5 is better
 
Old 04-24-2014, 02:44 PM   #13
Nh3xus
Member
 
Registered: Jan 2013
Location: France
Distribution: Slackware 14.1 32 bits
Posts: 190

Rep: Reputation: 56
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
 
Old 04-25-2014, 08:19 AM   #14
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,139

Original Poster
Rep: Reputation: 151Reputation: 151
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

Last edited by moisespedro; 04-25-2014 at 08:50 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
improve sendmail performance tamilselvan.forum Linux - Server 2 12-10-2009 09:19 AM
Have i tried everything to improve my disk performance? drben Linux - Hardware 15 02-07-2006 03:38 PM
Crappy performance with Flash + Firefox Thakowbbery Linux - General 8 09-16-2005 11:24 AM
How can I improve gnome performance? pfaendtner Linux - Software 16 04-14-2005 12:52 PM
How to Improve performance of PC Imran Aziz Linux - Software 3 06-03-2004 03:10 PM


All times are GMT -5. The time now is 11:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration