Rudy Schwartzman
Registered User
Join date: 28 Dec 2006
Posts: 66
|
02-08-2008 07:59
Hi, Is there a concise how-to for Linux users who want to use voice in SL? I'd like to know about hardware selection / requirements (both sound hardware and microphone / headset) and software configuration. (I'm aware of the thread "Voice Support for the Linux Client" / /263/74/206270/1.html but frankly I'm a bit too lazy to wade through its 200 replies to extract the information I need, assuming it's even there.) I'm running SL 1.19.0.1 under openSUSE 10.3 on an ASUS P5B/Deluxe mainboard (no add-in sound hardware, just the on-board Intel 82801H HD audio controller, and an nVidia video card) with a Core 2 Duo CPU. Thanx! Rudy
|
Adamas Carter
Registered User
Join date: 2 Jun 2007
Posts: 192
|
02-08-2008 12:12
I posted this in the voice support thread. If you ignore the stuff about Wine (now that the Linux blob is released in the rc and wl) the rest should make it work.
http://www.paganstead.com/extras/sl_voice_linux.txt
Post again if you have any questions.
Adamas
|
Rudy Schwartzman
Registered User
Join date: 28 Dec 2006
Posts: 66
|
02-08-2008 12:47
Thanks, Adamas. I'll give that a go.
Do you have any recommendations for what should I look for in buying a microphone / headset for SL voice chat??
Rudy
|
Adamas Carter
Registered User
Join date: 2 Jun 2007
Posts: 192
|
02-08-2008 13:09
I'm just using a cheap Plantronics headset I bought a year ago for something else. I don't know enough to be able to recommend anything, but this seems to work pretty good.
Adamas
|
Drake Bacon
Linux is Furry
Join date: 13 Jul 2005
Posts: 443
|
Voice w/USB headset
02-09-2008 08:21
Here's my small guide to do it with a USB headset like a Logitech. I'll also have this in the Metaverse Messenger slated for next week. Thus, I quote: I GOT IT WORKING!!! I'm using a Logitech USB based headset in addition to my regular audio. Here's what I did. VIVOX USES OPENAL TO USE AUDIO. It's configuration is in ~/.openalrc. This is my configuration, using a USB headset as the second audio source: (define devices '(alsa native esd null)) (define alsa-out-device "hw:1,0"  (define alsa-in-device "plughw:1,0"  Yes, they use Lisp. Second, use ESD to direct all SL sounds (but not Voice) to your regular sound system. You may also use ALSA, whatever works for you. Run esd in the background. Then run SL... and connect... with voice!
_____________________
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)
|
Adamas Carter
Registered User
Join date: 2 Jun 2007
Posts: 192
|
02-09-2008 11:18
Okay. I gotta say this because distros seem to vary greatly. With OpenSUSE and probably other distros, ~/.openalrc does not exist. Putting one in there breaks voice. There is an /etc/openalrc (notice no dot) file, but messing with it messes up the audio system. This is what is in OpenSUSE's /etc/openalrc file by default: (define devices '(alsa native)) ;; uncomment this to output via the 2nd soundcard ;  define alsa-device "plughw:2,0"  If you try to put in params other than this in this file it will not work. If Vivox uses OpenAL for voice, it is getting forwarded to alsa by default. On these systems, you don't mess with OpenAL for voice services, you use ALSA, ESD and PulseAudio. I understand Gentoo works a certain way, and playing with OpenAL makes stuff work, but those methods won't work with OpenSUSE and probably many other similar (and popular) distros. Last, it might be helpful to know how to direct ESD or ALSA to do certain things, like use alternate audio inputs and outputs. I find (using one audio card, like most people) that using anything other than default settings for everything breaks voice and/or audio. Also, remember different distros put config files in different places. Just because Gentoo puts something like .openalrc in a user's home folder, doesn't mean anybody else does that. Adamas
|
Drake Bacon
Linux is Furry
Join date: 13 Jul 2005
Posts: 443
|
02-09-2008 12:03
From: Adamas Carter If Vivox uses OpenAL for voice, it is getting forwarded to alsa by default. On these systems, you don't mess with OpenAL for voice services, you use ALSA, ESD and PulseAudio. It does. It's what's bundled w/SL, and a library trace points to the libopenal.so that is included. SL itself (since Vivox runs seperately and interfaced via TCP/IP) uses FMOD (previously discussed and there's many patches for moving it to OpenAL). From: someone I understand Gentoo works a certain way, and playing with OpenAL makes stuff work, but those methods won't work with OpenSUSE and probably many other similar (and popular) distros. Not really. I don't have OpenAL installed system-wide on my Gentoo box -- I never had a need for it. So I'm using the OpenAL libs that SL provides... and if you checked the ./secondlife script, it loads any library SL provides first. From: someone Last, it might be helpful to know how to direct ESD or ALSA to do certain things, like use alternate audio inputs and outputs. I find (using one audio card, like most people) that using anything other than default settings for everything breaks voice and/or audio. Also, remember different distros put config files in different places. Just because Gentoo puts something like .openalrc in a user's home folder, doesn't mean anybody else does that. I doubt it's that we put it in different directories, it's more like there's two .openalrc's -- the system version on /etc/openalrc and a user version that overrides the system on ~/.openalrc. Both are read -- system first followed by user. That's standard M.O. on many programs and libraries, including ALSA itself (which is drivers for the hardware and libraries for interfacing with it).
_____________________
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)
|