I recently upgraded my Pi3 with HifiBerry AMP+ to OSMC 2017.05-2 through the UI. Video files now play without audio through the amp, yet MP3 files and YouTube streams play fine. Audio output through HDMI works fine as well. No other upgrades are pending, although I did an “apt-get update; apt-get dist-upgrade” to be sure.
If you have any ideas, please let me know. I noticed others had issues with audio and DACs after the upgrade to OSMC.2017.05-1, with fixes applied in OSMC.2017.05-2. My system appears to be up-to-date, however.
Boot config and log file output follow:
> cat /boot/config.txt
gpu_mem_1024=256
dtoverlay=hifiberry-amp
disable_splash=1
start_x=1
sdtv_aspect=1
disable_overscan=1
hdmi_ignore_cec_init=1
gpu_mem_256=128
gpu_mem_512=256
overscan_scale=1
dtparam=audio=off
> aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: sndrpihifiberry [snd_rpi_hifiberry_amp], device 0: HifiBerry AMP HiFi tas5713-hifi-0 []
Subdevices: 0/1
Subdevice #0: subdevice #0
> dmesg | grep snd
[ 4.915840] snd-hifiberry-amp soc:sound: ASoC: CODEC DAI tas5713-hifi not registered - will retry
[ 5.016621] snd-hifiberry-amp soc:sound: ASoC: CODEC DAI tas5713-hifi not registered - will retry
[ 6.316060] snd-hifiberry-amp soc:sound: tas5713-hifi <-> 3f203000.i2s mapping ok
(A full dmesg.log can be found at https://paste.osmc.tv/ohitosipuy.)
AMP+ configured as ALSA device:
14:38:26.186 T:1959120896 NOTICE: Enumerated ALSA devices:
14:38:26.186 T:1959120896 NOTICE: Device 1
14:38:26.186 T:1959120896 NOTICE: m_deviceName : @
14:38:26.186 T:1959120896 NOTICE: m_displayName : Default (snd_rpi_hifiberry_amp Analog)
14:38:26.186 T:1959120896 NOTICE: m_displayNameExtra:
14:38:26.186 T:1959120896 NOTICE: m_deviceType : AE_DEVTYPE_PCM
14:38:26.186 T:1959120896 NOTICE: m_channels : FL,FR
14:38:26.186 T:1959120896 NOTICE: m_sampleRates : 8000,11025,16000,22050,32000,44100,48000
14:38:26.186 T:1959120896 NOTICE: m_dataFormats : AE_FMT_S24NE4,AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S16LE
14:38:26.186 T:1959120896 NOTICE: m_streamTypes : No passthrough capabilities
Log file output when playing video (no sound):
13:58:26.689 T:1959120896 NOTICE: VideoPlayer: Opening: nfs://192.168.1.1/tmp/mnt/Data/media/shows/Dirk Gently/D1RK.G3N7LY.5.H0L1571C.D373C71V3.4G3NCY.S01E01-08/Dirk.Gently.s.Holistic.Detective.Agency.1x05.Very.Erectus.ITA.ENG.DLMux.XviD-Pir8.avi
13:58:26.690 T:1959120896 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
13:58:26.693 T:1328538608 NOTICE: Creating InputStream
13:58:26.875 T:1328538608 NOTICE: Creating Demuxer
13:58:30.726 T:1328538608 NOTICE: Opening stream: 0 source: 256
13:58:30.727 T:1328538608 NOTICE: Creating video codec with codec id: 13
13:58:30.739 T:1328538608 NOTICE: Creating video thread
13:58:30.740 T:1395647472 NOTICE: running thread: video_thread
13:58:30.740 T:1328538608 NOTICE: Opening stream: 2 source: 256
13:58:30.740 T:1328538608 NOTICE: Finding audio codec for: 86017
13:58:30.741 T:1328538608 NOTICE: Creating audio thread
13:58:30.741 T:1320150000 NOTICE: running thread: CVideoPlayerAudio::Process()
13:58:30.741 T:1328538608 NOTICE: Opening stream: 0 source: 1025
13:58:30.767 T:1320150000 NOTICE: Creating audio stream (codec id: 86017, channels: 2, sample rate: 48000, no pass-through)