Surge XT in Carla Rack produces no sound after exit/reload song
System Information
Linux Mint
LMMS Version(s)
Version 1.3.0-alpha.1.695+g01294192c (Linux/x86_64, Qt 5.15.3, GCC 11.4.0).
Most Recent Working Version
No response
Bug Summary
Using Carla Rack to host Surge XT works fine, but if I save and close, then reopen LMMS and load the song, Surge XT produces no audio output even when notes are played. The output meters in the Surge XT GUI show no movement.
Expected Behaviour
The Surge XT plugin should be properly reinstantiated and notes should play after song is reloaded.
Steps To Reproduce
- Add Carla Rack to new song
- Add Surge XT to Carla Rack
- Add notes to MIDI track
- Save song
- Quit LMMS
- Load song in new instance of LMMS
Logs
dto@thexder:~/src/lmms$ ./lmms Lv2 plugin SUMMARY: 226 of 266 loaded in 127 msecs. For details about not loaded plugins, please set environment variable "LMMS_LV2_DEBUG" to nonempty. Blocked Lv2 Plugins: 11 of 266 If you want to enable them (dangerous!), please set environment variable "LMMS_ENABLE_BLOCKED_PLUGINS" to nonempty. Connection established.
Stream successfully created
lmms::gui::TrackContentWidget(0x5621ce124ef0) does not have a property named "gridColor" lmms::gui::TrackContentWidget(0x5621ce147df0) does not have a property named "gridColor" lmms::gui::TrackContentWidget(0x5621cd8b99e0) does not have a property named "gridColor" lmms::gui::TrackContentWidget(0x5621ce352400) does not have a property named "gridColor" lmms::gui::TrackContentWidget(0x5621cde87290) does not have a property named "gridColor" lmms::gui::TrackContentWidget(0x5621ce381640) does not have a property named "gridColor" lmms::gui::TrackContentWidget(0x5621ce1f2e00) does not have a property named "gridColor" lmms::gui::TrackContentWidget(0x5621ce1343f0) does not have a property named "gridColor" lmms::gui::TrackContentWidget(0x5621ce4034f0) does not have a property named "gridColor" lmms::gui::TrackContentWidget(0x5621ce1507a0) does not have a property named "gridColor" lmms::gui::TrackContentWidget(0x5621cec07240) does not have a property named "gridColor" [carla] Plugin UI wants a feature that is not supported (ignored): http://lv2plug.in/ns/ext/options#interface [carla] Will use LV2 X11 UI for 'Surge XT' [carla] Plugin requested value for 'https://surge-synthesizer.github.io/lv2/surge-xt:Program' which is not available
Screenshots / Minimum Reproducible Project
No response
Please search the issue tracker for existing bug reports before submitting your own.
- [X] I have searched all existing issues and confirmed that this is not a duplicate.
workaround of removing Surge XT plugin [edit: and then recreating it] restores sound. bug manifests if you clone a Carla Rack track with Surge XT in it.
I have the same issue with Lubuntu 24.10 (Oracular Oriole) lmms-1.3.0-alpha.1.715+g1f37c9ba7-linux-x86_64.AppImage
I am having the same issue with all plugins hosted with carla (not just surge xt) on MacOS Sonoma 1.4.5, Apple M1 chip Version 1.3.0-alpha.1.727+g95a051808 (OS X/arm64, Qt 5.15.16, GCC Apple LLVM 15.0.0 (clang-1500.3.9.4)).
I am having the same issue with all plugins hosted with carla (not just surge xt) on MacOS Sonoma 1.4.5, Apple M1 chip Version 1.3.0-alpha.1.727+g95a051808 (OS X/arm64, Qt 5.15.16, GCC Apple LLVM 15.0.0 (clang-1500.3.9.4)).
Turns out I'm actually having a different issue, ignore me here ill see if i need to report mine later
LMMS 1.3.0-alpha.1.740+g303215f8b (Manjaro Linux x86_64, Qt 5.15.16, GCC 14.2.1 20240910 Carla 2.5.9)
I am having this issue with some plugins.
Specifically, Surge-XT (lv2) and Vitalium (vst3) have no output from Carla Patchbay after opening from a saved lmms file. The connections and presets look to be loaded properly. If I reload/change the preset in the affected plugin I get sound output again.
I do not have this issue with Tal-NoizeMaker (vst3) or Obxd (lv2).
Carla Rack has the same issue with every plugin I have tested.
Let me know if there is anything further I can do to test this issue.
Thanks
Here's a test I tried.
-
add
Tal-NoiseMaker.vst3toCarla Patchbay in LMMS, choose a preset, save as.mmp(lmms' save file) -
add
Tal-NoiseMaker.vst3inCarla Standalone, choose the same preset, save as.carxp(carla's save file)
<Chunk> data in both the .mmp and .carxp will be identical. I can swap the <Chunk> data between the 2 files and both will work.
When I do the same test with vitalium.vst3 and surge-xt (lv2), the <Chunk> data will be different in the .mmp and .carxp
When I swap the <Chunk> data from lmms to carla standalone using these plugins, Carla will break in the same way that LMMS is. The plugin, preset, and connections are preserved but no sound will come from the plugin until changing the preset.
It seems as though the <Chunk> data coming from Carla is getting mangled when saving files in LMMS.
workaround of removing Surge XT plugin [edit: and then recreating it] restores sound. bug manifests if you clone a Carla Rack track with Surge XT in it.
Removing and re-adding Surge XT restores the sound but not the Surge XT settings from previous session. My workaround is to save the Carla session ( as a .carxp file) and open it when I load the song with a new LMMS session. The issue and the workaround are applicable to the 'Surge XT Effects' plugin.
Alternative is to save the Surge XT patch and reload it with the new session but I find it less efficient as I may forget the changes I made to a patch. Besides, I think 'Surge XT Effects' doesn't let us save the effects patch settings.