LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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, 03:30 PM   #1
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,223

Rep: Reputation: 195Reputation: 195
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, 04:50 PM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,093

Rep: Reputation: 2301Reputation: 2301Reputation: 2301Reputation: 2301Reputation: 2301Reputation: 2301Reputation: 2301Reputation: 2301Reputation: 2301Reputation: 2301Reputation: 2301
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, 05:11 PM   #3
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,223

Original Poster
Rep: Reputation: 195Reputation: 195
You mean hardware acceleration? It is turned on (on or off makes no difference)
 
Old 04-21-2014, 05:47 PM   #4
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,773

Rep: Reputation: 4419Reputation: 4419Reputation: 4419Reputation: 4419Reputation: 4419Reputation: 4419Reputation: 4419Reputation: 4419Reputation: 4419Reputation: 4419Reputation: 4419
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 05:48 PM.
 
Old 04-21-2014, 09:32 PM   #5
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,554
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
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, 09:36 PM   #6
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,223

Original Poster
Rep: Reputation: 195Reputation: 195
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, 09:37 PM   #7
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,554
Blog Entries: 15

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

Original Poster
Rep: Reputation: 195Reputation: 195
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, 09:41 PM   #9
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,554
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
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, 09:46 PM   #10
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,223

Original Poster
Rep: Reputation: 195Reputation: 195
Not yet, am in bed now, gonna sleep and try tomorrow
 
Old 04-22-2014, 06:03 AM   #11
jtsn
Member
 
Registered: Sep 2011
Posts: 922

Rep: Reputation: 480Reputation: 480Reputation: 480Reputation: 480Reputation: 480
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, 04: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 04:19 PM. Reason: just that html5 is better
 
Old 04-24-2014, 01:44 PM   #13
Nh3xus
Member
 
Registered: Jan 2013
Location: France
Distribution: Slackware 14.1 32 bits
Posts: 211

Rep: Reputation: 57
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, 07:19 AM   #14
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,223

Original Poster
Rep: Reputation: 195Reputation: 195
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 07: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 08:19 AM
Have i tried everything to improve my disk performance? drben Linux - Hardware 15 02-07-2006 02:38 PM
Crappy performance with Flash + Firefox Thakowbbery Linux - General 8 09-16-2005 10:24 AM
How can I improve gnome performance? pfaendtner Linux - Software 16 04-14-2005 11:52 AM
How to Improve performance of PC Imran Aziz Linux - Software 3 06-03-2004 02:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:15 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
Open Source Consulting | Domain Registration