• Open Source
  • Open Standards
  • Open Minds

 

Flash 10 Beta on Ubuntu Hardy

Since a few weeks I'm testing Flash 10 Beta and I'm really happy with it. There are some bugs with online games from time to time, but the overall performance is great. There's better (faster) fullscreen support and it seems Adobe worked really hard on Ubuntu compatibility and the sound issues.

I experienced very few Firefox crashes, even if I'm using the browser up to 16 hours a day, constantly playing at least one flash video.

I recently presented a few workarounds for the annoying Flash bug in Ubuntu Hardy. Since none of the workarounds really solved the issue, I decided to stop using the nspluginwrapper workaround with Flash 9 and keep using the Flash 10 beta. Fortunately, Flash doesn't seem to need libflashsupport any longer, even if your hardware doesn't support hardware mixing.

To make installation of the Flash beta more comfortable, I decided to modify the flashplugin-nonfree package to a flashplugin-nonfreebeta package. Since Flash 10 still crashes with libflashsupport installed, the package will remove it before installing the Flash beta.

I'm neither a Flash nor a packaging guru, if you're willing to give it a try, add the following line to your sources list:

Update the sources and install the package flashplugin-nonfreebeta. Due to Bug #125103 of the Launchpad service, you'll notice a message stating that this is an unsigned package.

I couldn't test the package on amd64 and lpia. Please report any installation issues to the comments, any Flash bugs to Adobe's bug tracker.

Comments

It seems that the new Flash

It seems that the new Flash plugin "is not a valid NPAPI plugin" according to nspluginwrapper, so it can't be installed in 64-bit environment. Too bad.

Thanks for reporting. I think

Thanks for reporting. I think I fixed the bug, please try again.

Do you really need another

Do you really need another reason? Microsoft have been trying to gain control of protocols since before Windows3.1 when they had their own version of TCP/IP.

Supporting openness only to yank out that support a few years later isn't exactly new to Microsoft.

This is a company that while claiming to be opensource friendly makes claims about 240+ patent infringments mortgage calculator, but then won't tell anyone what they actually are because of administration costs, instead preferring to goto the big fortune 500 companies and demand licenses for Linux installs.

A company that signs a deal with Novell that they won't sue each other, agrees to buy millions of $ of SuSe licenses from Novell only to have 2 employees including an intellectual property expert 'quit' Microsoft a month in advance (well a week for the ip expert) and join a puppet patent troll company that then turns around and sues both Novell and Redhat.

Where convicted of being an abusive monopoly by a US court, donated $30 million to the Clinton campaign and got a presidential pardon. Keeps getting antitrust after antitruct case brought against them in the EU and got fined in the billions.

So forgive me if I don't want to embrace a future where Microsoft are controlling the standards that run the internet.

Does the beta fix the problem

Does the beta fix the problem with firefox freezing when you try to navigate away from a page with flash on it?

I never experienced that

I never experienced that problem. Just give it a try. If it doesn't solve the issue, just install flashplugin-nonfree again.

Flash menus STILL drop down

Flash menus STILL drop down behind flash ads or what-have-you. That's very disappointing.

You could try the FlashBlock

You could try the FlashBlock plugin for Firefox. Unblock the menu and leave the adds blocked. I use FlashBlock myself, and being in full control over Flash online is very satisfying :)

Thanks a lot! This solved the

Thanks a lot! This solved the problem for me.

Great! Thank you so much. I

Great! Thank you so much. I really got pissed because of all those crashes. :)

Thanks a bunch for the

Thanks a bunch for the package!

Works great on my 64 platform, a lot better than flash 9 did.
I really wish I had stumbled on your blog two days from now, it would've saved me a lot time.

Thanks again

Thanks a lot! Since a couple

Thanks a lot! Since a couple of days I was struggling with flash support (FF3, Flash9, Hardy on AMD64) since it suddenly stopped working. Tried about every solution I could find on the internet.
So I thought, let's give the beta10 support a try, and now it works.

You're great.

Thx for the solution. Tried

Thx for the solution. Tried it and Ff3 isn't crashing anymore. But somehow if I watch a vid on say share.ovi.com or youtube I don't have any sound.
Do you have any logic solution on that?

And thanks once more for fixing my crashing Firefox.

Thanks for this. It fixed my

Thanks for this. It fixed my crashes so far *knock on wood*. Trying other fixes would fix youtube and hulu, but then other sites would crash all the time like espn. Was getting to the point where I was going to move back to Windows, but your fixed has so far stabilized FireFox for me. You are the man!

Well, I don't actually fix

Well, I don't actually fix things in Flash. I'm just distributing an installer for adobe Flash 10 beta. But thanks for the feedback :-)

Does not work on my 64 bit

Does not work on my 64 bit Hardy :(

Unfortunately this version

Unfortunately this version does not seem to work with konqueror. It works fine with firefox 3 here, but konqueror doesn't display the flash content. The plugin gets loaded but where you normally would see the youtube video, there is just a blank spot. However if you right click on this blank spot, you can see the adobe flash menu.

Thanks for your work though - at least it works in firefox.

hi, your recent modification

hi,
your recent modification to the packet fails to install ...
can you get back to the prev. version?

uninstalling your package and reinstalling flashnonfree and flashlibsupport
doesn't work either ... anymore ... something is seriously broken ...

greets

jason

Same problem here as volkar

Same problem here as volkar ( hardy 64 bit )

Same problem. Both latest

Same problem. Both latest versions of your package (flashplugin-nonfreebeta_cairo10.0.0.569ubuntu2_amd64.deb and flashplugin-nonfreebeta_cairo10.0.0.569ubuntu4_amd64.deb) failing to install on Ubuntu Hardy 64bit. Flash plugin is correctly downloaded but then installation stops with following message:

Download done.
Flash Plugin installed.
dpkg: error processing flashplugin-nonfreebeta (--install):
subprocess post-installation script returned error exit status 10
Errors were encountered while processing:
flashplugin-nonfreebeta

Previous version (flashplugin-nonfreebeta_cairo10.0.0.569ubuntu1_amd64.deb) works fine, but can be installed only if you uninstall package itself and remove temporary directories manually before:

sudo rm -rf /var/lib/flashplugin-nonfreebeta/
sudo apt-get purge flashplugin-nonfreebeta
sudo dpkg -i flashplugin-nonfreebeta_cairo10.0.0.569ubuntu4_amd64.deb

Previous version


Previous version (flashplugin-nonfreebeta_cairo10.0.0.569ubuntu1_amd64.deb) works fine

Installs fine or actually *works* fine an amd64?

Please see this comment to help me track down the error on amd64.

Thanks!

Version 1 installs and works

Version 1 installs and works on Hardy amd64.

I looked on postinst script in version 4 and I found problem. It's on line 101:

db_get flashplugin-nonfree/getlibs

I changed it to

db_get flashplugin-nonfreebeta/getlibs

but it didn't help. If I completely removed this line and following condition, I found another problem with following line:

/usr/bin/getlibs --yes -p ${GETLIBS}

I don't know, how it's possible, but it seems that postinst script never continues after this line (I must say, that I have all required 32bit libraries installed already). I've added debug message (echo "after getlibs") just after this line, but nothing was echoed and dpkg prints following error:

Downloading ...
Installing libraries ...
dpkg: error processing flashplugin-nonfreebeta (--install):
subprocess post-installation script returned error exit status 1

Only way to make it work is to change the getlibs line as follows:

/usr/bin/getlibs --yes -v -p ${GETLIBS} || echo "return code $?"

Of course, it's hack and not real solution (but it shows that getlibs return code is 1 in my case, not 0 as postinst script assumes). After theese changes I was able to install flashplugin-nonfreebeta_cairo10.0.0.569ubuntu4_amd64 and it works in FF3.

No sound! Could it be because

No sound!
Could it be because i have Puls Audio enabled?

For Ubuntu 64 bit users there

For Ubuntu 64 bit users there a MUCH easier way to install the latest Flash10 RC.
There is a 2 click installer for the latest Flash 10 RC at http://www.queleimporta.com/how-to-install-flash-10-rc-on-ubuntu-64-bits...

How easy is it to upgrade to

How easy is it to upgrade to new versions after using this script? How does it notify users about new versions being available? How easy is it to uninstall the version installed by this script?

I just gave it a look. It

I just gave it a look. It does basically the same as flashplugin-nonfreebeta and all other flash installers. So if the current package doesn't work, just give it a try. If you reinstall flashplugin-nonfree (or -beta) it will override all changes from the script.

There seems to be a new RC

There seems to be a new RC available: http://www.phoronix.com/scan.php?page=news_item&px=NjcyNA

I wasn't able to install the current version from the PPA on 64-bit Hardy. It seems I ran into the same problem(s) Michal Krause described in http://markusthielmann.com/blog/flash_10_beta_ubuntu_hardy#comment-133.

I just updated the package. I

I just updated the package. I don't understand why you're unable to install the current (now previous) package, since I already incorporated Michael's changes. Maybe you'd like to give the current package a look.

Thank you for the update. For

Thank you for the update. For some reasons the update doesn't work. In Firefox 3.0.1 and Epiphany i don't have flash now.

The version before works.

RC2 is working now. For some

RC2 is working now. For some reasons there are some lib symlinks missing on Ubuntu Hardy 32bit with latest updates. I have seen a fix here: http://ubuntuforums.org/showthread.php?t=924410&highlight=flash+10&page=2

jason@phantom-laptop:~$ sudo

jason@phantom-laptop:~$ sudo apt-get install flashplugin-nonfreebeta
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
nspluginwrapper
Suggested packages:
konqueror-nsplugins xfs
The following NEW packages will be installed:
flashplugin-nonfreebeta nspluginwrapper
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 113kB/132kB of archives.
After this operation, 553kB of additional disk space will be used.
Do you want to continue [Y/n]?
WARNING: The following packages cannot be authenticated!
flashplugin-nonfreebeta
Install these packages without verification [y/N]? y
Get:1 http://ftp.netspace.net.au hardy/multiverse nspluginwrapper 0.9.91.5-2ubuntu2 [113kB]
Fetched 113kB in 0s (139kB/s)
Preconfiguring packages ...
Selecting previously deselected package nspluginwrapper.
(Reading database ... 126016 files and directories currently installed.)
Unpacking nspluginwrapper (from .../nspluginwrapper_0.9.91.5-2ubuntu2_amd64.deb) ...
Selecting previously deselected package flashplugin-nonfreebeta.
Unpacking flashplugin-nonfreebeta (from .../flashplugin-nonfreebeta_rc10.0.10.12ubuntu1_amd64.deb) ...
Setting up nspluginwrapper (0.9.91.5-2ubuntu2) ...
Setting up flashplugin-nonfreebeta (rc10.0.10.12ubuntu1) ...
Downloading...
--20:23:54-- http://download.macromedia.com/pub/labs/flashplayer10/flashplayer10_inst...
=> `./flashplayer10_install_linux_091508.tar.gz'
Resolving download.macromedia.com... 125.252.203.191
Connecting to download.macromedia.com|125.252.203.191|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3,958,529 (3.8M) [application/x-gzip]

0K .......... .......... .......... .......... .......... 1% 162.48 KB/s
50K .......... .......... .......... .......... .......... 2% 157.99 KB/s
100K .......... .......... .......... .......... .......... 3% 162.45 KB/s
150K .......... .......... .......... .......... .......... 5% 157.72 KB/s
[.....]
3650K .......... .......... .......... .......... .......... 95% 157.85 KB/s
3700K .......... .......... .......... .......... .......... 97% 162.33 KB/s
3750K .......... .......... .......... .......... .......... 98% 158.45 KB/s
3800K .......... .......... .......... .......... .......... 99% 162.48 KB/s
3850K .......... ..... 100% 160.72 KB/s

20:24:19 (159.41 KB/s) - `./flashplayer10_install_linux_091508.tar.gz' saved [3958529/3958529]

Download done.
Flash Plugin installed.
/var/lib/dpkg/info/flashplugin-nonfreebeta.postinst: 174: dpkg-architecture: not found
*** NSPlugin Viewer *** ERROR: libnss3.so: cannot open shared object file: No such file or directory
nspluginwrapper: no appropriate viewer found for /usr/lib/flashplugin-nonfreebeta/libflashplayer.so
dpkg: error processing flashplugin-nonfreebeta (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
flashplugin-nonfreebeta
E: Sub-process /usr/bin/dpkg returned an error code (1)
jason@phantom-laptop:~$ locate libnss3.so
/usr/lib/libnss3.so
/usr/lib/libnss3.so.1d
/usr/lib/kompozer/libnss3.so

So "libnss3.so" is the problem for AMD64. But a locate says that libnss.so is on my system. Anyone with any ideas?

Post new comment

The content of this field is kept private and will not be shown publicly.
CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
ten minus ten equals
Solve this math question and enter the solution with digits. E.g. for "two plus four = ?" enter "6".

Syndicate content