11-17-2022, 08:32 PM
Sorry for the late reply to this issue, just getting a chance to sit down on this again now.
I'm not seeing anything glaringly wrong in the verbose logs, but I'm not entirely sure what to look for:
I tried to toggle the HDMI off in the moOde GUI, but no change. Still no audio out.
config.txt is not empty. These are the contents:
I'm really not sure where to go from here. I can still get clear audio from speaker-test, but nothing from moOde seems to work at all.
(11-11-2022, 10:49 PM)Tim Curtis Wrote: You could try turning on verbose logging in MPD config and then check the log for any errors or warnings.
Code:cat /var/log/mpd/log
moodeutl --mpdlog
I don't have one of those boards to test but I think there are other users that have S/PDIF boards, maybe even the same one.
I'm not seeing anything glaringly wrong in the verbose logs, but I'm not entirely sure what to look for:
Code:
Nov 17 15:21 : player: played "http://kdhx-ice.streamguys1.com:80/live"
Nov 17 15:21 : output: closed "ALSA Default" (alsa)
Nov 17 15:21 : client: [33] command returned 0
Nov 17 15:21 : client: [33] process command "close"
Nov 17 15:21 : client: [33] command returned 4
Nov 17 15:21 : client: [33] closed
Nov 17 15:21 : client: [31] process command "status"
Nov 17 15:21 : client: [31] command returned 0
Nov 17 15:21 : client: [31] process command "currentsong"
Nov 17 15:21 : client: [31] command returned 0
Nov 17 15:21 : client: [31] process command "close"
Nov 17 15:21 : client: [31] command returned 4
Nov 17 15:21 : client: [31] closed
Nov 17 15:21 : client: [34] opened from 127.0.0.1:36332
Nov 17 15:21 : client: [34] process command "status"
Nov 17 15:21 : client: [34] command returned 0
Nov 17 15:21 : client: [34] process command "idle"
Nov 17 15:21 : client: [34] command returned 1
Nov 17 15:21 : client: [35] opened from 127.0.0.1:36344
Nov 17 15:21 : client: [35] process command "playlistinfo"
Nov 17 15:21 : client: [35] command returned 0
Nov 17 15:21 : client: [35] process command "close"
Nov 17 15:21 : client: [35] command returned 4
Nov 17 15:21 : client: [35] closed
Nov 17 15:23 : client: [36] opened from 127.0.0.1:34392
Nov 17 15:23 : client: [36] process command "subscribe dumy_channel"
Nov 17 15:23 : client: [36] command returned 0
Nov 17 15:23 : client: [36] process command "close"
Nov 17 15:23 : client: [36] command returned 4
Nov 17 15:23 : client: [36] closed
Nov 17 15:23 : client: [34] process command "status"
Nov 17 15:23 : client: [34] command returned 0
Nov 17 15:23 : client: [34] process command "currentsong"
Nov 17 15:23 : client: [34] command returned 0
Nov 17 15:23 : client: [34] process command "close"
Nov 17 15:23 : client: [34] command returned 4
Nov 17 15:23 : client: [34] closed
Nov 17 15:23 : client: [37] opened from 127.0.0.1:34400
Nov 17 15:23 : client: [37] process command "status"
Nov 17 15:23 : client: [37] command returned 0
Nov 17 15:23 : client: [37] process command "idle"
Nov 17 15:23 : client: [37] command returned 1
Nov 17 15:23 : client: [38] opened from 127.0.0.1:34416
Nov 17 15:23 : client: [38] process command "playlistinfo"
Nov 17 15:23 : client: [38] command returned 0
Nov 17 15:23 : client: [38] process command "close"
Nov 17 15:23 : client: [38] command returned 4
Nov 17 15:23 : client: [38] closed
Nov 17 15:23 : client: [39] opened from 127.0.0.1:43846
Nov 17 15:23 : client: [39] process command "status"
Nov 17 15:23 : client: [39] command returned 0
Nov 17 15:23 : client: [39] process command "currentsong"
Nov 17 15:23 : client: [39] command returned 0
Nov 17 15:23 : client: [39] process command "close"
Nov 17 15:23 : client: [39] command returned 4
Nov 17 15:23 : client: [39] closed
Nov 17 15:23 : client: [40] opened from 127.0.0.1:43852
Nov 17 15:23 : client: [40] process command "status"
Nov 17 15:23 : client: [40] command returned 0
Nov 17 15:23 : client: [40] process command "idle"
Nov 17 15:23 : client: [40] command returned 1
Nov 17 15:23 : client: [41] opened from 127.0.0.1:54648
Nov 17 15:23 : client: [41] process command "close"
Nov 17 15:23 : client: [41] command returned 4
Nov 17 15:23 : client: [41] closed
Nov 17 15:23 : client: [42] opened from 127.0.0.1:54654
Nov 17 15:23 : client: [42] process command "lsinfo"
Nov 17 15:23 : client: [42] command returned 0
Nov 17 15:23 : client: [42] process command "close"
Nov 17 15:23 : client: [42] command returned 4
Nov 17 15:23 : client: [42] closed
Nov 17 15:23 : client: [43] opened from 127.0.0.1:54656
Nov 17 15:23 : client: [43] process command "status"
Nov 17 15:23 : client: [43] command returned 0
Nov 17 15:23 : client: [43] process command "currentsong"
Nov 17 15:23 : client: [43] command returned 0
Nov 17 15:23 : client: [43] process command "close"
Nov 17 15:23 : client: [43] command returned 4
Nov 17 15:23 : client: [43] closed
Nov 17 15:23 : client: [44] opened from 127.0.0.1:54662
Nov 17 15:23 : client: [44] process command "status"
Nov 17 15:23 : client: [44] command returned 0
Nov 17 15:23 : client: [44] process command "idle"
Nov 17 15:23 : client: [44] command returned 1
Nov 17 15:23 : client: [45] opened from 127.0.0.1:54664
Nov 17 15:23 : client: [45] process command "playlistinfo"
Nov 17 15:23 : client: [45] command returned 0
Nov 17 15:23 : client: [45] process command "close"
Nov 17 15:23 : client: [45] command returned 4
Nov 17 15:23 : client: [45] closed
Nov 17 15:23 : client: [46] opened from 127.0.0.1:54666
Nov 17 15:23 : client: [46] process command "play"
Nov 17 15:23 : playlist: play 1:"http://kdhx-ice.streamguys1.com:80/live"
Nov 17 15:23 : client: [46] command returned 0
Nov 17 15:23 : playlist: queue song 2:"http://eno.emit.com:8000/2bob_live_64.mp3"
Nov 17 15:23 : client: [46] process command "close"
Nov 17 15:23 : client: [46] command returned 4
Nov 17 15:23 : client: [46] closed
Nov 17 15:23 : curl: icy-metaint=16000
Nov 17 15:23 : decoder_thread: probing plugin mad
Nov 17 15:23 : decoder: audio_format=44100:24:2, seekable=false
Nov 17 15:23 : client: [44] process command "status"
Nov 17 15:23 : alsa_output: opened _audioout type=COPY
Nov 17 15:23 : alsa_output: buffer: size=64..65536 time=1451..1486078
Nov 17 15:23 : alsa_output: period: size=32..32768 time=725..743039
Nov 17 15:23 : alsa_output: default period_time = buffer_time/4 = 500000/4 = 125000
Nov 17 15:23 : alsa_output: format=S24_LE (Signed 24 bit Little Endian)
Nov 17 15:23 : alsa_output: buffer_size=22050 period_size=4410
Nov 17 15:23 : output: opened "ALSA Default" (alsa) audio_format=44100:24:2
Nov 17 15:23 : client: [44] command returned 0
Nov 17 15:23 : client: [37] process command "status"
Nov 17 15:23 : client: [37] command returned 0
Nov 17 15:23 : client: [40] process command "status"
Nov 17 15:23 : client: [40] command returned 0
Nov 17 15:23 : client: [37] process command "currentsong"
Nov 17 15:23 : client: [37] command returned 0
Nov 17 15:23 : client: [44] process command "currentsong"
Nov 17 15:23 : client: [44] command returned 0
Nov 17 15:23 : client: [40] process command "currentsong"
Nov 17 15:23 : client: [40] command returned 0
Nov 17 15:23 : client: [40] process command "close"
Nov 17 15:23 : client: [40] command returned 4
Nov 17 15:23 : client: [40] closed
Nov 17 15:23 : client: [44] process command "close"
Nov 17 15:23 : client: [44] command returned 4
Nov 17 15:23 : client: [44] closed
Nov 17 15:23 : client: [37] process command "close"
Nov 17 15:23 : client: [37] command returned 4
Nov 17 15:23 : client: [37] closed
Nov 17 15:23 : client: [47] opened from 127.0.0.1:54670
Nov 17 15:23 : client: [47] process command "status"
Nov 17 15:23 : client: [47] command returned 0
Nov 17 15:23 : client: [47] process command "idle"
Nov 17 15:23 : client: [47] command returned 1
Nov 17 15:23 : client: [48] opened from 127.0.0.1:54686
Nov 17 15:23 : client: [48] process command "playlistinfo"
Nov 17 15:23 : client: [48] command returned 0
Nov 17 15:23 : client: [48] process command "close"
Nov 17 15:23 : client: [48] command returned 4
Nov 17 15:23 : client: [48] closed
Nov 17 15:23 : client: [47] process command "status"
Nov 17 15:23 : client: [47] command returned 0
Nov 17 15:23 : client: [47] process command "currentsong"
Nov 17 15:23 : client: [47] command returned 0
Nov 17 15:23 : client: [47] process command "close"
Nov 17 15:23 : client: [47] command returned 4
Nov 17 15:23 : client: [47] closed
Nov 17 15:23 : client: [49] opened from 127.0.0.1:54700
Nov 17 15:23 : client: [49] process command "status"
Nov 17 15:23 : client: [49] command returned 0
Nov 17 15:23 : client: [49] process command "idle"
Nov 17 15:23 : client: [49] command returned 1
Nov 17 15:23 : client: [50] opened from 127.0.0.1:54706
Nov 17 15:23 : client: [50] process command "playlistinfo"
Nov 17 15:23 : client: [50] command returned 0
Nov 17 15:23 : client: [50] process command "close"
Nov 17 15:23 : client: [50] command returned 4
Nov 17 15:23 : client: [50] closed
Nov 17 15:23 : client: [51] opened from 127.0.0.1:44528
Nov 17 15:23 : client: [51] process command "stop"
Nov 17 15:23 : playlist: stop
Nov 17 15:23 : player: played "http://kdhx-ice.streamguys1.com:80/live"
Nov 17 15:23 : output: closed "ALSA Default" (alsa)
Nov 17 15:23 : client: [51] command returned 0
Nov 17 15:23 : client: [51] process command "close"
Nov 17 15:23 : client: [51] command returned 4
Nov 17 15:23 : client: [51] closed
Nov 17 15:23 : client: [49] process command "status"
Nov 17 15:23 : client: [49] command returned 0
Nov 17 15:23 : client: [49] process command "currentsong"
Nov 17 15:23 : client: [49] command returned 0
Nov 17 15:23 : client: [49] process command "close"
Nov 17 15:23 : client: [49] command returned 4
Nov 17 15:23 : client: [49] closed
Nov 17 15:23 : client: [52] opened from 127.0.0.1:44536
Nov 17 15:23 : client: [52] process command "status"
Nov 17 15:23 : client: [52] command returned 0
Nov 17 15:23 : client: [52] process command "idle"
Nov 17 15:23 : client: [52] command returned 1
Nov 17 15:23 : client: [53] opened from 127.0.0.1:44542
Nov 17 15:23 : client: [53] process command "playlistinfo"
Nov 17 15:23 : client: [53] command returned 0
Nov 17 15:23 : client: [53] process command "close"
Nov 17 15:23 : client: [53] command returned 4
Nov 17 15:23 : client: [53] closed
Nov 17 15:23 : state_file: Saving state file /var/lib/mpd/state
(11-11-2022, 10:53 PM)DRONE7 Wrote: I have a Digi=pro
here are the outputs (I have loopback on for a couple of oled displays but otherwise setup seems to be the same as yours)
Code:aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: sndrpihifiberry [snd_rpi_hifiberry_digi], device 0: HiFiBerry Digi+ Pro HiFi wm8804-spdif-0 [HiFiBerry Digi+ Pro HiFi wm8804-spdif-0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Loopback [Loopback], device 0: Loopback PCM [Loopback PCM]
Subdevices: 8/8
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
Subdevice #7: subdevice #7
card 1: Loopback [Loopback], device 1: Loopback PCM [Loopback PCM]
Subdevices: 8/8
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
Subdevice #7: subdevice #7Code:speaker-test 1.2.4
Playback device is default
Stream parameters are 48000Hz, S16_LE, 2 channels
Sine wave rate is 440.0000Hz
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 128 to 131072
Period size range from 64 to 65536
Using max buffer size 131072
Periods = 4
was set period_size = 32768
was set buffer_size = 131072
0 - Front Left
1 - Front Right
Time per period = 2.759952The only thing I note is that I have HDMI toggled off. May be worth trying ?Code:moodeutl -l
20221105 192241 worker: --
20221105 192242 worker: -- Start moOde 8 series
20221105 192242 worker: --
20221105 192242 worker: Successfully daemonized
20221105 192249 worker: File check (OK)
20221105 192250 worker: Session vacuumed
20221105 192250 worker: Session loaded
20221105 192250 worker: Debug logging (OFF)
20221105 192250 worker: --
20221105 192250 worker: -- Audio debug
20221105 192250 worker: --
20221105 192250 worker: ALSA cards: (0:sndrpihifiberry | 1:empty | 2:empty | 3:empty
20221105 192250 worker: MPD config: (0:HiFiBerry Digi+ Pro | mixer:(none) | card:0)
20221105 192250 worker: ALSA mixer actual (none)
20221105 192250 worker: ALSA volume (none)
20221105 192250 worker: --
20221105 192250 worker: -- System
20221105 192250 worker: --
20221105 192253 worker: Host (moode)
20221105 192253 worker: moOde (8.2.2 2022-10-23)
20221105 192253 worker: RaspiOS (11.5)
20221105 192253 worker: Kernel (5.15.61-v8+ #1579)
20221105 192253 worker: Platform (Pi-3B 1.2 1GB)
20221105 192253 worker: ARM arch (aarch64, 64-bit)
20221105 192253 worker: MPD ver (0.23.5)
20221105 192253 worker: CPU gov (performance)
20221105 192254 worker: USB boot (enabled)
20221105 192254 worker: File sys (expanded)
20221105 192254 worker: HDMI port (Off)
20221105 192254 worker: Sys LED0 (On)
20221105 192254 worker: Sys LED1 (On)
20221105 192254 worker: --
20221105 192254 worker: -- Network
20221105 192254 worker: --
20221105 192255 worker: eth0 adapter exists
20221105 192255 worker: eth0 check for address (No)
20221105 192255 worker: IP addr (192.168.xxx.xxx)
20221105 192255 worker: Netmask (255.255.255.0)
20221105 192255 worker: Gateway (192.168.xxx.x)
20221105 192255 worker: Pri DNS (192.168.xxx.x)
20221105 192255 worker: Domain (fritz.box)
20221105 192255 worker: wlan0 adapter does not exist
20221105 192255 worker: apd0 router mode (Off)
20221105 192255 worker: --
20221105 192255 worker: -- Software update
20221105 192255 worker: --
20221105 192255 worker: Automatic check (Off)
20221105 192255 worker: --
20221105 192255 worker: -- Audio config
20221105 192255 worker: --
20221105 192256 worker: MPD conf updated
20221105 192256 worker: ALSA card number (0)
20221105 192256 worker: MPD audio output (HiFiBerry Digi+ Pro)
20221105 192256 worker: Audio formats (S16_LE, S24_LE)
20221105 192256 worker: ALSA mixer name (none)
20221105 192256 worker: MPD mixer type (fixed 0dB)
20221105 192257 worker: Hdwr volume controller not detected
20221105 192257 worker: ALSA output mode (Default: plughw)
20221105 192257 worker: ALSA loopback (On)
20221105 192257 worker: Reset renderer active flags
20221105 192257 worker: CamillaDSP (off)
20221105 192257 worker: --
20221105 192257 worker: -- File sharing
20221105 192257 worker: --
20221105 192257 worker: SMB file sharing (Off)
20221105 192257 worker: NFS file sharing (Off)
20221105 192257 worker: --
20221105 192257 worker: -- MPD startup
20221105 192257 worker: --
20221105 192258 worker: MPD started
20221105 192258 worker: MPD accepting connections
20221105 192258 worker: MPD output 1 ALSA Default (On)
20221105 192258 worker: MPD output 2 ALSA Bluetooth (Off)
20221105 192258 worker: MPD output 3 HTTP Server (Off)
20221105 192258 worker: MPD crossfade (off)
20221105 192258 worker: MPD ignore CUE files (yes)
20221105 192258 worker: --
20221105 192258 worker: -- Music sources
20221105 192258 worker: --
20221105 192258 worker: USB sources
20221105 192258 worker: No drives found
20221105 192258 worker: NAS sources
20221105 192258 worker: omv620
20221105 192313 worker: Try (mount -t cifs
20221105 192313 worker: Err (mount error(113): could not connect to to find suitable address.)
20221105 192314 worker: Mount all submitted
20221105 192314 worker: --
20221105 192314 worker: -- Feature availability
20221105 192314 worker: --
20221105 192314 worker: Source select (available)
20221105 192314 worker: Source select (source: MPD)
20221105 192314 worker: Source select (output: HiFiBerry Digi+ Pro)
20221105 192314 worker: Bluetooth (available)
20221105 192314 worker: AirPlay renderer (available)
20221105 192314 worker: Spotify renderer (available)
20221105 192314 worker: Squeezelite (available)
20221105 192314 worker: RoonBridge renderer (not installed)
20221105 192314 worker: Multiroom sender (available)
20221105 192314 worker: Multiroom receiver (available)
20221105 192314 worker: UPnP renderer (available)
20221105 192314 worker: DLNA server (available)
20221105 192314 worker: GPIO button handler (available)
20221105 192314 worker: Stream recorder (n/a)
20221105 192314 worker: --
20221105 192314 worker: -- Other
20221105 192314 worker: --
20221105 192314 worker: USB volume knob (Off)
20221105 192314 worker: USB auto-mounter (udisks-glue)
20221105 192314 worker: Saved MPD vol level (0)
20221105 192314 worker: Preamp volume level (0)
20221105 192314 worker: MPD volume level (0) restored
20221105 192314 worker: ALSA volume level (None)
20221105 192314 worker: Auto-play (Off)
20221105 192314 worker: CoverView toggle (-off)
20221105 192314 worker: On-screen keyboard (Off)
20221105 192314 worker: Library scope (all)
20221105 192314 worker: Maintenance interval (360 minutes)
20221105 192314 worker: Screen saver activation (Never)
20221105 192315 worker: Session permissions (OK)
20221105 192315 worker: Mount monitor (Off)
20221105 192316 worker: Watchdog started
20221105 192316 worker: Ready
I tried to toggle the HDMI off in the moOde GUI, but no change. Still no audio out.
(11-11-2022, 10:53 PM)Tim Curtis Wrote: Also check for an empty config.txt
Code:cat /boot/config.txt
config.txt is not empty. These are the contents:
Code:
pi@HifiBerry:~ $ cat /boot/config.txt
[cm4]
otg_mode=1
[pi4]
hdmi_force_hotplug:0=1
hdmi_force_hotplug:1=1
[all]
disable_splash=1
disable_overscan=1
hdmi_drive=2
hdmi_blanking=1
hdmi_force_edid_audio=1
hdmi_force_hotplug=1
hdmi_group=0
dtparam=i2c_arm=on
dtparam=i2s=on
dtparam=audio=off
dtoverlay=hifiberry-digi
force_eeprom_read=0
#dtoverlay=disable-wifi
#dtoverlay=disable-bt
I'm really not sure where to go from here. I can still get clear audio from speaker-test, but nothing from moOde seems to work at all.