Bitwig >3.2.4, JUCE ~5.4.7 plugins and Linux - Anyone experiencing problems?
- KVRian
- 1261 posts since 6 Jun, 2016
Something happened during the course of Bitwig 3 development where a handful of my JUCE based plugins started crashing.
I can go back to previous versions of Bitwig and these same plugins work.
To be specific, when I select one of the plugins in question, the plugin will crash and then allow me to reload it. Upon reloading, the plugin will work, such that it will process audio.
However, once I click to show to the plugin GUI, the crash occurs again.
I've spoken to Harrison Consoles--per their AVA plugins, which are experiencing the problem--and Audio Assault (aIR, plus some others). Both are using JUCE 5.4.7.
From what I gather, the issue is to do with Bitwig, plus recent versions of JUCE and OpenGL. The other constellation is Linux. Although, I can't be sure it's isolated to just Linux.
Is anyone else experiencing this?
abique, kindly, is there any insight you might have?
Thanks.
I can go back to previous versions of Bitwig and these same plugins work.
To be specific, when I select one of the plugins in question, the plugin will crash and then allow me to reload it. Upon reloading, the plugin will work, such that it will process audio.
However, once I click to show to the plugin GUI, the crash occurs again.
I've spoken to Harrison Consoles--per their AVA plugins, which are experiencing the problem--and Audio Assault (aIR, plus some others). Both are using JUCE 5.4.7.
From what I gather, the issue is to do with Bitwig, plus recent versions of JUCE and OpenGL. The other constellation is Linux. Although, I can't be sure it's isolated to just Linux.
Is anyone else experiencing this?
abique, kindly, is there any insight you might have?
Thanks.
Last edited by lunardigs on Sun Nov 01, 2020 5:12 pm, edited 2 times in total.
-
- KVRAF
- 2514 posts since 28 Sep, 2012
I actually found similar behavior using the 3.3 beta and some plugins. Crash when trying to open the GUI. Not happening in 3.2.8. Mac OS Catalina latest.
-
- KVRist
- 58 posts since 8 Jun, 2006 from Ann Arbor, MI
I've seen this in aIR, but only when I try to set Jack below 128 samples for latency. 128+ samples and everything loads great.lunardigs wrote: Wed Oct 21, 2020 11:46 pm ...
I've spoken to Harrison Consoles--per their AVA plugins, which are experiencing the problem--and Audio Assault (aIR, plus some others). Both are using JUCE 5.4.7.
From what I gather, the issue is to do with Bitwig, plus recent versions of JUCE and OpenGL. The other constellation is Linux. Although, I can't be sure it's isolated to just Linux.
Is anyone else experiencing this?
...
- KVRian
- Topic Starter
- 1261 posts since 6 Jun, 2016
- KVRian
- Topic Starter
- 1261 posts since 6 Jun, 2016
Okay, additional information:
The version of Bitwig where the problems began is 3.2.5. Whatever happened between 3.2.4 and 3.2.5 was enough to cause the breakage.
It could also be that the proprietary nVidia drivers for Linux may be a cause here. Reason being, the same plugins work without crashing on BWS >3.2.4 on my laptop which uses the iGPU and standard Linux display drivers.
Yet, Harrison is not sure about this, nor is Audio Assault. Nonetheless, they've both acknowledged the problem I've described and are continuing to investigate.
Meanwhile, other VST hosts on my desktop do not experience these same crashes as with Bitwig >3.2.4.
To some degree this rules out the combination of OpenGL 3.2, JUCE 5.4.7 and nVidia's driver (455.28 for me) as the strict cause.
Could it be something concerning GPU functionality was changed from BWS 3.2.4 to 3.2.5?
The version of Bitwig where the problems began is 3.2.5. Whatever happened between 3.2.4 and 3.2.5 was enough to cause the breakage.
It could also be that the proprietary nVidia drivers for Linux may be a cause here. Reason being, the same plugins work without crashing on BWS >3.2.4 on my laptop which uses the iGPU and standard Linux display drivers.
Yet, Harrison is not sure about this, nor is Audio Assault. Nonetheless, they've both acknowledged the problem I've described and are continuing to investigate.
Meanwhile, other VST hosts on my desktop do not experience these same crashes as with Bitwig >3.2.4.
To some degree this rules out the combination of OpenGL 3.2, JUCE 5.4.7 and nVidia's driver (455.28 for me) as the strict cause.
Could it be something concerning GPU functionality was changed from BWS 3.2.4 to 3.2.5?
- KVRian
- Topic Starter
- 1261 posts since 6 Jun, 2016
Another piece: Concerning JUCE, a dev at Harrison told me this:
"... And the addition of the JUCE library further complicates the matter, as they enforce that rendering must happen on a seperate thread than the DSP. Wheras in our XT plugins, we are more at liberty to do both."
If that's so, then I think he's saying the GUI thread is what's crashing inside Bitwig.
"... And the addition of the JUCE library further complicates the matter, as they enforce that rendering must happen on a seperate thread than the DSP. Wheras in our XT plugins, we are more at liberty to do both."
If that's so, then I think he's saying the GUI thread is what's crashing inside Bitwig.
-
- KVRian
- 772 posts since 16 Jan, 2019 from deep inside
after installing 3.3 b2, i'm suddenly having a lot of plugin crashes and 3.2.8 is behaving badly now too. After launching the app, i get about 2 minutes of decent sound, then suddenly the CPU starts randomly spiking like crazy and produces a ton of glitching. This machine has been running perfectly for two years and suddenly, it's all gone to crap.
edit: nevermind. I tested with Ableton and the same issue is there.
edit: nevermind. I tested with Ableton and the same issue is there.
-
- KVRian
- 772 posts since 16 Jan, 2019 from deep inside
false alarm with all the dropouts i was experiencing. Turns out that Windows decided to change my power settings to Balanced instead of High Performance.
i still am definitely seeing quite a few plugin crashes when running 3.3 tho...
i still am definitely seeing quite a few plugin crashes when running 3.3 tho...
- KVRian
- Topic Starter
- 1261 posts since 6 Jun, 2016
Further info:
ReAmp Studio by Audio Assault, created with JUCE 5.4.7, demonstrates something.
It's GUI will consistently crash within BWS >3.2.4 when it's graphics is set to "OPENGL". However, it works just fine when set to "NATIVE".
ReAmp Studio by Audio Assault, created with JUCE 5.4.7, demonstrates something.
It's GUI will consistently crash within BWS >3.2.4 when it's graphics is set to "OPENGL". However, it works just fine when set to "NATIVE".
You do not have the required permissions to view the files attached to this post.
-
- KVRist
- 194 posts since 30 Jun, 2012 from Belgium
Does they crashes also in other linux daws?
Does your graphic card support the opengl version that ReAmp needs?
In past i had something similar with a old graphic card that didn't had opengl support that a plugin needed. So plugin crashed when opening gui.
If there was no update of the plugins meanwhile then that's not the problem anyway.
I'll give it a try on my linuxbox(also nvidia card) later on day. Don't have the plugin so it will be demo's.
Does your graphic card support the opengl version that ReAmp needs?
In past i had something similar with a old graphic card that didn't had opengl support that a plugin needed. So plugin crashed when opening gui.
If there was no update of the plugins meanwhile then that's not the problem anyway.
I'll give it a try on my linuxbox(also nvidia card) later on day. Don't have the plugin so it will be demo's.
- KVRian
- Topic Starter
- 1261 posts since 6 Jun, 2016
They do not crash in other Linux DAWs.
My graphics card is an nVidia GTX 1070 (Pascal) and I'm running the official driver, version 455.28 (the latest available to me, AFAIK).
Technically, there should be no problem here. It's a peculiar bug which hasn't quite been identified yet. At least according to the plugin makers in question, and Bitwig support.
I'm told a new nVidia driver is due shortly and to hold tight. I'll report what happens, of course.
Meanwhile, I've contacted Bitwig, prior to opening this thread and they might be looking into it further. I'm not sure. Thus far, they believe it's on the plugin makers to improve their code. Naturally, we're dealing with closed source here, so I'm not sure how that could be assessed from the outside, but that's their assertion. I've also PMed abique and called on him above, but he's not opined on this yet.
Hopefully something turns up here. We'll see.
My graphics card is an nVidia GTX 1070 (Pascal) and I'm running the official driver, version 455.28 (the latest available to me, AFAIK).
Technically, there should be no problem here. It's a peculiar bug which hasn't quite been identified yet. At least according to the plugin makers in question, and Bitwig support.
I'm told a new nVidia driver is due shortly and to hold tight. I'll report what happens, of course.
Meanwhile, I've contacted Bitwig, prior to opening this thread and they might be looking into it further. I'm not sure. Thus far, they believe it's on the plugin makers to improve their code. Naturally, we're dealing with closed source here, so I'm not sure how that could be assessed from the outside, but that's their assertion. I've also PMed abique and called on him above, but he's not opined on this yet.
Hopefully something turns up here. We'll see.
-
- KVRist
- 45 posts since 12 Oct, 2011 from Lithuania
Hi,
I've encountered this bug with my own plugin (abNinjam) which does not use JUCE. And indeed crashing started to happen with Bitwig Studio 3.2.5. Later on I've compiled Steinberg Vst SDK example plugins which should be kind of a reference plugins and they crash the same way with Bitwig. I've tried same plugins on REAPER and they work without crashing.
I've encountered this bug with my own plugin (abNinjam) which does not use JUCE. And indeed crashing started to happen with Bitwig Studio 3.2.5. Later on I've compiled Steinberg Vst SDK example plugins which should be kind of a reference plugins and they crash the same way with Bitwig. I've tried same plugins on REAPER and they work without crashing.
- KVRian
- Topic Starter
- 1261 posts since 6 Jun, 2016
Yeah, I saw abNinjam when I last KVR-searched for Linux plugs. It caught my eye, but I've never used Ninjam before.antanas wrote: Thu Nov 05, 2020 7:43 am Hi,
I've encountered this bug with my own plugin (abNinjam) which does not use JUCE. And indeed crashing started to happen with Bitwig Studio 3.2.5. Later on I've compiled Steinberg Vst SDK example plugins which should be kind of a reference plugins and they crash the same way with Bitwig. I've tried same plugins on REAPER and they work without crashing.
So, does abNinjam crash when the GUI is shown? Can you successfully reload the plugin (GUI minimized/un-launched)?
-
- KVRist
- 45 posts since 12 Oct, 2011 from Lithuania
It crashes if computer keyboard key is pressed or GUI is closed. But you can successfully reload the plugin and use it without GUI. Bitwig team are working on fixing this as far as I know. The workaround to stop crashing is changing "Plug-in Hosting Mode" to "Within Bitwig" in Dashboard -> Settings -> Plug-ins. In this case plugins do not crash for me anymore.lunardigs wrote: Fri Nov 06, 2020 10:49 pm So, does abNinjam crash when the GUI is shown? Can you successfully reload the plugin (GUI minimized/un-launched)?
