INTERACT FORUM

Please login or register.

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

Author Topic: Sacd iso & dff file buffering  (Read 3929 times)

stricko

  • Galactic Citizen
  • ****
  • Posts: 423
Sacd iso & dff file buffering
« on: January 04, 2017, 02:35:34 am »

I've started to get intermittent buffering when playing 6 channel audio from sacd iso or dff files. happens every 30 seconds or so. Not sure how long its been happening for, only noticed it in last couple of weeks.

setup is client/server, all w10 64 bit, wired gigabit. no recent hardware changes. client htpc is ssd only, plenty of space. 4gb amd x4 840. all software / drivers up to date.

any ideas how to start debugging this?

thanks
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 41972
  • Shoes gone again!
Re: Sacd iso & dff file buffering
« Reply #1 on: January 04, 2017, 09:10:45 am »

Well the drive or computer just isn't fast enough probably.

You could try increasing prebuffering in Options > Audio.  It might at least make the gap between drop outs longer.
Logged
Matt Ashland, JRiver Media Center

stricko

  • Galactic Citizen
  • ****
  • Posts: 423
Re: Sacd iso & dff file buffering
« Reply #2 on: January 04, 2017, 09:23:24 am »

Thanks for that

I tried the pre buffering thing a while back but it didn't seem to make much difference. I've been running some tests on a different htpc which didn't seem to have the problem..... until now. Same material, same server.

Audio played fine, apparently resampling from 352.8 kHz to 96 kHz, using Direct Sound.

Switched the audio device to wasapi, and I'm now getting "96 kHz 24bit (padded) 6ch using wasapi (not using enough bits to output the input directly)". But I get buffering as originally reported.

So I switch back to directsound. But now I'm getting buffering on that as well....

If it is something in the htpc not fast enough to cope, any suggestions on how I find out what....
Logged

stricko

  • Galactic Citizen
  • ****
  • Posts: 423
Re: Sacd iso & dff file buffering
« Reply #3 on: January 04, 2017, 09:48:55 am »

Back to wasapi. I'm watching the task manager performance graphs of the server and client side by side. CPU is 37% on the server side, 56% on the client, memory 1.1 of 3gb on the server, 1.5 of 4gb on the client. Disk usage is barely registering.

No obvious spikes or dips when it decides to buffer......

No idea where to look next
Logged

kr4

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 721
Re: Sacd iso & dff file buffering
« Reply #4 on: January 04, 2017, 11:24:01 am »

Audio played fine, apparently resampling from 352.8 kHz to 96 kHz, using Direct Sound.
Try resampling from 352.8 kHz to 88.2kHz.   It eases the math load. 
Logged
Kal Rubinson
"Music in the Round"
Senior Contributing Editor, Stereophile

dtc

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3020
Re: Sacd iso & dff file buffering
« Reply #5 on: January 04, 2017, 12:07:12 pm »

Some tests to try. No one is definitive, but it might help narrow down the problem.

Copy the file to the client and play it directly rather than in client/server mode.

Connect the client directly to the file on the server, without going through MC on the server. (When you say client/server I am assuming you mean client/server with MC - also called Tremote.)

Do both of the above with and without Load Files to Memory at Start of Playback

If the file on the server is on a usb drive, move it to an internal drive on the server.

And, as Kal suggests, only resample in integer multiples.
Logged

stricko

  • Galactic Citizen
  • ****
  • Posts: 423
Re: Sacd iso & dff file buffering
« Reply #6 on: January 04, 2017, 01:21:24 pm »

Just had a couple of minutes to test. Copied sacd image to ssd on client and losded to local library. Same problem, so i guess that rules out network related problems.

Audio is being output over hdmi so im using the nvidia high def audio driver. From what i can see it doesnt support 88.2, and things got wierd when i tried to change to it.

Ill do more when i can
Logged

Fitzcaraldo215

  • World Citizen
  • ***
  • Posts: 217
Re: Sacd iso & dff file buffering
« Reply #7 on: January 04, 2017, 03:19:44 pm »

That problem with NVidia has been around for a long time.  Apparently, it still does not support audio at 88 or 176k, unlike AMD or even Intel Integrated Graphics which do.  I find that somewhat surprising, but then their primary customers in the gamer market do not need those "audiophile" sampling rates.  NVidia and the others do handle hi rez at 96 or 192k, however.

I have not looked lately, but I never found anything in NVidia's online specs that made it clear exactly which audio sampling rates they did or did not support, a curious and downright unfriendly omission.  I have not forgiven them ever since.  I had to do some actual in-store testing to discover this limitation. Some may disagree, but I think conversion from DSD at integer multiple rates like 88/176k makes a small but worthwhile sonic difference.  And, as Kal says, it requires less PC resources.
Logged

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10729
Re: Sacd iso & dff file buffering
« Reply #8 on: January 04, 2017, 04:08:48 pm »

And, as Kal says, it requires less PC resources.

Not going to argue about "audible differences" because thats a rabbit hole reserved for others - but this is just wrong. Any advanced resampler doesn't really care if its an "integer" or any other fraction - performance wise.

People bringing this argument often have a very naive and simple resampler in mind, but thats not how any of the things in MC work.

If you are having performance issues due to resampling (which would require a rather weak PC, fwiw), you can try to switch to the SoX resampler in the MC options, its quite a bit more efficient on performance.
Logged
~ nevcairiel
~ Author of LAV Filters

kr4

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 721
Re: Sacd iso & dff file buffering
« Reply #9 on: January 04, 2017, 05:37:11 pm »

Not going to argue about "audible differences" because thats a rabbit hole reserved for others - but this is just wrong. Any advanced resampler doesn't really care if its an "integer" or any other fraction - performance wise.

People bringing this argument often have a very naive and simple resampler in mind, but thats not how any of the things in MC work.

If you are having performance issues due to resampling (which would require a rather weak PC, fwiw), you can try to switch to the SoX resampler in the MC options, its quite a bit more efficient on performance.
I made this suggestion based entirely on experience with downsampling hi-rez multichannel files with MC. 
Logged
Kal Rubinson
"Music in the Round"
Senior Contributing Editor, Stereophile

stricko

  • Galactic Citizen
  • ****
  • Posts: 423
Re: Sacd iso & dff file buffering
« Reply #10 on: January 04, 2017, 11:42:32 pm »

That problem with NVidia has been around for a long time.

Damn. And it's not that long simce I switched from AMD. I can't remember the details but there was some problem or other where AMD stopped supporting something I needed, so I changed.

More testing later now I've found the Sox option setting.
Logged

stricko

  • Galactic Citizen
  • ****
  • Posts: 423
Re: Sacd iso & dff file buffering
« Reply #11 on: January 05, 2017, 01:31:13 am »

Okey dokey, we have a winner. Switching on the Sox resampling option fixed the problem. Initial track buffering time significantly reduced and not a trace of buffering during playback. Worked on both locally held iso file and over the network. Very impressive.

Does this result suggest that the original problem was CPU related? The Sox suggestion also caused me to read the pinned Sox thread which explained some of the earlier comments.

Many thanks
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7402
  • The color of Spring...
Re: Sacd iso & dff file buffering
« Reply #12 on: January 05, 2017, 04:45:16 am »

Does this result suggest that the original problem was CPU related?

Very likely, yes.
Logged
I don't work for JRiver... I help keep the forums safe from Viagra and other sources of sketchy pharmaceuticals.

Windows 11 2023 Update (23H2) 64-bit + Ubuntu 24.04 LTS Noble Numbat 64-bit | Windows 11 2023 Update (23H2) 64-bit (Intel N305 Fanless NUC 16GB RAM/256GB NVMe SSD)
JRiver Media Center 32 (Windows + Linux) | iFi ZEN DAC 3 | Edifier R2000DB Bookshelf Speakers | Audio-Technica ATH-M50x Headphones
Pages: [1]   Go Up