LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games
User Name
Password
Linux - Games This forum is for all discussion relating to gaming in Linux.

Notices


Reply
  Search this Thread
Old 10-03-2005, 03:49 AM   #1
Daejavu
Member
 
Registered: Jul 2005
Distribution: Ubuntu . Athlone XP 2600, 512 MB Ram
Posts: 56

Rep: Reputation: 15
Exclamation Enemy Territory Sound Issue


i know that there are alot of threads on it already but none worked for me and i wanted to give my own output from the console...
game works like a charm ... no graphic or fps issues .. just a sound problem .. no sound at all .. not even music of the game ! heres the output ..
===============================================
ET 2.60 linux-i386 Mar 10 2005
----- FS_Startup -----
Current search path:
/home/shoshe/.etwolf/etmain/vlasterx_ss_skins_v1-0.pk3 (125 files)
/home/shoshe/.etwolf/etmain/temple_final.pk3 (57 files)
/home/shoshe/.etwolf/etmain/pak90.pk3 (1 files)
/home/shoshe/.etwolf/etmain/pak7322.pk3 (2 files)
/home/shoshe/.etwolf/etmain/mlb_daybreak.pk3 (158 files)
/home/shoshe/.etwolf/etmain/gameradius.pk3 (2 files)
/home/shoshe/.etwolf/etmain/dubrovnik_final_1104.pk3 (186 files)
/home/shoshe/.etwolf/etmain/CNH-09031103.pk3 (8 files)
/home/shoshe/.etwolf/etmain/7map7.pk3 (1 files)
/home/shoshe/.etwolf/etmain/3map3.pk3 (1 files)
/home/shoshe/.etwolf/etmain/10map10.pk3 (1 files)
/home/shoshe/.etwolf/etmain
/home/shoshe/enemy-territory/etmain/pak2.pk3 (22 files)
/home/shoshe/enemy-territory/etmain/pak1.pk3 (10 files)
/home/shoshe/enemy-territory/etmain/pak0.pk3 (3725 files)
/home/shoshe/enemy-territory/etmain/mp_bin.pk3 (6 files)
/home/shoshe/enemy-territory/etmain

----------------------
4305 files in pk3 files
execing default.cfg
couldn't exec language.cfg
execing profiles/shoshe/etconfig.cfg
couldn't exec autoexec.cfg
Hunk_Clear: reset the hunk ok

------- Input Initialization -------
Joystick is not active.
------------------------------------


------- sound initialization -------
/dev/adsp: Input/output error
Could not mmap /dev/adsp
------------------------------------
Sound memory manager started
Sys_LoadDll(/home/shoshe/.etwolf/etmain/ui.mp.i386.so)...
Sys_LoadDll(/home/shoshe/.etwolf/etmain/ui.mp.i386.so) failed:
"/home/shoshe/.etwolf/etmain/ui.mp.i386.so: cannot open shared object file: No such file or directory"
Sys_LoadDll(/home/shoshe/enemy-territory/etmain/ui.mp.i386.so)... ok
Sys_LoadDll(ui) found **vmMain** at 0xa5f51f40
Sys_LoadDll(ui) succeeded!
--- Common Initialization Complete ---
Opening IP socket: localhost:27960
Hostname: localhost.localdomain
Alias: localhost
Alias: Osiris
IP: 127.0.0.1
Started tty console (use +set ttycon 0 to disable)
^5PunkBuster Client: PunkBuster Client (v1.202 | A0) Enabled
^5PunkBuster Client: Game Version [ET 2.60 linux-i386 Mar 10 2005]
^5PunkBuster Client: Not Connected to a Server
Resolving etmaster.idsoftware.com
etmaster.idsoftware.com resolved to 192.246.40.60:27951
----- CL_Shutdown -----
RE_Shutdown( 1 )
-----------------------
----- CL_Shutdown -----
-----------------------
Shutdown tty console
=================================================

i know its ne heck of an output but nothing is like working for me ..
need some help with it !
thanks in advance
(btw im using Ubuntu Hoary)

Last edited by Daejavu; 10-03-2005 at 03:50 AM.
 
Old 10-03-2005, 09:46 PM   #2
mammlouk
Member
 
Registered: May 2005
Location: Colorado
Distribution: Suse 10.0 OSS RC1
Posts: 100

Rep: Reputation: 15
Seems like /dev/adsp is not your sound device. Figure out where it is actually configured and change the config to reflect it.
 
Old 10-21-2005, 06:43 PM   #3
shazam75
Member
 
Registered: Oct 2004
Location: Australia, Brisbane
Distribution: Gentoo
Posts: 296

Rep: Reputation: 30
hi Daejavu

Did you get your sound working? I have the same problem and my output is:

------- sound initialization -------
/dev/dsp: Input/output error
Could not mmap /dev/dsp
------------------------------------
Sound memory manager started
Sys_LoadDll(/home/shelton/.etwolf/etmain/ui.mp.i386.so)...
Sys_LoadDll(/home/shelton/.etwolf/etmain/ui.mp.i386.so) failed:
"/home/shelton/.etwolf/etmain/ui.mp.i386.so: cannot open shared object file: No such file or directory"
Sys_LoadDll(/usr/local/games/enemy-territory/etmain/ui.mp.i386.so)... ok
Sys_LoadDll(ui) found **vmMain** at 0x4a2b2bb4
Sys_LoadDll(ui) succeeded!
 
Old 10-21-2005, 10:19 PM   #4
shazam75
Member
 
Registered: Oct 2004
Location: Australia, Brisbane
Distribution: Gentoo
Posts: 296

Rep: Reputation: 30
OK got it fixed

http://alsa.opensrc.org/faq/

When I try to play Enemy Territory or other games based on the Quake 3 engine, I get an "/dev/dsp: Input/output error Could not mmap /dev/dsp" message

Read the OssEmulation documentation about setting the parameters for OSS via the /proc interface.

For some people trying to play ET, the following works:



echo "et.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss
You will generally need to add write permissions even for the root user in order to echo anything to /proc/asound/card0/pcm0p/oss. Also remember your new settings will not be preserved following a reboot.

::which changes the playback part of OSS (indicated by the "p" in "pcm0p").

You may also need to try this:

echo "et.x86 0 0 disable" > /proc/asound/card0/pcm0c/oss
::which disables capture (meaning microphone input? PCM input?):

This is not enough for some driver modules such as cs46xx for which you need to enable mmap explicitly via a module option. See the relevant AlsaDrivers pages for more info on your driver modules.

On the M-Audio Revolution 7.1 with enemy-territory, all the above does is change the error message to: Could not set /dev/dsp to stereo=2.

An easy-fix workaround is using esd 0.2.35 or above as an intermediate. just type

esddsp --mmap mygame
Where mygame is the name of the game, and it will probably run. You should have esd (esound) installed (and esd active) of course.
 
Old 10-22-2005, 06:14 AM   #5
estatik
Member
 
Registered: Oct 2003
Location: CA / NY
Distribution: Mandrake 9.1, 9.2, 10.1, Cooker
Posts: 145

Rep: Reputation: 15
Here is a simple script (I believe I got it from the no_sound_in_Quake, modified to my needs) that I run whenever I turn my box on so as to play ET:

#!/bin/sh

#Make sure that the path to your installation is correct!
cd /usr/local/games/enemy-territory

if ! grep "et.x86" /proc/asound/card0/pcm0p/oss >/dev/null; then
if [ "`whoami`" != "root" ]; then
echo "You have to be root to setup the alsa's oss emulation first."
exit 1
fi
echo "et.x86 0 0 direct" >/proc/asound/card0/pcm0p/oss
echo "et.x86 0 0 disable" >/proc/asound/card0/pcm0c/oss
echo "alsa's oss emulation setup, re-run as normal user."
exit 0
fi
if [ "`whoami`" = "root" ]; then
echo "Must run as normal user."
exit 1
fi

if pgrep artsd >/dev/null || pgrep esd >/dev/null; then
killall artsd >/dev/null 2>&1
killall esd >/dev/null 2>&1
sleep 1

Just copy it using a text editor, name it et start up script, put it in your ~/.etmain dir and open up a terminal and type,
1) as root: # sh /home/"your_user_name"/.etwolf/et\ start\ up\ script
2) exit then as normal user : $ sh .etwolf/et\ start\ up\ script

Last edited by estatik; 12-22-2005 at 12:55 AM.
 
Old 10-22-2005, 06:22 AM   #6
shazam75
Member
 
Registered: Oct 2004
Location: Australia, Brisbane
Distribution: Gentoo
Posts: 296

Rep: Reputation: 30
wow thanks for that - how do you make it run automatically when you turn your box on?
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Punkbuster CD key issue with Enemy Territory halfhaggis Linux - Games 5 05-24-2008 02:30 AM
Enemy Territory issue bskullz Linux - Software 8 11-01-2005 06:48 AM
No sound in Enemy Territory wnaLinux Linux - Games 13 02-13-2005 05:00 PM
Enemy Territory - No sound lindude Linux - Software 2 09-07-2004 11:03 AM
Enemy Territory.. no sound?? trey85stang Linux - Games 3 12-20-2003 04:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games

All times are GMT -5. The time now is 02:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration