skjelten / emusc

A software synthesizer emulating the Sound Canvas SC-55 lineup
GNU General Public License v3.0
211 stars 16 forks source link

Stutter on Linux #43

Open DMJC opened 7 months ago

DMJC commented 7 months ago

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).

skjelten commented 7 months ago

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 7 months ago

I'll try that. The laptop is a 12 core from 2023 so unlikely to be CPU. Usage wasn't 100% when I checked it last.

On Mon, 1 Apr 2024, 9:39 pm skjelten, @.***> wrote:

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.

— Reply to this email directly, view it on GitHub https://github.com/skjelten/emusc/issues/43#issuecomment-2029594350, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFS2Y3QE3CAZY2EMWRTGPLY3E56TAVCNFSM6AAAAABFQ3H2PGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRZGU4TIMZVGA . You are receiving this because you authored the thread.Message ID: @.***>

skjelten commented 7 months ago

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