Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 02-19-05, 11:07 AM   #1
Braese
Registered User
 
Join Date: May 2003
Posts: 2
Default Soundstorm , ET + TS2

Hi,

i had Problems with multiple Soundstreams with ET and Teamspeak2. When the 2 apps running alone, no Problems so far. But when i start TS2 and then ET, ET wonīt start, itīs a sound device Problem. I have this Problem for a long time now, perhaps anyone have a solution?

I tested also these commands:
echo "et.x86 0 0 disable" > /proc/asound/card0/pcm0c/oss
echo "et.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss
echo "et.x86 0 0 disable" > /proc/asound/card0/pcm1c/oss

but didnīt solve my Problem. With Sounddriver from the Nvidia Unified Drivers, TS2 wont start.
I use Alsa and the snd_intel8x0

my Mobo is an Epox 8rda+, Kernel is 2.6.8

please help me, thx
Braese is offline   Reply With Quote
Old 01-14-09, 03:12 PM   #2
Fona
Registered User
 
Join Date: Jan 2009
Posts: 7
Default Re: Soundstorm , ET + TS2

I have exactly the same problem!

The only difference is the time elapsed and I run GeForce MX/MX 400; Ubuntu 8.04 with Kernel 2.6.24-23-generic in a Pentium III 800; and the last nvidia drivers version.

I tried echo and didn't worked too. Also tried with alsa, aoss, esd... and the only think I reached to is getting out all the sound

Did someone solved it? I'm desperate cause I spent so many complete days trying to fix it

Thanks
Fona is offline   Reply With Quote
Old 01-15-09, 10:36 AM   #3
ponce
Registered User
 
ponce's Avatar
 
Join Date: Jan 2009
Posts: 29
Default Re: Soundstorm , ET + TS2

you gotta use

http://nullkey.ath.cx/~stuff/et-sdl-sound/

(after building lib and copied in main et folder, I substituted et launch script with this)
Code:
#!/bin/sh
# Needed to make symlinks/shortcuts work.
# the binaries must run with correct working directory
export ETSDL_SDL_LIB="libSDL.so"
export SDL_AUDIODRIVER="alsa"
cd "/home/poncez/enemy-territory"
LD_PRELOAD="${LD_PRELOAD}:./et-sdl-sound.so" ./et.x86 $*
exit $?
and launch teamspeak with aoss: alsa software mixing (dmix plugin) should be on by default.
refer to this page for more info

http://alsa.opensrc.org/index.php/Ha...oftware_mixing
ponce is offline   Reply With Quote
Old 01-15-09, 02:42 PM   #4
Fona
Registered User
 
Join Date: Jan 2009
Posts: 7
Default Re: Soundstorm , ET + TS2

ponce

Thanks, you've put me the closest to solving the problem but still remains something.

I'm able to run properly et under et-sdl-sound. While this, I can use, for example, Rhythmbox and et hearing the sound properly.
I'm also able to run teamspeak properly by doing

Code:
:~$ teamspeak -ao alsa:device=pasymed
(if I

Code:
:~$ aoss teamspeak i get Qt: Locales not supported on X server
It runs but i get muted)

Btw when I try to run ts and et coupled by means of the above quoted, et don't get the sound.

Any idea what it could be? Please, you have to know that
Fona is offline   Reply With Quote
Old 01-16-09, 01:23 AM   #5
ponce
Registered User
 
ponce's Avatar
 
Join Date: Jan 2009
Posts: 29
Default Re: Soundstorm , ET + TS2

the problem is you have to activate software mixing, it's explained in the link above

"Repair the objective!"
"Jahahaa!"
ponce is offline   Reply With Quote
Old 01-16-09, 01:49 PM   #6
Fona
Registered User
 
Join Date: Jan 2009
Posts: 7
Default Re: Soundstorm , ET + TS2

"Were to?"

I think there's a misunderstanding. I'd followed the instructions of the two links and everything works fine since I run both. So I do:

Code:
teamspeak -ao alsa:device=pasymed
Now ts works fine. Let's play:

I go to the directory and double click on et-sdl-sound. And exec in a terminal. Or

Code:
bash et-sdl-sound
Then et starts but without sound.

Note: 1- If I run et-sdl-sound without ts pasymed on not, et sound works).
2- Doesn't matter if I also run et-sdl-sound pasymed. It doesn't work.

Then my question is where I got lost?! I've read three times (and tried different points of view) and don't see anything different from the first time I feel stupid

"NEED A MEDIC"

and thanks for the patience!
Fona is offline   Reply With Quote
Old 01-17-09, 04:18 AM   #7
ponce
Registered User
 
ponce's Avatar
 
Join Date: Jan 2009
Posts: 29
Default Re: Soundstorm , ET + TS2

you gotta substitute your et launch script in enemy territory directory with the one provided on the first message, and copy et-sdl-sound.so (that you must compile downloading sources from the first link in the same first message) in the same directory.
then launch et normally.

"Check for landmines!"
ponce is offline   Reply With Quote
Old 01-17-09, 02:37 PM   #8
Fona
Registered User
 
Join Date: Jan 2009
Posts: 7
Default Re: Soundstorm , ET + TS2

No way!

Let's explain step by step.

I download et-sdl-sound.tar-gz (better for me than wget from I have permission problems. But this doesn't matters).

I extract it inside /home/"me"/Wolf3D/
No problem.
I copy et-sdl-sound.so inside /home/"me"/Wolf3D/
I substitute et script (inside /home/"me"/Wolf3D/ of course) with:

Code:
#! /bin/bash
export ETSDL_SDL_LIB="libSDL_sound-1.0.so.1"
export SDL_AUTODELIVER="alsa"
cd "/home/roger/Wolf3D"
LD_PRELOAD="${LD_PRELOAD}:./et-sdl-sound.so" ./et.x86 $*
(note my libSDL.so is the quoted above. It doesn't works with libSDL.so only)

Then i get ts working
Code:
teamspeak -ao alsa:device=pasymed
And et

Code:
cd /Wolf3D
bash et
Well and now it loads without sound giving me (of interest):
Code:
    1 stereo
131072 samples
   16 samplebits
    1 submission_chunk
44100 speed
0x0xaa0b2008 dma buffer
No background file.
----------------------
Sound memory manager started
Sys_LoadDll(/home/roger/.etwolf/etmain/ui.mp.i386.so)... 
Sys_LoadDll(/home/roger/.etwolf/etmain/ui.mp.i386.so) failed:
"/home/roger/.etwolf/etmain/ui.mp.i386.so: cannot open shared object file: No such file or directory"
Sys_LoadDll(/home/roger/Wolf3D/etmain/ui.mp.i386.so)... ok
Sys_LoadDll(ui) found **vmMain** at  0xa8520f40  
Sys_LoadDll(ui) succeeded!
--- Common Initialization Complete ---
That:

Code:
----- CL_Shutdown -----
Closing SDL audio device...
SDL audio device shut down.
RE_Shutdown( 1 )
-----------------------
----- CL_Shutdown -----
-----------------------
Shutdown tty console
roger@Mandro:~/Wolf3D$ bash et
Read /home/roger/Wolf3D/et.x86 (1604328 bytes)
0x8188250: e9 ab 02 d8 af 
0x8188840: e9 fb fc d7 af 
0x81888d0: e9 ab fc d7 af 
0x81888f0: e9 cb fc d7 af 
0x81888e0: e9 1b fd d7 af 
Found ET 2.60b (CRC32 = 0x6ab49f82)
Using SDL backend.
et-sdl-sound-r29 (Apr 13 2008 13:59:02, 3.4.6 (Gentoo 3.4.6-r2 p1.5, ssp-3.4.6-1.0, pie-8.7.10)) loaded.
ET 2.60b linux-i386 May  8 2006
And That:
Code:
------- sound initialization -------
SDL audio driver initializing...
ALSA lib pcm_dmix.c:874:(snd_pcm_dmix_open) unable to open slave
SDL_AudioDriverName() = NULL
------------------------------------
Don't know what it happens but when I start et without ts (in the same way) works fine (also if I try hearing music from other sources). So as you said, mixing is not enabled but I don't know the reason. Do you know?

"Deploy mortar!"
Fona is offline   Reply With Quote

Old 01-18-09, 12:15 AM   #9
ponce
Registered User
 
ponce's Avatar
 
Join Date: Jan 2009
Posts: 29
Default Re: Soundstorm , ET + TS2

you could recompile et-sdl-sound.so too, instead of copying the precompiled (gentoo) version, just issue "make clean; make" in the folder where you have found the precompiled one and you've got your et-sdl-sound.so that you can use (probably) with libSDL.so.
but leaving away this step, the REAL problem you got is that your audio card (this is the third time I write it) doesn't support hardware mixing, so you GOTTA activate software mixing, as described here
http://alsa.opensrc.org/index.php/Ha...oftware_mixing

"No can do!"
ponce is offline   Reply With Quote
Old 01-18-09, 06:58 AM   #10
Fona
Registered User
 
Join Date: Jan 2009
Posts: 7
Default Re: Soundstorm , ET + TS2

"No can do"

I think I read it carefully up to 10 times and followed all the instructions carefully too. IMO I'm not forgetting any step.

So I don't understand exactly what I'm doing wrong. We are getting around the same all time. Please be more precise cause I don't get it.

Thanks

"Taking fire"
Fona is offline   Reply With Quote
Old 01-18-09, 11:50 AM   #11
ponce
Registered User
 
ponce's Avatar
 
Join Date: Jan 2009
Posts: 29
Default Re: Soundstorm , ET + TS2

you have to go to your distribution forum and ask how to enable software mixing for your card: test it also, if it works with mpg123/other apps it works also with et and teamspeak.
the problem is I think your software mixing setup don't work and I can't debug it from here.

also, reading carefully what you have written over, it seems you're launching teamspeak wit -ao switch, try launching with aoss ("aoss teamspeak").

"No can do!"
ponce is offline   Reply With Quote
Old 01-19-09, 03:21 PM   #12
Fona
Registered User
 
Join Date: Jan 2009
Posts: 7
Default Re: Soundstorm , ET + TS2

I'll try it ponce. If doesn't works I think I'll surrender.

But anyway ty very much! For the effort, patience and kindness.

If success I'm going to post it also.

"Cover me!"
Fona is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Soundstorm: First the song, now the video pidge General Hardware 8 09-17-02 11:36 AM

All times are GMT -5. The time now is 08:11 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright Đ1998 - 2014, nV News.