RPI4 + HiFiBerry Digi2 Pro causing music playback problems

I have a Mac running Audirvana 3.5. My music files also reside on the Mac. Initially I used Volumio with a RPI4 USB connected to a DB Lab DAC and then analogue to the receiver. Playback through computer or Audirvana remote was flawless. However I have since developed a problem with the DAC therefore I decided to purchase a HiFiBerry Digi2 Pro and connect it to the RPI4 which allowed me to connect my setup optically to the receiver and use its DAC. Since doing that I now get a “pause/skip” at the beginning of each songs playback. Can anyone suggest a cause/solution to this problem?

Hello @mozart,

Can you send us a copy of the “Debug Info” when you have this issue? You can get it in Audirvana Settings>My account

Please remove the line corresponding to your logged-in account to avoid displaying your email address and first name/last name publicly.

Note: By clicking on the Debug Info button, Audirvana automatically copies all its content, all you have to do is paste it in response to this message

Dear Antoine, I forgot to mention that I control the Audirvana app on my computer by using your Audirvana A+ remote. As I pointed out in the aforementioned problem while using the A+ remote I had no problem with the RPI4 alone with my DAC, I only developed the problem when I switched over to RPI4 + HiFiBerry. Therefore since I am using the remote how can I see the debug info?

You can’t, you need to go on your Mac to get it.

Dear Antoine, Here is the debug info you requested but first a couple of things. I went back to the USB DAC approach albeit with a borrowed DAC and it works fine. So, somewhere in the middle of the debug is when I had it running with the HiFi Berry attached if this means anything. Also I have to have the volume set low because my receiver’s zone two cannot handle the volume w/o popping. Don’t ask, there are a lot of problems I am working through with my system. I may soon be at the point where I will replace everything and start over. Otherwise let me know if the “debug” info shows anything.

debug info:
SIGNAL PROCESSING:

Polarity Inversion:

Globally: OFF

Per track: OFF

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: 47.3601

Replay Gain: by track

SW volume control: OFF

LIBRARY SETTINGS:

Sync list: 1 folders

AUTO: /Users/scarp/Music/Music/Media.localized/Music

iTunes/Music library synchronization: not synchronized

Library database path: /Users/scarp/Library/Application Support/Audirvana/AudirvanaPlusDatabaseV2.sqlite

ACTIVE STREAMING SERVICES

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

Preferred device: Cambridge Model UID:Volumio Cambridge UID:uuid:90944204-e455-f98f-2925-dca632b97d4c

Selected device:

UPnP device at http://10.0.1.72:49152/description.xml

ID 0x0 Cambridge Manufacturer:Volumio

Model UID:Volumio Cambridge UID:uuid:90944204-e455-f98f-2925-dca632b97d4c

1 available sample rates up to 44100Hz

44100

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::audio/flac:

http-get::audio/x-flac:

http-get::audio/aac:

http-get::audio/x-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/mp1:

http-get::audio/mp4:

http-get::audio/mpeg:

http-get::audio/x-mpeg:

http-get::audio/ogg:

http-get::audio/vorbis:

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::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

1 virtual formats:

2 ch Non-mixable linear PCM Interleaved 16 little endian Signed Integer 44.1kHz

0 physical formats

Current device transportInfo:

CurrentTransportState: STOPPED

CurrentTransportStatus: OK

CurrentSpeed: 1

Current device MediaInfo:

NrTracks: 1

MediaDuration: 00:00:00

CurrentURI:

CurrentURIMetadata:

nextURI:

nextURIMetadata:

PlayMedium: NONE

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

0

urn:schemas-upnp-org:device:MediaRenderer:1

Cambridge

Volumio

https://volumio.org

The Audiophile Music Player

Volumio

1.0

https://volumio.org

42

uuid:90944204-e455-f98f-2925-dca632b97d4c

image/png

64

64

32

/upmpd/icon.png

urn:schemas-upnp-org:service:RenderingControl:1

urn:upnp-org:serviceId:RenderingControl

/upmpd/RenderingControl.xml

/ctl/RenderingControl

/evt/RenderingControl

urn:schemas-upnp-org:service:AVTransport:1

urn:upnp-org:serviceId:AVTransport

/upmpd/AVTransport.xml

/ctl/AVTransport

/evt/AVTransport

urn:schemas-upnp-org:service:ConnectionManager:1

urn:upnp-org:serviceId:ConnectionManager

/upmpd/ConnectionManager.xml

/ctl/ConnectionManager

/evt/ConnectionManager

urn:av-openhome-org:service:Product:1

urn:av-openhome-org:serviceId:Product

/upmpd/OHProduct.xml

/ctl/OHProduct

/evt/OHProduct

urn:av-openhome-org:service:Info:1

urn:av-openhome-org:serviceId:Info

/upmpd/OHInfo.xml

/ctl/OHInfo

/evt/OHInfo

urn:av-openhome-org:service:Time:1

urn:av-openhome-org:serviceId:Time

/upmpd/OHTime.xml

/ctl/OHTime

/evt/OHTime

urn:av-openhome-org:service:Volume:1

urn:av-openhome-org:serviceId:Volume

/upmpd/OHVolume.xml

/ctl/OHVolume

/evt/OHVolume

urn:av-openhome-org:service:Playlist:1

urn:av-openhome-org:serviceId:Playlist

/upmpd/OHPlaylist.xml

/ctl/OHPlaylist

/evt/OHPlaylist

urn:av-openhome-org:service:Radio:1

urn:av-openhome-org:serviceId:Radio

/upmpd/OHRadio.xml

/ctl/OHRadio

/evt/OHRadio

/upmpd/presentation.html

http://10.0.1.72:49152/

UPnP devices found : 1

Device #0: ID 0x0 Cambridge UID: uuid:90944204-e455-f98f-2925-dca632b97d4c Location: http://10.0.1.72:49152/description.xml

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

Max. memory for audio buffers: 29696MB

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:130 UID: AppleHDAEngineOutput:1F,3,0,1,2:0

Max. memory for audio buffers: 29696MB is to much. You must try a much lower setting of the socalled “memory for audio buffers”
Try something in between 1048 and 2048Mb
Your operating system will be much more happy and will react positive to it.
Succes

Dear Mollie, I can see how it will improve my OS but are you suggesting that it might solve the problem of why my songs “pause/skip” during playback?

You can always try. In any case, it can’t hurt.

Yep, probably it will solve your problem.
When most memory is in use for Audirvana, there is most of the time not enough left for proper functioning of the operating system, especially in case of havy o.s. trafic!!!
Anyway a try-out is costing nothing and could be reversed in case it does not help.
Succes, cheers and happy listening!!!

I took your rather good suggestion and attempted to try it. However, now I cannot get the HiFiBerry portion of the assembly to play at all. Seems I have bigger problems here. I may have to go with an all in one streamer. perhaps I have too many components in the equation (Mac computer running Audirvana through a RPI4 with a HiFiBerry Digi2 Pro playing through a Volumio encoded SD card connected to a Cambridge receiver).

I see at your debug info that you seems to be using Volumio 1.0 which is very old.
At the moment Volumio software is up to version 2.9.15 !!!
Please update the rpi/volumio software to the latest version when the above is true!!!
How are you controlling the audio volume? By Audirvana, by Volumio, or by your receiver?

Do i understand right that you connect the rpi/dac (fixed) analog outputs to your receiver?

By which way is the output from your computer connected to the rpi/dac?

Hopefully we can figure out what the real problem is.

Cheers, mollie

Have a look at this too
URGENT UPDATE FOR 2.xxx USERS: please see this topic

It seems that using the hifiberry OS loaded onto the SD card is friendly to Roon however not to Audirvana which would explain why playback creates issues. Whereas Volumio loaded onto the SD card is friendly to Audirvana but not to hifiberry. This would explain why Audirvana plays through RPI with Volumio but not through hifiberry berry with hifiberry OS. What I’m trying to do now is to see if there is a work -a-round to get HiFiBerry to use Volumio. This would allow me to use the optical out on the HiFiBerry without having to change over to Roon.