Bookmark This Page! Control + D
If you enjoy this blog,
please consider supporting my band.

Saturday, August 30, 2008

How to: FIX the flash crash in hardy!

After all this time, there is finally a fix for the flash crash that works. Do the following:


first run the following just to refresh:


sudo apt-get update

add this line to your /etc/apt/sources.list
deb http://ppa.launchpad.net/thielmann/ubuntu hardy main

you can use the following command to do so easily

sudo echo "deb http://ppa.launchpad.net/thielmann/ubuntu hardy main" | sudo tee -a /etc/apt/sources.list

then run

sudo apt-get update && sudo apt-get install flashplugin-nonfreebeta && sudo apt-get remove libflashsupport

then, edit your
/etc/asound.conf file

sudo gedit /etc/asound.conf

to contain the following contents:

pcm.pulse {
type pulse
}
ctl.pulse {
type pulse
}
pcm.!default {
type pulse
}
ctl.!default {
type pulse
}

save this file, then finally install one last package

sudo apt-get install libasound2-plugins

20 comments:

shirtees.net said...

One my laptop at home i dont have this prob, but my system here at work crashes almost every time I try to watch a youtube vid. Ive just followed the instructions and crossing my fingers! I'll report back any new info... thanks for posting this!

shirtees.net said...

Several hours later, this fix has worked great! Thanks! Ive put it to the test. Running Youtube vids, flash vids, etc... from peoples myspace, youtube, msnbc video... ive even had several tabs in Firefox running flash videos without a problem.

I also notice there is no more clipping effect when I go to full screen mode.

GREAT! THANK YOU!

Kobe said...

Wow Mike! that was awesome... i am a little excited right now, but I am sure I verified that it fixed the choppy full screen problem too!

Ryan Cheung said...

This worked flawlessly Mike!! Since the flash crashing occurred when upgrading to Hardy, I've found myself getting more and more frustrated and using Ubuntu less when I want to browse the web. But it appears that you have found the solution! Thanks!!

biwer said...

i did that. and flash work. but on fullscreen it still flickers..

any idea why. i'm using ati with proprietary drivers so maybe that's the problem.

TheSunborn said...

I had a flickering problem with my ATI drivers. Completely fixed by the setting the "visual effects" preferences to "none" in the appearances application. You loose the workspace transition effects, but I hate them anyway.

biwer said...

yes unabling compiz works,

thanks.

still would be great if it worked with compiz enabled.

marco said...

Hi!

Great HowTo, thanks to it I can see flash video whithout go crazy.

But I don't managed to install it on a third pc. I follow the steps, but when I reboot and try to play a flash video, it told me that I've got to install latest flash player!

Can you help me? ;)

Manuel said...

Many many thanks!! It has also solved an issue I had with the sound stopping on my music players every time I'd open a myspace page with one of those embedded players.

Ryan Cheung said...

Anyone else have issues after Sep. 17 update to flashplugin-nonfreebeta?

marco said...

@ ryan
What kind of issue? My problem is that I install this flash-player and it works good for some times. Then, suddenly, when I open a page with flash I don't see nothing!

Anyone has this problem?

Adam said...

I don't seem to have the file /etc/asound.conf

I created one and added in the lines you provided, but didn't really think it would work. It didn't, go figure. I am admittedly quite new at this Linux game.

There is a similarly titled file, usr/bin/asoundconf (note it is not .conf) I do not think I should edit this one. In fact I can't. Any ideas what I should do? Thanks a bunch for the help.

maxsim said...

Marco, Im having the same problem. Flash works fine for a little while then the areas where flash should be now has big black boxes.

Any way to uninstall this fix? I didnt do this on my laptop at home and I dont have any probs there

Anonymous said...

Hi, I installed the fix but it still crashes watching videos on www.afl.com.au and also the site www.gameex.net.

Murray

mike said...

I checked those sites, and Im pretty sure that crash is not related to the problem with pulsaudio sound. Sorry this didnt fix that one as well

Ryan said...

It's not looking good after the upgrade to hardy. :(

I'm back to getting grey boxes, and I've run through the instructions again.

MalwareMiscreant said...

Hey, Mike.

I noticed that we both have the same interests in comp/tech/Ubuntu. If you want, we can affiliate? Just send me a mail: FreewareFool@gmail.com

I have 2 blogs:
FreewareFool.blogspot.com
MalwareMiscreants.blogspot.com

-FreewareFool

dicker666 said...

seems to be working without the crash, but no sound. it installed without problems..any ideas??
thanx

Anonymous said...

I get no flash now. why?

BandonRandon said...

Thanks Mike,

This even got my webcam working. I use Linux Mint 5 which is based off Hardy.

Good work!