libgme / game-music-emu

Blargg's video game music emulation library, which allows audio applications to easily add playback support for the music of many classic video game consoles.
GNU Lesser General Public License v2.1
68 stars 12 forks source link

GYM playback struggles significantly with GCC 9 #34

Open Wohlstand opened 5 years ago

Wohlstand commented 5 years ago

Original report by Michael Pyne (Bitbucket: mpyne, GitHub: mpyne).


I’m not entirely sure why but GYM playback with the default ‘Nuked’ emulator is extremely laggy and glitchy with game-music-emu. Using the base gme_player on any GYM file I try, and I get lots of: “ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.1.8/work/alsa-lib-1.1.8/src/pcm/pcm.c:8424:(snd_pcm_recover) underrun occurred”.

LLVM 8 seems to work better (although CPU usage is still quite high), but this may be due to usage of -fLTO which seems enabled by default.

Unless I can get this sped up I’ll probably have to switch the default back to GENS or MAME.