Read-only archive of the Armageddon Games Forums Archive (2000–2026) · About this archive

Music plays at light speed on Ubuntu 12.04

8 replies · 165,482 views · Started 31 August 2012

I just tried playing the Linux build of RC 4 on Ubuntu 12.04, and both the music and the sound plays at many times the usual speed (with the rest of the game running at the right FPS).

I think I know what you mean. It doesn't stay that way for long, does it? When I've seen that before, it's only lasted a matter of seconds. I suspect it's an issue with either Allegro or PulseAudio, but I can't reproduce it consistently enough to pin it down.
Are there any messages if you run in a terminal?

Unfortunately not -- it seems permanent (in 1st.qst I picked up sword and traveled to the first dungeon without the sound fixing itself).

There's nothing in the terminal.

In that case, could you check whether it happens in RC 1 or 2? I think it might have started in RC2, but I haven't been able to confirm that. If it's a compilation issue, it probably shouldn't be hard to fix.

What about different settings for digi_card in the sound section of ag.cfg? I think the valid settings are ALSA, OSS, ESD, and JACK. Do any of those work better?

Also, did you try toggling the framerate cap? I think that affects it.

I'm pretty sure now that this isn't our problem. I've found that the same thing occurs with Allegro's own test programs, apparently regardless of the environment they were compiled in (though I didn't try 64-bit versions). I think this must be an ALSA or PulseAudio issue.