Log in

View Full Version : dom3 linux alsa?


SalsaDoom
October 14th, 2006, 10:35 PM
Hi fellas,

It seems dom3 is using oss for audio still, which wouldn't normally be a big deal, but for some reason alsa's regular oss emulation doesn't seem to work with dom3.

Anyone else having problems with dom3 and linux audio?
--SD

B0rsuk
October 15th, 2006, 03:36 AM
I use (K)Ubuntu Dapper Drake 6.06 and I have no problem with sound. I use ALSA.

I have to admit, though, that sound effects are slightly laggy , a fraction of a second or something. That is, there's a very short interval between clicking a menu button and hearing click sound.
There was no interval for me in Dominions2, because I used OSS back then. But OSS has poor mixing on ac97 so I switched to ALSA.

The intervals I'm speaking about are typical for 'OSS programs' emulated with ALSA. What's curious, however, is that I typically have to manually do the emulation with a command 'aoss programname'.

WHat's your distro and do you have alsa-oss package installed ?

Oh, one last thing. I know a dirty trick to temporarily switch back to oss. It works in Kubuntu 6.06 at least.
killall artsd
run a program
try to play a sound outside the game and artsd returns.
(as I understand, artsd is some kind of KDE sound thingy)

That's all I can say. My Geforce2 MX is suffering from old age afflictions and it simply freezes if I don't use vesa driver. I can't run Dom3demo until I get another card.

Johan K
October 15th, 2006, 06:37 AM
You can try "dom3 --oss" to skip using artsd if possible. That should reduce sound lag to a minimum and maybe it's artsd that is causing problem for SalsaDoom.

Esben Mose Hansen
October 15th, 2006, 07:02 AM
artsd is one of KDE3's biggest mistake (development stopped shortly after they chose it). It's a sound daemon, capable of mixing and such. It will be replaced with Phonon in KDE4 (with a gstreamer backend, if anyone cares).

SalsaDoom
October 16th, 2006, 07:12 AM
Well, I fixed it. Dom3 still crashes rudely if I don't specifiy -o on the cmd line, but thats not really a problem for someone like me.

I re-installed my alsa-oss libs, apparently they got diddled up in some upgrade.

http://forum.shrapnelgames.com/images/smilies/wink.gif