Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

SL takes over sound device

Hiro Fluffy
Registered User
Join date: 30 Jan 2006
Posts: 21
11-07-2006 18:59
Hello,

I've noticed that when I'm running SL it takes over my sound device.

This doesn't make any sense because sound "doesn't work" with the Linux client.

Thus I wanted to use SLStream:
hxxp://stux.wikiinfo.org/Tools

However when Totem launches to play audio it tells me that the device is busy.

Is there a way I can do one of these?:

a) Make the SL client use a sound server instead of p0wning my sound device
b) Disable sound entirely in SL (muting the audio in the prefs doesn't do it)
Psyke Phaeton
Psyke's Defense Systems
Join date: 12 Oct 2003
Posts: 197
11-07-2006 21:22
This might be completely unrelated but I had a similar problem with World of Warcraft running under WINE. All I did was start up my (Skype) call before starting WoW.
_____________________

"Our goal is to have as little control as possible." -- Corey "Linden" Ondrejka, Vice President of Product Development, Linden Lab. 16th January 2006
Zi Ree
Mrrrew!
Join date: 25 Feb 2006
Posts: 723
11-08-2006 03:43
Well, Sound *does* work with the Linux client for months now (ESD (default), ALSA or OSS). You might want to read through past postings on this forum to find out about potential problems with sound.
_____________________
Zi!

(SuSE Linux 10.2, Kernel 2.6.13-15, AMD64 3200+, 2GB RAM, NVidia GeForce 7800GS 512MB (AGP), KDE 3.5.5, Second Life 1.13.1 (6) alpha soon beta thingie)

Blog: http://ziree.wordpress.com/ - QAvimator: http://qavimator.org

Second Life Linux Users Group IRC Channel: irc.freenode.org #secondlifelug
Valen Leinhardt
Registered User
Join date: 14 Jul 2006
Posts: 42
11-09-2006 12:36
Yeah, we haven't needed to use slstream for months...the in-game music streamer works just fine, as does all other sound.

It also only takes over the audio device if you're using ALSA. Try the OSS or ESD module which can cooperatively share the audio device (unless you have a simplex sound card, then only ESD will share)
Drake Bacon
Linux is Furry
Join date: 13 Jul 2005
Posts: 443
11-10-2006 15:21
From: Valen Leinhardt
Yeah, we haven't needed to use slstream for months...the in-game music streamer works just fine, as does all other sound.

It also only takes over the audio device if you're using ALSA. Try the OSS or ESD module which can cooperatively share the audio device (unless you have a simplex sound card, then only ESD will share)


ALSA won't block if it's dmix plugin is loaded.
OSS always will block on most devices except the Soundblaster Live, but then I belive they ask to use ALSA anyway.
ESD will share if folks use ESD for everything.
_____________________
Drake Bacon/Drake Winger
Home: Custom AMD X2 (65nm) 5000+, 4 Gig RAM, Gentoo amd64, NVidia GeForce 8600GT PCIe
Mobile: Dell Inspiron E1505 (Core Duo 1.6GHz, 1 gig RAM, Gentoo x86, NVidia GeForce Go 7300 PCIe)
Backup: iMac (Core 2 Duo 2.4GHz, 4 gig RAM, ATI Radeon HD 2400, MacOS X Leopard)
Don't Ask: Asus EeePC 900A (Atom 1.6Ghz, 1 gig RAM, Intel graphics, Gentoo x86)
Compulov Weeks
NARF!
Join date: 2 May 2006
Posts: 7
11-17-2006 05:04
I've been using artsd with success recently. To get SL to play nice, I've modified the secondlife shell script to launch the do-not-directly-run-second-life-bin binary via artsdsp, which intercepts the calls to /dev/dsp and pipes them to artsd. It works, I'd say, around 90% of the time. For some odd reason every once in a blue moon I won't get any sound from Second Life, but usually relaunching fixes it. But those times I do get sound in SL, I can still use xmms, vlc, amarok, just to name a few.
Hiro Fluffy
Registered User
Join date: 30 Jan 2006
Posts: 21
11-19-2006 16:18
From: Zi Ree
Well, Sound *does* work with the Linux client for months now (ESD (default), ALSA or OSS). You might want to read through past postings on this forum to find out about potential problems with sound.


I can get sound to work, but the audio breaks up; it starts and stops about every 1/3rd of a second. Any idea how to fix this?
Hiro Fluffy
Registered User
Join date: 30 Jan 2006
Posts: 21
11-19-2006 16:53
From: Hiro Fluffy
I can get sound to work, but the audio breaks up; it starts and stops about every 1/3rd of a second. Any idea how to fix this?


Nevermind, I think it was my sound device.

I was using the onboard Sigmatel device. When I put in my Audigy 2 and disabled the Sigmatel device it started working as expected.
Electric Delcon
Registered User
Join date: 27 Nov 2006
Posts: 6
11-30-2006 15:40
Is there any way to play the music of one area while you are in another area?

My client froze today and when I control alt backspaced (sloppy I know lol) to relog, the music from the area I was in continued to play (even when logged out of desktop). It continued to play after I logged onto my desktop and once I logged back into Second life it was playing everywhere I went. If I turned on the music of the area I was in it would play it overtop of the other area's musc.

Is there any way to accomplish this on purpose? I liked it hehe
Tiyuk Quellmalz
Registered User
Join date: 9 Jan 2007
Posts: 24
04-20-2007 10:12
From: Compulov Weeks
I've been using artsd with success recently. To get SL to play nice, I've modified the secondlife shell script to launch the do-not-directly-run-second-life-bin binary via artsdsp, which intercepts the calls to /dev/dsp and pipes them to artsd. It works, I'd say, around 90% of the time. For some odd reason every once in a blue moon I won't get any sound from Second Life, but usually relaunching fixes it. But those times I do get sound in SL, I can still use xmms, vlc, amarok, just to name a few.



Very ingenious solution, Compulov! I tried aoss (ALSA's oss emulator) and padsp (PulseAudio's oss emulator) to no avail, but artsdsp works. I'm running arts on top of pulseaudio so I have esd support, and pulseaudio on top of dmix. Still very low latency everywhere :)

Thanks,

-Tiyuk