helio-fm / helio-sequencer

One music sequencer for all major platforms, desktop and mobile
https://helio.fm
GNU General Public License v3.0
3.04k stars 115 forks source link

User interface is running at low fps, probably <25-30fps #220

Open pushqrdx opened 2 years ago

pushqrdx commented 2 years ago

I tried both with and without opengl but for some reason panning is stuttery and overall fps is really low, I also tried with and without x11 compositor running

i can't get LIBGL_SHOW_FPS to actually print fps, and using LIBGL_DEBUG doesn't print anything suspicious but here's what it prints anyways

```log libGL: Can't open configuration file /etc/drirc: No such file or directory. libGL: Can't open configuration file /home/pushqrdx/.drirc: No such file or directory. libGL: using driver i915 for 6 libGL: Can't open configuration file /etc/drirc: No such file or directory. libGL: Can't open configuration file /home/pushqrdx/.drirc: No such file or directory. libGL: pci id for fd 6: 8086:0412, driver i965 libGL: MESA-LOADER: dlopen(/usr/lib/x86_64-linux-gnu/dri/i965_dri.so) libGL: Can't open configuration file /etc/drirc: No such file or directory. libGL: Can't open configuration file /home/pushqrdx/.drirc: No such file or directory. libGL: Can't open configuration file /etc/drirc: No such file or directory. libGL: Can't open configuration file /home/pushqrdx/.drirc: No such file or directory. libGL: Using DRI3 for screen 0 ```
peterrudenko commented 2 years ago

One thing that comes to mind: if you're building the app from source, note that the default build configuration is Debug, which is quite slow even with OpenGL enabled. If this is the case, you'll want to build it like CONFIG=Release64 make all strip

pushqrdx commented 2 years ago

@peterrudenko i am using the prebuilt packages from the website

suhr commented 2 years ago

I can confirm this on NixOS, opengl renderer is even slower than x11 one.

KottV commented 2 years ago

I saw that JUCE based DAWs (like the Helio and Tracktion Waveform) have very bad performance with OpenGL render in Linux X11 (hadn't test it in Wayland). Moreover it may hang with some old GPU. What is your GPU? On NVIDIA you can toggle FPS display via nvidia-settings. Also check your CPU usage at first with top, i see 100% load with OpenGL render time to times.

pushqrdx commented 2 years ago

@KottV i tried both on intel igpu and an nvidia, Helio is so slow and performance is beyond terrible. on windows it is running perfectly smooth