Fedora Linux Support Community & Resources Center
  #1  
Old 31st January 2011, 03:41 PM
darkman088 Offline
Registered User
 
Join Date: Oct 2009
Posts: 105
linuxfedorafirefox
Sound problems with 64-bit Adobe Flash Player...

Hello,

I have a fresh install of Fedora 14, 64 bit. I have downloaded the latest 64 bit flash player from Adobe's website and put the libflashplayer.so file on the correct place.
Although, flash videos play with a very strange metallic-like echo effect, as if it was some DJ adding effects...
Any idea how to fix that?

Please don't recommend me to use 32-bit flash player with nspluginwrapper. This seems to work on the first glance, but when I open a second web page with flash content, the first video disappears and I can see a very nice white rectangle instead of it...

Thanks a lot for reading and helping me :-)
Reply With Quote
  #2  
Old 31st January 2011, 08:34 PM
headkase Offline
Registered User
 
Join Date: Jan 2011
Posts: 7
linuxchrome
Re: Sound problems with 64-bit Adobe Flash Player...

I second this issue. YouTube flash videos play fine but when I watch Fora.tv flash video I get a repetitive annoying sound.

Any solution would do, anyone?
Reply With Quote
  #3  
Old 1st February 2011, 03:54 AM
Benderino Offline
Registered User
 
Join Date: Feb 2011
Posts: 7
linuxchrome
Re: Sound problems with 64-bit Adobe Flash Player...

I guess this is due to glibc introducing some CPU optimizations and Adobe's Flash making bad memory operations.

https://bugzilla.redhat.com/show_bug.cgi?id=638477
Reply With Quote
  #4  
Old 1st February 2011, 04:06 AM
soundfreely Online
Registered User
 
Join Date: Jun 2010
Location: New Jersey
Posts: 58
linuxfedorafirefox
Re: Sound problems with 64-bit Adobe Flash Player...

I haven't seen the 64 bit "square" flash player on the Adobe labs site in a couple months. I've only seen the 32 bit "square" player available for download.

I know this isn't exactly what you wanted but the 32 bit release player works okay with nspluginwrapper.i686 but you also need to install alsa-plugins-pulseaudio.i686 for the audio to work correctly.

Both the 32 bit flash and 64 bit flash seem to have issues when the stream drops out. That may explain why you see the "white" space when open a second stream.

Last edited by soundfreely; 1st February 2011 at 04:22 AM. Reason: fixed "alsa-plugins-pulseaudio.i686"
Reply With Quote
  #5  
Old 1st February 2011, 04:20 AM
headkase Offline
Registered User
 
Join Date: Jan 2011
Posts: 7
linuxchrome
Re: Sound problems with 64-bit Adobe Flash Player...

Here is the relevant issue:

http://fedoraproject.org/wiki/Common...t_Flash_plugin

Basically, it's an Adobe problem and will get fixed whenever the magical pixies they keep locked-up under the cupboard are let out to roam for a minute, maybe two.

The solution is nspluginwrapper and 32-bit flash. Welcome to proprietary software on open systems.
Reply With Quote
  #6  
Old 1st February 2011, 04:23 AM
soundfreely Online
Registered User
 
Join Date: Jun 2010
Location: New Jersey
Posts: 58
linuxfedorafirefox
Re: Sound problems with 64-bit Adobe Flash Player...

There's always gnash if you want the open source variant. It's worth a try to see if it fits your needs.
Reply With Quote
  #7  
Old 1st February 2011, 10:59 AM
darkman088 Offline
Registered User
 
Join Date: Oct 2009
Posts: 105
linuxfedorafirefox
Re: Sound problems with 64-bit Adobe Flash Player...

Thanks to headkase!! This really seems to be the bug!
But how to revert the change in glibc?

@soundfreely - gnash supports up to flash 8, which is ridiculous, no web page is goin' to work properly...

---------- Post added at 12:22 AM ---------- Previous post was at 12:21 AM ----------

And, as I said above, 32 bit flash player really sucks... When I open another flash-based web page, I get a nice white square in the place of the running video!! Really nice experience...

---------- Post added at 02:59 AM ---------- Previous post was at 12:22 AM ----------

An idea for a workaround... Does anybody know how to configure Firefox in the way, that every time it has to open a flash stream, to open VLC or mplayer and open the stream with it? I think this could solve all the flash trouble...
Reply With Quote
  #8  
Old 23rd February 2011, 09:01 PM
darkman088 Offline
Registered User
 
Join Date: Oct 2009
Posts: 105
linuxfedorafirefox
Re: Sound problems with 64-bit Adobe Flash Player...

HELLO EVERYBODY!!

