No Sound in Games
I have recently turned faceward towards Ubuntu and gave it all a shot! Unfortunately all I am getting is problem after problem. The game now runs amazingly but puts out no sound. I tried a few killall commands, turning all volumes to max, and reading a LOT today. I have a sound blaster live! card which I am using in place of my onboard ac97 audio. I get sound through apps like GAIM and other small stuff. When I attempt to play UT2004 or Enemy-Territory it plays be again no sound. What can I do to fix this issue?
|
is esd running? Sounds like esd is hijacking /dev/dsp for itself and not allowing anything else to access it. I would kill esd and start the game and see if that helps. I know that you mentioned having to killall a lot of things, was esd one of them? Anyway - hope this helped, but if not let me know and we can run with it from there.
|
Most commercial games don't work well with ALSA(the new and better sound system for Linux). However, ALSA also has OSS(the old sound system) support.
Just run: modprobe snd_pcm_oss (as root) This will load ALSA's OSS emulation. You might have to change the setup for the games as well. UT2004, DOOM 3 and QUAKE 4: Make sure snd_pcm_oss is loaded (as explained above). To make it uses the OSS emulation, add the following when starting it (if needed): +set s_driver oss Example: "doom3-demo +set s_driver oss" (From now it will remember to use the OSS emulation.). Wolfenstein ET: Make sure snd_pcm_oss is loaded. Next do (also as root): echo "et.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss PS: Do post back if you need more info. |
Here is exactly what I did in Ubuntu:
1. Ran modprobe snd_pcm_oss as root. 2. Tried the game (UT2004), no improvement and same error appears. (WARNING: ALC_EXT_capture is subject to change!) 3. Right-clicked ut2004-demo.run and clicked properties. I then added a space at the end of the name and pasted: +set s_driver oss 4. Tried game, still no Kudos. And as for the first replier, I did the esd kill cmd. |
how can i play video cd's in linux like movies etc.
|
Quote:
|
Quote:
http://www.linuxquestions.org/questi...d.php?t=237788 ...The OP did'n answer if it worked though. Also, did you try changing the sound configuration in the game itself? Apart from UT2004, did you get ET to work(as I explained above)? |
I released A copy of my distro with unreal 2004 demo installed on it .
Sometimes when loading games like unreal you get something like "unable to connect to soundcard" , just before the game starts . to fix it I either open up "system monitor" in gnome and look through all the processes to see if "esd" or "artsd" are running ( they may be running twice ) and then kill them . alternativly you could execute "killall esd" and "killall atsd" once or twice . This may be a different problems , but sound still works through apps like GAIM and some other stuff . If your sound is working fine on some level , it must be a process getting in the way . |
Here is a list of my processes:
http://img228.imageshack.us/img228/2...eenshot7wq.png I tried what was suggested in that other thread but it didn't seem to work either. :/ (The part where you make a file, I made it but had no idea what to do from there or where to put it.) I've been thinking that maybe I need some other sound driver for my SBLive! card? I killed the esd process, the atsd process isn't present on this system. (I was told its for KDE.) The only error I receive when starting the game is (WARNING: ALC_EXT_capture is subject to change!. I would mess with my audio configuration in-game but I am limited to the openAL driver. Thanks for your help thus far. [EDIT] Reminding that I have both onboard and PCI sound. (Currently using my PCI SBLive! card.) |
Have you tried using your onboard sound magnum? I had so many problems a year or so ago with two sound cards conflicting with one another, using the onboard did the trick though.
|
Oh my gosh... SWEET SWEET SOUND!
Just so you guys know, (WARNING: ALC_EXT_capture is subject to change!) will show whether the sound works or not. So I believe the error is unrelated. Thanks for your help! (BTW, I had to kill one esd process before it worked.) |
I believe "ALC_EXT_capture is subject to change" is todo with a mode of graphics
driver , alternate to what comes with Xorg . Im not sure . Glad to here you got your audio. |
Hello!
It seems like I ran into some (maybe) closely related sound-problem. Running on Ubuntu too, I have sound on the onboard-card (use it for VoIP/headphones), but not on my primary sound-device (Audigy 2) - seems like the settings for the primary device are not used for the games?! :( Semi-desperately (after all, I have *some* sound at least) - Weasel75 |
Quote:
-M |
"WARNING: ALC_EXT_capture is subject to change" is part of the voip audio capture support, and just like is says it is only a warning. It should probably say notice but EVERYONE should get it.
|
All times are GMT -5. The time now is 12:13 AM. |