Thank you for your donation!


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


9.0.8 UI slow when running Camilla
#1
Good morning,
I setup 9.0.8 on a Pi-4B 1.1 4GB at a friend's house and after configuring/running Camilladsp moode's UI became a bit slower and changing Volume through Camilla is very very sluggish (although e.g.'DSP load' never exeeds 8%).
I wonder why because with my own PI-3B (older moode + Camilla versions) that doesnt happen at all.

Could smb please have a look at my settings and if they can be improved? If yes, what log(s) or settings are relevant?

Thank you in advance.
Reply
#2
The startup log will give us all your settings information so that's the place to start.

I have a Pi3a running Camilla volume control and have no issues with the UI or volume response, so there's hope Smile
----------------
Robert
Reply
#3
cool, thx. I like hope

Code:
20240913 224245 worker: --
20240913 224245 worker: -- Start moOde 9 series
20240913 224245 worker: --
20240913 224245 worker: Successfully daemonized
20240913 224245 worker: Wait for Linux startup
20240913 224245 worker: Linux startup complete
20240913 224245 worker: Boot config is ok
20240913 224246 worker: Session loaded
20240913 224250 worker: Package locks applied
20240913 224251 worker: File check complete
20240913 224251 worker: Debug logging off
20240913 224251 worker: --
20240913 224251 worker: -- System
20240913 224251 worker: --
20240913 224254 worker: Host name:     moode
20240913 224254 worker: RPi model:     Pi-4B 1.1 4GB
20240913 224254 worker: moOde release: 9.0.8 2024-08-21
20240913 224254 worker: RaspiOS:       12.6 Bookworm 64-bit
20240913 224254 worker: Linux Kernel:  6.6.31 64-bit
20240913 224254 worker: MPD version:   0.23.14
20240913 224254 worker: User id:       pi
20240913 224254 worker: Home folder:   /home/pi
20240913 224254 worker: Time zone:     Europe/Berlin
20240913 224254 worker: Kbd layout:    de
20240913 224254 worker: HDMI ports(s): on
20240913 224254 worker: HDMI-CEC:      off
20240913 224254 worker: Sys LED0:      off
20240913 224254 worker: Sys LED1:      off
20240913 224254 worker: Reduce power:  n/a
20240913 224254 worker: CPU governor:  ondemand
20240913 224254 worker: Integ audio:   vc4-kms-v3d
20240913 224254 worker: --
20240913 224254 worker: -- Network
20240913 224254 worker: --
20240913 224254 worker: Eth0
20240913 224254 worker: Ethernet: adapter exists
20240913 224254 worker: Ethernet: timeout off
20240913 224254 worker: Ethernet: address not assigned
20240913 224254 worker: Wlan0
20240913 224254 worker: Wireless: adapter exists
20240913 224254 worker: Wireless: country DE
20240913 224254 worker: Wireless: SSID    WRKSTT5G
20240913 224254 worker: Wireless: other   None
20240913 224254 worker: Wireless: timeout up to 10 secs
20240913 224254 worker: Wireless: connect to WRKSTT5G
20240913 224254 worker: Wireless: method  static
20240913 224254 worker: Wireless: address 192.168.2.53
20240913 224254 worker: Wireless: netmask 255.255.255.0
20240913 224254 worker: Wireless: gateway 192.168.2.1
20240913 224254 worker: Wireless: pri DNS fe80::bad5:26ff:fe5b:cf30%wlan0
20240913 224254 worker: Wireless: domain  none found
20240913 224254 worker: --
20240913 224254 worker: -- File sharing
20240913 224254 worker: --
20240913 224256 worker: SMB file sharing:  on
20240913 224256 worker: NFS file sharing:  off
20240913 224256 worker: DLNA file sharing: off
20240913 224256 worker: --
20240913 224256 worker: -- Special configs
20240913 224256 worker: --
20240913 224256 worker: Plexamp:          not installed
20240913 224256 worker: RoonBridge:       not installed
20240913 224256 worker: Allo Piano 2.1:   not detected
20240913 224256 worker: Allo Boss 2:      not detected, OLED script ok
20240913 224256 worker: IQaudIO AMP*:     not detected
20240913 224256 worker: --
20240913 224256 worker: -- ALSA debug
20240913 224256 worker: --
20240913 224256 worker: Cards:  0:vc4hdmi0        1:vc4hdmi1        2:BossDAC         3:empty          
20240913 224256 worker:         4:empty           5:empty           6:empty           7:empty          
20240913 224256 worker: Mixers: 0:none            1:none            2:(Digital)       3:none            
20240913 224256 worker:         4:none            5:none            6:none            7:none            
20240913 224256 worker: --
20240913 224256 worker: -- Audio configuration
20240913 224256 worker: --
20240913 224256 worker: Audio device:  2:Allo Boss DAC
20240914 135229 worker: ALSA card:     has not been reassigned
20240914 135229 worker: MPD config:    update not needed
20240914 135230 worker: ALSA output:   I2S
20240914 135230 worker: ALSA mode:     Default (plughw)
20240914 135230 worker: ALSA mixer     Digital
20240914 135230 worker: ALSA volume:   100% (0.00dB)
20240914 135230 worker: ALSA maxvol:   100%
20240914 135230 worker: ALSA loopback: off
20240914 135230 worker: MPD mixer      CamillaDSP
20240914 135230 worker: Audio formats: S16_LE, S24_LE, S32_LE
20240914 135231 worker: CamillaDSP:    WRKST1
20240914 135231 worker: CDSP volume:   -4dB
20240914 135231 worker: CDSP volrange: 60dB
20240914 135231 worker: --
20240914 135231 worker: -- MPD startup
20240914 135231 worker: --
20240914 135252 worker: MPD service:        started
20240914 135252 worker: MPD port 6600:      accepting connections
20240914 135252 worker: MPD ALSA Default:   on
20240914 135252 worker: MPD ALSA Bluetooth: off
20240914 135252 worker: MPD HTTP Server:    off
20240914 135252 worker: MPD volume:         95
20240914 135252 worker: Saved MPD vol:      -1
20240914 135252 worker: Saved SRC vol:      0
20240914 135252 worker: MPD crossfade:      off
20240914 135252 worker: MPD ignore CUE:     no
20240914 135252 worker: MPD CDSP volsync:   on
20240914 135253 worker: --
20240914 135304 worker: -- Music sources
20240914 135304 worker: --
20240914 135305 worker: USB drive:      MusikUSB (ntfs)
20240914 135305 worker: NVMe drives:    none
20240914 135305 worker: NAS sources:    none
20240914 135305 worker: --
20240914 135305 worker: -- Feature availability
20240914 135305 worker: --
20240914 135305 worker: Input select:    available, Source: MPD, Output: Allo Boss DAC
20240914 135307 worker: Bluetooth:       started, PIN: None, ALSA/CDSP maxvol: 100%/0dB, ALSA outmode: Standard
20240914 135307 worker: AirPlay:         available
20240914 135307 worker: Spotify Connect: started
20240914 135307 worker: Squeezelite:     available
20240914 135307 worker: UPnP client:     started
20240914 135307 worker: Plexamp:         not installed, ALSA maxvol: 100%
20240914 135307 worker: RoonBridge:      not installed
20240914 135307 worker: Multiroom:       available
20240914 135307 worker: GPIO buttons:    available
20240914 135307 worker: HTTPS mode:      available
20240914 135307 worker: Stream recorder: n/a
20240914 135307 worker: --
20240914 135307 worker: -- Peripherals
20240914 135307 worker: --
20240914 135311 worker: Local display:   off
20240914 135311 worker: HDMI 4K 60Hz:    off
20240914 135311 worker: On-screen kbd:   off
20240914 135311 worker: Rotary encoder:  off
20240914 135311 worker: USB volume knob: off
20240914 135311 worker: LCD updater:     off
20240914 135311 worker: --
20240914 135311 worker: -- Miscellaneous
20240914 135311 worker: --
20240914 135311 worker: Software update:   Automatic check off
20240914 135311 worker: Auto-CoverView:    off
20240914 135311 worker: CoverView timeout: Never
20240914 135311 worker: Auto-shuffle:      off
20240914 135311 worker: Auto-play:         off
20240914 135311 worker: Web SSH server:    on
20240914 135311 worker: Maintenance task:  360 mins
20240914 135311 worker: Current view:      reset to Playback
20240914 135311 worker: Active flags:      all false
20240914 135311 worker: Reset flags:       skipped
20240914 135311 worker: Session check:     ok
20240914 135311 worker: --
20240914 135311 worker: -- Startup complete
20240914 135311 worker: --
20240914 135311 worker: Mount monitor:    started
20240914 135311 worker: Radio monitor:    off
20240914 135314 worker: Watchdog monitor: started
20240914 135314 worker: Responsiveness:   Default
20240914 135314 worker: Ready
20240914 140307 clear_playqueue
20240914 141138 worker: Job alsa_output_mode
20240914 141435 worker: Job mpdcfg
20240914 141458 worker: Job mpdcfg
20240914 143251 worker: Job update_library
20240914 143251 mpdindex: Start
20240914 143251 mpdindex: Cmd (update "USB/MusikUSB/1_Elektronisch")
20240914 143252 thumb-gen: Start
20240914 143252 thumb-gen: Scan opt: Default
20240914 143252 thumb-gen: Priority: Embedded cover
20240914 143252 thumb-gen: Res,Qual: 600px,60
20240914 143252 thumb-gen: Px ratio: 0
20240914 143252 thumb-gen: Th width: 600
20240914 143252 thumb-gen: Thm qual: 60
20240914 143252 thumb-gen: Scanning: NAS, NVME, SDCARD, MusikUSB
20240914 143313 thumb-gen: Done: 553 folders scanned, 6 thumbs created, 547 already in cache.
20240914 143314 mpdindex: Done: indexed 824 artists, 572 albums, 5954 songs
20240914 143314 worker: Job update_library done
20240914 194605 clear_playqueue
20240915 104718 clear_playqueue
Reply
#4
I have a couple Camilla configs, one on a 3B+ and another on a 5 and no issues with WebUI perf.

There are a couple odd things in the log.

1. The time stamps change part way into moode startup. Thats doesn't seem normal, at least none of my startup logs show this .

Code:
20240913 224256 worker: --
20240913 224256 worker: -- Audio configuration
20240913 224256 worker: --
20240913 224256 worker: Audio device:  2:Allo Boss DAC
20240914 135229 worker: ALSA card:     has not been reassigned
20240914 135229 worker: MPD config:    update not needed

2. A static network config with an IPv6 DNS address

Code:
20240913 224254 worker: Wireless: method  static
20240913 224254 worker: Wireless: address 192.168.2.53
20240913 224254 worker: Wireless: netmask 255.255.255.0
20240913 224254 worker: Wireless: gateway 192.168.2.1
20240913 224254 worker: Wireless: pri DNS fe80::bad5:26ff:fe5b:cf30%wlan0
20240913 224254 worker: Wireless: domain  none found

Typically the DNS address should be the same as the Gateway (Router LAN address) address because most Routers act as a proxy DNS for LAN hosts.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#5
thank you. 
Time stamps are in order since a reboot and DNS Servers have been configured to be the same as the gateway from the start. I have a vague Idea where that ipv6 adress came from. that should be fixed after rebooting the router as well.
Any other ideas?
where in camilla's Filter chain does it's Volume control Take place?
   
Reply
#6
Thats would be a good question for the main Camilla Thread in the diyAudio Forum.

Post your camilla config and I'll test it on my end to see if it causes any performance issues.
Its located in /usr/share/camilladsp/configs/NAME_OF_CONFIG.yml
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#7
Good morning,

really? That's amazing-
Thank you Tim.

Code:
description: No signal processing.
devices:
 adjust_period: null
 capture:
   channels: 2
   extra_samples: null
   filename: /dev/stdin
   format: S24LE
   read_bytes: null
   skip_bytes: null
   type: File
 capture_samplerate: null
 chunksize: 4096
 enable_rate_adjust: null
 playback:
   channels: 2
   device: hw:2,0
   format: S24LE
   type: Alsa
 queuelimit: 1
 rate_measure_interval: null
 resampler: null
 samplerate: 88200
 silence_threshold: null
 silence_timeout: null
 stop_on_rate_change: null
 target_level: null
 volume_ramp_time: 150
filters:
 L88k:
   description: null
   parameters:
     channel: 0
     filename: /usr/share/camilladsp/coeffs/Lneu.impulse-88k.wav
     type: Wav
   type: Conv
 Master gain:
   description: null
   parameters:
     gain: 0
     inverted: false
     mute: false
     scale: dB
   type: Gain
 R88k:
   description: null
   parameters:
     channel: 0
     filename: /usr/share/camilladsp/coeffs/Rneu.impulse-88k.wav
     type: Wav
   type: Conv
mixers:
 Stereo:
   channels:
     in: 2
     out: 2
   description: null
   mapping:
   - dest: 0
     mute: false
     sources:
     - channel: 0
       gain: -5.9
       inverted: false
       mute: false
       scale: dB
   - dest: 1
     mute: false
     sources:
     - channel: 1
       gain: -5.9
       inverted: false
       mute: false
       scale: dB
pipeline:
- bypassed: null
 description: null
 name: Stereo
 type: Mixer
- bypassed: null
 channel: 0
 description: null
 names:
 - L88k
 type: Filter
- bypassed: null
 channel: 1
 description: null
 names:
 - R88k
 type: Filter
processors: null
title: Flat


                                                                                                                                                                                               

.zip   irLR-yml.zip (Size: 317.34 KB / Downloads: 1)

*In the course of filddling around this config now has resampling done via SoX

thanks again.
Reply
#8
Testing this morning with camilla resampler enabled in your config and I'm not experiencing any perf issues. WebUI and volume changes are fast.

Pi-3B+
Code:
CPU: 1.4 GHz | Load: 12% / 57C | Memory: 32% used | Disk: 16% used / 24G free | PHP: 12 workers

           
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#9
well ok, thank you very much. So it remains a mystery for now.
I haven't tried that before (sry) but volume type 'software' is equally slow and both so even when playback is paused.
I'm ready to leave it as it is.
still curious though - in 'System Info' these possibly related 2 items I dont understand

Code:
Hardware mixer    = Yes

Saved MPD vol    = -1
what hardware mixer? them 2 channels on the dac ?
Where/why is that value of -1 saved and what does it do?

Anyway, as long as this is not a more common issue we should leave it.
Thanks again for your time and input.

All the best,
Lucas
Reply
#10
Saved MPD vol is only used when switching inputs on Hifiberry DAC+ ADC or Audiophonics ES9038 DAC.

Your audio device must have an on-chip hardware volume controller.
What make and model is it?
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Forum Jump: