LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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
 
LinkBack Search this Thread
Old 08-29-2005, 11:48 AM   #1
bizzarem1ke
Member
 
Registered: Aug 2005
Location: Ohio
Distribution: Gentoo!
Posts: 64

Rep: Reputation: 15
Game sound issues


Well i installed, Enemy Terroritory and it runs great, alot better then windows. but, im having a sound problem, ive got music, and movie sound on my desktop, but in game, i cant hear anything. and im very confused about the whole situtation. so if anyone else has fixed this problem please let me know how to fix it.

thank you
 
Old 08-29-2005, 11:51 AM   #2
cuiq
Member
 
Registered: Aug 2004
Location: Philly
Distribution: Debian Lenny, FreeBSD
Posts: 577

Rep: Reputation: 30
Did you use Wine Or Cedega to install the game?



peace V
 
Old 08-29-2005, 11:55 AM   #3
bizzarem1ke
Member
 
Registered: Aug 2005
Location: Ohio
Distribution: Gentoo!
Posts: 64

Original Poster
Rep: Reputation: 15
no sir, it has a linux file of the game for you.

et-linux-2.60.x86.run

but no sound.
 
Old 08-29-2005, 12:03 PM   #4
cuiq
Member
 
Registered: Aug 2004
Location: Philly
Distribution: Debian Lenny, FreeBSD
Posts: 577

Rep: Reputation: 30
Ok then, are you using the Alsa sound drivers for your sound card?



peace V
 
Old 08-29-2005, 12:11 PM   #5
bizzarem1ke
Member
 
Registered: Aug 2005
Location: Ohio
Distribution: Gentoo!
Posts: 64

Original Poster
Rep: Reputation: 15
um, im using the ones that are default, how do i check these.

only second day on linux
 
Old 08-29-2005, 12:15 PM   #6
bizzarem1ke
Member
 
Registered: Aug 2005
Location: Ohio
Distribution: Gentoo!
Posts: 64

Original Poster
Rep: Reputation: 15
------- sound initialization -------
/dev/dsp: Input/output error
Could not mmap /dev/dsp
-----------------------------------


is what i get in console.
 
Old 08-29-2005, 12:36 PM   #7
cuiq
Member
 
Registered: Aug 2004
Location: Philly
Distribution: Debian Lenny, FreeBSD
Posts: 577

Rep: Reputation: 30
Ok, I found that Fedora Core 4 has the alsa package installed by default. So on the console type "alsamixer" w/o quotes, this should allow you to check your alsa settings, maybe something is muted or needs to be turned up.



peace V
 
Old 08-29-2005, 06:22 PM   #8
bizzarem1ke
Member
 
Registered: Aug 2005
Location: Ohio
Distribution: Gentoo!
Posts: 64

Original Poster
Rep: Reputation: 15
nope, everything was turned on

hmm. ill give you the whole console msg.

------- sound initialization -------
/dev/dsp: Input/output error
Could not mmap /dev/dsp
------------------------------------
Sound memory manager started
Sys_LoadDll(/home/Constantine/.etwolf/etmain/ui.mp.i386.so)...
Sys_LoadDll(/home/Constantine/.etwolf/etmain/ui.mp.i386.so) failed:
"/home/Constantine/.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 0xee08bf40
Sys_LoadDll(ui) succeeded!


it seems. that it doesnt see my sound file, because well i cant run any i386 on fedora core 64 bit.

if there is a reach around on this let me know.
 
Old 08-29-2005, 07:30 PM   #9
cuiq
Member
 
Registered: Aug 2004
Location: Philly
Distribution: Debian Lenny, FreeBSD
Posts: 577

Rep: Reputation: 30
Have you installed the nforce 4 drivers from nvidias website? If not, here is the link;

http://www.nvidia.com/object/unix.html

The linux 64 bit drivers are at the bottom.



peace V
 
Old 08-29-2005, 10:35 PM   #10
bizzarem1ke
Member
 
Registered: Aug 2005
Location: Ohio
Distribution: Gentoo!
Posts: 64

Original Poster
Rep: Reputation: 15
yeah, i have my nvidia drivers installed
 
Old 08-30-2005, 12:34 AM   #11
randyding
Member
 
Registered: May 2004
Posts: 552

Rep: Reputation: 30
This is a common problem, you have to do some of the steps described here before running the game.
http://www.alsa-project.org/~iwai/OSS-Emulation.html
If this doesn't get you going let us know, there's some other things to try.

Edit: Ok, I've added my startup script below that shows how to start glquake,
another one of ID games that has the same issue.

Code:
#!/bin/sh

cd /usr/local/games/quake/QUAKE

# http://www.alsa-project.org/~iwai/OSS-Emulation.html
if ! grep "glquake" /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 "glquake 0 0 direct" >/proc/asound/card0/pcm0p/oss
    echo "glquake 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
fi

mygamma="1.5"

if [ -z "$1" ]; then
    xgamma -gamma "$mygamma"
    ./glquake
    xgamma -gamma 1
elif [ -d "$1" ]; then
    xgamma -gamma "$mygamma"
    ./glquake -game "$1"
    xgamma -gamma 1
fi

Last edited by randyding; 08-30-2005 at 12:37 AM.
 
Old 08-30-2005, 04:31 PM   #12
bizzarem1ke
Member
 
Registered: Aug 2005
Location: Ohio
Distribution: Gentoo!
Posts: 64

Original Poster
Rep: Reputation: 15
nope didnt work

just my in game sounds,

i have sound in movies, and mp3s, and when i error something i have those sounds to. so im really confused about this problem.

Last edited by bizzarem1ke; 08-30-2005 at 04:33 PM.
 
Old 08-30-2005, 10:30 PM   #13
randyding
Member
 
Registered: May 2004
Posts: 552

Rep: Reputation: 30
Post the actual startup script that you are running.
 
Old 08-31-2005, 08:51 PM   #14
bizzarem1ke
Member
 
Registered: Aug 2005
Location: Ohio
Distribution: Gentoo!
Posts: 64

Original Poster
Rep: Reputation: 15
what do you mean by script my sound drivers?
 
Old 08-31-2005, 11:12 PM   #15
randyding
Member
 
Registered: May 2004
Posts: 552

Rep: Reputation: 30
In my case with glquake (don't have ET installed anymore) I can start the game with
Code:
cd /usr/local/games/quake/QUAKE
./glquake -game rogue
But this won't work, the sound will not play in the game and the console shows the same error message you described.
However I can run several commands to properly setup the OSS emulation in ALSA, then it works. I placed all those commands in the script I posted earlier and that is the script I run to start my game.
That script won't work for you as I posted it because it its customized for glquake, not ET. So I wanted to take a look at your script, assuming you took mine and edited it for working with your ET game.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
game sound e1000 Slackware 26 02-16-2006 10:01 PM
terrible sound while playing game vegetassj2 Linux - Games 1 04-24-2005 05:50 AM
Quake3: No sound or no game theonebeyond Linux - Games 6 03-17-2005 07:58 AM
Game website messed up sound? NickC Mandriva 3 12-21-2004 08:34 AM
Utter Newbie needs game/sound help Splunge Linux - Hardware 6 12-07-2004 06:00 PM


All times are GMT -5. The time now is 01:18 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration