Thank you for your donation!


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


WEB UI on iPhone XR and Chrome very slow
#1
Hello together, 

I have upgraded the engine from RPI 3B+ to RPI 5B and the software from Moode 8.3.1 to 9.3.6 and with each step the responsiveness of the WEB UI on my iPhone XR became slower and slower. Even on my computer (same Network - Ethernet) the reaction is lagging when I push the buttons for "Pause" and "Play", for example.

Is there a cure?


Thank you and Regards     Martin
Reply
#2
Reboot and then post the entire contents of the startup log so people can better understand your configuration.

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.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#3
Hello Tim,

Thank you for your reply.

Please find the "startup log" below:


Code:
20250617 115654 worker: --
20250617 115654 worker: -- Start moOde 9 series
20250617 115654 worker: --
20250617 115654 worker: Daemonize:     complete
20250617 115700 worker: Linux startup: complete
20250617 115700 worker: Boot config:   ok
20250617 115700 worker: Boot folder:   ok
20250617 115700 worker: Radio table:   ok
20250617 115700 worker: PHP session:   cleaned
20250617 115700 worker: PHP session:   loaded
20250617 115701 worker: Package locks: applied
20250617 115702 worker: File check:    complete
20250617 115702 worker: Log to RAM:    on
20250617 115702 worker: Tmp to RAM:    on
20250617 115702 worker: Debug logging: off
20250617 115702 worker: --
20250617 115702 worker: -- System
20250617 115702 worker: --
20250617 115702 worker: Host name:     moode
20250617 115702 worker: RPi model:     Pi-5B 1.0 8GB
20250617 115702 worker: moOde release: 9.3.6 2025-06-06
20250617 115702 worker: RaspiOS:       12.11 Bookworm 64-bit
20250617 115702 worker: Linux Kernel:  6.12.25 64-bit
20250617 115702 worker: MPD version:   0.24.4
20250617 115702 worker: User id:       martin
20250617 115702 worker: Home folder:   /home/martin
20250617 115702 worker: Time zone:     Europe/Berlin
20250617 115702 worker: Kbd layout:    de
20250617 115702 worker: HDMI ports(s): on
20250617 115702 worker: HDMI-CEC:      off
20250617 115702 worker: Sys LED0:      on
20250617 115702 worker: Sys LED1:      on
20250617 115702 worker: Reduce power:  off
20250617 115702 worker: Fan control:   50C, 45C, 75
20250617 115702 worker: CPU governor:  ondemand
20250617 115702 worker: --
20250617 115702 worker: -- Network
20250617 115702 worker: --
20250617 115702 worker: Eth0
20250617 115702 worker: Ethernet: adapter exists
20250617 115702 worker: Ethernet: timeout off
20250617 115702 worker: Ethernet: method  static
20250617 115702 worker: Ethernet: address 192.168.0.105
20250617 115702 worker: Ethernet: netmask 255.255.255.0
20250617 115702 worker: Ethernet: gateway 192.168.0.1
20250617 115702 worker: Ethernet: pri DNS 2a02:908:2:b::1
20250617 115702 worker: Ethernet: domain  none found
20250617 115702 worker: Wlan0
20250617 115702 worker: Wireless: adapter does not exist
20250617 115702 worker: mDNS
20250617 115702 worker: Discover: IPv4 and IPv6
20250617 115702 worker: --
20250617 115702 worker: -- File sharing
20250617 115702 worker: --
20250617 115703 worker: SMB file sharing:  on
20250617 115703 worker: SMB password:      none
20250617 115703 worker: NFS file sharing:  off
20250617 115703 worker: DLNA file sharing: off
20250617 115703 worker: --
20250617 115703 worker: -- Special configs
20250617 115703 worker: --
20250617 115703 worker: Plexamp:          not installed
20250617 115703 worker: RoonBridge:       not installed
20250617 115703 worker: Allo Boss 2:      not detected, OLED script ok
20250617 115703 worker: Allo Piano 2.1:   not detected
20250617 115703 worker: IQaudIO DigiAMP+: not detected
20250617 115703 worker: RPi DigiAMP+:     not detected
20250617 115703 worker: Bluetooth:        session vars ok
20250617 115703 worker: --
20250617 115703 worker: -- ALSA debug
20250617 115703 worker: --
20250617 115703 worker: Cards:  0:vc4hdmi0        1:vc4hdmi1        2:sndrpihifiberry 3:empty          
20250617 115703 worker:         4:empty           5:empty           6:empty           7:empty          
20250617 115703 worker: Mixers: 0:none            1:none            2:none            3:none            
20250617 115703 worker:         4:none            5:none            6:none            7:none            
20250617 115703 worker: --
20250617 115703 worker: -- Audio configuration
20250617 115703 worker: --
20250617 115703 worker: Audio device:  0:HiFiBerry Digi+ Pro
20250617 115703 worker: ALSA card:     has been reassigned to 2 from 0
20250617 115704 worker: MPD config:    updated
20250617 115704 worker: ALSA output:   I2S
20250617 115704 worker: ALSA mode:     Direct (hw)
20250617 115704 worker: ALSA mixer:    none exists
20250617 115707 worker: ALSA volume:   controller not detected
20250617 115707 worker: ALSA maxvol:   100%
20250617 115707 worker: ALSA loopback: off
20250617 115707 worker: MPD mixer      Fixed (0dB)
20250617 115707 worker: Integ audio:   vc4-kms-v3d
20250617 115707 worker: Audio formats: S16_LE, S24_LE
20250617 115707 worker: CamillaDSP:    off
20250617 115707 worker: CDSP volume:   0dB
20250617 115707 worker: CDSP volrange: 60dB
20250617 115707 worker: --
20250617 115707 worker: -- MPD startup
20250617 115707 worker: --
20250617 115707 worker: MPD service:        started
20250617 115707 worker: MPD port 6600:      accepting connections
20250617 115707 worker: MPD ALSA Default:   on
20250617 115707 worker: MPD ALSA Bluetooth: off
20250617 115707 worker: MPD HTTP Server:    off
20250617 115707 worker: MPD volume:         0
20250617 115707 worker: Saved MPD vol:      -1
20250617 115707 worker: Saved SRC vol:      0
20250617 115707 worker: MPD crossfade:      off
20250617 115707 worker: MPD ignore CUE:     no
20250617 115707 worker: MPD CDSP volsync:   off
20250617 115707 worker: --
20250617 115707 worker: -- Music sources
20250617 115707 worker: --
20250617 115707 worker: USB drive:      EFI (vfat)
20250617 115707 worker: USB drive:      LOUNGE_Serv (exfat)
20250617 115707 worker: USB drive:      TDK_8GB (vfat)
20250617 115707 worker: NVMe drives:    none
20250617 115707 worker: SATA drives:    none
20250617 115707 worker: NAS sources:    none
20250617 115707 worker: --
20250617 115707 worker: -- Feature availability
20250617 115707 worker: --
20250617 115707 worker: Input select:    available, Source: MPD, Output: HiFiBerry Digi+ Pro
20250617 115707 worker: Bluetooth:       available, PIN: None, ALSA/CDSP maxvol: 100%/0dB, ALSA outmode: Standard
20250617 115707 worker: AirPlay:         available
20250617 115707 worker: Spotify Connect: available
20250617 115707 worker: Deezer Connect:  n/a
20250617 115707 worker: Squeezelite:     available
20250617 115707 worker: UPnP client:     available
20250617 115707 worker: Plexamp:         not installed, ALSA maxvol: 100%
20250617 115707 worker: RoonBridge:      not installed
20250617 115707 worker: Multiroom:       available
20250617 115707 worker: GPIO buttons:    available
20250617 115707 worker: Stream recorder: n/a
20250617 115707 worker: --
20250617 115707 worker: -- Security
20250617 115707 worker: --
20250617 115707 worker: Web SSH server:    off
20250617 115707 worker: XSS detection:     off
20250617 115707 worker: HTTPS mode:        available
20250617 115707 worker: --
20250617 115707 worker: -- Peripherals
20250617 115707 worker: --
20250617 115708 worker: Local display:   off
20250617 115708 worker: Chromium ver:    126.0.6478.164-rpt1
20250617 115708 worker: Chromium cfg:    directory ok
20250617 115708 worker: Screen blank     600
20250617 115708 worker: On-screen kbd:   off
20250617 115708 worker: Disable GPU:     off
20250617 115708 worker: HDMI orient:     landscape
20250617 115708 worker: HDMI 4K 60Hz:    off
20250617 115708 worker: DSI scn type:    none
20250617 115708 worker: DSI port:        1
20250617 115708 worker: DSI brightness:  255
20250617 115708 worker: DSI rotate:      0
20250617 115708 worker: Rotary encoder:  off
20250617 115708 worker: Triggerhappy:    off
20250617 115708 worker: LCD updater:     off
20250617 115708 worker: --
20250617 115708 worker: -- Miscellaneous
20250617 115708 worker: --
20250617 115708 worker: Software update:   Automatic check off
20250617 115708 worker: Auto-CoverView:    off
20250617 115708 worker: CoverView timeout: Never
20250617 115708 worker: Auto-shuffle:      off
20250617 115708 worker: Auto-play:         on, via playid 22
20250617 115708 worker: Maintenance task:  360 mins
20250617 115708 worker: Current view:      reset to Playback
20250617 115708 worker: Active flags:      all false
20250617 115708 worker: Reset flags:       skipped
20250617 115708 worker: Session check:     ok
20250617 115708 worker: --
20250617 115708 worker: -- Startup complete
20250617 115708 worker: --
20250617 115708 worker: Mount monitor:    started
20250617 115708 worker: Radio monitor:    off
20250617 115708 worker: Watchdog monitor: started
20250617 115708 worker: Responsiveness:   Default
20250617 115708 worker: Ready
Reply
#4
The log timestamps show startup took around 15 secs which suggests no moOde performance issues on that Pi.

The log entry below shows an IPv6 address for DNS where I would expect something like 192.168.0.1
Code:
20250617 115702 worker: Ethernet: pri DNS 2a02:908:2:b::1

Maybe there is some sort of network configuration issue.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#5
@Myanmar_58

Continuing on Tim's theme of there possibly being a network issue.

What is your router make and model?

Your log output shows the WiFi adapter on the Pi5 is turned off and the Pi is connected to your LAN via Ethernet. Similarly, you said your computer is connected via Ethernet. Do both cables go straight to your router or are there other components in between? 

First step in getting some quantitative numbers is to run a ping test.

Eaxample - I have a Pi400 on my desk and a Pi5 running moOde 9.3.6. Both are connected via Ethernet to a multiple-port switch which connects via powerline Ethernet adapters to my router/access point. Pinging 5 times, I see

Code:
profx@pi400:~ $ ping -c5 10.0.0.240
PING 10.0.0.240 (10.0.0.240) 56(84) bytes of data.
64 bytes from 10.0.0.240: icmp_seq=1 ttl=64 time=0.215 ms
64 bytes from 10.0.0.240: icmp_seq=2 ttl=64 time=0.169 ms
64 bytes from 10.0.0.240: icmp_seq=3 ttl=64 time=0.149 ms
64 bytes from 10.0.0.240: icmp_seq=4 ttl=64 time=0.153 ms
64 bytes from 10.0.0.240: icmp_seq=5 ttl=64 time=0.155 ms

