INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: VST3 plug-in (DiracLive) works with USB (ASIO) but crashes with DLNA output.  (Read 2500 times)

kr4

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 740

Using the VST plug-in as the last item in the stack of DSP options, the insertion of the DL plug-in runs fine via USB output.  However, if I set it up as a DSP option for network (DLNA) output to the same DAC, JRiver abruptly closes.  I have had it work for short intervals of a few seconds but the crash seems to be inevitable.  The network (DLNA) output works fine otherwise.

Is there something I should look into. 

P.S.:  I have the same experience with MC28.
Logged
Kal Rubinson
"Music in the Round"
Senior Contributing Editor, Stereophile

whoareyou

  • Galactic Citizen
  • ****
  • Posts: 436

Unfortunately I can't help solve, but I can confirm issue with VST2 plugin to an Oppo 205 over network / DLNA. 
At times it would seem as though it was working, and then JRiver would crash or communication would just fail.
Restarting JRiver would usually temporarily correct issue.

I finally gave up as it was not reliable / couldn't solve.   

Without Dirac the Oppo was very reliable.


Logged

kr4

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 740

I am still wrestling with this and have attached crash and log files. 
Logged
Kal Rubinson
"Music in the Round"
Senior Contributing Editor, Stereophile

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42323
  • Shoes gone again!

I just tried Dirac again and it's working for me with DLNA.  The crash is in the VST code.  Could you try different presets maybe?  A coming build will make the buffer size adjustable which could also matter?
Logged
Matt Ashland, JRiver Media Center

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42323
  • Shoes gone again!

I noticed the crashes are from 27.  Please switch to the latest 28.  Thanks.
Logged
Matt Ashland, JRiver Media Center

kr4

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 740

I just tried Dirac again and it's working for me with DLNA.  The crash is in the VST code.  Could you try different presets maybe?  A coming build will make the buffer size adjustable which could also matter?
Do you think it strange that, if the crash is in the VST code, that the same presets work on the same MC installation when using USB output?

FWIW, all my presets are for a 5.3 or 5.1 channel configuration but the crash occurs with even a stereo source.

I noticed the crashes are from 27.  Please switch to the latest 28.  Thanks.
I have done both 27 and 28 and on two different PCs.  Consistent crashes with Dirac/VST/DLNA.
Logged
Kal Rubinson
"Music in the Round"
Senior Contributing Editor, Stereophile

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42323
  • Shoes gone again!

You could try switching the buffer sizes with the latest MC28.  Restart between switches because of how we load the buffer size.

I'm kind of grasping at straws because it's unfortunately working for me.

Thanks.
Logged
Matt Ashland, JRiver Media Center

kr4

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 740

You could try switching the buffer sizes with the latest MC28.  Restart between switches because of how we load the buffer size.

I'm kind of grasping at straws because it's unfortunately working for me.
Thanks.  Me, too.

Now, with the latest version of 28, I am no longer getting crashes but the VST is not being applied.  Can you tell me where I find this buffer size setting?
Logged
Kal Rubinson
"Music in the Round"
Senior Contributing Editor, Stereophile

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42323
  • Shoes gone again!

There is a search window at the bottom of the options page.  Search for VST.
Logged
Matt Ashland, JRiver Media Center

kr4

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 740

There is a search window at the bottom of the options page.  Search for VST.
Thanks.  I would never have thought to look there.
Anyway, quadrupling the buffer did not have any effect.  Still says "output doesn't support processing" and Dirac is bypassed.
Logged
Kal Rubinson
"Music in the Round"
Senior Contributing Editor, Stereophile

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72367
  • Where did I put my teeth?

Have you ever tried the 32 bit version of MC?
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42323
  • Shoes gone again!

Anyway, quadrupling the buffer did not have any effect.  Still says "output doesn't support processing" and Dirac is bypassed.

If it says that, I think you're not sending audio in a way that MC can process.  Make sure you're converting to WAV.
Logged
Matt Ashland, JRiver Media Center

kr4

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 740

If it says that, I think you're not sending audio in a way that MC can process.  Make sure you're converting to WAV.
It is sending PCM =or<24/192.   It is the same DSPStudio "Output Format" settings as used for and works for USB output.
Logged
Kal Rubinson
"Music in the Round"
Senior Contributing Editor, Stereophile

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42323
  • Shoes gone again!

You might add a new server.

Set the format to PCM 24-bit.

In DSP Studio, turn on only DiracLiveProcessor.

That's what I've done and it's working for me.

Thanks.
Logged
Matt Ashland, JRiver Media Center

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42323
  • Shoes gone again!

I'm playing an APE file which needs conversion.  Make sure you do similar.
Logged
Matt Ashland, JRiver Media Center

kr4

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 740

You might add a new server.
Set the format to PCM 24-bit.
In DSP Studio, turn on only DiracLiveProcessor.
That's what I've done and it's working for me.
That's exactly what I do except for "Output Format" where I downsample stuff that's too hi-res and Channels = 5.1.  However, if I change channels to "Same as input" or simply bypass "Out Format" completely, it still does not work.
I'm playing an APE file which needs conversion.  Make sure you do similar.
Conversion to ?  I am playing only PCM/FLAC as PCM.
Logged
Kal Rubinson
"Music in the Round"
Senior Contributing Editor, Stereophile

jimwallen

  • Junior Woodchuck
  • **
  • Posts: 82

It is sending PCM =or<24/192.   It is the same DSPStudio "Output Format" settings as used for and works for USB output.

The newest version 39 works great with DIRAC for me. I use an internal hard drive and use DIRAC only in DSP Studio, and plugged in with VST3 and the highest buffer rate.
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42323
  • Shoes gone again!

Maybe try an APE in case your server supports FLAC so doesn't convert?
Logged
Matt Ashland, JRiver Media Center

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42323
  • Shoes gone again!

Make sure you pick "Specified output format" from the Audio > Mode.
Logged
Matt Ashland, JRiver Media Center

kr4

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 740

The newest version 39 works great with DIRAC for me. I use an internal hard drive and use DIRAC only in DSP Studio, and plugged in with VST3 and the highest buffer rate.
All file formats?
Logged
Kal Rubinson
"Music in the Round"
Senior Contributing Editor, Stereophile

kr4

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 740

Maybe try an APE in case your server supports FLAC so doesn't convert?
I will make an APE file to try that but I do not understand it.  Are you saying something relevant to the options on which format are to be converted?
I usually pick all.
Make sure you pick "Specified output format" from the Audio > Mode.
Of course.
Logged
Kal Rubinson
"Music in the Round"
Senior Contributing Editor, Stereophile

kr4

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 740

Same results with the APE file. ?
Logged
Kal Rubinson
"Music in the Round"
Senior Contributing Editor, Stereophile

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42323
  • Shoes gone again!

Does it appear in Audio Path?  How about trying something like the equalizer?
Logged
Matt Ashland, JRiver Media Center

kr4

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 740

Does it appear in Audio Path? 
Yes, it appears in Audio Path.
Quote
How about trying something like the equalizer?
I inserted Equalizer before Dirac and Room Correction after Dirac.  All show in Audio Path in the stated order but Dirac still does not work while the others do.
Logged
Kal Rubinson
"Music in the Round"
Senior Contributing Editor, Stereophile

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42323
  • Shoes gone again!

I just tried to listen to Dirac (I was only checking Audio Path before).

It was applying the effect.

Maybe you don't have an effect loaded in DSP Studio properly?
Logged
Matt Ashland, JRiver Media Center

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42323
  • Shoes gone again!

Make sure you right click your Oppo zone and point it to the right server.
Logged
Matt Ashland, JRiver Media Center

kr4

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 740

Maybe you don't have an effect loaded in DSP Studio properly?
Same VST and "effects" that work with the USB output zone.
Make sure you right click your Oppo zone and point it to the right server.
Yup but the zone is "s88 LAN" which I associate with DLNA Server "Oppo."
Logged
Kal Rubinson
"Music in the Round"
Senior Contributing Editor, Stereophile

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42323
  • Shoes gone again!

I'll send you a test build tonight.  We have one idea.

Thanks.
Logged
Matt Ashland, JRiver Media Center

jimwallen

  • Junior Woodchuck
  • **
  • Posts: 82

All file formats?

Mostly FLAC, WAV, MP4
Logged

kr4

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 740

I'll send you a test build tonight.  We have one idea.
Thanks but I am afraid that it did not help on my main machine nor on another that tried. 

From all of this, it seems likely that there is some setting that I have made (unintentionally or intentionally for another reason) that is interfering with this particular operation but I do not know how to ferret it out.  Are there files, back-ups or screen grabs that I can submit to enable this?
Logged
Kal Rubinson
"Music in the Round"
Senior Contributing Editor, Stereophile

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13813

This mostly works for me over DLNA with a Mac.
It does occasionally crash. The crash is IN the Dirac plugin.

I tested to a local zone, an Id and my Oppo 103.

I'm using the Audiophile 24 Bit Dac template for the DLNA server.
Set the DSP studio in there to use the Dirac plugin.
Put in a test filter that makes the sound obviously bad.
Right click on my Oppo zone, choose DLNA Controller options and Associate that Oppo zone with the Audiophile 24 Bit Dac DLNA server.

My audio path works for the most part, but not always, but the effect is applied every time.

Attached is a playback screenshot. Also the crash info in case that does anyone that writes that plugin any good.

Code: [Select]
Process:               Media Center 28 [4170]
Path:                  /Applications/Media Center 28.app/Contents/MacOS/Media Center 28
Identifier:            com.jriver.MediaCenter28
Version:               28.0.41 (2245)
Code Type:             X86-64 (Native)
Parent Process:        ? [1]
Responsible:           Media Center 28 [4170]
User ID:               501

Date/Time:             2021-07-16 17:25:22.483 -0500
OS Version:            Mac OS X 10.15.7 (19H114)
Report Version:        12
Anonymous UUID:        9E60EB76-5E84-83BA-CCA0-970EA74AE025


Time Awake Since Boot: 25000 seconds

System Integrity Protection: enabled

Crashed Thread:        40

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000098
Exception Note:        EXC_CORPSE_NOTIFY

Termination Signal:    Segmentation fault: 11
Termination Reason:    Namespace SIGNAL, Code 0xb
Terminating Process:   exc handler [4170]


....

Thread 40 Crashed:
0   com.dirac.plugin.DiracLiveProcessor 0x0000000119c3db01 asio::detail::kqueue_reactor::start_op(int, int, asio::detail::kqueue_reactor::descriptor_state*&, asio::detail::reactor_op*, bool, bool) + 97
1   com.dirac.plugin.DiracLiveProcessor 0x0000000119c5bb15 asio::detail::reactive_socket_service_base::start_accept_op(asio::detail::reactive_socket_service_base::base_implementation_type&, asio::detail::reactor_op*, bool, bool) + 165
2   com.dirac.plugin.DiracLiveProcessor 0x0000000119c5b40b (anonymous namespace)::ServerImpl::do_accept() + 395
3   com.dirac.plugin.DiracLiveProcessor 0x0000000119c5c165 asio::detail::binder1<(anonymous namespace)::ServerImpl::do_accept()::'lambda'(std::__1::error_code), std::__1::error_code>::operator()() + 37
4   com.dirac.plugin.DiracLiveProcessor 0x0000000119c5bd72 asio::detail::reactive_socket_accept_op<asio::basic_socket<asio::ip::tcp, asio::execution::any_executor<asio::execution::context_as_t<asio::execution_context&>, asio::execution::detail::blocking::never_t<0>, asio::execution::prefer_only<asio::execution::detail::blocking::possibly_t<0> >, asio::execution::prefer_only<asio::execution::detail::outstanding_work::tracked_t<0> >, asio::execution::prefer_only<asio::execution::detail::outstanding_work::untracked_t<0> >, asio::execution::prefer_only<asio::execution::detail::relationship::fork_t<0> >, asio::execution::prefer_only<asio::execution::detail::relationship::continuation_t<0> > > >, asio::ip::tcp, (anonymous namespace)::ServerImpl::do_accept()::'lambda'(std::__1::error_code), asio::execution::any_executor<asio::execution::context_as_t<asio::execution_context&>, asio::execution::detail::blocking::never_t<0>, asio::execution::prefer_only<asio::execution::detail::blocking::possibly_t<0> >, asio::execution::prefer_only<asio::execution::detail::outstanding_work::tracked_t<0> >, asio::execution::prefer_only<asio::execution::detail::outstanding_work::untracked_t<0> >, asio::execution::prefer_only<asio::execution::detail::relationship::fork_t<0> >, asio::execution::prefer_only<asio::execution::detail::relationship::continuation_t<0> > > >::do_complete(void*, asio::detail::scheduler_operation*, std::__1::error_code const&, unsigned long) + 514
5   com.dirac.plugin.DiracLiveProcessor 0x0000000119c35f96 asio::detail::scheduler::do_run_one(asio::detail::conditionally_enabled_mutex::scoped_lock&, asio::detail::scheduler_thread_info&, std::__1::error_code const&) + 806
6   com.dirac.plugin.DiracLiveProcessor 0x0000000119c35a92 asio::detail::scheduler::run(std::__1::error_code&) + 226
7   com.dirac.plugin.DiracLiveProcessor 0x0000000119c5cc24 std::__1::__async_assoc_state<void, std::__1::__async_func<(anonymous namespace)::ServerImpl::ServerImpl(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)::'lambda'()> >::__execute() + 52
8   com.dirac.plugin.DiracLiveProcessor 0x0000000119c5cd3e void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (std::__1::__async_assoc_state<void, std::__1::__async_func<(anonymous namespace)::ServerImpl::ServerImpl(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)::'lambda'()> >::*)(), std::__1::__async_assoc_state<void, std::__1::__async_func<(anonymous namespace)::ServerImpl::ServerImpl(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)::'lambda'()> >*> >(void*) + 62
9   libsystem_pthread.dylib             0x00007fff6ba12109 _pthread_start + 148
10  libsystem_pthread.dylib             0x00007fff6ba0db8b thread_start + 15


Logged
Pages: [1]   Go Up