Thank you for your donation!


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


Thread Closed 
Problem: System freezes after a while
#1
Hi,
I'm a happy new Moode user. It's running with
-a RPi 3
-an Audiophonics Evo Sabre
-a raspberry touch screen
-a local network on my router, with cable
-up to date last Moode version

Everything works fine, but after ~1h idle, it doesn't respond anymore, the touchscreen light on after some taps, but remains unresponsive, ssh and web iterface stop working.

Is the issue known?

thank you!
#2
I had a similar problem, but it took longer than an hour to occur and seems to have been caused by my moving /var/cache into RAM to save wear on the SD card. I reverted that change to the standard moode setup and it has worked fine ever since. Have you changed anything like that, if so that might be the problem: I was getting kernel error messages relating to trouble allocating memory, so the 1GB RAM on the Pi 3s isn't enough for such changes, it seems.
#3
I didn't moved directories, I only executed "expand filesystem", but the bug used to occur before that.
#4
Here is my syslog: it represent a ~2 hours session without playing anything. When I shut it down it was stuck...

(there is no attachment: wrong type... ?!? It's just plain text, doesn't work even if I add .txt)
#5
Have you installed any 3rd party software or tweaks?
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
#6
As configured, the Forum software doesn't permit appending text files.

You could zip it up before appending or you can cut-n-paste the syslog output into a codebox in a post. 

Don't forget to give us the System info output as well. You can get this either from the moOde WebUI (m>Configure>System>m>System info) or by logging into the command line and running moodeutl -s

Are you driving that Audiophonics EVO-Sabre as a USB device or an I2S device?

Regards,
Kent
#7
Quote:Have you installed any 3rd party software or tweaks?
yes: https://github.com/audiophonics/Evo_Sabr...main/moode
it's working perfectly

Quote:You could zip it up before appending or you can cut-n-paste the syslog output into a codebox in a post.

text is too long for <code> box. I attach the zip


Quote:Don't forget to give us the System info output as well.


Code:
S Y S T E M   P A R A M E T E R S

moOde release        = 7.1.0 2021-03-15
RaspiOS            = 10.6
Linux kernel        = 5.4.77-v7+ #1371
Platform        = Pi-3B 1.2 1GB
Architecture        = armv7l (32-bit)
System uptime        = up 1 minute
Timezone        = Europe/Zurich
Current time        = 2021-04-23 23:17:10

Host name        = moode
Ethernet address    = 192.168.1.101
Ethernet MAC        = b8:27:eb:42:0d:ce
WLAN address        = unassigned
WLAN MAC        = no adapter
WLAN country        = US

SoC identifier        = bcm2837
Core count        = 4
Kernel timer freq    = 100 Hz
SDCard freq        = 50 MHz
USB boot        = not enabled
Warranty        = OK

Root size        = 59G
Root used        = 6%
Root available        = 53G
Root expand        = expanded
Memory free        = 259 MB
Memory used        = 248 MB
SoC temperature        = 44.0°C
Throttled bitmask    = 0x0
Throttled text        = No throttling has occured

CPU governor        = ondemand
Onboard WiFi        = Off
Onboard BT        = Off
HDMI output        = On
LED state        = 1,0
Eth addr wait        = On
USB auto-mounter    = udisks-glue
Max USB current        = Off
USB (UAC2) fix        = Off
SSH term server        = Off

PHP-FPM version        = 7.3.19
NGINX version        = 1.14.2
SQLite3 version        = 3.27.2
Hostapd version        = 2.8-devel
WiringPi version    = 2.50
RPi.GPIO version    = 0.7.0

A U D I O   P A R A M E T E R S

Audio device        = Audiophonics ES9028/9038 DAC
Interface        = I2S
Mixer name        = Digital
Hardware mixer        = Yes
Supported formats    = S16_LE, S32_LE
Max ALSA volume        = 100
Max MPD volume        = 100
Volume step limit    = 10
Display dB volume    = Off
Audio source        = Local
Output device        = Local
Resume MPD        = No
Volume knob        = 0
Volume mute        = Unmuted
Saved MPD vol        = 0
Preamp volume        = 0
ALSA version        = 1.1.8-1+rpt1
SoX version        = 0.1.2-3

Bluetooth controller    = Off
Pairing agent        = Off
Airplay receiver    = Off
Spotify receiver    = Off
Squeezelite        = Off
RoonBridge        = Not installed
UPnP client        = Off
DLNA server        = Off
GPIO button handler    = Off
UPnP browser        = Off

Auto-shuffle        = Off
Ashuffle mode        = Track
Ashuffle filter        = None
Autoplay        = Off
Rotary encoder        = Off
Encoder params        = 100 2 3 23 24
USB volume knob        = Off
Polarity inversion    = Off
Crossfeed        = Off
Crossfade        = Off
Parametric EQ        = Off
Graphic EQ        = Off
CamillaDSP        = off
MPD httpd        = Off
Ignore CUE files    = Yes

P R E F E R E N C E S

Appearance
----------------------
Theme            = Default
Accent color        = Carrot
Alpha blend        = 1.0
Adaptive background    = Yes
Background image    = No
Cover backdrop        = No
Cover blur        = 20px
Cover scale        = 1.25
Renderer backdrop    = Yes
Font size        = Normal

Playback
----------------------
Show Queue thumbs    = Yes
Show extra metadata    = album,genre,track,disc,date,composer,conductor,performer,encoded
Search site        = DuckDuckGo
Playback history log    = No

Library
----------------------
One touch action    = Play
Albumview sort order    = by Artist
Tagview sort order    = by Artist
Recently added        = 1 Month
Show sample rate    = Badge
Cover search pri    = Embedded cover
Pixel ratio        = 1
Thumbnail resolution    = Auto
Thumbnail columns    = 6/2 (Default)

Library (Advanced)
----------------------
Tag view artist        = Artist
Album key        = Album@Artist (Default)
Include comment tag    = No
Library filter        = full_lib
Library filter str    =
Ignore articles        = a,an,the
Show tagview genres    = Yes
Show tagview covers    = Yes
Ellipsis limited text    = No
UTF8 character filter    = No

CoverView
----------------------
Automatic display    = Never
Backdrop style        = Gradient (Linear)

R A D I O   M A N A G E R   S E T T I N G S

Sort tag        = Name
Group method        = No grouping
Show moOde stations    = No action
Show other stations    = No action

M P D   S E T T I N G S

Version            = 0.22.6_p0x3
Volume mixer        = disabled
ALSA device        = hw:0
SoX resampling        = disabled
Selective resampling    = disabled
SoX quality        = high
SoX multithreading    = off
DSD over PCM (DoP)    = no
Replaygain        = off
Replaygain preamp    = 0
Volume normalization    = No
Audio buffer        = 4 (MB)
Output buffer size    = 128 (MB)
Max playlist items    = 16384
Input cache        = Disabled

B L U E T O O T H   S E T T I N G S

Bluetooth ver        = 5.50
Bluealsa ver        = v3.0.0
Speaker sharing        = No
Resume MPD        = No
PCM buffer time        = 500000 (μs)

A I R P L A Y   S E T T I N G S

Version            = 3.3.6
Friendly name        = Moode Airplay
ALSA device        = hw:0
Interpolation        = soxr
Output bit depth    = S16
Output sample rate    = 44100
Session interruption    = no
Session timeout        = 120 (ms)
Latency offset        = 0.0 (secs)
Audio buffer        = 0.2 (secs)
Resume MPD        = No

S P O T I F Y   S E T T I N G S

Friendly name        = Moode Spotify
ALSA device        = plughw:0
Bit rate        = 160
Initial volume        = 0
Volume curve        = log
Volume normalization    = No
Normalization pregain    = 3
Autoplay        = No
Resume MPD        = No

S Q U E E Z E L I T E   S E T T I N G S

Version            = 1.9.7-1270 "DSD/SRC enabled"
Friendly name        = Moode
ALSA device        = hw:0
ALSA params        = 80:4::1
Output buffers        = 40000:100000
Task priority        = 45
Codec list        = flac,pcm,mp3,ogg,aac,alac,dsd
Other options        = -W -D 500 -R E -S /var/local
Resume MPD        = No

L O C A L   D I S P L A Y   S E T T I N G S

Local UI display    = On
Mouse cursor        = Off
Screen blank        = 60 Secs
Wake display on play    = Off
Brightness        = 255
Pixel aspect ratio    = Square
Rotate screen        = 0 Deg

M O O D E   S T A R T U P   L O G

