Multiroom receiver crashes - Printable Version +- Moode Forum (https://moodeaudio.org/forum) +-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3) +--- Forum: Support (https://moodeaudio.org/forum/forumdisplay.php?fid=7) +--- Thread: Multiroom receiver crashes (/showthread.php?tid=7059) Pages:
1
2
|
Multiroom receiver crashes - abrakadabra2k - 11-02-2024 Hello, This is happening on a moode 9.1.3 (also in versions before) with Raspberry Pi4, connected via HDMI to a Denon receiver. Connection via Wifi (5Ghz, signal should be ok). I have 1x server, 3 receivers. The other 2 Receivers are working flawlessly. But the "HDMI one" always needs a multiroom-receiver restart to play music from the server after I select it in on the server web ui. After the reset, it is working just fine. This is a log excerpt (debug mode on obviously - connection started at 162736 ): Code: 20241102 162601 DEBUG: chkSQL(): type in ('nfs', 'cifs') from here on, it will try to restart the receiver forever, but it will fail. Only manually restarting the receiver will recover the device. This is reproducable. RE: Multiroom receiver crashes - Tim Curtis - 11-02-2024 Leave debug logging on and look for the launch string for the receiver. It will look something like below. If you don't see it then restart the receiver and should show up in the log. Code: trx-rx -d plughw:0,0 -h 239.0.0.1 -p 1350 -m 64 -j 64 -f 960 -R 45 -D /tmp/trx-rxpid >/dev/null Then run it from the cmd line to see if it prints out anything interesting when it crashes. Code: # So watchdog doesn't restart the receiver RE: Multiroom receiver crashes - abrakadabra2k - 11-02-2024 okay, running with: sudo trx-rx -d default:vc4hdmi1 -h 239.0.0.1 -p 1350 -m 128 -j 64 -f 960 -R 45 -v 2 Output (removed most '.') Code: trx 0.6.0 The "terminated" is appearing when I remove the device from the server's Rx clients (un-tick the box on the server). Is this intended? If yes, I'll let it run for some more time and I'll see what happens. So far I could not reproduce it that way RE: Multiroom receiver crashes - Tim Curtis - 11-02-2024 I was going to mention setting the "ALSA output mode" option on Receiver Config to "IEC958" but I see from the launch string that its been set (default:vc4hdmi1) but hdmi1 is the second port on the pi4. I think u need to use the 1st port (hdmi0) on the pi4 for audio, at least thats what I've always used. Un-checking the receiver sets it on/off/disabled flag to off and then kills it. You would see "Terminated" in the debug logging. Watchdog only restarts the receiver if it flag = on and it has crashed. RE: Multiroom receiver crashes - abrakadabra2k - 11-02-2024 Thanks Tim, this lead me in the right direction: After a restart the Pi needed to "see" the HDMI cable conneted to an active device (probably some communication or signal level check?) . But the Denon was in standby. Even the web UI tells me when starting a radio "Output is set to HDMI but no audio device was detected on the HDMI port." After shutting down my AVR the pi sometimes complains about that, sometimes not. I am pretty sure I did not have this problem on Moode 8. I searched the web and found that there have been lots of changes going on regarding the HDMI interface with bookworm... Anyway, I can workaround this by enabling the "hdmi passthrough" option in my AVR. I dont like it as it increases the standby current (0.1 to 0.5W), but for the time being its fine... Unless someone has a hint on how to configure the config.txt (or nowadays also cmdline.txt) so that moode will always send audio via hdmi? RE: Multiroom receiver crashes - Tim Curtis - 11-02-2024 Right. The legacy mode firmware videocore driver in Bullseye didn't care whether anything was actually connected to the HDMI port but in Bookworm it does. This is probably leading up to true HDMI hot plug capability or something like that. HDMI audio format support in Bookworm is lightyears ahead of the legacy driver though :-) RE: Multiroom receiver crashes - abrakadabra2k - 11-03-2024 I could Not Stop thinking about this topic and adapted my little Denon Script: https://github.com/abrakadabra2k/DenonService/tree/RestartTxRx This works fine, but i still need to restart the Receiver (part of the Script). I am Wondering why the watchdog ist Not able to Bring Up the trx-rx RE: Multiroom receiver crashes - abrakadabra2k - 11-04-2024 @Tim Curtis I tried the watchdog part regarding trx-rx in a minimal example, which fails as well: Code: moode@LivingMoode:/var/www/daemon $ cat test.sh Maybe some include problem? Admittedly, I have no experience with php and its usage in a shell script Quick update: The script is working on another machine with a hifiberry output. I guess the getAlsaIEC958Device is used only with HDMI, the watchdog is probably not working with HDMI and IEC958? RE: Multiroom receiver crashes - Tim Curtis - 11-04-2024 Are you using the first HDMI port, the one nearest the power port on the Pi4? The launch string for trx-rx should have -d default:vc4hdmi0 and the audio device connected to the HDMI port must be on. RE: Multiroom receiver crashes - abrakadabra2k - 11-04-2024 Yes, I switched to this port as you suggested. This is the launch string obtained from debug log (as before, with other port): trx-rx -d default:vc4hdmi0 -h 239.0.0.1 -p 1350 -m 128 -j 64 -f 960 -R 45 -D /tmp/trx-rxpid >/dev/null If I start my AVR I would expect the watchdog to be able to restart the trx-rx, but this error keeps on appearing - because of reasons written above I think: Code: 20241104 122723 watchdog: Started Multiroom receiver after crash detected If I launch the trx-rx manually via the "launch string" above, music is played |