--- 10.0.0.240 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4092ms
rtt min/avg/max/mdev = 0.149/0.168/0.215/0.024 ms

Great, average 0.168 ms response time.

At the other extreme, with both the Pi400 and the Pi5 connected via 5 GHz WiFi to the same router/access point

Code:
profx@pi400:~ $ ping -c5 10.0.0.241
PING 10.0.0.241 (10.0.0.241) 56(84) bytes of data.
64 bytes from 10.0.0.241: icmp_seq=1 ttl=64 time=8.24 ms
64 bytes from 10.0.0.241: icmp_seq=2 ttl=64 time=5.43 ms
64 bytes from 10.0.0.241: icmp_seq=3 ttl=64 time=8.90 ms
64 bytes from 10.0.0.241: icmp_seq=4 ttl=64 time=10.8 ms
64 bytes from 10.0.0.241: icmp_seq=5 ttl=64 time=6.15 ms

--- 10.0.0.241 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4006ms
rtt min/avg/max/mdev = 5.434/7.900/10.781/1.927 ms

This time I see an average 7.900 ms response time. This is nearly 50 times slower than the direct connection but still quite acceptable. I get good response from moOde's webUI either way. You can expect slightly different results every time you run this test because of other activity but they should stay reasonably stable. 

What numbers do you get?

Note that I used the IP addresses of the Pi5 WiFi and Ethernet adapters in these tests. I get essentially the same results if I use the player's mDNS address (moodey.local). You could try both hostname and IP address to see if that makes a difference.

Regards,
Kent

PS - for the record, my cable modem/router/access point is a ISP provided ARRIS TG4482A.
Reply


Forum Jump: