Bug 796834

Summary: Flash player not working in fedora 16 - possible hint to solution
Product: [Fedora] Fedora Reporter: DM <dmadunaphel>
Component: firefoxAssignee: Martin Stransky <stransky>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 16CC: cdewolf, gecko-bugs-nobody, jhorak, jks, jpazdziora, kdreimiller, maurizio.antillon, ryan.d.meador+redhat, stransky
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-03 10:38:06 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Hardware profile none

Description DM 2012-02-23 18:14:06 UTC
Created attachment 565347 [details]
Hardware profile

Description of problem:

Many people have reported problems with flash player on fedora 16 firefox 10.0 browser. I noticed a characteristic of this bug that may point to a solution. 

When you clear cache in firefox --> tools --> Clear recent history. The nature of the problem changes. Now it plays quadruple speed or faster with no sound. 

As the cache fills up. At the certain point after many days it starts playing normal speed. With sound ok. After a few days working again it speeds up as if on fast forward and sound becomes unintelligible. 

I tried a few different things. Installed Gnash flash player. That worked for one day and then stopped working. Why would it work for one day and then stop? Odd should work all the time. Maybe cache changed? So gave up with Gnash. 

Then tried light spark flash player. In edit --> preferences --> Applications. I can see Gnash but not lightspark. I noticed no difference same problem. 

Then I reinstalled flash player using better instructions. 

rpm -ivh http://linuxdownload.adobe.com/adobe-release/adobe-release-x86_64-1.0-1.noarch.rpm
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux
yum install flash-plugin nspluginwrapper curl

Flash worked for a few days and then went into the previous pattern. Initialising cache in firefox and waiting some days starts it at the right speed. Few days later stops working again.   

This is a big problem for many people using fedora linux. 

Flash was working in old version of fedora before upgrade. 


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Upgrade to latest fedora 16. For some people flash player stops working. 
2. 
3.
  
Actual results:

Fast forward videos with garbled sound or no sound. Sometimes works for a few days. 

Expected results:

Normal flash video play back. Normal speed with sound.

Additional info:

Comment 1 Jan Horak 2012-02-24 09:16:10 UTC
Try to run firefox with clean profile and in safe mode (with extensions disabled)
by firefox -safe-mode.

This also might be related to hardware acceleration, try turning it off by:
Edit/Preferences/Advanced/General/Browsing/Use hardware acceleration when available.

You also don't need to use nspluginwrapper while Firefox is now using plugin container which works fine with x86_64 adobe flash plugin. So try to remove it.

Also show us output of:
ls /usr/lib64/mozilla/plugins/
ls /usr/lib/mozilla/plugins/
rpm -q xulrunner firefox flash-plugin

Comment 2 DM 2012-03-01 11:17:56 UTC
Thanks for the feedback. I could not reply as flash worked for a while again. Now is running too fast after I initialised the cache and waited for a couple of days. 

Tried your suggestions. No effect on problem. 

So here is the data you requested:

ls /usr/lib64/mozilla/plugins/
libflashplayer.so
libgnashplugin.so
libgnome-shell-browser-plugin.so
libjavaplugin.so
liblightsparkplugin.so

ls /usr/lib/mozilla/plugins/
no output

rpm -q xulrunner firefox flash-plugin
xulrunner-10.0-1.fc16.x86_64
firefox-10.0-2.fc16.x86_64
flash-plugin-11.1.102.55-release.x86_64

Good luck to solve it.

Comment 3 Joseph Shraibman 2012-04-03 02:06:14 UTC
This has been affecting Fedora 15 as well.  After the recent firefox update Pandora regularly crashes firefox for me, and this appears on the console:

 Gdk-ERROR **: The program 'npviewer.bin' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
  (Details: serial 1091 error_code 8 request_code 142 minor_code 3)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
