Dorico 2 unreliable playback initialization

Discussions about our next-generation scoring application, Dorico.
OldSkoolMark
Junior Member
Posts: 83
Joined: Fri Jun 29, 2018 1:58 pm
Contact:

Dorico 2 unreliable playback initialization

Post by OldSkoolMark »

This has been a problem for me for awhile now, but I have refrained from posting here in the hope of being able to characterize the problem better. Unfortunately, I have yet to detect a reproducible pattern.

The issue is that when I start up Dorico 2 and load my project, playback doesn't always work. Specifically, I load the project and hit the green play button in the upper right corner. Sometimes all is good, and playback starts as expected. About half the time, it doesn't. Hitting stop/start generally does no good, and in fact can lead to hanging Dorico. Sometimes restarting Dorico after force quitting it works, sometimes not. Sometimes it takes a machine reboot (Dell XPS 15 Windows 10 home) to make things well. I've taken to running the task manager and watching Dorico's CPU usage and waiting until it looks like Dorico has finished initialization. This too doesn't seem to make a difference.

Race condition in the audio system startup code perhaps? Any Windows 10 and/or Dorico settings I should check?

User avatar
PaulWalmsley
Steinberg Employee
Posts: 2014
Joined: Tue May 17, 2016 9:24 pm
Location: Steinberg, London
Contact:

Re: Dorico 2 unreliable playback initialization

Post by PaulWalmsley »

One thing that would be very useful in diagnosing this is to wait until the next time something goes wrong. If Dorico crashes or hangs then start it again and from the Help menu choose Create diagnostic report (it includes the logs from the previous run). It will leave a Dorico Diagnostics zip file on your desktop. You can then attach that here and we can take a look. Please provide as clear description as possible as to what you experienced
Architect & Developer - Steinberg London

OldSkoolMark
Junior Member
Posts: 83
Joined: Fri Jun 29, 2018 1:58 pm
Contact:

Re: Dorico 2 unreliable playback initialization

Post by OldSkoolMark »

Here's one diagnostic zip file. Dorico was hung before presenting the main screen and was reporting "Audio Process Died". This is a new failure mode I haven't seen before.
Attachments
Dorico Diagnostics.zip
(293.14 KiB) Downloaded 38 times

User avatar
Ulf
Steinberg Employee
Posts: 2317
Joined: Wed Jul 31, 2013 9:44 am
Location: Steinberg Headquarters
Contact:

Re: Dorico 2 unreliable playback initialization

Post by Ulf »

I had a look at the diagnostics report, but unfortunately could not read too much out of it. The contained log files don't give a 100% clear view.
Dorico keeps log files of the last 10 runs and the audio engine (a separate process) of the last 2 runs.
1 log file of Dorico is completely missing, so maybe Dorico crashed that time.
The time stamps between the Dorico logs and audio engine logs don't match up as expected. For the run where Dorico says the 'audio engine process died', there is no corresponding log information for the audio engine, so it is difficult to tell what really went on in that case.

So we have to keep an eye on this, please post more diagnostics reports in case strange things happen on your machine.

Also, please have a look at C:\Users\<yourname>\Documents\Steinberg\CrashDumps, are there any dump files from Dorico or VSTAudioEngine?
If so, please zip up and post here.
Steinberg employee

OldSkoolMark
Junior Member
Posts: 83
Joined: Fri Jun 29, 2018 1:58 pm
Contact:

Re: Dorico 2 unreliable playback initialization

Post by OldSkoolMark »

Here is another batch of log files. This was the more typical failure.
Attachments
Dorico Diagnostics.zip
(321.01 KiB) Downloaded 32 times

User avatar
Ulf
Steinberg Employee
Posts: 2317
Joined: Wed Jul 31, 2013 9:44 am
Location: Steinberg Headquarters
Contact:

Re: Dorico 2 unreliable playback initialization

Post by Ulf »

Sorry, again, the log data does not match up. There are two log files of the audio engine from July 12th and everything looks normal there.
Then, among the last 10 Dorico log files there is the 4th last file which shows an "Audio engine process died" message as last entry, but that happened already on July 8th, so 4 days earlier.
So, what was it that you think did not work correctly on July 12th? Could you please elaborate?
Steinberg employee

OldSkoolMark
Junior Member
Posts: 83
Joined: Fri Jun 29, 2018 1:58 pm
Contact:

Re: Dorico 2 unreliable playback initialization

Post by OldSkoolMark »

Started Dorico 2. Loaded my project. Hit Play, nothing. Hit pause, green play button enabled again, hit play, Dorico hung. Force quit. Restart Dorico. Use help->create diagnostic report.

OldSkoolMark
Junior Member
Posts: 83
Joined: Fri Jun 29, 2018 1:58 pm
Contact:

Re: Dorico 2 unreliable playback initialization

Post by OldSkoolMark »

Ulf wrote:
Mon Jul 09, 2018 8:21 am

Also, please have a look at C:\Users\<yourname>\Documents\Steinberg\CrashDumps, are there any dump files from Dorico or VSTAudioEngine?
If so, please zip up and post here.
I searched my C drive for a CrashDumps folder, but no Steinberg\CrashDumps folder exists.

