Hi,
Just thought I'd describe an issue I ran into which might save others a few hours/days of hair pulling. This occurs on the default configuration of Ubuntu, I didn't find any references to this being reported before.
SymptomsAfter starting sdlmame (doesn't matter which version, I tried a few different ones) the CPU is immediately pegged at 100%, even while sdlmame is idle displaying the initial menu.
CauseThe SDL ALSA driver (which is just a pass through to Pulseaudio).
Either sdlmame, SDL, or Pulseaudio is to blame. I'm more inclined to point the finger at everyone's favourite whipping boy, Pulseaudio, even though other SDL apps work just fine with the alsa driver.
Resolution$ sudo apt-get install libsdl1.2debian-pulseaudio
This will remove the alsa driver (libsdl1.2debian-alsa) and the pulseaudio driver will be used by default.
Or the libsdl1.2debian-all package could be installed instead and SDL_AUDIODRIVER would have to be set for 'pulse' or 'esd', basically anything except 'alsa'.
The upcoming Ubuntu 9.10 is apparently also affected by this issue. Has anyone run into this? Is it exclusive to Ubuntu, or any distro using Pulseaudio is affected? This is such a showstopper I was surprised not to find numerous reports of this problem.