aborting...
*** NSPlugin Wrapper *** ERROR: NPP_HandleEvent() wait for reply: Connection closed
*** NSPlugin Wrapper *** WARNING:(../src/npw-wrapper.c:2219):invoke_NPP_SetWindow: assertion failed: (rpc_method_invoke_possible(plugin->connection))
*** NSPlugin Wrapper *** WARNING:(../src/npw-wrapper.c:2848):invoke_NPP_HandleEvent: assertion failed: (rpc_method_invoke_possible(plugin->connection))
*** NSPlugin Wrapper *** WARNING:(../src/npw-wrapper.c:2848):invoke_NPP_HandleEvent: assertion failed: (rpc_method_invoke_possible(plugin->connection))
*** NSPlugin Wrapper *** WARNING:(../src/npw-wrapper.c:2848):invoke_NPP_HandleEvent: assertion failed: (rpc_method_invoke_possible(plugin->connection))
*** NSPlugin Wrapper *** WARNING:(../src/npw-wrapper.c:2848):invoke_NPP_HandleEvent: assertion failed: (rpc_method_invoke_possible(plugin->connection))
*** NSPlugin Wrapper *** ERROR: NPObject proxy 0x7f2c5d81f600 is no longer valid!
*** NSPlugin Wrapper *** ERROR: NPObject proxy 0x7f2c5d81f600 is no longer valid!
*** NSPlugin Wrapper *** ERROR: NPObject proxy 0x7f2c5d81f600 is no longer valid!
*** NSPlugin Wrapper *** ERROR: NPObject proxy 0x7f2c5d81f600 is no longer valid!
*** NSPlugin Wrapper *** ERROR: NPObject proxy 0x7f2c5d81f600 is no longer valid!
*** NSPlugin Wrapper *** ERROR: NPObject proxy 0x7f2c5d81f600 is no longer valid!
*** NSPlugin Wrapper *** ERROR: NPObject proxy 0x7f2c5d81f600 is no longer valid!
*** NSPlugin Wrapper *** ERROR: NPObject proxy 0x7f2c5d81f600 is no longer valid!
*** NSPlugin Wrapper *** ERROR: NPObject proxy 0x7f2c5d81f600 is no longer valid!
*** NSPlugin Wrapper *** WARNING:(../src/npw-wrapper.c:2848):invoke_NPP_HandleEvent: assertion failed: (rpc_method_invoke_possible(plugin->connection))
*** NSPlugin Wrapper *** WARNING:(../src/npw-wrapper.c:2848):invoke_NPP_HandleEvent: assertion failed: (rpc_method_invoke_possible(plugin->connection))
*** NSPlugin Wrapper *** WARNING:(../src/npw-wrapper.c:2848):invoke_NPP_HandleEvent: assertion failed: (rpc_method_invoke_possible(plugin->connection))
*** NSPlugin Wrapper *** WARNING:(../src/npw-wrapper.c:2848):invoke_NPP_HandleEvent: assertion failed: (rpc_method_invoke_possible(plugin->connection))
*** NSPlugin Wrapper *** WARNING:(../src/npw-wrapper.c:2848):invoke_NPP_HandleEvent: assertion failed: (rpc_method_invoke_possible(plugin->connection))
*** NSPlugin Wrapper *** WARNING:(../src/npw-wrapper.c:2848):invoke_NPP_HandleEvent: assertion failed: (rpc_method_invoke_possible(plugin->connection))
*** NSPlugin Wrapper *** WARNING:(../src/npw-wrapper.c:2848):invoke_NPP_HandleEvent: assertion failed: (rpc_method_invoke_possible(plugin->connection))

Comment 4 Jan Horak 2012-04-03 07:11:47 UTC
You seems to have free Flash implementation gnash and lightspark installed. They could collide with adobe's flash plugin. Try to uninstall them:
yum remove gnash lightspark lightspark-mozilla-plugin

Comment 5 Joseph Shraibman 2012-04-04 22:25:50 UTC
My problems seem to have gone away when I uninstalled nspluginwrapper.  I don't think I ever had gnash lightspark or lightspark-mozilla-plugin

Comment 6 Jan Horak 2012-04-05 07:28:41 UTC
(In reply to comment #5)
> My problems seem to have gone away when I uninstalled nspluginwrapper.  I don't
> think I ever had gnash lightspark or lightspark-mozilla-plugin

Sorry, I was referring to DM message.

Comment 7 Carlo de Wolf 2012-04-18 10:51:01 UTC
Uninstalling nspluginwrapper fixed it for me as well.

Comment 8 Kdrei 2012-06-12 18:07:44 UTC
Same here. Had to remove nspluginwrapper to get flash to behave nicely.

yum remove nspluginwrapper

Comment 9 Ryan M 2012-07-13 14:47:57 UTC
I believe I have had the same problem on F15.  After reading the comments on this bug report, I removed nspluginwrapper and everything works great now.  Before, many flash apps such as the CNN video player and the charts on mint.com would crash almost as soon as they loaded (becoming unresponsive, sometimes going blank).  Now they work.  Someone should probably update the ubiquitous "how to install flash on fedora" documentation.

Comment 10 Martin Stransky 2012-08-03 10:38:06 UTC
Yes, don't use nspluginwrapper unless you have to.