Author Topic: Broken sound in Ubuntu Karmic (1.1.0-4.1build1)  (Read 8959 times)

lazy

  • Posts: 2
  • Turrets: +0/-0
Broken sound in Ubuntu Karmic (1.1.0-4.1build1)
« on: October 15, 2009, 06:02:50 pm »
Hi,
The sound is horribly broken with or without Openal. Any tips to fix the sound system would be appreciated.

Code: [Select]
~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Audigy2 [SB Audigy 2 [SB0240]], device 0: emu10k1 [ADC Capture/Standard PCM Playback]
  Subdevices: 31/32
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
  Subdevice #6: subdevice #6
  Subdevice #7: subdevice #7
  Subdevice #8: subdevice #8
  Subdevice #9: subdevice #9
  Subdevice #10: subdevice #10
  Subdevice #11: subdevice #11
  Subdevice #12: subdevice #12
  Subdevice #13: subdevice #13
  Subdevice #14: subdevice #14
  Subdevice #15: subdevice #15
  Subdevice #16: subdevice #16
  Subdevice #17: subdevice #17
  Subdevice #18: subdevice #18
  Subdevice #19: subdevice #19
  Subdevice #20: subdevice #20
  Subdevice #21: subdevice #21
  Subdevice #22: subdevice #22
  Subdevice #23: subdevice #23
  Subdevice #24: subdevice #24
  Subdevice #25: subdevice #25
  Subdevice #26: subdevice #26
  Subdevice #27: subdevice #27
  Subdevice #28: subdevice #28
  Subdevice #29: subdevice #29
  Subdevice #30: subdevice #30
  Subdevice #31: subdevice #31
card 0: Audigy2 [SB Audigy 2 [SB0240]], device 2: emu10k1 efx [Multichannel Capture/PT Playback]
  Subdevices: 8/8
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
  Subdevice #6: subdevice #6
  Subdevice #7: subdevice #7
card 0: Audigy2 [SB Audigy 2 [SB0240]], device 3: emu10k1 [Multichannel Playback]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Audigy2 [SB Audigy 2 [SB0240]], device 4: p16v [p16v]
  Subdevices: 1/1
  Subdevice #0: subdevice #0


kevlarman

  • Posts: 2737
  • Turrets: +291/-295
Re: Broken sound in Ubuntu Karmic (1.1.0-4.1build1)
« Reply #1 on: October 15, 2009, 07:08:22 pm »
get rid of pulseaudio
Quote from: Asvarox link=topic=8622.msg169333#msg169333
Ok let's plan it out. Asva, you are nub, go sit on rets, I will build, you two go feed like hell, you go pwn their asses, and everyone else camp in the hallway, roger?
the dretch bites.
-----
|..d| #
|.@.-##
-----

lazy

  • Posts: 2
  • Turrets: +0/-0
Re: Broken sound in Ubuntu Karmic (1.1.0-4.1build1)
« Reply #2 on: October 15, 2009, 08:24:12 pm »
get rid of pulseaudio

Well, I'm not going to get rid of Pulseaudio because one program does not work. Anyone know what the real fix is?

mooseberry

  • Community Moderators
  • *
  • Posts: 4005
  • Turrets: +666/-325
Re: Broken sound in Ubuntu Karmic (1.1.0-4.1build1)
« Reply #3 on: October 15, 2009, 08:29:23 pm »
get rid of pulseaudio

Well, I'm not going to get rid of Pulseaudio because one program does not work. Anyone know what the real fix is?

The real problem is pulseaudio. That is the reason why your sound isn't working. And you don't have to "get rid" of it. Just disable it while you play if want pulseaudio so bad.
Bucket: [You hear the distant howl of a coyote losing at Counterstrike.]

मैं हिन्दी का समर्थन

~Mooseberry.

David

  • Spam Killer
  • *
  • Posts: 3543
  • Turrets: +249/-273
Re: Broken sound in Ubuntu Karmic (1.1.0-4.1build1)
« Reply #4 on: October 15, 2009, 08:36:50 pm »
Why the hell would you want a sound server nowadays?
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

Bissig

  • Posts: 1309
  • Turrets: +103/-131
Re: Broken sound in Ubuntu Karmic (1.1.0-4.1build1)
« Reply #5 on: October 16, 2009, 12:19:06 am »
At current pulseaudio is in no state to be useful. It needs major development to actually become useful.

Vector_Matt

  • Posts: 732
  • Turrets: +2/-1
Re: Broken sound in Ubuntu Karmic (1.1.0-4.1build1)
« Reply #6 on: October 31, 2009, 07:33:42 pm »
Disabling Pulseaudio fixed it for me, thanks guys. ;D

lazor

  • Posts: 1
  • Turrets: +0/-0
Re: Broken sound in Ubuntu Karmic (1.1.0-4.1build1)
« Reply #7 on: November 02, 2009, 01:00:01 am »
More specifically PulseAudio is fine, but uses many buggy audio driver features.  Kernel upgrades are more likely to fix your problem than PulseAudio updates.

Teapot

  • Posts: 85
  • Turrets: +11/-3
Re: Broken sound in Ubuntu Karmic (1.1.0-4.1build1)
« Reply #8 on: November 02, 2009, 01:48:51 pm »
Alrighty guys. Short and sweet fix.
sudo aptitude install libsdl1.2debian-pulseaudio;sudo aptitude remove libsdl1.2debian-alsa

Edit: Actually, the first part would do the trick. This causes the latter to be removed anyway.
sudo aptitude install libsdl1.2debian-pulseaudio
« Last Edit: December 11, 2009, 08:50:24 pm by Teapot »

Odin

  • Spam Killer
  • *
  • Posts: 1767
  • Turrets: +113/-204
    • My Website
Re: Broken sound in Ubuntu Karmic (1.1.0-4.1build1)
« Reply #9 on: November 02, 2009, 08:42:16 pm »
One would wonder why the alsa-enabled version of libsdl is installed when a pulseaudio-capable version is readily available instead.

Pythonic

  • Posts: 1
  • Turrets: +0/-0
Re: Broken sound in Ubuntu Karmic (1.1.0-4.1build1)
« Reply #10 on: November 02, 2009, 10:09:53 pm »
Removing (actually renaming /usr/bin/pulseaudio) fixed my sound problems, too.  Sound was working on Jaunty, then I upgraded to Karmic today, and Exaile and Rhythmbox both threw errors when attempting to play a song.  Two errors were thrown: "data stack overflow" and "pa_datastream_size" error.  video sound worked until Exaile or Rhythmbox threw one of those errors and then video sound would break, too.  Re-login, video sound work, try to play a song, it would throw an error, and video sound would go out again.

I finally renamed /usr/bin/pulseaudio to effectively remove it, rebooted and no sound problems anymore.  Sound card is on-board Realtek ALC1200.

I imagine there is truth to Pulseaudio's repeated defense it is flaky drivers and not "us," but why in so many cases when the same drivers are used with ALSA the problems disappear?  No disrespect for the pulseaudio developers, but they do seem to be a little bit defensive.

kevlarman

  • Posts: 2737
  • Turrets: +291/-295
Re: Broken sound in Ubuntu Karmic (1.1.0-4.1build1)
« Reply #11 on: November 02, 2009, 10:26:03 pm »
pulseaudio uses alsa's drivers, so that isn't much of an excuse.
Quote from: Asvarox link=topic=8622.msg169333#msg169333
Ok let's plan it out. Asva, you are nub, go sit on rets, I will build, you two go feed like hell, you go pwn their asses, and everyone else camp in the hallway, roger?
the dretch bites.
-----
|..d| #
|.@.-##
-----

UniqPhoeniX

  • Spam Killer
  • *
  • Posts: 1376
  • Turrets: +66/-32
Re: Broken sound in Ubuntu Karmic (1.1.0-4.1build1)
« Reply #12 on: November 03, 2009, 12:21:21 am »
I thought the excuse was 'poorly implemented/rushed in ubuntu' O.o

Teapot

  • Posts: 85
  • Turrets: +11/-3
Re: Broken sound in Ubuntu Karmic (1.1.0-4.1build1)
« Reply #13 on: November 03, 2009, 02:58:14 am »
pulseaudio uses alsa's drivers, so that isn't much of an excuse.
I thought the excuse was 'poorly implemented/rushed in ubuntu' O.o
I believe both were excuses. PulseAudio utilises relatively untested code in the alsa drivers and Ubuntu does a poor job of packaging their code. The main dev doesn't seem to shy away from this though. As best I recall, he says a break anywhere in the sound stack is a failure and should be fixed so they fix it themselves.

Anyway, it works for me and actually fixes some issues I had so I'm happy enough. :P