Issue with UPnP RPi with Audirvāna 3.5

I’m using 2 different versions of Audirvana “classic” (not Studio) on two different Mac machines.
Using both local ALAC files and streaming Qobuz.
I want to be able to stream to R Pis throughout the house.
The streaming clients are Volumio and output are Pi2AES hats.

The problem:
Streaming wirelessly from Audirvana to the Volumio clients, I have constant dropouts, freezes and strange behavior like Audirvana showing X song is playing while Y song is actually playing.

Troubleshooting:
This happens regardless of Audirvana version or machine it’s running on.
There is no difference in behavior between local files and Qobuz. So Qobuz is not the issue.
If I bypass the Pi and go from either Mac directly to DAC via USB, there are no issues.
I can use Airplay from my phone to the Pi boxes and there are no issues. So the glitches are not caused by network connectivity problems.

Therefore, the problem is UPnP between Audirvana and Volumio. Given the endless bugs that never get fixed on Audirvana, I’m confident the problem is with Audirvana rather than Volumio.

So my plea for help is: any ideas what the issue is and potential solution? Something I may be missing?

I know Damien doesn’t give af so I’m hoping one of you guys can help.

TIA

Can you paste the debug info here? Have you tried with some other distro?

Will do. By distro do you mean different versions of Audirvana or a completely different app?

I mean for the RPi. Something like RoPieee XL or RuneAudio.

I’ve tried Ropieee XL and MOode. Audirvana won’t connect to either.

Here’s the latest debug. I shut it off after ~20 seconds of constant glitching/cutting out. The device “Black” is Volumio on RPi with a Pi2AES HAT. BTW, I’ve tried multiple versions of Volumio and it makes no difference.

Audirvana Mac Version 3.5.50 (3580)
macOS 11.5.0 with 16384MB RAM

Registered to xxx

SIGNAL PROCESSING:

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

UPSAMPLING:
SoX not in use
SoX filter parameters
Bandwidth at 0dB = 99.5
Filter max length = 30000
Anti-aliasing = 100
Phase = 66

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

LIBRARY SETTINGS:
Sync list: 1 folders
AUTO: xxx
iTunes/Music library synchronization: not synchronized
Library database path: xxx/Library/Application Support/Audirvana/AudirvanaPlusDatabaseV2.sqlite

ACTIVE STREAMING SERVICES
Qobuz: Connected as Qobuz Studio

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

Preferred device: Black-UPnP/AV Model UID:JF Light Industries Black-UPnP/AV UID:uuid:3ab8e2b1-ed75-b8ae-3305-b827eba0855a

Selected device:
UPnP device at http://10.0.0.6:49152/uuid-3ab8e2b1-ed75-b8ae-3305-b827eba0855a/description.xml
ID 0x0 Black-UPnP/AV Manufacturer:JF Light Industries
Model UID:JF Light Industries Black-UPnP/AV UID:uuid:3ab8e2b1-ed75-b8ae-3305-b827eba0855a

6 available sample rates up to 192000Hz
44100
48000
88200
96000
176400
192000
Volume control: No
MQA capability
Auto-detect MQA devices: No
Not a MQA device, user set to not MQA
DSD capability: Raw DSD (MSB)
Device audio channels
Preferred stereo channels L:0 R:1
Channel bitmap: Ox3, layout:
Channel 0 mapped to 0
Channel 1 mapped to 1
UPnP/DLNA supported protocols:
http-get::application/flac:
http-get::application/x-flac:
http-get::application/ogg:
http-get::audio/flac:
http-get::audio/x-flac:
http-get::audio/aac:
http-get::audio/x-aiff:
http-get::audio/aif:
http-get::audio/aiff:
http-get::audio/dff:
http-get::audio/x-dff:
http-get::audio/dsd:
http-get::audio/x-dsd:
http-get::audio/dsf:
http-get::audio/x-dsf:
http-get::audio/m4a:
http-get::audio/x-m4a:
http-get::audio/matroska:
http-get::audio/x-matroska:
http-get::audio/mp1:
http-get::audio/mp3:
http-get::audio/mp4:
http-get::audio/mpeg:
http-get::audio/x-mpeg:
http-get::audio/ogg:
http-get::audio/vorbis:
http-get::audio/x-ape:
http-get::audio/ape:
http-get::audio/x-monkeys-audio:
http-get::audio/wav:
http-get::audio/x-wav:
http-get::audio/wave:
http-get::audio/x-ms-wma:
http-get::audio/x-ogg:
http-get::audio/x-scpls:
http-get::audio/x-vorbis+ogg:
http-get::audio/x-vorbis:
http-get::audio/x-wavpack:
http-get::video/mp4:
DLNA 1.5: No
Gapless playback: Yes
Missing events workaround: No
Can play native DSD: Yes
Number of channels: 2
Use as stereo device only: No

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 0x0 0 channels starting at 0
12 virtual formats:
2 ch Non-mixable linear PCM Interleaved 16 little endian Signed Integer 44.1kHz
2 ch Non-mixable linear PCM Interleaved 24 little endian Signed Integer 44.1kHz
2 ch Non-mixable linear PCM Interleaved 16 little endian Signed Integer 88.2kHz
2 ch Non-mixable linear PCM Interleaved 24 little endian Signed Integer 88.2kHz
2 ch Non-mixable linear PCM Interleaved 16 little endian Signed Integer 176.4kHz
2 ch Non-mixable linear PCM Interleaved 24 little endian Signed Integer 176.4kHz
2 ch Non-mixable linear PCM Interleaved 16 little endian Signed Integer 48kHz
2 ch Non-mixable linear PCM Interleaved 24 little endian Signed Integer 48kHz
2 ch Non-mixable linear PCM Interleaved 16 little endian Signed Integer 96kHz
2 ch Non-mixable linear PCM Interleaved 24 little endian Signed Integer 96kHz
2 ch Non-mixable linear PCM Interleaved 16 little endian Signed Integer 192kHz
2 ch Non-mixable linear PCM Interleaved 24 little endian Signed Integer 192kHz

0 physical formats

Current device transportInfo:
CurrentTransportState: STOPPED
CurrentTransportStatus: OK
CurrentSpeed: 1
Current device MediaInfo:
NrTracks: 1
MediaDuration: 00:00:00
CurrentURI: http://10.0.0.3:49152/audirvana/audio_0_5.wav
CurrentURIMetadata:

dc:titleUgly and Vengeful (Live at Montreux)</dc:title>
dc:creatorAnna von Hausswolff</dc:creator>
upnp:artistAnna von Hausswolff</upnp:artist>
upnp:genrePop</upnp:genre>
upnp:albumArtURIhttp://static.qobuz.com/images/covers/1b/ua/gm23zr6mhua1b_600.jpg</upnp:albumArtURI>
upnp:albumLive at Montreux Jazz Festival</upnp:album>
upnp:originalTrackNumber4</upnp:originalTrackNumber>
upnp:classobject.item.audioItem.musicTrack</upnp:class>
http://10.0.0.3:49152/audirvana/audio_0_5.wav


nextURI: http://10.0.0.3:49152/audirvana/audio_1_6.wav
nextURIMetadata:

dc:titleKällans Återuppståndelse (Live at Montreux)</dc:title>
dc:creatorAnna von Hausswolff</dc:creator>
upnp:artistAnna von Hausswolff</upnp:artist>
upnp:genrePop</upnp:genre>
upnp:albumArtURIhttp://static.qobuz.com/images/covers/1b/ua/gm23zr6mhua1b_600.jpg</upnp:albumArtURI>
upnp:albumLive at Montreux Jazz Festival</upnp:album>
upnp:originalTrackNumber5</upnp:originalTrackNumber>
upnp:classobject.item.audioItem.musicTrack</upnp:class>
http://10.0.0.3:49152/audirvana/audio_1_6.wav


PlayMedium: HDD
RecordMedium: NOT_IMPLEMENTED
WriteStatus: NOT_IMPLEMENTED

Current device AVT service description:

<?xml version="1.0"?> 1 0 TransportState no string STOPPED PLAYING TransportStatus no string OK ERROR_OCCURRED PlaybackStorageMedium no string PossiblePlaybackStorageMedia no string RecordStorageMedium no string PossibleRecordStorageMedia no string CurrentPlayMode no string NORMAL SHUFFLE REPEAT_ONE REPEAT_ALL RANDOM DIRECT_1 NORMAL TransportPlaySpeed no string 1 no RecordMediumWriteStatus string CurrentRecordQualityMode no string PossibleRecordQualityModes no string NumberOfTracks no ui4 0 2000 1 CurrentTrack no ui4 0 2000 1 CurrentTrackDuration no string CurrentMediaDuration no string CurrentTrackMetaData no string CurrentTrackURI no string AVTransportURI no string AVTransportURIMetaData no string NextAVTransportURI no string NextAVTransportURIMetaData no string RelativeTimePosition no string AbsoluteTimePosition no string RelativeCounterPosition no i4 AbsoluteCounterPosition no i4 CurrentTransportActions no string LastChange yes string A_ARG_TYPE_SeekMode no string ABS_TIME REL_TIME A_ARG_TYPE_SeekTarget no string A_ARG_TYPE_InstanceID no ui4 SetAVTransportURI InstanceID in A_ARG_TYPE_InstanceID CurrentURI in AVTransportURI CurrentURIMetaData in AVTransportURIMetaData SetNextAVTransportURI InstanceID in A_ARG_TYPE_InstanceID NextURI in NextAVTransportURI NextURIMetaData in NextAVTransportURIMetaData GetMediaInfo InstanceID in A_ARG_TYPE_InstanceID NrTracks out NumberOfTracks MediaDuration out CurrentMediaDuration CurrentURI out AVTransportURI CurrentURIMetaData out AVTransportURIMetaData NextURI out NextAVTransportURI NextURIMetaData out NextAVTransportURIMetaData PlayMedium out PlaybackStorageMedium RecordMedium out RecordStorageMedium WriteStatus out RecordMediumWriteStatus GetTransportInfo InstanceID in A_ARG_TYPE_InstanceID CurrentTransportState out TransportState CurrentTransportStatus out TransportStatus CurrentSpeed out TransportPlaySpeed GetPositionInfo InstanceID in A_ARG_TYPE_InstanceID Track out CurrentTrack TrackDuration out CurrentTrackDuration TrackMetaData out CurrentTrackMetaData TrackURI out CurrentTrackURI RelTime out RelativeTimePosition AbsTime out AbsoluteTimePosition RelCount out RelativeCounterPosition AbsCount out AbsoluteCounterPosition GetDeviceCapabilities InstanceID in A_ARG_TYPE_InstanceID PlayMedia out PossiblePlaybackStorageMedia RecMedia out PossibleRecordStorageMedia RecQualityModes out PossibleRecordQualityModes GetTransportSettings InstanceID in A_ARG_TYPE_InstanceID PlayMode out CurrentPlayMode RecQualityMode out CurrentRecordQualityMode Stop InstanceID in A_ARG_TYPE_InstanceID Play InstanceID in A_ARG_TYPE_InstanceID Speed in TransportPlaySpeed Pause InstanceID in A_ARG_TYPE_InstanceID Seek InstanceID in A_ARG_TYPE_InstanceID Unit in A_ARG_TYPE_SeekMode Target in A_ARG_TYPE_SeekTarget Next InstanceID in A_ARG_TYPE_InstanceID Previous InstanceID in A_ARG_TYPE_InstanceID SetPlayMode InstanceID in A_ARG_TYPE_InstanceID NewPlayMode in CurrentPlayMode GetCurrentTransportActions InstanceID in A_ARG_TYPE_InstanceID Actions out CurrentTransportActions

Current device RootDevice description:

<?xml version="1.0"?> 1 1 urn:schemas-upnp-org:device:MediaRenderer:1 Black-UPnP/AV JF Light Industries https://framagit.org/medoc92 UPnP front-end to MPD UpMPD 42 https://framagit.org/medoc92/upmpdcli/code/ upmpdcli version 1.5.8 libupnpp 0.20.2 image/png 64 64 32 /uuid-3ab8e2b1-ed75-b8ae-3305-b827eba0855a/icon.png /uuid-3ab8e2b1-ed75-b8ae-3305-b827eba0855a/presentation.html uuid:3ab8e2b1-ed75-b8ae-3305-b827eba0855a urn:schemas-upnp-org:service:AVTransport:1 urn:upnp-org:serviceId:AVTransport /uuid-3ab8e2b1-ed75-b8ae-3305-b827eba0855a/urn-schemas-upnp-org-service-AVTransport-1.xml /uuid-3ab8e2b1-ed75-b8ae-3305-b827eba0855a/ctl-urn-schemas-upnp-org-service-AVTransport-1 /uuid-3ab8e2b1-ed75-b8ae-3305-b827eba0855a/evt-urn-schemas-upnp-org-service-AVTransport-1 urn:schemas-upnp-org:service:RenderingControl:1 urn:upnp-org:serviceId:RenderingControl /uuid-3ab8e2b1-ed75-b8ae-3305-b827eba0855a/urn-schemas-upnp-org-service-RenderingControl-1.xml /uuid-3ab8e2b1-ed75-b8ae-3305-b827eba0855a/ctl-urn-schemas-upnp-org-service-RenderingControl-1 /uuid-3ab8e2b1-ed75-b8ae-3305-b827eba0855a/evt-urn-schemas-upnp-org-service-RenderingControl-1 urn:schemas-upnp-org:service:ConnectionManager:1 urn:upnp-org:serviceId:ConnectionManager /uuid-3ab8e2b1-ed75-b8ae-3305-b827eba0855a/urn-schemas-upnp-org-service-ConnectionManager-1.xml /uuid-3ab8e2b1-ed75-b8ae-3305-b827eba0855a/ctl-urn-schemas-upnp-org-service-ConnectionManager-1 /uuid-3ab8e2b1-ed75-b8ae-3305-b827eba0855a/evt-urn-schemas-upnp-org-service-ConnectionManager-1

UPnP devices found : 1
Device #0: ID 0x0 Black-UPnP/AV UID: uuid:3ab8e2b1-ed75-b8ae-3305-b827eba0855a Location: http://10.0.0.6:49152/uuid-3ab8e2b1-ed75-b8ae-3305-b827eba0855a/description.xml

CoreAudio audio path, buffer I/O frame size: 0

Max. memory for audio buffers: 640MB

Local Audio Engine:
Exclusive access: Enabled
Integer mode: Enabled

Local devices found : 1
Device #0: ID 0x32 Built-in Output Manufacturer: Apple Inc. Model UID: AppleHDA:129 UID: AppleHDAEngineOutput:1B,0,1,2:0

Sounds like the usual UPnP issues many are facing since a long time. Audirvāna Studio fixed it for me… for a while, recent versions brought them back. Back then, Audirvāna’s support kept saying the problem wasn’t on their end but on the manufacturer’s end (in my case it’s a Yamaha network player). But a version of Audirvāna fixed (most of) the issues I had (incredible, like… it wasn’t only on the manufacturer’s end ?). No freeze on my end, but it wasn’t the right track displayed, and sometimes a track stops before the end, or next track doesn’t start. Last two issues are back.

So I’d say UPnP support on Audirvana is crappy, and that’s the most polite word I can think of for a 7€/month service.

Yup, I’ve had UPnP issues for ever and I’ve posted in other threads and read others’ issues. I know full well it’s Audirvana. Hence my thread title and the reason I was never going to pay for a subscription version.

Try to increase the preload cache to 2000MB.

1 Like

I tried Studio recently, and I can confirm that it does not work properly with Volumio.
It stops playing in the middle of the track or cut the playback 15 seconds before the end of the track…
My other UPNP players perform well with Volumio.

My advice:
If you want to stick to Studio, use GentooPlayer or Ropiee XL on your RBI.
If you want to stick to Volumio, use another player on your server until these ugly bugs are fixed.

There’s a guy on Audiophile Style forum who had UPNP issues with his Yamaha network player and Studio. So he bought a new streamer (I forgot what brand). And now, he is a happy Studio user.

So, it may be a good idea to have at least two different streamers, and to switch between them if Audirvana stops working with one of them. Similarly to switching between Linux distributions on a RBI.

1 Like

I’m using Classic not Studio so there are probably differences. But, I’ll give Ropieee XL another try (haven’t been able to make it work before) and Gentoo as well.

Have played with this and it doesn’t make a difference :frowning:

GentooPlayer is a bit of a geeky distribution. But its sound quality is unmatched by any of the Linux distributions that I ever tried. So, it’s worth trying it seriously.
You can get with it a great sound quality enhancement with your Pi2AES.

1 Like

Ok, so Audirvana did not recognize either version of Ropieee and it’s not recognizing Moode either. Is there something specific that needs to be enabled/disabled in Moode for it to work? TIA

If you configured “Ropieee”, it’s normal that Audirvana does not see it, because “Ropieee” is exclusively a Roon Bridge. You have to configure “Ropieee XL”!
There’s no reason that it won’t work, unless you did not configure it correctly.

I did not try to stream with Studio to Moode. But I’ll have a look at it, and will tell you what to do.

2 Likes

You have to configure Moode correctly to recognize your DAC, and so on…

To stream with Audirvana and other UPNP players, you have to go to “Audio Config”, and activate the following setting:

1 Like

Thanks guys I’ll go back to Ropieee XL and confirm I have that setting correct.

Unfortunately, I don’t have at hand a micro SD Card that is configured for RopieeeXL, so I can not post screenshots to help you.

1 Like

@music4me , @Jim_F posted you the screenshot of the setting.
If you want to stream DSD tracks, you should activate “DoP”, but maybe you do not listen to DSD tracks since you have a Pi2AES.

Audio output should be HAT though right?