Sound problems with 64-bit Adobe Flash Player...
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 13 of 13
  1. #1
    Join Date
    Oct 2009
    Posts
    124

    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 :-)

  2. #2
    Join Date
    Jan 2011
    Posts
    7

    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?

  3. #3
    Join Date
    Feb 2011
    Posts
    6

    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

  4. #4
    Join Date
    Jun 2010
    Location
    New Jersey
    Posts
    60

    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 05:22 AM. Reason: fixed "alsa-plugins-pulseaudio.i686"

  5. #5
    Join Date
    Jan 2011
    Posts
    7

    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.

  6. #6
    Join Date
    Jun 2010
    Location
    New Jersey
    Posts
    60

    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.

  7. #7
    Join Date
    Oct 2009
    Posts
    124

    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...

  8. #8
    Join Date
    Oct 2009
    Posts
    124

    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!

  9. #9
    Join Date
    Mar 2011
    Location
    Orlando, Florida
    Posts
    1

    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

  10. #10
    stevea Guest

    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



    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.
    Last edited by stevea; 1st March 2011 at 07:12 PM.

  11. #11
    Join Date
    Nov 2010
    Location
    Chicago
    Posts
    41

    Re: Sound problems with 64-bit Adobe Flash Player...

    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...)

  12. #12
    Join Date
    Mar 2011
    Posts
    2

    Re: Sound problems with 64-bit Adobe Flash Player...

    Quote Originally Posted by zbormanchino
    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 &

  13. #13
    Join Date
    Mar 2011
    Posts
    1

    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.

Similar Threads

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

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •