SoundProblemsHoary

Differences between revisions 1 and 3 (spanning 2 versions)
Revision 1 as of 2005-05-28 20:32:08
Size: 1630
Editor: adsl-213-190-44-43
Comment: imported from the old wiki
Revision 3 as of 2005-07-15 08:38:07
Size: 2504
Editor: S0106000000cc07fc
Comment: added esd section
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= Sound problems hoary = There are a number of issues involving sound on Hoary Hedgehog (5.04). This outlines some fixes for some common problems.
Line 3: Line 3:
Xmms was crashing (using OSS, can't play with ALSA), totem wasnt playing, flash was soundless with firefox, xine had no sound... I did this and it worked, hope it works for you to.
Line 5: Line 4:
=== Firefox: === === General fix ===

Ubuntu uses a program called esd to allow multiple applications to access the sound card at one time.
However, many third party applications not in Ubuntu main aren't designed to use esd to access the card.
On some sound cards, this causes these applications to not produce sound. To work around this problem,
esd must be configured to release the sound card when it is not using it. The

{{{[esd]
auto_spawn=0
spawn_wait_ms=100
default_options= -terminate -nobeeps -as 2}}}

You will need to restart the sound server, whether from gnome preferences, or by
logging out and back in. You should then be able to change System -> Preferences ->
Multimedia System Selector, set Default Sink and Source to Alsa (or OSS), and then successfully use the test buttons. Other GNOME applications which depend on being able to access the native audio devices include GnomeMeeting.

Note: this problem only occurs on the Ubuntu Hoary release and newer. Kubuntu is not affected as it uses KDE Arts, although the default timeout for the sound server in KDE may be set rather long, can someone confirm? [It is sixty seconds.]

=== Firefox and Flash player sound ===
 * This fix is to make sound play with the flash plugin
Line 7: Line 25:
 * [Note the above bug is being examined, but the workaround will suffice.]
Line 9: Line 26:
=== XMMS: === === XMMS ===
Line 11: Line 28:

=== Totem: ===
 * in a Terminal, cd ~/.gnome2
 * gedit totem_config (or something like that, easy to find with ls)
 * uncomment audio.driver and write (in that line, after audio.driver:) esd

There are a number of issues involving sound on Hoary Hedgehog (5.04). This outlines some fixes for some common problems.

General fix

Ubuntu uses a program called esd to allow multiple applications to access the sound card at one time. However, many third party applications not in Ubuntu main aren't designed to use esd to access the card. On some sound cards, this causes these applications to not produce sound. To work around this problem, esd must be configured to release the sound card when it is not using it. The

{{{[esd] auto_spawn=0 spawn_wait_ms=100 default_options= -terminate -nobeeps -as 2}}}

You will need to restart the sound server, whether from gnome preferences, or by logging out and back in. You should then be able to change System -> Preferences -> Multimedia System Selector, set Default Sink and Source to Alsa (or OSS), and then successfully use the test buttons. Other GNOME applications which depend on being able to access the native audio devices include GnomeMeeting.

Note: this problem only occurs on the Ubuntu Hoary release and newer. Kubuntu is not affected as it uses KDE Arts, although the default timeout for the sound server in KDE may be set rather long, can someone confirm? [It is sixty seconds.]

Firefox and Flash player sound

  • This fix is to make sound play with the flash plugin
  • sudo ln -s /usr/lib/libesd.so.0 /usr/lib/libesd.so.1 (in the console, of course)

XMMS

  • press ctrl+p and select libesdout.so as the output plugin and click apply.

Xine:

  • switch level_experience to Master of all known bla-bla-bla...etc...
  • goto audio
  • audio driver: (alsa or oss) (alsa was the first to work, now they both work)
  • oss audio device number (1 or 0) (1 was the first to work, but now 0 is working to)
  • offset for digital passthrough ( 0 )
  • always resample to this rate ( 0 )
  • enable resampling (auto)
  • go ok and restart xine.
  • insert a DVD and press g to show the controls.
  • now click in the pseudo-up arrow left to AUD: and put it to 0 or 1 (1 was once again the first to work, but now its even working with auto ( 0 i suppose).

Polypaudio:

  • Installing polypaudio and replacing esound as your sound server also seems to work.

For all other probs try:

  • in a Terminal, fuser /dev/dsp (the process that is using the sound system - my system nx7010)
  • in a Terminal, kill [number of process given by fuser command]

SoundProblemsHoary (last edited 2008-08-06 16:33:52 by localhost)