20210423 225617 worker: -- Start
20210423 225618 worker: Successfully daemonized
20210423 225620 worker: Integrity check (passed)
20210423 225620 worker: File check (OK)
20210423 225621 worker: Session vacuumed
20210423 225621 worker: Session loaded
20210423 225621 worker: Debug logging (OFF)
20210423 225621 worker: -- Device
20210423 225621 worker: ALSA cards: (0:DAC | 1:empty | 2:empty | 3:empty
20210423 225621 worker: MPD config: (0:Audiophonics ES9028/9038 DAC | mixer:(Digital) | card:0)
20210423 225621 worker: ALSA mixer actual (Digital)
20210423 225621 worker: ALSA Digital volume set to (0%)
20210423 225621 worker: -- System
20210423 225622 worker: Host     (moode)
20210423 225623 worker: moOde    (7.1.0 2021-03-15)
20210423 225623 worker: RaspiOS  (10.6)
20210423 225623 worker: Kernel   (5.4.77-v7+ #1371)
20210423 225623 worker: Platform (Pi-3B 1.2 1GB)
20210423 225623 worker: ARM arch (armv7l, 32-bit kernel)
20210423 225623 worker: MPD ver  (0.22.6_p0x3)
20210423 225623 worker: CPU gov  (ondemand)
20210423 225623 worker: USB boot not enabled yet
20210423 225623 worker: File system expanded
20210423 225623 worker: HDMI port off
20210423 225623 worker: -- Network
20210423 225623 worker: eth0 exists
20210423 225623 worker: IP addr (192.168.1.101)
20210423 225623 worker: Netmask (255.255.255.0)
20210423 225623 worker: Gateway (192.168.1.1)
20210423 225623 worker: Pri DNS (192.168.1.1)
20210423 225623 worker: Domain  (home)
20210423 225623 worker: wlan0 does not exist
20210423 225623 worker: -- Audio
20210423 225623 worker: MPD conf updated
20210423 225623 worker: ALSA card number (0)
20210423 225623 worker: MPD audio output (Audiophonics ES9028/9038 DAC)
20210423 225624 worker: Audio formats (S16_LE, S32_LE)
20210423 225624 worker: ALSA mixer name (Digital)
20210423 225624 worker: MPD volume control (none)
20210423 225624 worker: Hdwr volume controller exists
20210423 225624 worker: Max ALSA volume (100%)
20210423 225624 worker: Reset renderer active flags
20210423 225624 worker: CamillaDSP (off)
20210423 225624 worker: -- MPD
20210423 225624 worker: MPD started
20210423 225624 worker: MPD accepting connections
20210423 225624 worker: MPD output 1 ALSA Default (on)
20210423 225624 worker: MPD output 2 ALSA Crossfeed (off)
20210423 225624 worker: MPD output 3 ALSA Parametric EQ (off)
20210423 225624 worker: MPD output 4 ALSA Graphic EQ (off)
20210423 225624 worker: MPD output 5 ALSA Polarity Inv (off)
20210423 225624 worker: MPD output 6 ALSA CamillaDSP (off)
20210423 225624 worker: MPD output 7 ALSA Bluetooth (off)
20210423 225624 worker: MPD output 8 HTTP Server (off)
20210423 225624 worker: MPD crossfade (off)
20210423 225624 worker: MPD ignore CUE files (yes)
20210423 225624 worker: -- Feature availability
20210423 225624 worker: Source select (available)
20210423 225624 worker: Source select (source: MPD)
20210423 225624 worker: Source select (output: Audiophonics ES9028/9038 DAC)
20210423 225624 worker: Bluetooth (available)
20210423 225624 worker: Airplay renderer (available)
20210423 225624 worker: Spotify renderer (available)
20210423 225624 worker: Squeezelite (available)
20210423 225624 worker: RoonBridge renderer (not installed)
20210423 225624 worker: UPnP renderer (available)
20210423 225624 worker: DLNA server (available)
20210423 225624 worker: UPnP browser (available)
20210423 225624 worker: GPIO button handler (available)
20210423 225624 worker: Stream recorder (n/a)
20210423 225624 worker: -- Music sources
20210423 225624 worker: USB sources (none attached)
20210423 225624 worker: NAS and UPnP sources (mountall initiated)
20210423 225624 worker: -- Miscellaneous
20210423 225624 worker: USB volume knob (Off)
20210423 225625 worker: LCD updater engine started
20210423 225625 worker: USB auto-mounter (udisks-glue)
20210423 225625 worker: LED0 (On)
20210423 225625 worker: LED1 (Off)
20210423 225625 worker: Saved MPD vol level (0)
20210423 225625 worker: Preamp volume level (0)
20210423 225625 worker: MPD volume level (0) restored
20210423 225625 worker: ALSA Digital volume (100%)
20210423 225625 worker: Auto-play (Off)
20210423 225625 worker: LocalUI started
20210423 225625 worker: Maintenance interval (3 hrs)
20210423 225625 worker: Screen saver activation (Never)
20210423 225625 worker: Session permissions (OK)
20210423 225625 worker: Watchdog started
20210423 225625 worker: Ready

Quote:Are you driving that Audiophonics EVO-Sabre as a USB device or an I2S device?

I2S (GPIO)


Attached Files
.zip   syslog-rph-r.zip (Size: 18.29 KB / Downloads: 3)
#8
Are you using stock moOde image or an OEM modified image created by the device manufacturer?
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
#9
(04-23-2021, 09:43 PM)Tim Curtis Wrote: Are you using stock moOde image or an OEM modified image created by the device manufacturer?

it was your official one Big Grin
#10
Try to isolate the problem. Boot the device with a fresh, stock moOde image without any 3rd party software or tweaks. Leave the configuration at stock defaults (audio set to HDMI, etc).

Test to see if the problem occurs. If it does it would suggest some sort of incompatibility between moOde software and the device. Contact the manufacturer to see if they can repro.

If problem does not occur then add one configuration at a time and retest. This may possibly isolate the problem to a particular configuration or component.

- Configure I2S audio device
- Retest
- Configure Pi 7" touch screen
- Retest
- Configure 3rd party software
- Retest
.
.
.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub


Forum Jump: