Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Multiroom server hw
#11
BAck to my initial prob:
After a few weeks absence and update to 7.5, I seem to be back to zero. Whilst multiroom was working before, it now doesn't. Can it be you tightened some screws on hardware requirements so that my HifiBerry DAC2 HDs are now totally off?
My server discovers my 3 players, but in the players, I can't activate the Receiver daemon. Anything I can do?
Reply
#12
No changes in the hardware requirements but an additional check was added to Receiver config to ensure that MPD mixer type is set to either Hardware or Fixed (0dB) volume.

Here's the help text under Receiver On/Off/Disable dropdown on Multiroom Config.

Code:
The Receiver requires an audio device that supports Hardware volume.
NOTE: Mixer type must be set to Hardware or Fixed (0dB) in MPD Config.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#13
Thanks.
The HifiBerry specs for my HiFiBerry DAC2 HD say:
"Hardware volume control for DAC. You can control the output volume using “alsamixer” or any application that supports ALSA mixer controls."
But in moOde under the MPD Volume mixer/Mixer type, I only have 'Software', 'Fixed', or 'Null' options (not 'hardware).
I followed your instructions, set mixer to Fixed, but still cannot activate the Receiver daemon.
Reply
#14
Reboot one of the Receivers and post output from the commands below

Code:
# Moode startup log
moodeutl -l

# Amixer dump for ALSA card 0 (the I2S device)
amixer -c0
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#15
Rebooting displays a repetition of error messages:
MPD error
JSON.parse: unexpected end of data at line 1 column 1 of the JSON data

# Moode startup log:
20211119 225135 worker: -- Start
20211119 225135 worker: Successfully daemonized
20211119 225135 worker: Integrity check (passed)
20211119 225136 worker: File check (OK)
20211119 225136 worker: Session vacuumed
20211119 225136 worker: Session loaded
20211119 225136 worker: Debug logging (OFF)
20211119 225136 worker: -- Audio debug
20211119 225136 worker: ALSA cards: (0Confusedndrpihifiberry | 1:empty | 2:empty | 3:empty
20211119 225136 worker: MPD config: (0:hifiberry-dacplushd | mixerSadDigital) | card:0)
20211119 225136 worker: ALSA mixer actual (Digital)
20211119 225137 worker: ALSA Digital volume set to (amixer: Unable to find simple control 'Digital',0)
20211119 225137 worker: -- System
20211119 225138 worker: Host (moOde-SaM)
20211119 225138 worker: moOde (7.5.0 2021-11-09)
20211119 225138 worker: RaspiOS (10.6)
20211119 225138 worker: Kernel (5.4.77-v7l+ #1371)
20211119 225138 worker: Platform (Pi-4B 1.4 8GB)
20211119 225138 worker: ARM arch (armv7l, 32-bit kernel)
20211119 225138 worker: MPD ver (0.23.3_p0x3)
20211119 225138 worker: CPU gov (ondemand)
20211119 225138 worker: USB boot not available
20211119 225138 worker: File system not expanded yet
20211119 225138 worker: HDMI port on
20211119 225138 worker: -- Network
20211119 225138 worker: IP address check timeout (90 secs)
20211119 225138 worker: eth0 adapter exists
20211119 225138 worker: eth0 IP address check (Yes)
20211119 225138 worker: eth0 wait 0 for IP address
20211119 225140 worker: eth0 wait 1 for IP address
20211119 225142 worker: eth0 wait 2 for IP address
20211119 225144 worker: eth0 wait 3 for IP address
20211119 225146 worker: eth0 wait 4 for IP address
20211119 225148 worker: eth0 wait 5 for IP address
20211119 225150 worker: eth0 wait 6 for IP address
20211119 225210 worker: eth0 wait 7 for IP address
20211119 225213 worker: eth0 wait 8 for IP address
20211119 225215 worker: eth0 wait 9 for IP address
20211119 225217 worker: eth0 wait 10 for IP address
20211119 225219 worker: eth0 wait 11 for IP address
20211119 225221 worker: eth0 wait 12 for IP address
20211119 225223 worker: eth0 wait 13 for IP address
20211119 225225 worker: eth0 wait 14 for IP address
20211119 225227 worker: eth0 wait 15 for IP address
20211119 225229 worker: eth0 wait 16 for IP address
20211119 225231 worker: eth0 wait 17 for IP address
20211119 225233 worker: eth0 wait 18 for IP address
20211119 225235 worker: eth0 wait 19 for IP address
20211119 225237 worker: eth0 wait 20 for IP address
20211119 225239 worker: eth0 wait 21 for IP address
20211119 225241 worker: eth0 wait 22 for IP address
20211119 225244 worker: eth0 wait 23 for IP address
20211119 225246 worker: eth0 wait 24 for IP address
20211119 225248 worker: eth0 wait 25 for IP address
20211119 225250 worker: eth0 wait 26 for IP address
20211119 225252 worker: eth0 wait 27 for IP address
20211119 225254 worker: eth0 wait 28 for IP address
20211119 225256 worker: eth0 wait 29 for IP address
20211119 225258 worker: eth0 wait 30 for IP address
20211119 225300 worker: eth0 wait 31 for IP address
20211119 225302 worker: eth0 wait 32 for IP address
20211119 225304 worker: eth0 wait 33 for IP address
20211119 225306 worker: eth0 wait 34 for IP address
20211119 225308 worker: eth0 wait 35 for IP address
20211119 225310 worker: eth0 wait 36 for IP address
20211119 225312 worker: eth0 wait 37 for IP address
20211119 225314 worker: eth0 wait 38 for IP address
20211119 225317 worker: eth0 wait 39 for IP address
20211119 225319 worker: eth0 wait 40 for IP address
20211119 225321 worker: eth0 wait 41 for IP address
20211119 225323 worker: eth0 wait 42 for IP address
20211119 225325 worker: eth0 wait 43 for IP address
20211119 225327 worker: eth0 wait 44 for IP address
20211119 225329 worker: eth0 address not assigned
20211119 225329 worker: wlan0 adapter exists
20211119 225329 worker: wifi country (BE)
20211119 225329 worker: wlan0 trying SSID (FranxWiFi)
20211119 225329 worker: IP addr (192.168.178.112)
20211119 225329 worker: Netmask (255.255.255.0)
20211119 225329 worker: Gateway (192.168.178.1)
20211119 225329 worker: Pri DNS (192.168.178.1)
20211119 225329 worker: Domain (None)
20211119 225329 worker: Pi integrated wlan0 power save disabled
20211119 225329 worker: -- Audio config
20211119 225330 worker: MPD conf updated
20211119 225330 worker: ALSA card number (0)
20211119 225330 worker: MPD audio output (None)
20211119 225330 worker: Audio formats (S16_LE, S24_LE, S32_LE)
20211119 225330 worker: ALSA mixer name (Digital)
20211119 225330 worker: MPD mixer type (fixed 0dB)
20211119 225330 worker: Hdwr volume controller not detected
20211119 225330 worker: ALSA output mode (Direct: hw)
20211119 225330 worker: ALSA loopback (Off)
20211119 225330 worker: Reset renderer active flags
20211119 225330 worker: CamillaDSP (off)
20211119 225330 worker: -- MPD startup
20211119 225330 worker: MPD started
20211119 225330 worker: MPD accepting connections
20211119 225330 worker: MPD output 1 ALSA Default (on)
20211119 225330 worker: MPD output 2 ALSA Bluetooth (off)
20211119 225330 worker: MPD output 3 HTTP Server (off)
20211119 225330 worker: MPD crossfade (off)
20211119 225331 worker: MPD ignore CUE files (yes)
20211119 225331 worker: -- Feature availability
20211119 225331 worker: Source select (available)
20211119 225331 worker: Source select (source: MPD)
20211119 225331 worker: Source select (output: hifiberry-dacplushd)
20211119 225331 worker: Bluetooth (available)
20211119 225331 worker: Airplay renderer (available)
20211119 225331 worker: Spotify renderer (available)
20211119 225331 worker: Squeezelite (available)
20211119 225331 worker: RoonBridge renderer (not installed)
20211119 225331 worker: Multiroom sender (available)
20211119 225331 worker: Multiroom receiver (available)
20211119 225331 worker: UPnP renderer (available: started)
20211119 225331 worker: DLNA server (available)
20211119 225331 worker: UPnP browser (available)
20211119 225331 worker: GPIO button handler (available)
20211119 225331 worker: Stream recorder (n/a)
20211119 225331 worker: -- Music sources
20211119 225331 worker: USB sources (none attached)
20211119 225339 sourceMount(): Mount error: (mount error(2): No such file or directory
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs))
20211119 225339 worker: NAS and UPnP sources (mountall initiated)
20211119 225339 worker: -- Other
20211119 225339 worker: USB volume knob (Off)
20211119 225339 worker: USB auto-mounter (udisks-glue)
20211119 225339 worker: LED0 (On)
20211119 225339 worker: LED1 (On)
20211119 225339 worker: Saved MPD vol level (0)
20211119 225339 worker: Preamp volume level (0)
20211119 225339 worker: MPD volume level (0) restored
20211119 225339 worker: ALSA volume level (None)
20211119 225339 worker: Auto-play (Off)
20211119 225339 worker: Maintenance interval (3 hours)
20211119 225339 worker: Screen saver activation (Never)
20211119 225339 worker: Session permissions (OK)
20211119 225339 worker: Watchdog started
20211119 225339 worker: Ready
20211119 231837 worker: Job shellinabox

# Amixer dump for ALSA card 0 (the I2S device)
Simple mixer control 'DAC',0
Capabilities: pvolume
Playback channels: Front Left - Front Right
Limits: Playback 0 - 240
Mono:
Front Left: Playback 240 [100%] [0.00dB]
Front Right: Playback 240 [100%] [0.00dB]
Simple mixer control 'DAC Invert Output',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'DAC Rolloff Filter',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Reply
#16
I'd just start with a fresh image and see if that resolves the issue.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#17
I tried a few things and here are my findings for Sender running moOde 7.5 and Receivers with HiFiBerry DAC2 HD using DT overlay 'hifiberry-dacplushd':
-Reveiver running moOde 7.41 - all joy for that one 7.41 device, other 7.5 devices no joy.
-Receiver updated from 7.41 to 7.5 - Receiver disabled, no way to enable
-Receiver clean install 7.5 - Receiver disabled, no way to enable

I don't see a path to downgrade to 7.41 (makes sense), and restoring a 7.41 backup to 7.5 seems to fail, so I'll clean install 7.41 on my Receivers. And tread very softly on that update path...
Reply
#18
(11-19-2021, 10:07 PM)HannesF Wrote: Rebooting displays a repetition of error messages:
MPD error
JSON.parse: unexpected end of data at line 1 column 1 of the JSON data

Code:
# Moode startup log:
20211119 225135 worker: -- Start                                                                                                                  
20211119 225135 worker: Successfully daemonized                                                                                                    
20211119 225135 worker: Integrity check (passed)                                                                                                  
20211119 225136 worker: File check (OK)                                                                                                            
20211119 225136 worker: Session vacuumed                                                                                                          
20211119 225136 worker: Session loaded                                                                                                            
20211119 225136 worker: Debug logging (OFF)                                                                                                        
20211119 225136 worker: -- Audio debug                                                                                                            
20211119 225136 worker: ALSA cards: (0:sndrpihifiberry | 1:empty | 2:empty | 3:empty                                                              
20211119 225136 worker: MPD config: (0:hifiberry-dacplushd | mixer:(Digital) | card:0)                                                            
20211119 225136 worker: ALSA mixer actual (Digital)                                                                                                
20211119 225137 worker: ALSA Digital volume set to (amixer: Unable to find simple control 'Digital',0)                                            
20211119 225137 worker: -- System                                                                                                                  
20211119 225138 worker: Host     (moOde-SaM)                                                                                                      
20211119 225138 worker: moOde    (7.5.0 2021-11-09)                                                                                                
20211119 225138 worker: RaspiOS  (10.6)                                                                                                            
20211119 225138 worker: Kernel   (5.4.77-v7l+ #1371)                                                                                              
20211119 225138 worker: Platform (Pi-4B 1.4 8GB)                                                                                                  
20211119 225138 worker: ARM arch (armv7l, 32-bit kernel)                                                                                          
20211119 225138 worker: MPD ver  (0.23.3_p0x3)                                                                                                    
20211119 225138 worker: CPU gov  (ondemand)                                                                                                        
20211119 225138 worker: USB boot not available                                                                                                    
20211119 225138 worker: File system not expanded yet                                                                                              
20211119 225138 worker: HDMI port on                                                                                                              
20211119 225138 worker: -- Network                                                                                                                
20211119 225138 worker: IP address check timeout (90 secs)                                                                                        
20211119 225138 worker: eth0 adapter exists                                                                                                        
20211119 225138 worker: eth0 IP address check (Yes)                                                                                                
20211119 225138 worker: eth0 wait 0 for IP address                                                                                                
20211119 225140 worker: eth0 wait 1 for IP address                                                                                                
20211119 225142 worker: eth0 wait 2 for IP address                                                                                                
20211119 225144 worker: eth0 wait 3 for IP address                                                                                                
20211119 225146 worker: eth0 wait 4 for IP address                                                                                                
20211119 225148 worker: eth0 wait 5 for IP address                                                                                                
20211119 225150 worker: eth0 wait 6 for IP address                                                                                                
20211119 225210 worker: eth0 wait 7 for IP address                                                                                                
20211119 225213 worker: eth0 wait 8 for IP address                                                                                                
20211119 225215 worker: eth0 wait 9 for IP address                                                                                                
20211119 225217 worker: eth0 wait 10 for IP address                                                                                                
20211119 225219 worker: eth0 wait 11 for IP address                                                                                                
20211119 225221 worker: eth0 wait 12 for IP address                                                                                                
20211119 225223 worker: eth0 wait 13 for IP address                                                                                                
20211119 225225 worker: eth0 wait 14 for IP address                                                                                                
20211119 225227 worker: eth0 wait 15 for IP address                                                                                                
20211119 225229 worker: eth0 wait 16 for IP address                                                                                                
20211119 225231 worker: eth0 wait 17 for IP address                                                                                                
20211119 225233 worker: eth0 wait 18 for IP address                                                                                                
20211119 225235 worker: eth0 wait 19 for IP address                                                                                                
20211119 225237 worker: eth0 wait 20 for IP address                                                                                                
20211119 225239 worker: eth0 wait 21 for IP address                                                                                                
20211119 225241 worker: eth0 wait 22 for IP address                                                                                                
20211119 225244 worker: eth0 wait 23 for IP address                                                                                                
20211119 225246 worker: eth0 wait 24 for IP address                                                                                                
20211119 225248 worker: eth0 wait 25 for IP address                                                                                                
20211119 225250 worker: eth0 wait 26 for IP address                                                                                                
20211119 225252 worker: eth0 wait 27 for IP address                                                                                                
20211119 225254 worker: eth0 wait 28 for IP address                                                                                                
20211119 225256 worker: eth0 wait 29 for IP address                                                                                                
20211119 225258 worker: eth0 wait 30 for IP address                                                                                                
20211119 225300 worker: eth0 wait 31 for IP address                                                                                                
20211119 225302 worker: eth0 wait 32 for IP address                                                                                                
20211119 225304 worker: eth0 wait 33 for IP address                                                                                                
20211119 225306 worker: eth0 wait 34 for IP address                                                                                                
20211119 225308 worker: eth0 wait 35 for IP address                                                                                                
20211119 225310 worker: eth0 wait 36 for IP address                                                                                                
20211119 225312 worker: eth0 wait 37 for IP address                                                                                                
20211119 225314 worker: eth0 wait 38 for IP address                                                                                                
20211119 225317 worker: eth0 wait 39 for IP address                                                                                                
20211119 225319 worker: eth0 wait 40 for IP address                                                                                                
20211119 225321 worker: eth0 wait 41 for IP address                                                                                                
20211119 225323 worker: eth0 wait 42 for IP address                                                                                                
20211119 225325 worker: eth0 wait 43 for IP address                                                                                                
20211119 225327 worker: eth0 wait 44 for IP address                                                                                                
20211119 225329 worker: eth0 address not assigned                                                                                                  
20211119 225329 worker: wlan0 adapter exists                                                                                                      
20211119 225329 worker: wifi country (BE)                                                                                                          
20211119 225329 worker: wlan0 trying SSID (FranxWiFi)                                                                                              
20211119 225329 worker: IP addr (192.168.178.112)                                                                                                  
20211119 225329 worker: Netmask (255.255.255.0)                                                                                                    
20211119 225329 worker: Gateway (192.168.178.1)                                                                                                    
20211119 225329 worker: Pri DNS (192.168.178.1)                                                                                                    
20211119 225329 worker: Domain  (None)                                                                                                            
20211119 225329 worker: Pi integrated wlan0 power save disabled                                                                                    
20211119 225329 worker: -- Audio config                                                                                                            
20211119 225330 worker: MPD conf updated                                                                                                          
20211119 225330 worker: ALSA card number (0)                                                                                                      
20211119 225330 worker: MPD audio output (None)                                                                                                    
20211119 225330 worker: Audio formats (S16_LE, S24_LE, S32_LE)                                                                                    
20211119 225330 worker: ALSA mixer name (Digital)                                                                                                  
20211119 225330 worker: MPD mixer type (fixed 0dB)                                                                                                
20211119 225330 worker: Hdwr volume controller not detected                                                                                        
20211119 225330 worker: ALSA output mode (Direct: hw)                                                                                              
20211119 225330 worker: ALSA loopback (Off)                                                                                                        
20211119 225330 worker: Reset renderer active flags                                                                                                
20211119 225330 worker: CamillaDSP (off)                                                                                                          
20211119 225330 worker: -- MPD startup                                                                                                            
20211119 225330 worker: MPD started                                                                                                                
20211119 225330 worker: MPD accepting connections                                                                                                  
20211119 225330 worker: MPD output 1 ALSA Default (on)                                                                                            
20211119 225330 worker: MPD output 2 ALSA Bluetooth (off)                                                                                          
20211119 225330 worker: MPD output 3 HTTP Server (off)                                                                                            
20211119 225330 worker: MPD crossfade (off)                                                                                                        
20211119 225331 worker: MPD ignore CUE files (yes)                                                                                                
20211119 225331 worker: -- Feature availability                                                                                                    
20211119 225331 worker: Source select (available)                                                                                                  
20211119 225331 worker: Source select (source: MPD)                                                                                                
20211119 225331 worker: Source select (output: hifiberry-dacplushd)                                                                                
20211119 225331 worker: Bluetooth (available)                                                                                                      
20211119 225331 worker: Airplay renderer (available)                                                                                              
20211119 225331 worker: Spotify renderer (available)                                                                                              
20211119 225331 worker: Squeezelite (available)                                                                                                    
20211119 225331 worker: RoonBridge renderer (not installed)                                                                                        
20211119 225331 worker: Multiroom sender (available)                                                                                              
20211119 225331 worker: Multiroom receiver (available)                                                                                            
20211119 225331 worker: UPnP renderer (available: started)                                                                                        
20211119 225331 worker: DLNA server (available)                                                                                                    
20211119 225331 worker: UPnP browser (available)                                                                                                  
20211119 225331 worker: GPIO button handler (available)                                                                                            
20211119 225331 worker: Stream recorder (n/a)                                                                                                      
20211119 225331 worker: -- Music sources                                                                                                          
20211119 225331 worker: USB sources (none attached)                                                                                                
20211119 225339 sourceMount(): Mount error: (mount error(2): No such file or directory                                                            
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs))                                                                                      
20211119 225339 worker: NAS and UPnP sources (mountall initiated)                                                                                  
20211119 225339 worker: -- Other                                                                                                                  
20211119 225339 worker: USB volume knob (Off)                                                                                                      
20211119 225339 worker: USB auto-mounter (udisks-glue)                                                                                            
20211119 225339 worker: LED0 (On)                                                                                                                  
20211119 225339 worker: LED1 (On)                                                                                                                  
20211119 225339 worker: Saved MPD vol level (0)                                                                                                    
20211119 225339 worker: Preamp volume level (0)                                                                                                    
20211119 225339 worker: MPD volume level (0) restored                                                                                              
20211119 225339 worker: ALSA volume level (None)                                                                                                  
20211119 225339 worker: Auto-play (Off)                                                                                                            
20211119 225339 worker: Maintenance interval (3 hours)                                                                                            
20211119 225339 worker: Screen saver activation (Never)                                                                                            
20211119 225339 worker: Session permissions (OK)                                                                                                  
20211119 225339 worker: Watchdog started                                                                                                          
20211119 225339 worker: Ready                                                                                                                      
20211119 231837 worker: Job shellinabox                                                                                                            

# Amixer dump for ALSA card 0 (the I2S device)
Simple mixer control 'DAC',0                                                                                                                      
Capabilities: pvolume                                                                                                                            
Playback channels: Front Left - Front Right                                                                                                      
Limits: Playback 0 - 240                                                                                                                        
Mono:                                                                                                                                            
Front Left: Playback 240 [100%] [0.00dB]                                                                                                        
Front Right: Playback 240 [100%] [0.00dB]                                                                                                        
Simple mixer control 'DAC Invert Output',0                                                                                                        
Capabilities: pswitch pswitch-joined                                                                                                            
Playback channels: Mono                                                                                                                          
Mono: Playback [off]                                                                                                                            
Simple mixer control 'DAC Rolloff Filter',0                                                                                                        
Capabilities: pswitch pswitch-joined                                                                                                            
Playback channels: Mono                                                                                                                          
Mono: Playback [off]

1) The entry below indicates the System Config setting "Wait for Ethernet addr" is set to "Yes". Since your configuration is WiFi-only I'd set this to "No". It will shave 90 seconds from boot time.
Code:
20211119 225138 worker: eth0 IP address check (Yes)

2a) The Moode startup log entries below indicate the mixer name "Digital" which moOde assigns by default for I2S devices unless an exception is coded, is not the actual mixer name used by the device. This will result in the test for existence of Hardware volume failing in both MPD Config and in Multiroom Receiver Config.

Code:
20211119 225136 worker: ALSA mixer actual (Digital)                        
20211119 225137 worker: ALSA Digital volume set to (amixer: Unable to find simple control 'Digital',0)

2b) The output from amixer -c0 shows the actual name of the hardware volume mixer is "DAC".
Code:
Simple mixer control 'DAC',0
Capabilities: pvolume
Playback channels: Front Left - Front Right
Limits: Playback 0 - 240
Mono:
Front Left: Playback 240 [100%] [0.00dB]
Front Right: Playback 240 [100%] [0.00dB]

There are a couple of ways to fix this and I'll have to do a bit of testing and then create a downloadable patch.

Would you be able to test a patch on one of your Receivers?
It would need to be running 7.5.0

-Tim
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#19
"Would you be able to test a patch on one of your Receivers?" - Certainly!
BTW: The JSON messages have disppeared.
Reply
#20
Great, thanks. I'll prolly have something ready this afternoon (US Eastern Standard Time).
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Forum Jump: