LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Games (https://www.linuxquestions.org/questions/linux-games-33/)
-   -   Enemy Territory does not play sound in ubuntu linux (https://www.linuxquestions.org/questions/linux-games-33/enemy-territory-does-not-play-sound-in-ubuntu-linux-289541/)

sabot 02-13-2005 12:29 AM

Enemy Territory does not play sound in ubuntu linux
 
After installing Enemy Territory in ubuntu linux 4.10 I was unable to get sound. The solution to this problem for me was to open the root terminal and enter:

echo "et.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss

Then I could open a normal terminal and enter:

et

This solved my sound problem. I have to enter the echo command each time I reboot to play the game and have sound. If you have a better way to get sound in Enemy Territory, please add to this thread.

pe2338 02-13-2005 07:03 AM

Do you have the sound daemon active?
Code:

ps -A | grep esd
if so, try without it
Code:

killall esd ; killall -9 esd; et

do you have access to the sound devices in rest?
Code:

id | grep audio
if not, (I doubt it) add your user to the audio group


what are the permisions under which the game runs?
Code:

ls -l /pathtogame/game

Yert 04-17-2005 08:21 AM

The poster's fix for Ubuntu works, at least for me (default Ubuntu "Hoary Hedgehog" release).

danielw 05-16-2005 06:03 AM

yeh it worked for me too.

I just put it in my rc.local and all is sweet.

danielw 05-16-2005 06:10 AM

Check this out too: http://ubuntuforums.org/archive/index.php/t-17490.html

In summary...
Open up ~/.etwolf/etmain/profiles/%profilename%/etconfig.cfg and change
Code:

seta snddevice "/dev/dsp"
to
Code:

seta snddevice "/dev/adsp"
It doesn't work for me (mine is an AC97 card) but like the site says, it may work with others.

mrbass 05-22-2005 01:19 AM

I used to do the killall -9 esd each time before starting ET. My 6 year old kept calling me downstairs to do it for him. No need to do it any longer as I just did

sudo gedit /etc/esound/esd.conf

edit so it looks like so

[esd]
auto_spawn=1
spawn_options=-terminate -nobeeps -as 2 -d default
spawn_wait_ms=100
# default options are used in spawned and non-spawned mode
default_options=

This is taken from this thread and no I didn't do any of the other things like alsa.conf or whatever.
http://www.ubuntuforums.org/showthread.php?t=26567

averagejoe84 06-15-2005 05:07 PM

I have a similar problem with ET in Fedora core 3 no sound in the game, I also have UT2004 and that sound works just fine, I have no idea what is wrong


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