(I have sent an email to Steinberg support with the projects involved here, as well - posting on the forum in case anyone else runs into the same issue in the future.)
I have Dorico Pro 4.1 running in M1 native mode, OSX 12.4, 2020 M1 Macbook Pro (13").
I have attached a diagnostic report.
When I start Dorico, I see the Dorico process and the VST Audio Engine process working fine in my Activity Monitor. When I open a smaller / simpler project, or when I start one from scratch, things work fine - I can hear sound etc.
However, when I open this project, no VSTs load, VST Audio Engine seems to have crashed (the process is no longer seen in Activity Monitor), and no sound / mixer is available. When I try to do any action that would interact with the engine (such as open the mixer), or even quit Dorico or close the project, Dorico hangs and needs to be force-quit.
The one unusual thing I am doing in this project is running it in M1 native mode, but using DDMF Metaplugin to load the VEP7 non-M1-native plugin. This was working great for a few days, but suddenly it became impossible to load today. However, I have an older version of this project that isnāt doing this (I donāt think) and it is experiencing the same issue.
Please help me figure out whatās going wrong with this project. I have tried restarting my machine several times, etc., and even looking through the logs, but canāt find anything obvious (not being an expert). Losing this project would be quite a bummer.
By the way, the last thing I see in the dorico log is:
2022-06-12 20:02:19.042 [info] Restoring engine state from file: /var/folders/kt/1tvv94qs4xd_n4nmw5lz54g40000gn/T/Dorico 4/ocfsessions/session-ee35d/0-fb667/supplementary_data/vstaudioengine/enginedata
I have tried deleting that file and a few other things but still canāt fix this issue.
Hi @dyross , the diagnostics contain plenty of crash files of the VSTAudioEngine and it is always the Metaplugin that is crashing and therefore bringing the audio engine down. So from our side there is nothing we can do about the crashing. You should get in touch with the makers of that Metaplugin and ask for a fix. And also even better stay away from that plug-in until then.
Btw, I can help you cleaning up your project. Let me know.
Hi @dyross , the diagnostics report youāve uploaded contains a folder called āCrashesā. Have a look in there for the files VSTAudioEngine5_[date&time].ips. Those IPS please send to the developers of Metaplugin.
And if you send your project file to u dot stoermer at steinberg dot de I can reset the audio engine state.
EDIT: The issue is slightly different than last time - rather than crashing the audio engine at the beginning, Iām getting hangs randomly while using it.
EDIT 2: It seems to be consistently crashing after I create a new instrument, delete the Halion VST that gets auto-assigned, and add the instrument to another channel in an existing plugin.
Hi @dyross , thanks for the data.
Seems like the case is more complicated this time. In the diagnostics are no crash files, so Dorico is only hanging. What I see though are extremely big log files of Dorico. So also paging @dspreadbury to take a look at it. There are tons of entries saying āProcess SetMIDIMonitorDestinationā, so it seems to me that Dorico is stuck in some endless loop there. The audio engine logs appear to be normal.
Does that happen with any instrument that you re-route or just particular ones?
Hi @ulf, thanks so much for the response, and thanks @dspreadbury in advance for looking into this.
It doesnāt seem to be just a single instrument, though, in this case, I was working on āBass Guitar 2ā / āJ Bassā.
One more thing that Iām seeing, and apologies in advance for the vague bug report, but sometimes, Iām seeing that MIDI is not being sent to the VSTs properly. In other words, Iām getting gaps in the playback. I originally thought that this was the VSTs themselves (in VEP7), but restarting VEP doesnāt fix it, whereas restarting Dorico does.
So is my project generally running into MIDI challenges based on complexity?
@dyross, we have to wait for Danielās assessment. I mentioned the extreme logging of error messages and since something is going out of control there in Dorico, it comes as no surprise that also the MIDI handling is going wrong.
Would you also be able to send the current state of your project to me? Thanks
Hi @Ulf, totally understand that we have to wait for Daniel and not trying to imply urgency with my last message, just trying to provide all information possible. I have always been impressed with your responsiveness and I donāt expect an urgent response especially on the weekends.
I have emailed you a link to my latest project file.
The problem here is the same one described in this thread:
Iām afraid thereās not a lot you can do about this right now, short of using a different set of playback devices to avoid using MIDI devices altogether. Sorry!
Hi @dspreadbury - thank you very much for the quick response. If the answer is āthis is a known issue and we are working on itā, thatās great! I can work around it in the meantime by closing and re-opening my project.
However, I am curious if you could clarify a bit the terminology here so I can better reason and communicate about this issue (and Dorico generally). From the perspective of VSTs and MIDI, I am not doing anything differently that with my non-VEP projects. Is VEP Server the āMIDI deviceā in this case?
Additionally, and perhaps more critically, I donāt see any mention of Dorico locking up with an āendless loopā as @Ulf describes above (which I observe as a beachball which requires me to force close Dorico). Is that explained by the same issue?
The users who experience the problem with not being able to hear MIDI from their external MIDI device may not yet have experienced a hang, but the potential is there, because Dorico will be continually sending a message to itself to tell it to set the MIDI monitor destination when it becomes available, expecting the audio engine to tell it that a plug-in has been loaded, and not accounting for the fact that if the MIDI monitor destination is a MIDI port, thereās nothing to load.
I can only assume that you have at least one device active under MIDI Instruments in the VST Rack panel in Play mode, but perhaps Iām wrong?
(I am using Blue Catās Patchwork to wrap VEP plugin, which is not M1 native. This has generally been pretty stable for me, much more so than Metaplugin as described above.)
I have shared my project file with Ulf via email and am happy to share with you as well if thatās helpful.
Hi @dyross, thanks for the project, I also forwarded it to Daniel.
On a separate note, though it might also play into your other issue, the project file is very big and the major part of all the data is audio engine data. To be more precise, it is plug-in data. When saving a project Dorico asks each plug-in to save its state and then it collects all these data chunks. The data is proprietary to the plug-ins and Dorico does not interpret it. In your case, you have the Youlean loudness meter, which creates data chunks of really massive size. So you either go to the Youlean settings page and switch that off or - even better - try to not use that plug-in at all. Btw, here is a little further info on that.
Note that I do not have any MIDI instruments in my rack, and that I have cleaned up the excessive engine data from YouLean as @Ulf described.
(I only ping this thread, @dspreadbury, because it seems like something is slightly different than in the other topic, which Iām excited to read that it is fixed internally.)
There are no crash logs contained in your diagnostic report, Iām afraid. But this isnāt really surprising, since Dorico will be hanging, not crashing.