Cubase mixing threads all keep failing and restarting

SDK for VST 3 audio plug-in and host development.
SynthDan
Posts: 5
Joined: Mon Sep 10, 2018 4:21 pm

Cubase mixing threads all keep failing and restarting

Postby SynthDan » Tue Sep 11, 2018 5:58 pm

Hi all,

I'm part of a team that has developed a new commercial plug-in that runs in many formats on Mac and PC. We've tested it thoroughly in many DAWs, including Logic, Garageband, and Pro Tools on the Mac, and Ableton, Mixcraft, Cubase, Pro Tools, and other DAWs on Windows. Our plug-in runs great on every platform except for Cubase. Multiple customers reported that Cubase for Windows would suffer audio dropouts when moving the mouse over our plug-in's interface, or when pushing buttons in the interface. This behavior is reproducible on every PC we've tested on.

We deactivated large parts of our plug-in and the behavior remained. We attached with a debugger and now we're able to see what's happening. The Cubase mixing threads - there can be 8 or more of them - keep all failing and then restarting. After discovering this, we turned off the "Activate Multi Processing" mixing feature, and our plug-in works perfectly. We've tested this with both VST2 and VST3 formats.

I'd be very interested to know, from the Cubase team or anyone else with similar experience, under what conditions Cubase will shut down and restart its mixing threads. Our plug-in is complex and uses some unusual technology, and if we knew what conditions could cause this behavior in Cubase, we could probably figure out a work-around. We're using Cubase Elements 9.5 to reproduce the bug in our labs, but it doesn't seem to matter what version our customers are using.

We contacted Steinberg's phone support and they told us to send an email. We sent an email and they told us to post here. We appreciate any assistance at all. Thanks!

Dan

ygrabit
Posts: 106
Joined: Fri Jun 17, 2016 7:52 am
Location: Hamburg

Re: Cubase mixing threads all keep failing and restarting

Postby ygrabit » Wed Sep 12, 2018 2:00 pm

Hi
can you use the Windows tool : WPR "Windows Performance Recorder" which you could get from the Windows 10 SDK (Windows Performance Toolkit) ?
Start a session where you can reproduce these dropouts and send us the result..
If it does not work, maybe can you provide us a demo version of your plugin that we could check here.

Some others questions:
- which SDK you are using (Juce,...)
- which UI backend: openGL, VSTGUI,...
- what do you mean by unusual technology ?
- which audio block size are using ?
- Which Windows version ?

Cheers
YVan Grabit

SynthDan
Posts: 5
Joined: Mon Sep 10, 2018 4:21 pm

Re: Cubase mixing threads all keep failing and restarting

Postby SynthDan » Wed Sep 12, 2018 4:36 pm

Yvan,

I recorded 30 seconds of Cubase ending and restarting its audio threads, approximately once per second. The recording files are here:

http://cherryaudio.com/ftp/GATEWAY.09-12-2018.09-13-57.zip

We'd be happy to set you up with an NFR of our plugin, if that would be helpful. Please contact me privately for that.

<< - which SDK you are using (Juce,...)
- which UI backend: openGL, VSTGUI,... >>

Our plugin is built using Juce. All the UI is our own custom code built around Juce.

<< - what do you mean by unusual technology ? >>

Our plugin interacts with a custom Java virtual machine. It's likely that something about this interaction is causing the problem, though I don't know what it could be. Java internally uses exceptions, though none of these exceptions reach the host program.

<< - which audio block size are using ? >>

I'm using an ASIO driver with a buffer size of 128, though that doesn't seem to matter.

<< - Which Windows version ? >>

I'm using Windows 10 with all the latest updates.

I hope this recording helps! Thank you for your assistance.

All the best,
Dan

ygrabit
Posts: 106
Joined: Fri Jun 17, 2016 7:52 am
Location: Hamburg

Re: Cubase mixing threads all keep failing and restarting

Postby ygrabit » Thu Sep 13, 2018 12:30 pm

ok thanks, last question which Cubase version do you have 9.5.30 ?
YVan Grabit

SynthDan
Posts: 5
Joined: Mon Sep 10, 2018 4:21 pm

Re: Cubase mixing threads all keep failing and restarting

Postby SynthDan » Thu Sep 13, 2018 4:29 pm

<< which Cubase version do you have 9.5.30 ? >>

Yes, 9.5.30. It's a trial - we could really use an NFR if that's possible.

Thanks,
Dan

SynthDan
Posts: 5
Joined: Mon Sep 10, 2018 4:21 pm

Re: Cubase mixing threads all keep failing and restarting

Postby SynthDan » Mon Sep 17, 2018 6:41 pm

Hi friends,

Any update on this? We ran your tests and answered your questions, any information you can provide would be very helpful!

Thanks,
Dan

SynthDan
Posts: 5
Joined: Mon Sep 10, 2018 4:21 pm

Re: Cubase mixing threads all keep failing and restarting

Postby SynthDan » Wed Sep 19, 2018 6:27 pm

An update: we tested a Cubase demo on the Mac and this problem does not exist. It is only a Cubase Windows problem.

Thanks,
Dan


Return to “VST 3 SDK”

Who is online

Users browsing this forum: No registered users and 2 guests