pulseaudio support, broken nspluginwrapper/flash

Bug #180478 reported by William Pitcock
236
This bug affects 1 person
Affects Status Importance Assigned to Milestone
PulseAudio
Invalid
Undecided
Unassigned
ia32-libs (Ubuntu)
Fix Released
Undecided
Martin Pitt

Bug Description

Binary package hint: ia32-libs

greetings,

this week's fun in ia32-libs is adding pulseaudio support for proper flash integration in Ubuntu on amd64.
i'll work out what packages need to be added for most optimal pulse support (e.g. SDL too) and make a patch
when i have time.

we need more libraries due to new GTK:
   libpixman-1-0 (flash)
   libsepol1 (flash)
   libselinux1 (flash)

and for libflashsupport, we need these:
   libpulse0
   libpulse-browse0
   libpulse-mainloop-glib0
   libpulsecore5 (may not need this one, but it wouldn't hurt)

thanks.

Related branches

description: updated
description: updated
description: updated
Revision history for this message
Oliver Grawert (ogra) wrote :

this is a bug in flash not closing its sockets which the libflashsupport package solves, see the linked bug

Changed in ia32-libs:
status: New → Won't Fix
Revision history for this message
Oliver Grawert (ogra) wrote :

forgot to mention, libflashsupport is in the archive for hardy ....

Revision history for this message
William Pitcock (nenolod) wrote :

Hi Oliver,

Thank you for taking the time to triage this bug. You have made several details wrong, including:

   * libflashsupport is being built as 64bit code on amd64, so it cannot be loaded by the flash plugin.
   * this is not a bug in pulseaudio

Please do not edit bugs without reading them in the future, but do work to improve
Ubuntu.

Changed in pulseaudio:
status: New → Invalid
Revision history for this message
William Pitcock (nenolod) wrote :

Hi again, Oliver.

This bug has to do with ia32-libs, as we are working to make a 32-bit module which links against ia32-libs (multilib) for amd64 users. Please do not triage this bug again.

Changed in flashplugin-nonfree:
status: Won't Fix → New
Revision history for this message
Edward (edward-coffey) wrote :

Is there a work-around for this? Or a fix likely in the near future?

Revision history for this message
William Pitcock (nenolod) wrote :

I intend to poke some people about this, this week.

Martin Pitt (pitti)
Changed in ia32-libs:
assignee: nobody → pitti
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ia32-libs - 2.2ubuntu4

---------------
ia32-libs (2.2ubuntu4) hardy; urgency=low

  * fetch-and-build: Let BUILD default to 0, since we never actually use
    BUILD=1 in Ubuntu.
  * Add libpulse{0,-browse0,-mainloop-glib0,core5}, libpixman-1-0, libsepol1,
    libselinux1. This unbreaks Flash, Skype, Adobe Reader, and probably a few
    others. (LP: #183173, #155015, #180478)

 -- Martin Pitt <email address hidden> Thu, 17 Jan 2008 11:57:14 +0000

Changed in ia32-libs:
status: In Progress → Fix Released
Revision history for this message
Patrice DUROUX (patrice-duroux) wrote :

Dear all,

there is still a problem with the support of pulseaudio for 32bit app that is:
libpulse0 depends on libcap1 which is not in the packaged libs.
I have finally got flashplugin sound using pulseaudio (and not alsa or other way) by
1. adding the corresponding /lib32/libcap*
2. also adding a 32bit version (so not the one of the 1.9-0ubuntu1
package) of libflashsupport.so in /usr/lib32

Note that no other pulseaudio 32bit libraries (libpulse-*) which are also missing
dependencies in ia23-libs are required for that purpose.

Best regards,
Patrice.

Revision history for this message
Martin Pitt (pitti) wrote :

So this needs libcap1 and libflashsupport added.

Changed in ia32-libs:
status: Fix Released → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ia32-libs - 2.2ubuntu7

---------------
ia32-libs (2.2ubuntu7) hardy; urgency=low

  * Add libopenal0a (LP: #191967)
  * Add libflashsupport and libcap1 (LP: #180478)
  * Update packages to current Hardy versions.

 -- Martin Pitt <email address hidden> Tue, 11 Mar 2008 09:21:26 +0000

Changed in ia32-libs:
status: In Progress → Fix Released
Revision history for this message
NY00123 (ny00) wrote :

Regarding 32-bit SDL which William has mentioned in brackets, one possibility is to add multiple packages like ia32-libs-sdl-alsa, ia32-libs-sdl-pulseaudio and optionally make ia32-libs depend on at least one of them (and e.g. the pulseaudio variant by default).

Revision history for this message
NY00123 (ny00) wrote :

On a side note (tested with a 64-app and SDL but may be related to the 32-bit variants as well):
I've noticed that the sound in the Epiphany game (epiphany package) works better with SDL->ESD than with SDL->PulseAudio;
Which means that maybe the ESD variant of SDL should be provided by default, although there could be a game which works better with SDL->PulseAudio than with SDL->ESD.

Revision history for this message
Ernst Persson (ernstp) wrote :

flashplugin-nonfree should no longer depend on libflashsupport which in turn shouldn't be built for amd64 anymore.

Revision history for this message
Jeremy Wilkins (wjeremy) wrote :

This problem either hasn't gone away, has changed or has regressed for me. I have all the newest packages mentioned above and flashplugin-nonfree still doesn't install.

Here is output when I try to continue the install with apt-get install -f:

Reading package lists... Done
Building dependency tree
Reading state information... Done
ia32-libs is already the newest version.
Note, selecting ia32-libs instead of ia32-libs-gtk
ia32-libs is already the newest version.
Note, selecting util-linux instead of linux32
util-linux is already the newest version.
lib32asound2 is already the newest version.
The following packages were automatically installed and are no longer required:
  python-gtkhtml2 tango-icon-theme tango-icon-theme-common
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up flashplugin-nonfree (9.0.124.0ubuntu2) ...
Installing from local file /var/cache/flashplugin-nonfree/install_flash_player_9 _linux.tar.gz
Flash Plugin installed.
nspluginwrapper: no appropriate viewer found for /usr/lib/flashplugin-nonfree/li bflashplayer.so
dpkg: error processing flashplugin-nonfree (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 flashplugin-nonfree
E: Sub-process /usr/bin/dpkg returned an error code (1)

Even a full purge and reinstall doesn't seem to fix it. What is up here?

Revision history for this message
ski (skibrianski) wrote :

Just wanted to add that ffox3rc1 broke flash for me on two different systems. For me the magic workaround was to nuke all the flash stuff, reinstall the x86 libs, and then install flash and nspluginwrapper again. DaFlame, give this a try and see if it works for you:

sudo dpkg -P flashplugin-nonfree libflashsupport nspluginwrapper ; sudo apt-get --reinstall install libc6-dev-i386 libc6-i386 ia32-libs ; sudo apt-get install flashplugin-nonfree nspluginwrapper

I'm guessing the problem here was that when stuff was pulled into ia32-libs, the version I actually had on disk was from a different package, and dpkg got confused.

Revision history for this message
ski (skibrianski) wrote :

I also had this problem with ffox 3.0.3, and the above dpkg/apt-get sequence worked for me again too. The funny bit is I forgot all about the problem and was going to thank the author of this post, but he turned out to be me :-)

Revision history for this message
Dave Gilbert (ubuntu-treblig) wrote :

That isn't helping me unfortunately; I'm seeing the following out of firefox:

ERROR: ld.so: object '/usr/$LIB/libartsdsp.so.0' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/$LIB/libartsdsp.so.0' from LD_PRELOAD cannot be preloaded: ignored.
ALSA lib ../../src/conf.c:2700:(snd_config_hooks_call) Cannot open shared library /usr/lib/alsa-lib/libasound_module_conf_pulse.so
ALSA lib ../../../src/pcm/pcm.c:2196:(snd_pcm_open_noupdate) Unknown PCM default
ALSA lib ../../../src/pcm/pcm_dmix.c:1008:(snd_pcm_dmix_open) unable to open slave
ALSA lib ../../../src/pcm/pcm_dmix.c:1008:(snd_pcm_dmix_open) unable to open slave
ALSA lib ../../../src/pcm/pcm_dmix.c:1008:(snd_pcm_dmix_open) unable to open slave
ALSA lib ../../../src/pcm/pcm_dmix.c:1008:(snd_pcm_dmix_open) unable to open slave
ALSA lib ../../../src/pcm/pcm_dmix.c:1008:(snd_pcm_dmix_open) unable to open slave

(repeated lots)

other errors in there include:

*** NSPlugin Viewer *** ERROR: could not reconstruct XVisual from visualID

and on quit:

(npviewer.bin:12930): Gtk-CRITICAL **: gtk_style_detach: assertion `style->attach_count > 0' failed
ALSA lib ../../../src/pcm/pcm_dmix.c:1008:(snd_pcm_dmix_open) unable to open slave

(npviewer.bin:12930): Gtk-CRITICAL **: gtk_widget_destroy: assertion `GTK_IS_WIDGET (widget)' failed
*** NSPlugin Viewer *** ERROR: NPN_InvalidateRect() invoke: Message type invalid
*** NSPlugin Wrapper *** ERROR: NPP_HandleEvent() invoke: Message type invalid
*** NSPlugin Wrapper *** ERROR: NPP_HandleEvent() invoke: Message type invalid
*** NSPlugin Wrapper *** ERROR: NPP_HandleEvent() invoke: Message type invalid
*** NSPlugin Wrapper *** ERROR: NPObject 0x29dd2a0 is not valid!

Flash works for a while (but without sound) - and then dies; it seems to die more than on Hardy;
but frankly this has never been stable - on the plus side it seems to be working again in Konq 4 (not sure about
sound)

I do wonder where the '$LIB' is coming from in that path.

Dave

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.