Posts: 39
Threads: 1
Joined: Jun 2020
Reputation:
0
(07-21-2020, 06:05 AM)KmPan Wrote: (07-20-2020, 06:29 PM)Tim Curtis Wrote: Reboot and then post Moode log
cat /var/log/moode.log
pi@moode:~ $ cat /var/log/moode.log
20200721 014309 worker: -- Start
20200721 014309 worker: Successfully daemonized
20200721 014309 worker: Integrity check (passed)
20200721 014309 worker: Session loaded
20200721 014309 worker: Debug logging (off)
20200721 014309 worker: Device raw: (0:empty|1:empty|2:empty|3:empty
20200721 014309 worker: Device i2s: (Allo Piano 2.1 Hi-Fi DAC)
20200721 014309 worker: Device mpd: (0:Allo Piano 2.1 Hi-Fi DAC)
20200721 014309 worker: Device ses: (0|Allo Piano 2.1 Hi-Fi DAC|Master|Invalid c ard number.%)
20200721 014309 worker: ALSA Master volume set to (Invalid card number.)
20200721 014309 worker: -- System
20200721 014310 worker: Host (moode)
20200721 014310 worker: moOde (6.7.0 2020-07-19)
20200721 014310 worker: RaspiOS (10.4)
20200721 014310 worker: Kernel (5.4.51-v7l+ #1325)
20200721 014310 worker: Platform (Pi-4B 4GB v1.2)
20200721 014310 worker: ARM arch (armv7l, 32-bit kernel)
20200721 014310 worker: MPD ver (0.21.24)
20200721 014310 worker: CPU gov (ondemand)
20200721 014310 worker: USB boot not available
20200721 014311 worker: File system not expanded yet
20200721 014311 worker: HDMI port on
20200721 014311 worker: File check (OK)
20200721 014311 worker: -- Network
20200721 014311 worker: eth0 exists
20200721 014312 worker: IP addr (192.168.1.3)
20200721 014312 worker: Netmask (255.255.255.0)
20200721 014312 worker: Gateway (192.168.1.10)
20200721 014312 worker: Pri DNS (203.153.41.28)
20200721 014312 worker: Domain (domain.name)
20200721 014312 worker: wlan0 exists
20200721 014312 worker: wifi country (US)
20200721 014312 worker: wlan0 SSID is blank
20200721 014312 worker: eth0 addr exists, AP mode not started
20200721 014312 worker: wlan0 address not assigned
20200721 014312 worker: -- Audio
20200721 014313 worker: MPD conf updated
20200721 014313 worker: ALSA outputs unmuted
20200721 014313 worker: ALSA card number (0)
20200721 014313 worker: Audio output (Allo Piano 2.1 Hi-Fi DAC)
20200721 014313 worker: Audio formats (cat: /proc/asound/card0/pcm0p/sub0/hw_par ams: No such file or directory)
20200721 014313 worker: ALSA mixer name (Master)
20200721 014313 worker: MPD volume control (software)
20200721 014313 worker: Hdwr volume controller exists
20200721 014313 worker: Max ALSA volume (100%)
20200721 014313 worker: Piano output mode (Invalid card number.)
20200721 014313 worker: Piano 2.1 initialized
20200721 014313 worker: Reset renderer active flags
20200721 014313 worker: -- MPD
20200721 014313 worker: MPD started
20200721 014314 worker: MPD accepting connections
20200721 014314 worker: Configure MPD outputs
20200721 014314 worker: MPD output 1 ALSA default (on)
20200721 014314 worker: MPD output 2 ALSA crossfeed (off)
20200721 014314 worker: MPD output 3 ALSA parametric eq (off)
20200721 014314 worker: MPD output 4 ALSA graphic eq (off)
20200721 014314 worker: MPD output 5 ALSA polarity inversion (off)
20200721 014314 worker: MPD output 6 ALSA bluetooth (off)
20200721 014314 worker: MPD output 7 HTTP stream (off)
20200721 014314 worker: MPD crossfade (off)
20200721 014314 worker: -- Feature availability
20200721 014314 worker: Source select (available)
20200721 014314 worker: Source select (source: MPD)
20200721 014314 worker: Source select (output: Allo Piano 2.1 Hi-Fi DAC)
20200721 014314 worker: Bluetooth (available)
20200721 014314 worker: Airplay renderer (available)
20200721 014314 worker: Spotify renderer (available)
20200721 014314 worker: Squeezelite renderer (available)
20200721 014314 worker: UPnP renderer (available)
20200721 014314 worker: DLNA server (available)
20200721 014314 worker: UPnP browser (available)
20200721 014314 worker: Audio scrobbler (available)
20200721 014314 worker: GPIO button handler (available)
20200721 014314 worker: -- Music sources
20200721 014314 worker: USB source (Transcend)
20200721 014314 worker: NAS and UPnP sources (none configured)
20200721 014314 worker: -- Miscellaneous
20200721 014314 worker: USB volume knob (Off)
20200721 014314 worker: USB auto-mounter (udisks-glue)
20200721 014314 worker: LED0 (On)
20200721 014314 worker: LED1 (On)
20200721 014314 worker: Saved MPD vol level (0)
20200721 014314 worker: Preamp volume level (0)
20200721 014315 worker: MPD volume level (0) restored
20200721 014315 worker: ALSA Master volume (Invalid card number.)
20200721 014315 worker: Auto-play (Off)
20200721 014315 worker: Maintenance interval (3 hrs)
20200721 014315 worker: Screen saver activation (Never)
20200721 014315 worker: Session permissions (OK)
20200721 014315 worker: Watchdog started
20200721 014315 worker: Ready
thankyou @TIM
a small observation
installed Raspberry Pi OS (32-bit) with desktop
Image with desktop based on Debian Buster
Version:May 2020
Release date:2020-05-27
Kernel version:4.19
allo piano dac worked fine , when updated "sudo rpi-update" kernel got updated to 5.4.51 , only analog ,hdmi audio option available, allo dac not working even boot config.txt has dtoverlay=allo-piano-dac-plus-pcm512x-audio,
so at preset sitting back at moode 6.5.2...working normal
Posts: 12
Threads: 2
Joined: Apr 2018
Reputation:
1
07-21-2020, 07:19 AM
(This post was last modified: 07-21-2020, 07:22 AM by Pixxel.)
I have a problem with Piano 2.1+Kali too (RPI3B+). Moode 6.5.2 is ok, Moode 6.6 and 6.7 doesnt work when I turn glb_mclk on and reboot. After that, when moode boot up, Settings and library GUI doesn't work (dont show up).
Posts: 570
Threads: 16
Joined: Apr 2020
Reputation:
22
(07-21-2020, 12:09 AM)Skip Pack Wrote: I initially reported being unable to rgenerate my llibrary under mpd 0.22 in the 6.6 support thread where the .21x worked fine. (posts #63 and #69) Today I loaded 6.7 and tried again with the same basic result -- generating the library under 0.22 would not complete. However the messaging in the MPD log was more to the point:
Code: Jul 20 13:51 : update: added USB/2859-4AAE/Oflac_top/Classical by Composer/Ravel/Nojima Plays Ravel/06_-_Gaspard_de_la_nuit-_Ondine_-_Nojima.flac
Jul 20 13:51 : update: added USB/2859-4AAE/Oflac_top/Classical by Composer/Ravel/Nojima Plays Ravel/07_-_Gaspard_de_la_nuit-_Le_Gibet_-_Nojima.flac
Jul 20 13:51 : update: added USB/2859-4AAE/Oflac_top/Classical by Composer/Ravel/Nojima Plays Ravel/08_-__Gaspard_de_la_nuit-_Scarbo_-_Nojima.flac
Jul 20 13:51 : update: added USB/2859-4AAE/Oflac_top/Classical by Composer/Ravel/Pavane - Monteux (Hi-rez)/01-_-Pavane pour Une Infante Defunte_-_Monteux.flac
Jul 20 13:51 : exception: zzip_seek() has failed
terminate called after throwing an instance of 'std::runtime_error'
what(): zzip_seek() has failed
Jul 20 13:51 : update: added SDCARD/Stereo Test/LRMonoPhase4.flac
Jul 20 13:51 : update: added USB/2859-4AAE/Oflac_top/Dr._Charles_G._Hayes_&_The_Warriors/The_Remix/01_-_Intro_-_Dr._Charles_G._Hayes_&_The_Warriors.wav
Jul 20 13:51 : update: added USB/2859-4AAE/Oflac_top/Dr._Charles_G._Hayes_&_The_Warriors/The_Remix/02_-_Keep_Looking_Up_-_Dr._Charles_G._Hayes_&_The_Warriors.wav
Jul 20 13:51 : update: added USB/2859-4AAE/Oflac_top/Dr._Charles_G._Hayes_&_The_Warriors/The_Remix/03_-_Jesus_Can_Work_It_Out_-_Dr._Charles_G._Hayes_&_The_Warriors.wav
Jul 20 13:51 : update: added USB/2859-4AAE/Oflac_top/Dr._Charles_G._Hayes_&_The_Warriors/The_Remix/04_-_I_Love_You_So_-_Dr._Charles_G._Hayes_&_The_Warriors.wav
There were .zip archives in subdirectories that triggered this problem (usually the original source of the files that I then set up to play, almost always in .flac). I traced down and deleted these .zip archives, and the library regenerated quickly and correctly (just like .21x) Everytime the 0.22 process would hit a .zip file, it would recommence the library scan anew, hence the loop.
I'm running 0.21.25 (which was at that time almost the same as the 0.22~git ) and also notice some change in behaviour when scanning the library. You can prevent files to be scanned by adding an wildcard to a text file called .mpdignore in the root of your music library. See https://www.musicpd.org/doc/html/user.html for more info.
Posts: 13,407
Threads: 304
Joined: Mar 2018
Reputation:
543
(07-21-2020, 06:16 AM)KmPan Wrote: (07-21-2020, 06:05 AM)KmPan Wrote: (07-20-2020, 06:29 PM)Tim Curtis Wrote: Reboot and then post Moode log
cat /var/log/moode.log
pi@moode:~ $ cat /var/log/moode.log
20200721 014309 worker: -- Start
20200721 014309 worker: Successfully daemonized
20200721 014309 worker: Integrity check (passed)
20200721 014309 worker: Session loaded
20200721 014309 worker: Debug logging (off)
20200721 014309 worker: Device raw: (0:empty|1:empty|2:empty|3:empty
20200721 014309 worker: Device i2s: (Allo Piano 2.1 Hi-Fi DAC)
20200721 014309 worker: Device mpd: (0:Allo Piano 2.1 Hi-Fi DAC)
20200721 014309 worker: Device ses: (0|Allo Piano 2.1 Hi-Fi DAC|Master|Invalid c ard number.%)
20200721 014309 worker: ALSA Master volume set to (Invalid card number.)
20200721 014309 worker: -- System
20200721 014310 worker: Host (moode)
20200721 014310 worker: moOde (6.7.0 2020-07-19)
20200721 014310 worker: RaspiOS (10.4)
20200721 014310 worker: Kernel (5.4.51-v7l+ #1325)
20200721 014310 worker: Platform (Pi-4B 4GB v1.2)
20200721 014310 worker: ARM arch (armv7l, 32-bit kernel)
20200721 014310 worker: MPD ver (0.21.24)
20200721 014310 worker: CPU gov (ondemand)
20200721 014310 worker: USB boot not available
20200721 014311 worker: File system not expanded yet
20200721 014311 worker: HDMI port on
20200721 014311 worker: File check (OK)
20200721 014311 worker: -- Network
20200721 014311 worker: eth0 exists
20200721 014312 worker: IP addr (192.168.1.3)
20200721 014312 worker: Netmask (255.255.255.0)
20200721 014312 worker: Gateway (192.168.1.10)
20200721 014312 worker: Pri DNS (203.153.41.28)
20200721 014312 worker: Domain (domain.name)
20200721 014312 worker: wlan0 exists
20200721 014312 worker: wifi country (US)
20200721 014312 worker: wlan0 SSID is blank
20200721 014312 worker: eth0 addr exists, AP mode not started
20200721 014312 worker: wlan0 address not assigned
20200721 014312 worker: -- Audio
20200721 014313 worker: MPD conf updated
20200721 014313 worker: ALSA outputs unmuted
20200721 014313 worker: ALSA card number (0)
20200721 014313 worker: Audio output (Allo Piano 2.1 Hi-Fi DAC)
20200721 014313 worker: Audio formats (cat: /proc/asound/card0/pcm0p/sub0/hw_par ams: No such file or directory)
20200721 014313 worker: ALSA mixer name (Master)
20200721 014313 worker: MPD volume control (software)
20200721 014313 worker: Hdwr volume controller exists
20200721 014313 worker: Max ALSA volume (100%)
20200721 014313 worker: Piano output mode (Invalid card number.)
20200721 014313 worker: Piano 2.1 initialized
20200721 014313 worker: Reset renderer active flags
20200721 014313 worker: -- MPD
20200721 014313 worker: MPD started
20200721 014314 worker: MPD accepting connections
20200721 014314 worker: Configure MPD outputs
20200721 014314 worker: MPD output 1 ALSA default (on)
20200721 014314 worker: MPD output 2 ALSA crossfeed (off)
20200721 014314 worker: MPD output 3 ALSA parametric eq (off)
20200721 014314 worker: MPD output 4 ALSA graphic eq (off)
20200721 014314 worker: MPD output 5 ALSA polarity inversion (off)
20200721 014314 worker: MPD output 6 ALSA bluetooth (off)
20200721 014314 worker: MPD output 7 HTTP stream (off)
20200721 014314 worker: MPD crossfade (off)
20200721 014314 worker: -- Feature availability
20200721 014314 worker: Source select (available)
20200721 014314 worker: Source select (source: MPD)
20200721 014314 worker: Source select (output: Allo Piano 2.1 Hi-Fi DAC)
20200721 014314 worker: Bluetooth (available)
20200721 014314 worker: Airplay renderer (available)
20200721 014314 worker: Spotify renderer (available)
20200721 014314 worker: Squeezelite renderer (available)
20200721 014314 worker: UPnP renderer (available)
20200721 014314 worker: DLNA server (available)
20200721 014314 worker: UPnP browser (available)
20200721 014314 worker: Audio scrobbler (available)
20200721 014314 worker: GPIO button handler (available)
20200721 014314 worker: -- Music sources
20200721 014314 worker: USB source (Transcend)
20200721 014314 worker: NAS and UPnP sources (none configured)
20200721 014314 worker: -- Miscellaneous
20200721 014314 worker: USB volume knob (Off)
20200721 014314 worker: USB auto-mounter (udisks-glue)
20200721 014314 worker: LED0 (On)
20200721 014314 worker: LED1 (On)
20200721 014314 worker: Saved MPD vol level (0)
20200721 014314 worker: Preamp volume level (0)
20200721 014315 worker: MPD volume level (0) restored
20200721 014315 worker: ALSA Master volume (Invalid card number.)
20200721 014315 worker: Auto-play (Off)
20200721 014315 worker: Maintenance interval (3 hrs)
20200721 014315 worker: Screen saver activation (Never)
20200721 014315 worker: Session permissions (OK)
20200721 014315 worker: Watchdog started
20200721 014315 worker: Ready
thankyou @TIM
a small observation
installed Raspberry Pi OS (32-bit) with desktop
Image with desktop based on Debian Buster
Version:May 2020
Release date:2020-05-27
Kernel version:4.19
allo piano dac worked fine , when updated "sudo rpi-update" kernel got updated to 5.4.51 , only analog ,hdmi audio option available, allo dac not working even boot config.txt has dtoverlay=allo-piano-dac-plus-pcm512x-audio,
so at preset sitting back at moode 6.5.2...working normal
Ok, thanks for that test. The entry below from Moode log shows that ALSA card0 is empty which indicates the I2S driver for the board fails to load during boot.
Code: 20200721 014309 worker: Device raw: (0:empty|1:empty|2:empty|3:empty
Look in the kernel boot log. The Piano driver load prolly failed.
Posts: 13,407
Threads: 304
Joined: Mar 2018
Reputation:
543
(07-21-2020, 07:19 AM)Pixxel Wrote: I have a problem with Piano 2.1+Kali too (RPI3B+). Moode 6.5.2 is ok, Moode 6.6 and 6.7 doesnt work when I turn glb_mclk on and reboot. After that, when moode boot up, Settings and library GUI doesn't work (dont show up).
This is a bug thats fixed in upcoming 6.7.1 update.
http://moodeaudio.org/forum/showthread.php?tid=2792
Run the commands below to revert the driver setting.
Code: sudo sed -i 's/allo-piano-dac-plus-pcm512x-audio.dtbo,glb_mclk/allo-piano-dac-plus-pcm512x-audio.dtbo/' /boot/config.txt
sqlite3 /var/local/www/db/moode-sqlite3.db "update cfg_audiodev set driver='allo-piano-dac-plus-pcm512x-audio.dtbo' where name='Allo Piano 2.1 Hi-Fi DAC'"
sudo reboot
Posts: 75
Threads: 10
Joined: Jul 2020
Reputation:
6
07-22-2020, 03:15 PM
(This post was last modified: 07-22-2020, 04:21 PM by hestehandler.)
Moved here: http://moodeaudio.org/forum/showthread.php?tid=2802
Just had MPD crash for me. Version 0.22~git using 3GBs for cache.
Code: Jul 22 17:03:59 moode sudo[8686]: root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/local/bin/mediainfo --Inform=Audio;file:///var/www/mediainfo.tpl /var/lib/mpd/music/NAS/
Jul 22 17:03:59 moode sudo[8686]: pam_unix(sudo:session): session opened for user root by (uid=0)
Jul 22 17:03:59 moode sudo[8686]: pam_unix(sudo:session): session closed for user root
Jul 22 17:03:59 moode sudo[8698]: root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/local/bin/mediainfo --Inform=Audio;file:///var/www/mediainfo.tpl /var/lib/mpd/music/NAS/
Jul 22 17:03:59 moode sudo[8698]: pam_unix(sudo:session): session opened for user root by (uid=0)
Jul 22 17:04:00 moode sudo[8698]: pam_unix(sudo:session): session closed for user root
Jul 22 17:07:52 moode nmbd[468]: [2020/07/22 17:07:52.217590, 0] ../source3/nmbd/nmbd_namequery.c:109(query_name_response)
Jul 22 17:07:52 moode nmbd[468]: query_name_response: Multiple (2) responses received for a query on subnet 192.168.1.5 for name WORKGROUP<1d>.
Jul 22 17:07:52 moode nmbd[468]: This response was from IP 192.168.1.20, reporting an IP address of 192.168.1.20.
Jul 22 17:08:19 moode mpdscribble[353]: mpd error (5): Connection reset by peer
Jul 22 17:08:19 moode systemd[1]: mpd.service: Main process exited, code=killed, status=6/ABRT
Jul 22 17:08:19 moode systemd[1]: mpd.service: Failed with result 'signal'.
Jul 22 17:08:22 moode systemd[1]: Started Music Player Daemon.
Jul 22 17:08:24 moode sudo[9580]: root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/local/bin/mediainfo --Inform=Audio;file:///var/www/mediainfo.tpl /var/lib/mpd/music/NAS/
Jul 22 17:08:24 moode sudo[9580]: pam_unix(sudo:session): session opened for user root by (uid=0)
Jul 22 17:08:24 moode sudo[9580]: pam_unix(sudo:session): session closed for user root
Jul 22 17:08:41 moode sudo[9644]: www-data : TTY=unknown ; PWD=/var/www ; USER=root ; COMMAND=/usr/local/bin/mediainfo --Inform=Audio;file:///var/www/mediainfo.tpl /var/lib/mpd/mus
Jul 22 17:08:41 moode sudo[9644]: pam_unix(sudo:session): session opened for user root by (uid=0)
Jul 22 17:08:41 moode sudo[9644]: pam_unix(sudo:session): session closed for user root
Jul 22 17:08:42 moode sudo[9657]: root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/local/bin/mediainfo --Inform=Audio;file:///var/www/mediainfo.tpl /var/lib/mpd/music/NAS/
Jul 22 17:08:42 moode sudo[9657]: pam_unix(sudo:session): session opened for user root by (uid=0)
Jul 22 17:08:42 moode sudo[9657]: pam_unix(sudo:session): session closed for user root
Jul 22 17:08:19 moode systemd[1]: mpd.service: Main process exited, code=killed, status=6/ABRT seems to be the salient point, but what caused this abort I don’t know. MPD log says this:
Code: Jul 22 17:08 : player: played "NAS/Mother/The (Hypothetical) Prophets/Around the World With the Prophets/05 Person to Person.m4a"
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Posts: 13
Threads: 2
Joined: Jul 2020
Reputation:
0
Hi Tim,
I have downloaded moode 6.7.0 for my latest pi4, 8gb. It works beautifully.
It even can recognise my wadia di122 dac via USB.
It solved all the issues that I encourtered in the older version of the software.
Well done!
Thank you so much.
Posts: 6,019
Threads: 176
Joined: Apr 2018
Reputation:
235
@ hestehandler
Seems to me we should have a separate thread to discuss the cache-related matters. The input_cache is not part of moOde 6.7.0.
Regards,
Kent
Posts: 13,407
Threads: 304
Joined: Mar 2018
Reputation:
543
|