Audirvana won't play after a good night's sleep

I have recently switched from Audirvana 3.5 running on a 2012 Mac Mini (fronted by a browser based remote control system I created) to a new Mac Mini M2, Audirvana Origin (trial), and Audirvana remote (on Android). All seemed good with that new setup. However, when I switch off Audirvana and put the Mac Mini into sleep for the night, I can’t get Audirvana to start playing again the next day. I can perform any action in Audirvana (load albums/genres/artists, select albums to play, move from one song in the album to the next and back again, but the only function I can’t perform is “play”. It doesn’t respond from the Audirvana remote, nor if I go into the Mac Mini directly and click on the play button from there. The only way to get it to play is to stop Audirvana and re-start it - then it all works again.

This kills the idea of using my Mac Mini & Audirvana as a headless music player. Before I give up on this system I wanted to ask if anybody knows what problem I might be facing, or how I can go about debugging it?

Speaking of debugging:

Audirvana Origin 2.5.10 (20510)

macOS Version 14.3 (Build 23D56) with 8GB physical RAM

Connected account of : Wilfried Kruse

NETWORK
Status: available

SIGNAL PROCESSING:

Polarity Inversion:
	Globally: OFF
	Per track: ON
Effects plugins NOT ACTIVE

UPSAMPLING:
r8brain not in use
r8brain filter parameters
Bandwidth = 99.5%
Stop band attenuation 218dB
Phase linear

AUDIO VOLUME:
Max allowed volume: 100
Replay Gain: None
SW volume control: OFF

LIBRARY SETTINGS:
Sync list: 4 folders
AUTO: /Volumes/Music1Play/Music/FLAC
AUTO: /Volumes/Music1Play/Music/My HDTracks Music
AUTO: /Volumes/Music1Play/Music/Naim
AUTO: /Volumes/Music1Play/Music/Tapes
iTunes/Music library synchronization: not synchronized
Library database path: /Users/wakmusic/Music/Audirvana/AudirvanaDatabase.sqlite

Remote Control server:
Listening on 127.0.0.1 on port 49687

=================== AUDIO DEVICE ========================

Active method: Local

Max. memory for audio buffers: 5120MB

Local Audio Engine: CoreAudio
Exclusive access: ON
Integer mode: ON
Use max I/O buffer size: ON
Actual I/O buffer frame size: 512

Preferred device:
M2Tech YoungDSD UAC2 Output
Model UID:YoungDSD UAC2:249C:9313
UID:AppleUSBAudioEngine:M2Tech:YoungDSD UAC2:2400000:1

Currently playing in Integer Mode:
Device: 2ch Non-mixable linear PCM Interleaved 24bits little endian Signed Integer, 8 bytes per frame 96kHz

Active Sample Rate: 96kHz
Hog Mode is on

Bridge settings:
Sample rate limitation: none
Sample rate switching latency: none
Limit bitdepth to 24bit: OFF
Mute during sample rate change: OFF

Selected device:YoungDSD UAC2 Output
Manufacturer: M2Tech
Model name: M2Tech YoungDSD UAC2 Output
Model UID: YoungDSD UAC2:249C:9313
UID: AppleUSBAudioEngine:M2Tech:YoungDSD UAC2:2400000:1
USB Vendor ID: 0x249c
USB Product ID: 0x9313
ID 0x4e

8 available sample rates up to 384000Hz
44100
48000
88200
96000
176400
192000
352800
384000
Audio buffer frame size : 14 to 4096 frames
Current I/O buffer frame size : 512

Volume Control
Physical: Yes
Virtual: Yes
Max volume alert: Disabled

MQA capability
Auto-detect MQA devices: Yes
Not a MQA device, user set to not MQA

DSD capability
Unhandled (PCM conversion) with boost gain of 6dB

Device audio channels
Preferred stereo channels L:1 R:2
Channel bitmap: Ox3, layout:
Channel 0 mapped to 0
Channel 1 mapped to 1

Audio channels in use
Number of channels: 2
Use as stereo device only: No
Simple stereo device: Yes

1 output streams:
Number of active channels: 2, in 1 stream(s)
Channel #0 :Stream 0 channel 0
Channel #1 :Stream 0 channel 1

Stream ID 0x4f 2 channels starting at 1
24 virtual formats:
2 ch Mixable linear PCM Interleaved 32 little endian Signed Float 384kHz
2 ch Mixable linear PCM Interleaved 32 little endian Signed Float 352.8kHz
2 ch Mixable linear PCM Interleaved 32 little endian Signed Float 192kHz
2 ch Mixable linear PCM Interleaved 32 little endian Signed Float 176.4kHz
2 ch Mixable linear PCM Interleaved 32 little endian Signed Float 96kHz
2 ch Mixable linear PCM Interleaved 32 little endian Signed Float 88.2kHz
2 ch Mixable linear PCM Interleaved 32 little endian Signed Float 48kHz
2 ch Mixable linear PCM Interleaved 32 little endian Signed Float 44.1kHz
2 ch Non-mixable linear PCM Interleaved 24 little endian Signed Integer aligned low in 32bit 384kHz
2 ch Non-mixable linear PCM Interleaved 24 little endian Signed Integer aligned low in 32bit 352.8kHz
2 ch Non-mixable linear PCM Interleaved 24 little endian Signed Integer aligned low in 32bit 192kHz
2 ch Non-mixable linear PCM Interleaved 24 little endian Signed Integer aligned low in 32bit 176.4kHz
2 ch Non-mixable linear PCM Interleaved 24 little endian Signed Integer aligned low in 32bit 96kHz
2 ch Non-mixable linear PCM Interleaved 24 little endian Signed Integer aligned low in 32bit 88.2kHz
2 ch Non-mixable linear PCM Interleaved 24 little endian Signed Integer aligned low in 32bit 48kHz
2 ch Non-mixable linear PCM Interleaved 24 little endian Signed Integer aligned low in 32bit 44.1kHz
2 ch Non-mixable linear PCM Interleaved 16 little endian Signed Integer 384kHz
2 ch Non-mixable linear PCM Interleaved 16 little endian Signed Integer 352.8kHz
2 ch Non-mixable linear PCM Interleaved 16 little endian Signed Integer 192kHz
2 ch Non-mixable linear PCM Interleaved 16 little endian Signed Integer 176.4kHz
2 ch Non-mixable linear PCM Interleaved 16 little endian Signed Integer 96kHz
2 ch Non-mixable linear PCM Interleaved 16 little endian Signed Integer 88.2kHz
2 ch Non-mixable linear PCM Interleaved 16 little endian Signed Integer 48kHz
2 ch Non-mixable linear PCM Interleaved 16 little endian Signed Integer 44.1kHz

32 physical formats
2 ch Mixable linear PCM Interleaved 24 little endian Signed Integer aligned low in 32bit 384kHz
2 ch Mixable linear PCM Interleaved 24 little endian Signed Integer aligned low in 32bit 352.8kHz
2 ch Mixable linear PCM Interleaved 24 little endian Signed Integer aligned low in 32bit 192kHz
2 ch Mixable linear PCM Interleaved 24 little endian Signed Integer aligned low in 32bit 176.4kHz
2 ch Mixable linear PCM Interleaved 24 little endian Signed Integer aligned low in 32bit 96kHz
2 ch Mixable linear PCM Interleaved 24 little endian Signed Integer aligned low in 32bit 88.2kHz
2 ch Mixable linear PCM Interleaved 24 little endian Signed Integer aligned low in 32bit 48kHz
2 ch Mixable linear PCM Interleaved 24 little endian Signed Integer aligned low in 32bit 44.1kHz
2 ch Mixable linear PCM Interleaved 16 little endian Signed Integer 384kHz
2 ch Mixable linear PCM Interleaved 16 little endian Signed Integer 352.8kHz
2 ch Mixable linear PCM Interleaved 16 little endian Signed Integer 192kHz
2 ch Mixable linear PCM Interleaved 16 little endian Signed Integer 176.4kHz
2 ch Mixable linear PCM Interleaved 16 little endian Signed Integer 96kHz
2 ch Mixable linear PCM Interleaved 16 little endian Signed Integer 88.2kHz
2 ch Mixable linear PCM Interleaved 16 little endian Signed Integer 48kHz
2 ch Mixable linear PCM Interleaved 16 little endian Signed Integer 44.1kHz
2 ch Non-mixable linear PCM Interleaved 24 little endian Signed Integer aligned low in 32bit 384kHz
2 ch Non-mixable linear PCM Interleaved 24 little endian Signed Integer aligned low in 32bit 352.8kHz
2 ch Non-mixable linear PCM Interleaved 24 little endian Signed Integer aligned low in 32bit 192kHz
2 ch Non-mixable linear PCM Interleaved 24 little endian Signed Integer aligned low in 32bit 176.4kHz
2 ch Non-mixable linear PCM Interleaved 24 little endian Signed Integer aligned low in 32bit 96kHz
2 ch Non-mixable linear PCM Interleaved 24 little endian Signed Integer aligned low in 32bit 88.2kHz
2 ch Non-mixable linear PCM Interleaved 24 little endian Signed Integer aligned low in 32bit 48kHz
2 ch Non-mixable linear PCM Interleaved 24 little endian Signed Integer aligned low in 32bit 44.1kHz
2 ch Non-mixable linear PCM Interleaved 16 little endian Signed Integer 384kHz
2 ch Non-mixable linear PCM Interleaved 16 little endian Signed Integer 352.8kHz
2 ch Non-mixable linear PCM Interleaved 16 little endian Signed Integer 192kHz
2 ch Non-mixable linear PCM Interleaved 16 little endian Signed Integer 176.4kHz
2 ch Non-mixable linear PCM Interleaved 16 little endian Signed Integer 96kHz
2 ch Non-mixable linear PCM Interleaved 16 little endian Signed Integer 88.2kHz
2 ch Non-mixable linear PCM Interleaved 16 little endian Signed Integer 48kHz
2 ch Non-mixable linear PCM Interleaved 16 little endian Signed Integer 44.1kHz

Local devices found : 3
Device #0: ID 0x78 DP
Manufacturer: RTK
Model UID: 4A8B0000-0000-0000-281E-0104B53D2378
UID: 4A8B0000-0000-0000-281E-0104B53D2378
Model name: RTK DP
Device #1: ID 0x4e YoungDSD UAC2 Output
Manufacturer: M2Tech
Model UID: YoungDSD UAC2:249C:9313
UID: AppleUSBAudioEngine:M2Tech:YoungDSD UAC2:2400000:1
USB Vendor ID: 0x249c
USB Product ID: 0x9313
Model name: M2Tech YoungDSD UAC2 Output
Device #2: ID 0x48 Mac mini Speakers
Manufacturer: Apple Inc.
Model UID: Speaker
UID: BuiltInSpeakerDevice
Model name: Apple Inc. Mac mini Speakers

UPnP

UPnP devices found : 0

Chromecast

Chromecast devices found : 0

Hello @wak

My go-to is, after many years with computers…

a. Turn everything off
b. Wait for a minute or two
c. Turn everything on.

If that fails…

a, and b plus… unplug everything and wait 30 minutes, then plug back in and then… c.

Report back

Regards

Phil

Sounds like a wake from sleep issue with macOS and/or your M2 Tech Young DSD DAC. I notice from the Young DSD manual the following…

“To comply with UE requirements regarding energy saving, the YOUNG DSD is able to
automatically switch off after a certain idle time. By idle we mean a time lapse in
which user didn’t access any control, like volume or mute”

My KEF speakers also have a sleep timer and sometimes when attempting to play, Audirvana times out before the KEF’s have fully powered back up causing Audirvana not to play and requiring a reboot of the software to restore normal operation. (The play bar controls grey out)

When you wake the mac from sleep do you cycle the DAC on with the Young DSD remote before initiating playback via Audirvana? I do this if my KEF’s have gone into sleep mode for 5 seconds or so before initiating playback through Audirvana, this resolves the issue for me.

That’s a good callout about the DAC. Given that the PLAY button is only function that doesn’t work when this happens it’s very plausible.

The timeout on the DAC is set to 0, which disables the timeout function.

I do use a remote (Logitech Harmony) to wake up the system, and the DAC came after the Mac Mini. I switched this around but that didn’t make a difference. But since this is more logical I will keep the new sequence anyway.

When things were stuck again after some period of inactivity, I noticed an Audirvana message “Exclusive audio access mode disabled”, which surprised me because I did have that enabled. After further digging it turned out the Sys Optimizer, which I also had enabled, was missing a helper app and also full disk access permission. Since fixing these two issues the problem has so far not reoccurred. Keeping my fingers crossed.

Thanks for your help and taking the time to look into this. I very much appreciate it!

2 Likes

Glad you found a solution!