Here is the SOLUTION!! It WORKS and it's tested!! Maybe this needs to be made sticky. It's not so complicated to implement and really deals with that hassle!!!!!!!!!

In order to fix the horrible sound distortions on streams with mp3-encoded
audio, do the following:

cd
Open your favourite editor and create a file, named mymemcpy.c
containing the following code:

#include <sys/types.h>;

void *memcpy(void *dst, const void *src, size_t n)
{
unsigned char *p;
const unsigned char *q;

for (p = dst, q = src; n; n--)
*p++ = *q++;

return dst;
}

Now compile it:

gcc -O2 -c mymemcpy.c
ld -G mymemcpy.o -o mymemcpy.so

And finally, add the following to the .bash_profile file:
LD_PRELOAD=/home/<user>/mymemcpy.so
export LD_PRELOAD

On the next login, Flash player will play the sound correctly!
Reply With Quote
  #9  
Old 1st March 2011, 05:18 PM
frey2000 Offline
Registered User
 
Join Date: Mar 2011
Location: Orlando, Florida
Posts: 1
linuxchrome
Re: Sound problems with 64-bit Adobe Flash Player...

@darkman088: Wow... this is a real gem. I applied this and now sound works perfectly.

Thanks
Reply With Quote
  #10  
Old 1st March 2011, 06:08 PM
stevea Online
Registered User
 
Join Date: Apr 2006
Location: Ohio, USA
Posts: 8,699
linuxfedorafirefox
Re: Sound problems with 64-bit Adobe Flash Player...

There is a cut-n-paste solution at post #12 here

http://forums.fedoraforum.org/showth...ht=linusmemcpy



Quote:
And finally, add the following to the .bash_profile file:
LD_PRELOAD=/home/<user>/mymemcpy.so
export LD_PRELOAD
This is a poor idea. It means that every application will use the little C routine instead of the optimized library memcpy. The only problems occur with incorrectly written code like the Flash plugin, so they deserve the correction.

It's a better idea to use the LD_PRELOAD only for the browsers, not exporting it to all applications.
__________________
None are more hopelessly enslaved than those who falsely believe they are free.
Johann Wolfgang von Goethe

Last edited by stevea; 1st March 2011 at 06:12 PM.
Reply With Quote
  #11  
Old 18th March 2011, 10:01 PM
zbormanchino Offline
Registered User
 
Join Date: Nov 2010
Location: Chicago
Posts: 41
linuxfedorafirefox
Re: Sound problems with 64-bit Adobe Flash Player...

Quote:
It's a better idea to use the LD_PRELOAD only for the browsers, not exporting it to all applications.
Does that mean we should put the .so file in our /home/<user>/.mozilla/plugins and our /usr/lib64/mozilla/plugin folders?

(I'm somewhat new to Fedora and new to compiling...)
__________________
[SIGPIC][/SIGPIC]
Reply With Quote
  #12  
Old 22nd March 2011, 05:53 AM
ryanklee Offline
Registered User
 
Join Date: Mar 2011
Posts: 2
linuxfedorafirefox
Re: Sound problems with 64-bit Adobe Flash Player...

Quote:
Originally Posted by zbormanchino View Post
Does that mean we should put the .so file in our /home/<user>/.mozilla/plugins and our /usr/lib64/mozilla/plugin folders?

(I'm somewhat new to Fedora and new to compiling...)
What I did what was just toss this into a file

Code:
#!/bin/bash  

LD_PRELOAD=$HOME/linusmemcpy.so /usr/bin/firefox &
Make it executable with 'chmod +x filename'

And use it to load firefox. Alternatively you could just call this every time you want to load firefox

Code:
LD_PRELOAD=$HOME/linusmemcpy.so /usr/bin/firefox &
Reply With Quote
  #13  
Old 24th March 2011, 12:34 PM
francobep Offline
Registered User
 
Join Date: Mar 2011
Posts: 1
linuxchrome
Re: Sound problems with 64-bit Adobe Flash Player...

Muchas GRACIAS! he migrado de Ubuntu a Fedora y esto era el unico problema que he tenido.
Reply With Quote
Reply

Tags
64bit, adobe, flash, player, problems, sound

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Adobe flash player. ViN's Using Fedora 2 9th December 2009 03:58 AM
Timidity and adobe flash player no sound LiMaMa Using Fedora 5 14th July 2009 01:35 PM
Adobe Flash Player bigdaddypooch Using Fedora 1 13th June 2009 02:56 AM
ADOBE Flash player K8JWT Using Fedora 4 2nd January 2009 11:32 AM
Adobe Flash Player New Fedora User Using Fedora 2 29th November 2006 12:43 AM


Current GMT-time: 09:08 (Saturday, 26-07-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat