Ubuntu 7.10 Sound Stutters
|
Ibrahim Qunhua
Registered User
Join date: 25 Feb 2007
Posts: 15
|
10-21-2007 09:52
From: Kristopher Tenk Uncommented the ESD line, started SL and its just the same. Any thing else i should try?
Not shure if I understand you correctly, but the sound part of the 'secondlife' script should look like this: ## - Avoids using the ESD audio driver. # export LL_BAD_ESD=x ## - Avoids using the OSS audio driver. export LL_BAD_OSS=x ## - Avoids using the ALSA audio driver. export LL_BAD_ALSA=x
|
Royer Pessoa
Registered User
Join date: 30 Jul 2007
Posts: 51
|
esound
10-21-2007 10:02
Don't uncomment the ESD line! You WANT to force SL to use ESD. And that's the original ESD, not any PulseAudio, Jack or ALSA emulation. That's why sudo apt-get install esound.
|
Kristopher Tenk
Registered User
Join date: 11 Apr 2007
Posts: 153
|
10-21-2007 10:13
Changing the file to look like below results in zero sound
## - Avoids using the ESD audio driver. # export LL_BAD_ESD=x ## - Avoids using the OSS audio driver. export LL_BAD_OSS=x ## - Avoids using the ALSA audio driver. export LL_BAD_ALSA=x
|
Jillian Callahan
Rotary-winged Neko Girl
Join date: 24 Jun 2004
Posts: 3,766
|
10-21-2007 11:06
From: Ibrahim Qunhua Hmm - I had the same problem after upgrading to Gutsy, did the "sudo apt-get install esound" magic and uncommented the two lines in the secondlife startup script - and everything works perfectly - no need for any terminal window. I think my breif flirtation with PulseAudio has something to do with that, which is to say - I probably broke something.
|
Caleb Kit
Registered User
Join date: 31 Aug 2007
Posts: 1
|
Ubuntu 7.10 Sound Stutters
10-21-2007 16:41
Upgraded to Gutsy today. Had sound stutter and tried all the ideas. Royer is right. sudo apt-get install esound worked. Thank you all for your help. Learned alot. Off to a concert!
|
Kristopher Tenk
Registered User
Join date: 11 Apr 2007
Posts: 153
|
10-22-2007 01:54
Installed pulseaudio and pulseaudio-esound-compat forced SL to use ESD and all sounds a lot better.
There is a little delay every now and then but its definitely a lot better than it was. The music stream is perfect, the delay is on the UI sounds and the TP sound....it might happen 1 to 2 seconds later.
installing these extra packages and editing the conf file should not be needed, especially since it was fine in Ubuntu 7.04.
Has this been added to the SL bugs list? If not how can I add it?
|
Kristopher Tenk
Registered User
Join date: 11 Apr 2007
Posts: 153
|
10-22-2007 05:36
Just noticed that Amarok now crashes on pause after installing Pulseaudio  removing it doest fix the crash. ***** Ok a Complete removal of pulseaudio and a restart fixed this amarok issue....though now SL sound back to being broken 
|
Royer Pessoa
Registered User
Join date: 30 Jul 2007
Posts: 51
|
esound
10-22-2007 05:41
This isnt a SL Viewer issue. PulseAudio-esd emulation seems to come installed with the new Ubuntu and is broken. I had the sound craclking in Amarok and other players also. Just try removing pulseaudio... and install the package "esound", should help all sound work in Ubuntu.
|
Kristopher Tenk
Registered User
Join date: 11 Apr 2007
Posts: 153
|
10-22-2007 07:44
Yeah I know, I was just pointing out that this is one side effect of the fix provided. I tried the esound thing but it just resulted in zero sound.
|
bruford Collins
Registered User
Join date: 11 Sep 2007
Posts: 1
|
sound stutters
10-23-2007 19:48
found the same thing . update to gutsy had to disable 3rd party repositories. that might or might not be the reason esound doesnt work out of the box. dont know, but it did the trick. tousheee! now for some good blues!
|
Kristopher Tenk
Registered User
Join date: 11 Apr 2007
Posts: 153
|
10-24-2007 00:08
Very weird....tried the esound thing again....opened SL still the same....started SL this morn and its fine...maybe the restart helped WOOOHOOOOOOOOOO
|
Merrick Moose
Registered User
Join date: 20 Oct 2005
Posts: 191
|
10-26-2007 13:15
OSS is being removed from the linux kernel as of 2.6.23 in favor of ALSA. Alsa shouldn't require a sound server such as ESD, pulse, esound or such. Depending on driver support for the sound card in your system. Ubuntu 7.10 came out with 2.6.22 for it's kernel which seems to sometimes have some sound issues, reverting back to OSS should work but SL might keep other applications from using the sound card, including the Alsa sound system.
|
Alina Bolero
Registered User
Join date: 4 May 2007
Posts: 10
|
10-27-2007 03:24
I've been trying the esd/esound solution here and I end up with no sound and this error:
2007-10-27T10:19:22Z WARNING: loadWAV: Could not load data '/home/alina/.secondlife/cache/f0f42e31-e219-eef0-53e5-65f9528631b4.dsf': This command failed because FSOUND_Init was not called
|
Zachary Carter
Registered User
Join date: 25 Mar 2007
Posts: 8
|
10-27-2007 05:32
When disabling OSS and ALSA in the terminal I get this message:
2007-10-27T12:29:54Z WARNING: ESD audio output FAILED to initialize: Error initializing output device.
Dunno...I'm new at Linux
|
Zachary Carter
Registered User
Join date: 25 Mar 2007
Posts: 8
|
10-27-2007 05:40
Okay, I managed to get the client sounds working (with slight delays in all interface sounds, I'm not sure why) but now I can't use anything else with sound -- I tried to use AmaroK or Totem and it didn't work.
|
Zachary Carter
Registered User
Join date: 25 Mar 2007
Posts: 8
|
10-27-2007 05:58
From: Zachary Carter Okay, I managed to get the client sounds working (with slight delays in all interface sounds, I'm not sure why) but now I can't use anything else with sound -- I tried to use AmaroK or Totem and it didn't work. Sound is still a bit delayed, but I installed esound and all that fun stuff, and made the entire computer use ESD and woot it works. Except sound capture, I'll attack that next. EDIT: Sound delays on entire system, ohmygod.
|
Fluf Fredriksson
Registered User
Join date: 8 Feb 2007
Posts: 248
|
10-27-2007 08:28
It would help if people would say what they are using as a desktop (KDE, Gnome, XFCE... other). I know KDE uses arts as it's sound server, and I have a work around which works fine for me with arts, am not so sure about Gnome and others.
|
Zachary Carter
Registered User
Join date: 25 Mar 2007
Posts: 8
|
10-27-2007 08:36
From: Fluf Fredriksson It would help if people would say what they are using as a desktop (KDE, Gnome, XFCE... other). I know KDE uses arts as it's sound server, and I have a work around which works fine for me with arts, am not. so sure about Gnome and others. With mine, I use Gnome. Ubuntu 7.10 Gutsy.
|
Zachary Carter
Registered User
Join date: 25 Mar 2007
Posts: 8
|
10-27-2007 08:49
Okay, after some testing, i've found this (about Ubuntu 7.10 Gutsy running Gnome)... OSS sound system works -- but it has the skippy sounds ESD sound system (with esound) works -- but it has a 1 second delay on all sounds (even on other programs  ) ALSA sound system (preferred of course) does not work. I'm pretty new to linux, but i found it out simply by watching the terminal as Second Life ran.
|
Merrick Moose
Registered User
Join date: 20 Oct 2005
Posts: 191
|
10-27-2007 16:57
Any sound server, ESD, pulse, etc will have delayed sound when playing a game that uses a lot of CPU resources. Especially if the system is a single core, there may not be any problem on a dual core or higher system.
Alsa will be built into the kernel soon as the default option as opposed to OSS.
SL uses SDL or what as a sound interface to the system? There seems to be quite a few issues on this, perhaps with the addition of voice this will be changed.
****Edit
Tested out 1.18.4(1) and the ALSA sound problem seems to be fixed. It runs and stays running with no need for a sound server. So no delay on sounds, unless it is the first time the sound is played and it has to be down loaded from SL itself. Also, looks like the font rendering is nicer.
****Edit Durrr? 2007-10-29T00:38:57Z WARNING: getCtrlByNameAndType: Widget mute_btn has improper type in panel active_speakers_panel Is: 6 Should be: 3
Often dies after that, internal client sound death.
|
Jy Blackthorne
Registered User
Join date: 20 Apr 2007
Posts: 3
|
Sound stutter in Kubuntu
01-08-2008 16:39
The Kubuntu thread at /263/83/228592/1.html covering the same problem, which may be of interest. I run Kubuntu Had the stutter problem, did the ESD install & supress OSS & ALSD. Now, if I launch in a window, no sound. If I launch full-screen, sound is good. If I use Edit Preferences to change to window, sound remains good. I don't expect other applications to be able to use sound while SL is running though.
|