View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0008553 | ardour | bugs | public | 2021-01-25 08:33 | 2021-03-13 00:10 |
Reporter | CTS | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | Arch | OS | Linux | OS Version | (any) |
Product Version | 6.5 | ||||
Summary | 0008553: Resizable JUCE-based Linux VST3 plugin GUI extremely laggy & high CPU | ||||
Description | When I open a JUCE based VST3 plugin with a resizable GUI, Ardour gets very slow and CPU is spending a lot of time doing something to do with resizing. GUI takes several seconds to respond to mouse events (i.e. moving faders is very painful). As soon as I remove "setResizable(true, true)" from the JUCE plugin editor constructor and just have a fixed size GUI - Ardour handles it without issue. Here is a stack trace from GDB while the plugin GUI was stuck in "resizing hell": https://pastebin.com/yCCrrHDG A lot resizing seems to be happening in response to non-resizing events like mouse clicks on sliders and such. | ||||
Steps To Reproduce | 1. Build a JUCE plugin with "setResizable(true, true)" in the PluginEditor constructor. I can make an example repo if that's helpful. 2. Run Ardour, add the plugin to a track 3. Open the plugin GUI. Do not attempt to resize the GUI - just try moving some sliders! | ||||
Tags | No tags attached. | ||||
|
Hey there - I just added a PR that I believe fixes this issue. https://github.com/Ardour/ardour/pull/599 |
|
JUCE team fixed this: https://github.com/juce-framework/JUCE/commit/d4e802016aac5436abbbdd82314a29e061aa193a |