Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Problems Exiting from SL in Linux Mint and no audio ingame

Sting McMahon
Registered User
Join date: 26 Sep 2007
Posts: 9
12-08-2009 05:52
It exits from SecondLife, but it stays on the taskbar.
Tried to kill the process, but it still shows up.
If I click on it, I see a black window.

For the audio part: I don't hear the classic sounds,like click on object for editing, paying..
While for the streaming part is perfect.. I checked it and it was wonderful, fluent..

Edit: I feel silly: I saw the process do-no-run-secondlife-directly on,closing it it's gone :P
later I check about the audio..
Briana Dawson
Attach to Mouth
Join date: 23 Sep 2003
Posts: 5,855
12-08-2009 06:15
That is how it works these days.

I switched back to windows 7x64 from Ubuntu because of the SL problems.
_____________________
WooT
------------------------------

http://www.secondcitizen.net/Forum/
Katheryne Helendale
(loading...)
Join date: 5 Jun 2008
Posts: 2,187
12-15-2009 02:24
Your problems sound like the viewer is waiting for its audio sinks to close, but the sinks have crashed.

You're running Mint, which is an Ubuntu derivative. Can you tell me which Mint version?

Since you are running an Ubuntu derivative, it is likely you have Pulseaudio installed. Despite a lot of bad rap Pulseaudio has gotten mainly because of bad implementation by distros (particularly Ubuntu), it really is a good, solid sound server. However, some audio engines like OpenAL do not play nice with it (in actuality, OpenAL plays dirty with ALSA, the effects of which are aggravated by Pulseaudio's ALSA plug-ins.

SL audio works as follows:
- In-world sounds (gestures, etc), UI sounds, and in-world ambient sounds all share one audio sink, using OpenAL (default) or FMOD.
- Voice uses OpenAL only.
- Streaming audio uses gstreamer (default), or shares the same sink with in-world/UI/Ambient sounds if FMOD is used.
- Streaming media (video) uses gstreamer only.

You have a couple of choices here. The easiest option is to simply force the viewer to use FMOD which, while glitchy at times, does work. To do this, open the secondlife script and uncomment the "export LL_BAD_OPENAL_DRIVER=x" line (remove the leading # sign), and ensure "export LL_BAD_FMOD_DRIVER=x" remains commented (has a leading # sign). This will force FMOD which will get you all your sounds, but voice will likely be problematic, since it will still try to use OpenAL.

Another option is to replace the openal.so.1 library that comes with the SL viewer. The best, non-destructive means of doing this is to simply rename it, forcing SL to use the version that is already installed in your distro. To do this, do:

cd path_to_your_SL_folder/lib (for me, it is /home/katheryne/secondlife/lib)
mv libopenal.so.1 libopenal.so.1.old

Next, verify you have OpenALSoft installed by typing:
sudo apt-get install libopenal1
_____________________
From: Debra Himmel
Of course, its all just another conspiracy, and I'm a conspiracy nut.

Need a high-quality custom or pre-fab home? Please check out my XStreetSL Marketplace at http://www.xstreetsl.com/modules.php?name=Marketplace&MerchantID=231434/ or IM me in-world.
Masami Kuramoto
Registered User
Join date: 10 Jun 2008
Posts: 17
01-11-2010 03:02
PulseAudio is responsible for the freeze-on-exit bug, high CPU load and choppy audio in general. I recommend removing it.

sudo apt-get install gstreamer0.10-alsa gnome-alsamixer
sudo apt-get purge pulseaudio gstreamer0.10-pulseaudio vlc-plugin-pulse

This will make all audio in SL work: inworld sounds, streaming media, voice chat.
Zayfod Pfeffer
Registered User
Join date: 17 Apr 2008
Posts: 3
Stable Viewer
01-12-2010 10:00
For me, The best combo so far is the Emerald Viewer from http://www.modularsystems,sl and the OpenAL library from http://rapidshare.com/files/331408160/openal-soft.tar.bz2.html which is compiled for PulseAudio.

And don't forget to configure your /etc/openal/alsoft.conf for Pulse.

-Zayfod
Kubuntu 9.10 AMD64 PulseAudio
Ford Static
Registered User
Join date: 4 Dec 2009
Posts: 12
01-14-2010 13:27
Hi Masami,

You've just fixed my problems with freezing on exit, high CPU load and choppy audio. Thank you kindly! :)

- Ford