LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 07-31-2009, 09:06 AM   #1
Metamorf
LQ Newbie
 
Registered: Apr 2009
Posts: 4

Rep: Reputation: 0
Lightbulb Workaround for Flash Player 10 performance issue.


After digging around trying to find some way to increase performance of the Adobe Flash Player Plugin v10.0, I found a culprit.

nspluginwrapper

This plugin provides a wrapper for legacy Netscape plugins and seems to, quite unnecessarily, stick a layer of overhead on top of the flash player plugin.

so...
a) check you have a 32-bit machine, as a 64-bit machine is going to need the wrapper regardless.
b) check you have no use for nspluginwrapper (its package provides the command 'mozilla-plugin-config'. This will show you what plugins are actually wrapped)
Code:
$ mozilla-plugin-config --list
...
/usr/lib/mozilla/plugins-wrapped/nswrapper_32_32.libflashplayer.so
  Original plugin: /usr/lib/mozilla/plugins/libflashplayer.so
  Wrapper version string: X (1.3.0)
...
c) uninstall nspluginwrapper using your distro's package manager (typically apt-get or yum)
d) restart your browser

...after removing the offending package, I noticed that my CPU load, when playing a YouTube video, dropped from ~95% to ~60%. Not as good as the ~30% when using mplayerplugin, but workable nonetheless. Also, full screen video was watchable albeit with nearly full CPU load & a little shearing.

Last edited by Metamorf; 07-31-2009 at 09:08 AM. Reason: grammar error
 
Old 08-08-2009, 06:12 AM   #2
Metamorf
LQ Newbie
 
Registered: Apr 2009
Posts: 4

Original Poster
Rep: Reputation: 0
Ooops... gonna have to call "bullshit" on myself for this one...

(a) the test video I used was a low-res one that needed less CPU to run. Other videos showed no appreciable difference in load.
(b) regardless of the video resolution the video stream annoyingly paused about every 30 sec. The wrapper, it seems, was designed to get around this.

Ergo, ignore everything I said. nspluginwrapper should stay.
 
  


Reply

Tags
flashplayer


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
Disk performance issue - help please snickwad Slackware 3 03-25-2009 09:50 AM
zattoo complains of no flash player installed, but flash is installed TheBrick Linux - Software 8 07-10-2008 08:28 AM
Internet performance issue rswier Linux - General 1 07-11-2007 06:12 PM
No Real Player Sound after Flash Player hroit Linux - Software 4 01-16-2007 03:05 PM
Crappy performance with Flash + Firefox Thakowbbery Linux - General 8 09-16-2005 11:24 AM


All times are GMT -5. The time now is 08:33 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