INTERACT FORUM

Please login or register.

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

Author Topic: Problem with SACD playback when loaded full file into memory  (Read 542 times)

frank020660

  • Recent member
  • *
  • Posts: 10
Problem with SACD playback when loaded full file into memory
« on: March 30, 2025, 01:46:28 am »

Dear Sir, I am bump into a weird situation...

Some sacd just won't play and some will clash in the specified tome during playback when set the Memory Playback to Load full file (not decoded) into memory.

It will be no problem at all after changed the setting to No memory Playback...

What should I do to playback any SACD when load full file into momery ?

Thanks to any reply in advance ...
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 8195
  • The color of Spring!
Re: Problem with SACD playback when loaded full file into memory
« Reply #1 on: March 30, 2025, 04:30:19 am »

How big is the SACD? And are you using the 64-bit version of Media Center? There's a chance you're hitting some sort of limit. Also in general using memory playback with SACD ISOs is a bad idea.
Logged
I don't work for JRiver... I help keep the forums safe from "male enhancements" and other sources of sketchy pharmaceuticals.

Windows 11 24H2 Update 64-bit + Ubuntu 24.10 Oracular Oriole 64-bit (AMD 7900X CPU/AMD 7800 XT GPU/64GB RAM/2TB M.2 NVMe SSD)
macOS Sequoia 15.3.2 (M4 Mac Mini 16GB RAM/256GB SSD)
Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 33 (Windows + Mac + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

EnglishTiger

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1225
Re: Problem with SACD playback when loaded full file into memory
« Reply #2 on: March 30, 2025, 04:54:28 am »

AD - Since frank020660 was asking about using a Windows Library Backup on a Mac recently, if the problem is happening on a Mac PC then lack of memory is most likely to be the cause of the problem. The 8Gb system memory in the Pre M4 Mac's can achieve a lot but I seriously doubt if loading a SACD into memory is one of them.
Logged
Intel NUC13ANBi5 13th gen I5-1340P cpu

Apple Mac Mini Desktop Computer with M4 Pro chip with 12 core CPU and 16 core GPU: 24GB Unified Memory, 512GB SSD Storage, Gigabit Ethernet, 3 Thunderbolt5 + 2USBC ports.

ET Skins, TrackInfo Plugins and Other Goodies - https://englishtiger.uk/index.html

frank020660

  • Recent member
  • *
  • Posts: 10
Re: Problem with SACD playback when loaded full file into memory
« Reply #3 on: March 31, 2025, 06:27:59 am »

Thank you for reply.

I have not yet moved to Mac. I am using a Windows 11 pc with 16G memory and is running most recent 64bit version JRiver 33.

The SACD won't play is 3.2G and the one crashed in sprcific time is 4.3G...
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 8195
  • The color of Spring!
Re: Problem with SACD playback when loaded full file into memory
« Reply #4 on: March 31, 2025, 06:53:57 am »

What about a smaller SACD ISO, maybe around 2GB or so?

I can imagine that trying to load ISOs into memory may be troublesome, not only because of size but because ISOs are used for video primarily and audio for SACDs.
Logged
I don't work for JRiver... I help keep the forums safe from "male enhancements" and other sources of sketchy pharmaceuticals.

Windows 11 24H2 Update 64-bit + Ubuntu 24.10 Oracular Oriole 64-bit (AMD 7900X CPU/AMD 7800 XT GPU/64GB RAM/2TB M.2 NVMe SSD)
macOS Sequoia 15.3.2 (M4 Mac Mini 16GB RAM/256GB SSD)
Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 33 (Windows + Mac + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42748
  • Shoes gone again!
Re: Problem with SACD playback when loaded full file into memory
« Reply #5 on: April 01, 2025, 08:43:23 am »

It looks to me like 64-bit compiles should allocate the file no problem.

However, this did lead me to this coming improvement:
Changed: When playing decoded files from memory, the memory needed will be allocated in one chunk instead of growing as it reads the file.

Thanks.
Logged
Matt Ashland, JRiver Media Center

zybex

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2901
Re: Problem with SACD playback when loaded full file into memory
« Reply #6 on: April 01, 2025, 09:52:27 am »

What happens when the current in-memory file is reaching the end and another memory block needs to be allocated to preload the next one, while the first one is still in memory and playing?

Memory requirement could be double what you expect, in this scenario. Even with 16 GB (not much nowadays), Windows will sigh with exasperation with such large memory allocations. It may lead to memory swapping to disk, completely negating any benefit of memory preload.

Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42748
  • Shoes gone again!
Re: Problem with SACD playback when loaded full file into memory
« Reply #7 on: April 01, 2025, 10:09:10 am »

It might use extra memory as it grows the buffer since it needs two copies for a bit to do that. 64-bit should basically have unlimited memory (and just back it with disk when needed).

The biggest file I have is 1.69 GB and that plays even with the old code for me.

But we'll release the improvement and then circle back if the problem still exists.

Thanks.
Logged
Matt Ashland, JRiver Media Center

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 8195
  • The color of Spring!
Re: Problem with SACD playback when loaded full file into memory
« Reply #8 on: April 01, 2025, 10:22:34 am »

What about instances where the OS and MC being used is 64-bit and it only has 4GB of system memory and the SACD ISO that's being loaded into memory is large, approaching 4GB or maybe larger? I assume it'd switch to swap or something like that? I'm not sure how that'd work in those scenarios, though maybe in those instances MC should be aware of how much system memory there is to begin with and if it's low like 4GB and the user is trying to load a large SACD ISO (assuming it approaches or exceeds how much system memory is available with it loaded) should automatically drop out of memory playback for it?
Logged
I don't work for JRiver... I help keep the forums safe from "male enhancements" and other sources of sketchy pharmaceuticals.

Windows 11 24H2 Update 64-bit + Ubuntu 24.10 Oracular Oriole 64-bit (AMD 7900X CPU/AMD 7800 XT GPU/64GB RAM/2TB M.2 NVMe SSD)
macOS Sequoia 15.3.2 (M4 Mac Mini 16GB RAM/256GB SSD)
Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 33 (Windows + Mac + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

frank020660

  • Recent member
  • *
  • Posts: 10
Re: Problem with SACD playback when loaded full file into memory
« Reply #9 on: April 01, 2025, 12:47:39 pm »

Thank you sir, I will try to play different size sacd format files tomorrow to see if the size matter.
Logged

frank020660

  • Recent member
  • *
  • Posts: 10
Re: Problem with SACD playback when loaded full file into memory
« Reply #10 on: Yesterday at 12:01:37 pm »

I’ve played more than 10 sacd and they all played properly when set to no memory playback.

But, two of them won’t play and one crashed during playback when set to load full file to memory.

All sacd I’ve played are 3 to 4G and each track is 200 to 250M.

Hope this help a bit.

Logged

zybex

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2901
Re: Problem with SACD playback when loaded full file into memory
« Reply #11 on: Yesterday at 12:07:25 pm »

Why use Memory Playback at all?
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 8195
  • The color of Spring!
Re: Problem with SACD playback when loaded full file into memory
« Reply #12 on: Yesterday at 12:19:48 pm »

Maybe it's a thing where since memory playback isn't zone specific it's generally enabled and meant for PCM but because it's not zone specific it's also enabled when playing back SACD ISOs and because of sizes it *can* cause issues.

I kinda wish there was a way to disable memory playback for DSD content and only have it enabled for PCM content (as there's no reason to have it enabled for SACD ISOs/DSD) but I suppose that would make things very complicated.
Logged
I don't work for JRiver... I help keep the forums safe from "male enhancements" and other sources of sketchy pharmaceuticals.

Windows 11 24H2 Update 64-bit + Ubuntu 24.10 Oracular Oriole 64-bit (AMD 7900X CPU/AMD 7800 XT GPU/64GB RAM/2TB M.2 NVMe SSD)
macOS Sequoia 15.3.2 (M4 Mac Mini 16GB RAM/256GB SSD)
Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 33 (Windows + Mac + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones
Pages: [1]   Go Up