after cleaning my renoise installation and Surge XT config files I rescanned the VST3 plugins and opened Surge XT in an empty project.
Log.txt says:
Blockquote
Blockquote Application: A new document was created.
Blockquote GraphPort: Initializing in WindowedMode…
GraphPort: Successfully initialized
Application: Init OK
StartupWindow: Closing the window…
Application: Enter MainLoop…
Vst3Plugs: Instantiating: /usr/lib/vst3/Surge XT.vst3…
Vst3Plugs: Failed to apply initial controller state to controller (not critical)
Vst3Window: Creating a new main window…
Vst3Window: Setting window properties…
Vst3Window: Creating plugin parent window…
Vst3Window: Mapping the window…
Vst3Window: Attaching the plugin to the plugin parent window…
Vst3Window: Plugin requested new Windowsize 1814, 1130
Vst3Window: Setting new Windowsize 1815, 1382
Vst3Window: Plugin window attached via _XEMBED_INFO
Vst3Window: Closing the Editor…
Vst3Window: Editor was closed
(END)
So surge requests a windowsize 1814x1130, but renoise opens a window 1815x1382, that’s why it’s too tall
We’re only setting new window sizes that are checked/acknowledged by the plugin via Steinberg::IPlugView::getSize. So that second size come from the plugin, not from Renoise.
Maybe we should stop checking the size this way and just pass the requested size, but that might break other things. I’ll have a look at it…
This was fixed a long time ago (two years ago). I had been in contact with them then.
I’m very interested in solving these VST3 GUI problems, but I’ need more info here.
Which distribution are you using with which plugin at which display settings (UI scaling) and what exactly are the problems? The only thing I can see here is that some people have problems with some plugins. The problems seem to be wrong window sizes and random? crashes when opening the GUI.
With Wayland enabled or not and VST3’s XEMBED support, this is quite a can of worms. There are so many possible WM/plugin host combinations and UI scaling settings that behave slightly differently, that it will be impossible to nail this down completely. But we could of course try to solve the most obvious common problems.
I’m on Ubuntu 23.04, X11 with nvidia-drivers, no wayland, no compositor. I’m using icewm but the problem occurs also on xfce.
Renoise GUI scaling is set to “auto”, the problems are posted above, with screenshots, sometimes renoise crashes because of this.
Troublesome Plugins are e.g. Surge XT, Stochas, Quanta 2, TAL-Drum, TAL J8, Speedrum, Odin 2, I haven’t enountered any problems with VCV Rack 2, pianoteq, ACE or redux.
With Surge XT, after loading the plugin and opening the window, the GUI size is wrong. I can manually resize the window and save the GUI settings, but after closing and reopening the window all settings are wrong again.
Ubuntustudio uses kwin as a compositor by default and also x11. Without kwin being enabled Hive VST3 looks fine after opening. Only shortly after opening the GUI there is an empty black box at the bottom of the GUI that sometimes flickers. Size of the plugin is 100%.
With compositor being disabled it sometimes behaves the same, but sometime the box starts flickering and does not dissappear and I see the Renoise GUI flickering through. In the screenshot however it’s all black. I can get rid of the box by moving the window downwards and upwards again. When moving the GUI the window is strongly tracing (Bild zieht nach und ich kann damit den ganzen Bildschirm abdecken). This only happens while the flickering box is present.
Again x11. Without compositor I’m getting the black again that flickers. It vanishes when I move the window down (to the border of the screen) and up again. However here I’m getting the tailing effect also when the plugin GUI looks fine.
This does not happen with compositor (compton or the xfce compoositor) enabled. Changing the size from 100% to any other values does not help.
All U-he plugins tested (only VST3) have such issues. No problems in any other DAWs.
All tested without compositor:
Surge XT shows the same tailing (without compositor), but the GUI looks fine.
Odin (2.3.4) also looks fine, I only get tailing which maybe is normal? No issue in Reaper though.
Vital 1.5.5 looks fine except a short flicker similar to U-he plugins, but it crashed Renoise some days ago.
Plugdata 0.7.0 → fine
Carla → fine
Tal Sampler → fine Granulizer 2 | Inertia Sound Systems (V 2.4.0) → flickering sometimes like U-he
I can now replicate the initial wrong window size and have a fix for that. Also a problem where VST3 GUIs would sometimes break after being opened/closed a few times.
I can’t replicate this yet, but will try to install Xfce for this. Does this “tailing effect” only happen with plugin windows or also with other Renoise windows such as the Renoise Preferences window? Does it only happen where there’s this black unused area?
Thanks for looking into it (again). The tailing also occurs with the preference window of Renoise and while I move the window the spectrum analyzer slows down. Maybe that’s another problem and related to this:
All other installed programs I have behave normal, i.e. no tailing. But I get the tailing when e.g. moving windows of Firefox ontop the Renoise GUI. This happens on my Desktop PC and my Laptop (Lenovo T440p) both running MX Linux
Which resolution is your monitor set to? Is HiDPI scaling enabled in the system? Which scaling are you running Renoise at? If it’s set to auto, which percentage is applied here?
Sometimes the Renoise GUI also very shortly freezes and audio continues (no xruns). Never had this before with this PC. This also happens when saving the project, but this seems to be normal as this happened always.
edit: This seems to be because of auto backu, so it’s totally fine.
I don’t know if this is still relevant for people, but I also used to have a lot of problems with vst instruments (especially the u-he ones) on Linux even with Renoise 3.4.3. Sometimes they would just freeze/crash renoise or the GUI would just remain a black window.
It turns out that for some strange reason this issue was related to glibc locales. Installing the glibc-locales packages on Arch instantly fixed all those issues for me. On Ubuntu the package would be called locales-all, I think
Maybe this will help someone who runs into similar issues at some point