Bug 5271 - slowdown on Level Passed screen
Status: NEW
Alias: None
Product: Hammerfight
Classification: Unclassified
Component: Everything
Version: unspecified
Hardware: PC Linux
: P3 normal
Assignee: Ryan C. Gordon
QA Contact:
URL:
Depends on:
Blocks:
 
Reported: 2011-10-08 15:45 EDT by Kevin Turner
Modified: 2011-10-23 17:35:41 EDT
1 user (show)

See Also:



Description Kevin Turner 2011-10-08 15:45:55 EDT
The Level Passed screen is slow with stuttering sound.  Which is odd, because you'd think that'd be one of the easier screens in the game to handle.  

HF from HIB#3 Build #2 (with 64bit)
Ubuntu 10.04 x86_64
AMD dual core 2 GHz
Comment 1 flansuse 2011-10-23 14:40:38 EDT
I get the same exact problem on openSUSE 11.4, 64bit. I can run more intensive games on this same machine, with higher settings, and experience no slowdowns. Hammerfight is the only game that gives me this odd problem.

Even on a low resultion, lowest graphics settings, windowed mode, the game will start choking DRASTICALLY from time to time, and it occurs very often on the "Level Passed" screen. While I am in the middle of a level, sometimes it will play smoothly, but many times it randomly becomes VERY choppy to the point that it is not playable.

This problem doesn't happen under Windows, only Linux 64bit. It can't be my drivers or hardware, since as I mentioned above this issue is only with Hammerfight; no other game or application experiences this issue under the same setup.

I am using build #2, and I have tried all combinations of settings, even Vblank and CORE_USE_SLEEP.

I believe this has something to do with the audio, more specifically the music. I notice that the random performance drops begin when the music track loops to the beginning. On the "Level Passed" screen, the music track ALWAYS starts at the beginning, and during the fights, the background DOES start over. When the music track BEGINS, this is the most common time the game will start acting choppy.
Comment 2 flansuse 2011-10-23 17:33:01 EDT
I discovered something interesting. Everything I mentioned above only seems to happen with the 64bit executable. If I run the 32bit executable (Hammerfight-x86) under openSUSE 11.4, 64bit, then I no longer have issues with extreme slowdowns on the "Level Passed" screen, nor do I suffer from random bursts of choppiness when playing.

This is only my personal observation. It seems there is an issue with the 64bit build of this game under Linux.

I did have to install 32bit dependencies to get the 32bit executable to run: libSDL-1_2-0-32bit and libopenal1-soft-32bit
Comment 3 flansuse 2011-10-23 17:35:41 EDT
I forgot to mention in comment #2 that with the 32bit executable I can play on the highest settings, full screen, with effects enabled, and it plays just fine without any slowdowns or choppiness. On the 64bit executable, even with the lowest settings, windowed mode, and effects disabled, I suffer from the symptoms mentioned earlier.

I'll keep testing this out to make sure I didn't get lucky by chance.