|
|||||||
| Forums | Search Forums | Register | Forum Rules | Man Pages | Albums | FAQ | Members | Calendar | Search | Today's Posts | Mark Forums Read |
| Red Hat Red Hat is the world's leading open source technology solutions provider with offerings including Red Hat Enterprise Linux (RHEL), Fedora, open source applications, security and systems management, virtualization, and Services Oriented Architecture (SOA) solutions. |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Bad flash sound in Firefox, Chrome (youtube norm)
There is a solution but it seems that it works only once - the first run (adding to a shortcut LD_PRELOAD=$HOME/linusmemcpy.so /usr/bin/firefox &) . Then an error occurs: Failed to execute child process "LD_PRELOAD=$HOME/linusmemcpy.so" (No such file or directory) linusmemcpy.so exists in the location but it does not work. It was by the advice: 1. Cut and paste this into a prompt: ---Cut below--- Code:
cat > $HOME/Downloads/linusmemcpy.c <<EOF
#include <sys/types.h>
void *memcpy(void *dst, const void *src, size_t size)
{
void *orig = dst;
asm volatile("rep ; movsq"
:"=D" (dst), "=S" (src)
:"0" (dst), "1" (src), "c" (size >> 3)
:"memory");
asm volatile("rep ; movsb"
:"=D" (dst), "=S" (src)
:"0" (dst), "1" (src), "c" (size & 7)
:"memory");
return orig;
}
EOF
cd $HOME/Downloads
gcc -O2 -c linusmemcpy.c
ld -G linusmemcpy.o -o linusmemcpy.so---Stop cutting here--- 2. Shutdown any running copies of your webbrowser. 3. Until a Adobe has fixed their Flash player, start your webbrowser as below: For Firefox users: Code:
LD_PRELOAD=$HOME/Downloads/linusmemcpy.so /usr/bin/firefox & For Google Chrome users: Code:
LD_PRELOAD=$HOME/Downloads/linusmemcpy.so /opt/google/chrome/google-chrome & [mod]Please use [CODE] tags when posting command lines, source, ... Last edited by pludi; 03-21-2011 at 05:22 AM.. |
| Sponsored Links | ||
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| google chrome os | linux_land | Google Chrome OS | 2 | 04-06-2011 06:29 AM |
| Argh! Chrome! Go away! | Corona688 | What's on Your Mind? | 4 | 06-27-2010 12:37 AM |
| Google Chrome For Linux!!! | Dervish | Google Chrome OS | 1 | 08-30-2009 12:44 PM |
| Flash player in Firefox | Sixmax | UNIX for Dummies Questions & Answers | 3 | 05-29-2008 12:55 PM |
|
|