OldSkoolMark
Junior Member
Posts: 83
Joined: Fri Jun 29, 2018 1:58 pm
Contact:

Re: Dorico 2 unreliable playback initialization

Post by OldSkoolMark »

Here is the log file from typical misbehavior prior to hanging. Load project, in write mode, hit play button - nothing, hit pause, hit play button - nothing, switch to play mode, hit play button - nothing.
Attachments
Dorico Diagnostics.zip
(321.97 KiB) Downloaded 32 times

User avatar
Ulf
Steinberg Employee
Posts: 2317
Joined: Wed Jul 31, 2013 9:44 am
Location: Steinberg Headquarters
Contact:

Re: Dorico 2 unreliable playback initialization

Post by Ulf »

It's so weird, because again, from log files everything looks fine. But you say it does not always happen, right? So sometimes it works as expected and only sometimes it does not play back, right?

What if you go to play mode and bring up the HALion Sonic editor windows? If you start playback, is there any indication that it receives MIDI notes? The numbers left to the 16 slots shall flash up as well as a "red LED" on the left top corner of the editor window. Also, there is a VU meter that flickers when audio data does get processed.
If you choose a piano sound and play with the mouse on the on-screen keyboard, does sound come out?
Steinberg employee

User avatar
Daniel at Steinberg
Moderator
Posts: 17482
Joined: Mon Nov 12, 2012 10:35 am
Contact:

Re: Dorico 2 unreliable playback initialization

Post by Daniel at Steinberg »

Mark, you may need to follow the steps under "Dorico is crashing. What do I do?" in the FAQ thread to ensure that Dorico creates crash dump files on your Windows computer.

OldSkoolMark
Junior Member
Posts: 83
Joined: Fri Jun 29, 2018 1:58 pm
Contact:

Re: Dorico 2 unreliable playback initialization

Post by OldSkoolMark »

I just installed 2.1 and am sorry to report that this problem persists with the new version, and if anything, appears to be worse. With 2.0 some sequence of starting Dorico, quitting or force quitting it, and restarting it would get playback working within a few minutes. This morning with 2.1, I have yet to get playback to work for my project. Dump files attached. Hopefully this time they will be more useful. I made the registry change per the FAQ. Also, FWIW, the sample project Taylor Green Trees are Bending has the same problem.
Attachments
Dorico Diagnostics.zip
(1.2 MiB) Downloaded 33 times

User avatar
PaulWalmsley
Steinberg Employee
Posts: 2014
Joined: Tue May 17, 2016 9:24 pm
Location: Steinberg, London
Contact:

Re: Dorico 2 unreliable playback initialization

Post by PaulWalmsley »

Hi Mark,

I'm sorry to hear that you're still having problems. The crash that occurred is one that we have seen before and is under investigation.

As for the problems with playback not working, can you try the following?
- Create a new piano score
- When you press play, does playback start? (ie does the playhead move and the time readout change)
- Switch to Play Mode and open the HALion Sonic SE window with the 'e' button. Ensure the 'MIX' tab is selected. Select the channel with Piano in the left panel and press a key on the HALion keyboard (in the white key range, not the grey ones). Do you see any VU activity in the HALion window?
- In Edit/Device Setup can you tell us which ASIO driver and Stereo Output is listed?
- Is the Stereo Output routed to the main monitor output of your soundcard?
- If you change between the ASIO driver for your device and the Generic Low Latency device, does that cause it to work?
- If you change the sample rate, does that help?
Architect & Developer - Steinberg London

OldSkoolMark
Junior Member
Posts: 83
Joined: Fri Jun 29, 2018 1:58 pm
Contact:

Re: Dorico 2 unreliable playback initialization

Post by OldSkoolMark »

Thanks for the super quick response!

New piano score worked fine in the same session. Also after I saved and closed the project, exited Dorico 2, restarted and reloaded.

Edit/Device setup shows the same settings both for the piano test project and my project: Universal Audio Apollo Twin USB / Mon L, Mon R

Strange thing is that after this experimentation, my project is loading and playing back reliably after quitting the project and Hub, and restarting. Only caveat is that the initial playback has the right instruments but wrong notes/rhythm. Using the transport control to start from the beginning seems to fix this

Will see after reboot ...

User avatar
PaulWalmsley
Steinberg Employee
Posts: 2014
Joined: Tue May 17, 2016 9:24 pm
Location: Steinberg, London
Contact:

Re: Dorico 2 unreliable playback initialization

Post by PaulWalmsley »

That sounds like some useful progress, at least.
Architect & Developer - Steinberg London

OldSkoolMark
Junior Member
Posts: 83
Joined: Fri Jun 29, 2018 1:58 pm
Contact:

Re: Dorico 2 unreliable playback initialization

Post by OldSkoolMark »

Sorry to say that this problem has been ongoing. It happens with small test projects in addition to my larger big band score. The attached Dorico diagnostics file is from a small test project of only a few bars containing drumkit and piano.
Dorico Diagnostics.zip
(662.43 KiB) Downloaded 31 times

User avatar
PaulWalmsley
Steinberg Employee
Posts: 2014
Joined: Tue May 17, 2016 9:24 pm
Location: Steinberg, London
Contact:

Re: Dorico 2 unreliable playback initialization

Post by PaulWalmsley »

There's nothing that looks wrong in that diagnostic file. Can you describe exactly what is happening at the moment?
Architect & Developer - Steinberg London

OldSkoolMark
Junior Member
Posts: 83
Joined: Fri Jun 29, 2018 1:58 pm
Contact:

Re: Dorico 2 unreliable playback initialization

Post by OldSkoolMark »

That's unfortunate. I opened my tiny drums/piano project. Waited 30 seconds, then hit the play button in write mode. Playback cursor didn't move, no sound, but transport is showing the stop button. I hit the stop button, then hit play. App freezes. I didn't force quit via task manager, but I think I did close the window. I then got the reporting error to Microsoft dialog.

User avatar
Ulf
Steinberg Employee
Posts: 2317
Joined: Wed Jul 31, 2013 9:44 am
Location: Steinberg Headquarters
Contact:

Re: Dorico 2 unreliable playback initialization

Post by Ulf »

And there are no crash dumps under /Users/<yourname>/Documents/Steinberg/CrashDumps ?
Steinberg employee

User avatar
PaulWalmsley
Steinberg Employee
Posts: 2014
Joined: Tue May 17, 2016 9:24 pm
Location: Steinberg, London
Contact:

Re: Dorico 2 unreliable playback initialization

Post by PaulWalmsley »

In order to try to work out what's going on we need to be able to correlate the log files with what you're observing, so please could you do the following:
- Continue to run Dorico until you next experience a problem
- When something goes wrong, make a note of the current time
- If Dorico has crashed or hung then kill or restart it
- Create the diagnostic report again.

If there are any crash logs then the diagnostic report will contain them. If the application has hung then there's more to investigate.
Architect & Developer - Steinberg London

OldSkoolMark
Junior Member
Posts: 83
Joined: Fri Jun 29, 2018 1:58 pm
Contact:

Re: Dorico 2 unreliable playback initialization

Post by OldSkoolMark »

Ulf wrote:
Fri Sep 07, 2018 8:31 am
And there are no crash dumps under /Users/<yourname>/Documents/Steinberg/CrashDumps ?
I do not have that folder although I did run the regedit script needed to create crash dumps on Windows.

OldSkoolMark
Junior Member
Posts: 83
Joined: Fri Jun 29, 2018 1:58 pm
Contact:

Re: Dorico 2 unreliable playback initialization

Post by OldSkoolMark »

9:22 AM California. I had 3 projects open. One small test project that wouldn't play back, another test project that would, and my main project that also would. Closed test project 2, brought main project to front, busy cursor then 'not responding'. Closed window, reporting to MS appears. Restarted dorico (no project) saw Audio Engine died error message. Closed that window, restarted hub. Created diag report. Diag report was too big to attach here, so I uploaded it to dropbox. https://www.dropbox.com/s/9tmgwi2bh14qz ... s.zip?dl=0

User avatar
Ulf
Steinberg Employee
Posts: 2317
Joined: Wed Jul 31, 2013 9:44 am
Location: Steinberg Headquarters
Contact:

Re: Dorico 2 unreliable playback initialization

Post by Ulf »

There is a crash dump of the audio engine in there; I will take a look at it on Monday when I'm back to the office.
Steinberg employee

User avatar
Ulf
Steinberg Employee
Posts: 2317
Joined: Wed Jul 31, 2013 9:44 am
Location: Steinberg Headquarters
Contact:

Re: Dorico 2 unreliable playback initialization

Post by Ulf »

Paul and I looked at the log files and the crash dump. From your description and the logs we reconstructed:
- On 7:39 you launched Dorico (and with it the audio engine)
- Until 9:20 you worked with several projects.
- At around 9:20 something severe must have happened to Dorico. The Dorico log for that run is missing, so we can only speculate what exactly happened. Either Dorico crashed or just went down silently (there is no crash dump for it), however, the audio engine continued running.
- You then restarted Dorico and that instance then tried to connect to the still running audio engine.
- During re-connection the audio engine got into a bad state and crashed (we have a crash dump for this). The crash of the audio engine was in a very low level function when trying to establish interprocess communication.
- At 9:23:31 you then restarted Dorico and everything was fine again.

So far with the reconstruction. The audio engine crash is just a subsequent error. We need to find out more of why Dorico went down before that.

Does the problem only occur when you have a particular project open?
Also, have you ever tried using the Generic Low Latency driver (under Edit > Device Setup). Is it maybe more stable with that driver?
Steinberg employee

OldSkoolMark
Junior Member
Posts: 83
Joined: Fri Jun 29, 2018 1:58 pm
Contact:

Re: Dorico 2 unreliable playback initialization

Post by OldSkoolMark »

Thanks for investigating. I am using an Universal Audio Twin USB and their driver. I doubt I can use any other driver.

Post Reply

Return to “Dorico”