Posts: 63
Threads: 15
Joined: Feb 2022
Reputation:
0
Hello,
In the last couple of weeks I experienced music playback breaking up along side the UI (on the touchscreen) becoming unresponsive.
The RPi and Touchsreen along with a SSD and DAC are all running from a single power supply (3.5A). I've just susbstitued this with a RPi5 power supply (5A) in a effort to fix this (all good so far).
If that doesn't fix things, I was wondering if the 2GB memory is not enough for a Touchscreen setup? I also have a substiture 4GB RPi4.
Things have been working fine for at least a year in this setup, so I suppose some hardware may be packing in? I'm only playing files from the connected SSD.
I have a separate moOde based setup in another room, so I can start to susbtitute things should the new power supply not fix things.
Thanks,
Nick
Posts: 6,029
Threads: 177
Joined: Apr 2018
Reputation:
235
(12-06-2023, 04:51 PM)TamedShrew Wrote: Hello,
In the last couple of weeks I experienced music playback breaking up along side the UI (on the touchscreen) becoming unresponsive.
The RPi and Touchsreen along with a SSD and DAC are all running from a single power supply (3.5A). I've just susbstitued this with a RPi5 power supply (5A) in a effort to fix this (all good so far).
If that doesn't fix things, I was wondering if the 2GB memory is not enough for a Touchscreen setup? I also have a substiture 4GB RPi4.
Things have been working fine for at least a year in this setup, so I suppose some hardware may be packing in? I'm only playing files from the connected SSD.
I have a separate moOde based setup in another room, so I can start to susbtitute things should the new power supply not fix things.
Thanks,
Nick
I have an official 7-in touchscreen on an RPi3B+ / 1 GB at the moment with an external USB-DAC.
Running moOde 8.3.6 without the local display turned on, the moodeutl -m command shows about 20% memory consumption.
Turning on the display results in memory consumption roughly doubling, to 37%.
The numbers will vary but there's plenty of headroom.
We'd need more diagnostic data to get a handle on what's happening with your installation. Various logs are available.
Regards,
Kent
Posts: 1,282
Threads: 24
Joined: Jun 2022
Reputation:
42
Also, maybe you have started listening to some other file-format, more memory-hungiry, such as DSD...? Or higher-bitdepth / samplerate lossless format?
These may require bigger buffer-sizes.
I have also a Pi4 4GB with the official 7'' display; not a problem of stuttering UI or sound; only thing, I have my library organized by whole-CD FLACs + CUE, usually in the 400MB in size (but some also 800), therefore I have set the input buffer to 1GB (in case MPD wants / needs to load the whole file in memory when it starts playing a track from it.
Awaiting for more info, in order to (better) help.
Cheers, Al.
Posts: 63
Threads: 15
Joined: Feb 2022
Reputation:
0
@ TheOldPresbyope @ Nutul
Thanks for the information. Sounds like I should be ok with 2GB then. I'm playing mostly FLAC files with a few albums being HD. I also have the input buffer set to 1GB.
I'll try and get some logging information (not tried that yet), when and if it happens again. It has locked up the UI so hopefully I can still get something.
Thanks again,
Nick
Posts: 6,029
Threads: 177
Joined: Apr 2018
Reputation:
235
(12-07-2023, 08:55 AM)TamedShrew Wrote: @TheOldPresbyope @Nutul
Thanks for the information. Sounds like I should be ok with 2GB then. I'm playing mostly FLAC files with a few albums being HD. I also have the input buffer set to 1GB.
I'll try and get some logging information (not tried that yet), when and if it happens again. It has locked up the UI so hopefully I can still get something.
Thanks again,
Nick
You must be referring to the MPD input cache. I don’t even need it enabled on my network (my NAS is on an SSD). Are you suffering buffer underruns during playback? 1GB seems huge. Try dialing it down.
And when we say “logs” we mean start simple with the output from moodeutl -l (probably should reboot first), which gives us an organized view of your configuration.
Regards,
Kent
Posts: 63
Threads: 15
Joined: Feb 2022
Reputation:
0
12-08-2023, 10:11 AM
(This post was last modified: 12-08-2023, 11:28 AM by Tim Curtis.
Edit Reason: Placed log in a code box for readability
)
@ TheOldPresbyope @ Nutul
Thankyou. As suggested I've dropped the input cache.
Here's the (moodeutl -l) log output:
Code: 20231208 095650 worker: --
20231208 095650 worker: -- Start moOde 8 series
20231208 095650 worker: --
20231208 095650 worker: Successfully daemonized
20231208 095650 worker: Waiting for Linux startup...
20231208 095703 worker: Linux startup complete
20231208 095703 worker: Boot config backed up
20231208 095705 worker: File check (OK)
20231208 095706 worker: Session vacuumed
20231208 095706 worker: Session loaded
20231208 095706 worker: Debug logging (OFF)
20231208 095706 worker: Reduced system logging (OFF)
20231208 095706 worker: --
20231208 095706 worker: -- Audio debug
20231208 095706 worker: --
20231208 095706 worker: ALSA cards: (0:Headphones | 1:v10 | 2:empty | 3:empty
20231208 095706 worker: MPD config: (1:AudioQuest DragonFly Red v1.0 | mixer:(PCM) | card:1)
20231208 095706 worker: ALSA mixer actual (PCM)
20231208 095706 worker: ALSA PCM volume set to (0%)
20231208 095706 worker: --
20231208 095706 worker: -- System
20231208 095706 worker: --
20231208 095708 command/index.php: Connection to MPD failed
20231208 095708 worker: Host (kitchen)
20231208 095708 worker: Hardware (Pi-4B 1.5 2GB)
20231208 095708 worker: moOde (8.3.6 2023-09-05)
20231208 095708 worker: RaspiOS (11.6)
20231208 095708 worker: Kernel (6.1.21-v8+ #1642)
20231208 095708 worker: Procarch (aarch64, 64-bit)
20231208 095708 worker: MPD ver (0.23.12)
20231208 095708 worker: CPU gov (ondemand)
20231208 095708 worker: Userid (pi)
20231208 095708 worker: Homedir (/home/pi)
20231208 095708 worker: Timezone (Greenwich)
20231208 095708 worker: Keyboard (gb)
20231208 095708 worker: USB boot (enabled)
20231208 095708 worker: File sys (expanded)
20231208 095708 worker: HDMI port (Off)
20231208 095708 worker: Sys LED0 (Off)
20231208 095708 worker: Sys LED1 (Off)
20231208 095708 worker: --
20231208 095708 worker: -- Network
20231208 095708 worker: --
20231208 095708 worker: eth0 adapter exists
20231208 095708 worker: eth0 address check (Off)
20231208 095709 worker: eth0 address not assigned
20231208 095709 worker: wlan0 adapter exists
20231208 095709 worker: wlan0 country (GB)
20231208 095709 worker: wlan0 configured SSID (funzone)
20231208 095709 worker: wlan0 SSID alternates (None)
20231208 095709 worker: wlan0 router mode (Off)
20231208 095709 worker: wlan0 address check (up to 90 secs)
20231208 095709 worker: wlan0 connected to SSID (funzone)
20231208 095709 worker: wlan0 power save (Disabled)
20231208 095709 worker: IP addr (192.168.68.106)
20231208 095709 worker: Netmask (255.255.252.0)
20231208 095709 worker: Gateway (192.168.68.1)
20231208 095709 worker: Pri DNS (192.168.1.254)
20231208 095709 worker: Domain ()
20231208 095709 worker: --
20231208 095709 worker: -- Software update
20231208 095709 worker: --
20231208 095709 worker: Automatic check (Off)
20231208 095709 worker: --
20231208 095709 worker: -- File sharing
20231208 095709 worker: --
20231208 095709 worker: SMB file sharing (Off)
20231208 095709 worker: NFS file sharing (Off)
20231208 095709 worker: --
20231208 095709 worker: -- Audio config
20231208 095709 worker: --
20231208 095709 worker: MPD conf update skipped (USB device)
20231208 095709 worker: ALSA card number (1)
20231208 095709 worker: MPD audio output (AudioQuest DragonFly Red v1.0)
20231208 095709 worker: Audio formats (S24_3LE)
20231208 095709 worker: ALSA mixer name (PCM)
20231208 095709 worker: MPD mixer type (fixed 0dB)
20231208 095709 worker: Hdwr volume controller exists
20231208 095709 worker: Max ALSA volume (100%)
20231208 095709 worker: ALSA output mode (Direct)
20231208 095709 worker: ALSA loopback (Off)
20231208 095709 worker: Renderer active flags (reset)
20231208 095709 worker: CamillaDSP configuration (off)
20231208 095709 worker: --
20231208 095709 worker: -- MPD startup
20231208 095709 worker: --
20231208 095710 worker: MPD started
20231208 095710 worker: MPD accepting connections
20231208 095710 worker: MPD output 1 ALSA Default (On)
20231208 095710 worker: MPD output 2 ALSA Bluetooth (Off)
20231208 095710 worker: MPD output 3 HTTP Server (Off)
20231208 095710 worker: MPD crossfade (off)
20231208 095710 worker: MPD ignore CUE files (yes)
20231208 095710 worker: MPD camilladsp volume sync (Off)
20231208 095710 worker: MPD camilladsp volume range (60 dB)
20231208 095710 worker: --
20231208 095710 worker: -- Music sources
20231208 095710 worker: --
20231208 095710 worker: USB sources
20231208 095710 worker: Music SSD
20231208 095710 worker: NAS sources
20231208 095710 worker: None configured
20231208 095710 worker: --
20231208 095710 worker: -- Feature availability
20231208 095710 worker: --
20231208 095710 worker: Input select (available)
20231208 095710 worker: Input (MPD)
20231208 095710 worker: Output (AudioQuest DragonFly Red v1.0)
20231208 095710 worker: Bluetooth (available)
20231208 095710 worker: AirPlay renderer (available)
20231208 095710 worker: Spotify renderer (available)
20231208 095710 worker: Squeezelite (available)
20231208 095710 worker: RoonBridge renderer (not installed)
20231208 095710 worker: Multiroom sender (available)
20231208 095710 worker: Multiroom receiver (available)
20231208 095710 worker: UPnP renderer (available)
20231208 095710 worker: DLNA server (available)
20231208 095710 worker: GPIO button handler (available)
20231208 095710 worker: Stream recorder (n/a)
20231208 095710 worker: HTTPS-Only mode (n/a)
20231208 095710 worker: --
20231208 095710 worker: -- Other
20231208 095710 worker: --
20231208 095710 worker: USB volume knob (Off)
20231208 095710 worker: Shellinabox SSH started
20231208 095710 worker: USB auto-mounter (udisks-glue)
20231208 095710 worker: Saved MPD vol level (0)
20231208 095710 worker: Preamp volume level (0)
20231208 095711 worker: MPD volume level (0) restored
20231208 095711 worker: ALSA PCM volume (100%)
20231208 095711 worker: Auto-play (Off)
20231208 095711 worker: LocalUI (On)
20231208 095711 worker: Automatic CoverView (Off)
20231208 095711 worker: On-screen keyboard (Off)
20231208 095711 worker: Library scope (all)
20231208 095711 worker: Library active search (None)
20231208 095711 worker: View reset to (Playback)
20231208 095711 worker: Maintenance interval (360 minutes)
20231208 095711 worker: Screen saver activation (Never)
20231208 095711 worker: Session permissions (OK)
20231208 095711 worker: --
20231208 095711 worker: -- Startup complete
20231208 095711 worker: --
20231208 095711 worker: Mount monitor (off)
20231208 095711 worker: Watchdog monitor (started)
20231208 095711 worker: Responsiveness (Default)
20231208 095711 worker: Ready
20231208 100035 worker: Job netcfg
20231208 100056 worker: Job netcfg
20231208 100114 worker: Job netcfg
20231208 100127 worker: Job netcfg
20231208 100200 worker: Job netcfg
Posts: 13,445
Threads: 305
Joined: Mar 2018
Reputation:
545
Kind of an unusual DNS address. Is it your Router's DNS proxy?
20231208 095709 worker: Pri DNS (192.168.1.254)
Posts: 63
Threads: 15
Joined: Feb 2022
Reputation:
0
[quote pid='50076' dateline='1702034962']
Kind of an unusual DNS address. Is it your Router's DNS proxy?
20231208 095709 worker: Pri DNS (192.168.1.254)
[/quote]
We're using Mesh WiFi - I don't know much about this kind of thing. I'm only playing music from the directly connected SSD, so I assumed that networking isn't a problem for playback?
I have 3 moode setups in the house the other 2 have ethernet connections. For this one that isn't possible - it's the reason it has a touchscreen as the ip address keeps changing (which is not something I'd be able to explain to my wife in this lifetime!).
Posts: 1,282
Threads: 24
Joined: Jun 2022
Reputation:
42
I still haven't understood whether the issue is solved or not...
Posts: 13,445
Threads: 305
Joined: Mar 2018
Reputation:
545
(12-06-2023, 04:51 PM)TamedShrew Wrote: Hello,
In the last couple of weeks I experienced music playback breaking up along side the UI (on the touchscreen) becoming unresponsive.
The RPi and Touchsreen along with a SSD and DAC are all running from a single power supply (3.5A). I've just susbstitued this with a RPi5 power supply (5A) in a effort to fix this (all good so far).
If that doesn't fix things, I was wondering if the 2GB memory is not enough for a Touchscreen setup? I also have a substiture 4GB RPi4.
Things have been working fine for at least a year in this setup, so I suppose some hardware may be packing in? I'm only playing files from the connected SSD.
I have a separate moOde based setup in another room, so I can start to susbtitute things should the new power supply not fix things.
Thanks,
Nick
Does the issue also occur with radio station playback?
|