Thank you for your donation!


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


Problem: PEQ + certain tracks = crash
#11
(07-16-2024, 08:41 PM)Nutul Wrote:
(07-16-2024, 06:14 PM)Sehnsucht Wrote: Edit: sent.  btw I tried also sending to @the_bertrum but "PMs are disabled for this user"...

When asked to send files, please, stick with the member(s) list you are being provided with, as those agreed upon receiving files for analysis.

I didn't know I had PMs disabled, but either way, yes stick to the other guys, I'm no where near as clever as them with diagnosing files.
----------------
Robert
Reply
#12
@Sehnsucht 

So I downloaded your two tracks to my SDCARD library, added them alternately to the queue 20 times each (ca 3 hours total playing time) and started playing the queue. 

I do see the CPU usage spike at 100 percent at the end of a track in htop and roughly the same bump in usage in top and moodeutl -m. However, I see this behavior whether or not parametric equalization is enabled (perhaps briefer with no PEQ but that's a subjective impresstion). This is, after all, just a single core Pi Zero.

I don't experience the "crash" condition you describe.

Maybe it's time you described your system. As a first step, we can use Tim's recurrent rejoinder

Quote:To start troubleshooting boot up your moOde 9 system and then post the contents of the startup log.

The log can be viewed via the SSH command moodeutl -l or downloaded via the Logs section in System Config, or via Menu, System info from any of the Config screens. The startup log will be at the end of System info output.



Regards,
Kent
Reply
#13
(07-17-2024, 02:03 PM)TheOldPresbyope Wrote: @Sehnsucht 

So I downloaded your two tracks to my SDCARD library, added them alternately to the queue 20 times each (ca 3 hours total playing time) and started playing the queue. 

I do see the CPU usage spike at 100 percent at the end of a track in htop and roughly the same bump in usage in top and moodeutl -m. However, I see this behavior whether or not parametric equalization is enabled (perhaps briefer with no PEQ but that's a subjective impresstion). This is, after all, just a single core Pi Zero.

I don't experience the "crash" condition you describe.

Maybe it's time you described your system. As a first step, we can use Tim's recurrent rejoinder

Quote:To start troubleshooting boot up your moOde 9 system and then post the contents of the startup log.

The log can be viewed via the SSH command moodeutl -l or downloaded via the Logs section in System Config, or via Menu, System info from any of the Config screens. The startup log will be at the end of System info output.



Regards,
Kent

It's totally bog-standard - I've not customized it at all.  It's got an SD card full of flac files and a micro usb ->usb c adaptor into which is plugged an Apple usb c->3.5mm adaptor (the US one as the EU one has the volume cap).  I listen on IEMs (zero-2).  I sometimes use MALP (the android mpd client) but for the purposes of diagnosing this I'm using moOde exclusively.  I mostly power it using a battery (ie a powerbank) but also via a phone charger and the problem's occurred with both.

The key thing to look for is the buffer xrun message in /var/log/mpd/log.  The "crash" is when you get tens of those consecutively, one every ten seconds or so, and 100% cpu, for seconds/minutes at a time. 

Maybe occasionally clicking the progress bar to very near the end (20 seconds or so from the end) a few times? Especially the longer track. That's the best way to provoke it.   Also, maybe enable a few more PEQ filters;  this is a PEQ problem after all.   It doesn't always go wrong straight away (I didn't notice this problem for a while) but when it does it continues to happen.



Code:
Startup log:
Host:  portablepi
RPiOS: 11.2 Bullseye 32-bit | Linux: 6.1.21+ 32-bit
Model: Pi-Zero 1.1
Audio: USB-C to 3.5mm Headphone Jack A


       m o O d e   a u d i o   p l a y e r

             Release 8.3.9 2024-02-23
               (C) 2014 Tim Curtis


The programs included with moOde are free software; the
exact distribution terms for each program are described
in the individual files in /usr/share/doc/*/copyright or
in the moOde source files. moOde comes with absolutely
no warranties either expressed or implied, or any other
such guarantees.

** To set a new password for your userid type 'passwd'.

Last login: Tue Jul 16 18:32:18 2024 from 192.168.4.206
pi@portablepi:~ $ moodeutl -l
20240716 231653 worker: --
20240716 231653 worker: -- Start moOde 8 series
20240716 231653 worker: --
20240716 231653 worker: Successfully daemonized
20240716 231654 worker: Wait for Linux startup...
20240717 181128 worker: Linux startup complete
20240717 181128 worker: Boot config backed up
20240717 181133 worker: Session loaded
20240717 181136 worker: Package holds applied
20240717 181140 worker: File check complete
20240717 181140 worker: Debug logging off
20240717 181140 worker: Reduced logging off
20240717 181140 worker: --
20240717 181140 worker: -- Audio debug
20240717 181140 worker: --
20240717 181140 worker: ALSA cards:   0:b1 | 1:A | 2:empty | 3:empty
20240717 181140 worker: MPD config:   1:USB-C to 3.5mm Headphone Jack A | mixer:Headphone | cardnum:1
20240717 181140 worker: Mixer name:   [Headphone]
20240717 181141 worker: Hdwr volume:  set to 0%
20240717 181141 worker: Volume knob:  26
20240717 181141 worker: --
20240717 181141 worker: -- System
20240717 181141 worker: --
20240717 181148 worker: Host:     portablepi
20240717 181148 worker: Model:    Pi-Zero W 1.1 512MB
20240717 181148 worker: moOde:    8.3.9 2024-02-23
20240717 181148 worker: RaspiOS:  11.2 Bullseye 32-bit
20240717 181148 worker: Kernel:   6.1.21+ 32-bit
20240717 181148 worker: MPD ver:  0.23.14
20240717 181148 worker: CPU gov:  ondemand
20240717 181148 worker: Userid:   pi
20240717 181148 worker: Homedir:  /home/pi
20240717 181148 worker: Timezone: Europe/London
20240717 181148 worker: Keyboard: gb
20240717 181148 worker: USB boot: n/a
20240717 181148 worker: File sys: expanded
20240717 181149 worker: HDMI out: off
20240717 181149 worker: Sys LED0: on
20240717 181149 worker: Sys LED1: sysclass does not exist
20240717 181149 worker: --
20240717 181149 worker: -- Network
20240717 181149 worker: --
20240717 181149 worker: Eth: adapter does not exist
20240717 181149 worker: Wlan: adapter exists
20240717 181149 worker: Wlan: country GB
20240717 181149 worker: Wlan: SSID    Network24
20240717 181149 worker: Wlan: other   none
20240717 181149 worker: Wlan: router  off
20240717 181149 worker: Wlan: timeout up to 90 secs
20240717 181150 worker: Wlan: connect to Network24
20240717 181150 worker: Wlan: sleep   disabled
20240717 181150 worker: Wlan: method  dhcp
20240717 181150 worker: Wlan: address 192.168.4.155
20240717 181151 worker: Wlan: netmask 255.255.252.0
20240717 181151 worker: Wlan: gateway 192.168.4.1
20240717 181151 worker: Wlan: pri DNS 79.79.79.79
20240717 181151 worker: Wlan: domain  
20240717 181151 worker: --
20240717 181151 worker: -- Software update
20240717 181151 worker: --
20240717 181151 worker: Automatic check off
20240717 181151 worker: --
20240717 181151 worker: -- File sharing
20240717 181151 worker: --
20240717 181151 worker: SMB file sharing:  off
20240717 181151 worker: NFS file sharing:  off
20240717 181151 worker: DLNA file sharing: off
20240717 181151 worker: --
20240717 181151 worker: -- Audio config
20240717 181151 worker: --
20240717 181151 worker: MPD config:    update skipped (USB audio device)
20240717 181151 worker: Audio device:  USB-C to 3.5mm Headphone Jack A
20240717 181152 worker: Formats:       S16_LE, S24_3LE
20240717 181152 worker: Mixer type     Hardware
20240717 181152 worker: Mixer name     Headphone
20240717 181152 worker: Hdwr volume:   controller detected
20240717 181152 worker: ALSA max vol:  100%
20240717 181152 worker: ALSA card:     1
20240717 181152 worker: ALSA mode:     Default
20240717 181152 worker: ALSA loopback: off
20240717 181153 worker: CamillaDSP:    off
20240717 181153 worker: Renderers:     active flags reset
20240717 181153 worker: --
20240717 181153 worker: -- MPD startup
20240717 181153 worker: --
20240717 181155 worker: MPD service:        started
20240717 181155 worker: MPD port 6600:      accepting connections
20240717 181156 worker: MPD ALSA Default:   on
20240717 181156 worker: MPD ALSA Bluetooth: off
20240717 181156 worker: MPD HTTP Server:    off
20240717 181156 worker: MPD crossfade:      off
20240717 181156 worker: MPD ignore CUE:     yes
20240717 181156 worker: MPD CDSP volsync:   off
20240717 181156 worker: MPD CDSP volrange:  60 dB
20240717 181157 worker: --
20240717 181157 worker: -- Music sources
20240717 181157 worker: --
20240717 181157 worker: USB auto-mount: devmon
20240717 181157 worker: USB drives:     no drives found
20240717 181157 worker: NAS sources:    no music sources defined
20240717 181157 worker: --
20240717 181157 worker: -- Feature availability
20240717 181157 worker: --
20240717 181157 worker: Input select:    available, src MPD, out USB-C to 3.5mm Headphone Jack A
20240717 181157 worker: Bluetooth:       available, ALSA mode Default
20240717 181157 worker: AirPlay:         available
20240717 181157 worker: Spotify Connect: available
20240717 181157 worker: Squeezelite:     available
20240717 181157 worker: RoonBridge:      not installed
20240717 181157 worker: Multiroom:       available
20240717 181157 worker: UPnP client:     available
20240717 181157 worker: GPIO buttons:    available
20240717 181157 worker: HTTPS mode:      available
20240717 181157 worker: Stream recorder: n/a
20240717 181157 worker: --
20240717 181157 worker: -- Volume levels
20240717 181157 worker: --
20240717 181158 worker: Volume knob:   26
20240717 181158 worker: Saved MPD vol: -1
20240717 181158 worker: Saved SRC vol: 0
20240717 181158 worker: Mixer type:    hardware
20240717 181159 worker: Hdwr volume:   52%
20240717 181159 worker: CDSP volume:   0.0dB
20240717 181159 worker: --
20240717 181159 worker: -- Peripherals
20240717 181159 worker: --
20240717 181207 worker: Local display:   off
20240717 181207 worker: On-screen kbd:   off
20240717 181207 worker: Rotary encoder:  off
20240717 181207 worker: USB volume knob: off
20240717 181207 worker: LCD updater:     off
20240717 181207 worker: --
20240717 181207 worker: -- Miscellaneous
20240717 181207 worker: --
20240717 181207 worker: Auto-CoverView:    off
20240717 181207 worker: CoverView timeout: Never
20240717 181207 worker: Auto-shuffle:      off
20240717 181207 worker: Auto-play:         off
20240717 181207 worker: Web SSH server:    off
20240717 181207 worker: Maintenance task:  360 mins
20240717 181207 worker: Current view:      reset to Playback
20240717 181207 worker: Session check:     ok
20240717 181207 worker: --
20240717 181207 worker: -- Startup complete
20240717 181207 worker: --
20240717 181208 worker: Mount monitor:    off
20240717 181208 worker: Radio monitor:    off
20240717 181208 worker: Watchdog monitor: started
20240717 181208 worker: Responsiveness:   Default
20240717 181208 worker: Ready
Reply


Forum Jump: