skjelten/emusc

Stutter on Linux

Opened this issue · 3 comments

DMJC commented

Linux hpzbookfireflyg9 6.6.15-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.6.15-2 (2024-02-04) x86_64 GNU/Linux
Debian 13 Trixie.
Built from sourcecode.
QT/PulseAudio/Alsa drivers.
44100/48000 KHz tested, tried changing buffer size to 0/7500/75000/750000. No luck on any of them.
System is running Wayland and Pipewire audio. Audacious plays back MP3s without issues.
aplaymidi -p128:0 file.mid, and pmidi -p128:0 file.mid tested with Hocus Pocus Track 6 midi. As well as other files (including Duke Nukem Grabbag).

Have you checked your CPU usage? With the latest chorus and reverb effects the CPU usage increased quite a bit. This is usually no problem for any more or less modern CPU if you compile with optimizations turned on. I intended to add this information to the README files as well, but have not got around to do it yet.

So, if you are CPU bound, please try to run cmake -DCMAKE_BUILD_TYPE=Release . and recompile the source code.

DMJC commented

Did you try the binary package from the 0.1.0 release? That was compiled with CMAKE_BUILD_TYPE=Release.