Thank you for your donation!


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


Problem: CamillaDSP brief "garbled" output when starting playback
#1
I have a Raspberry Pi 4 Model B Rev 1.5 4GB that I recently moved forward to version 9. Everything works for the most part... but I noticed when starting playback, the output from my Topping D10 Balanced USB DAC would sound "garbled" for less than a second. (This only happened while I had an active CamillaDSP configuration.)

I dug into things a bit further and found corresponding kernel errors:

Code:
Jun 09 13:19:51 moode kernel: xhci_hcd 0000:01:00.0: ERROR Transfer event for disabled endpoint slot 3 ep 1
Jun 09 13:19:51 moode kernel: xhci_hcd 0000:01:00.0: @000000040f010570 00000000 00000000 0e000000 03028000

Even a simple configuration like the below example will cause this behavior.

Code:
description: null
devices:
 adjust_period: null
 capture:
   channels: 2
   extra_samples: null
   format: S32LE
   labels: null
   read_bytes: null
   skip_bytes: null
   type: Stdin
 capture_samplerate: 44100
 chunksize: 1024
 enable_rate_adjust: null
 multithreaded: null
 playback:
   channels: 2
   device: hw:2,0
   format: S32LE
   type: Alsa
 queuelimit: null
 rate_measure_interval: null
 resampler:
   profile: Balanced
   type: AsyncSinc
 samplerate: 44100
 silence_threshold: null
 silence_timeout: null
 stop_on_rate_change: null
 target_level: null
 volume_limit: null
 volume_ramp_time: 150
 worker_threads: null
filters:
 peqgain:
   description: null
   parameters:
     gain: -1.0
     inverted: false
     mute: false
     scale: dB
   type: Gain
mixers:
 stereo:
   channels:
     in: 2
     out: 2
   description: null
   labels: null
   mapping:
   - dest: 0
     mute: null
     sources:
     - channel: 0
       gain: 0
       inverted: false
       mute: null
       scale: null
   - dest: 1
     mute: null
     sources:
     - channel: 1
       gain: 0
       inverted: false
       mute: null
       scale: null
pipeline:
- bypassed: null
 description: null
 name: stereo
 type: Mixer
- bypassed: null
 channels:
 - 0
 description: null
 names:
 - peqgain
 type: Filter
- bypassed: null
 channels:
 - 1
 description: null
 names:
 - peqgain
 type: Filter
processors: null
title: Test

After the initial glitch passes, everything is fine. Output will sound perfect even when progressing to subsequent tracks. This is more of an annoyance that anything, but I never had this issue when running on version 8.3.9. Wondering if anyone had any thoughts on how to resolve?
Reply
#2
Which specific moode version?
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#3
(06-09-2025, 08:11 PM)Tim Curtis Wrote: Which specific moode version?

9.3.5... Should I upgrade to 9.3.6 and report back?
Reply
#4
It was version 932 where the Linux kernel was bumped from the 6.6 branch to 6.12 so I was just curious which kernel was being used. Generally USB audio just works.

Did u try both the USB 2 and USB 3 port on the 4?
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#5
(06-10-2025, 12:52 AM)Tim Curtis Wrote: It was version 932 where the Linux kernel was bumped from the 6.6 branch to 6.12 so I was just curious which kernel was being used. Generally USB audio just works.

Did u try both the USB 2 and USB 3 port on the 4?

That was one of the things I tried when troubleshooting. It's normally plugged into the USB2 port, but produces the same error in the USB3 port.
Reply
#6
Here's my startup log for reference:
Code:
20250612 121119 worker: --
20250612 121120 worker: -- Start moOde 9 series
20250612 121120 worker: --
20250612 121120 worker: Daemonize:     complete
20250612 121120 worker: Linux startup: complete
20250612 121120 worker: Boot config:   ok
20250612 121120 worker: Boot folder:   ok
20250612 121120 worker: Radio table:   ok
20250612 121121 worker: PHP session:   cleaned
20250612 121121 worker: PHP session:   loaded
20250612 121123 worker: Package locks: applied
20250612 121124 worker: File check:    complete
20250612 121124 worker: Log to RAM:    on
20250612 121124 worker: Tmp to RAM:    on
20250612 121124 worker: Debug logging: off
20250612 121124 worker: --
20250612 121124 worker: -- System
20250612 121124 worker: --
20250612 121125 worker: Host name:     moode
20250612 121125 worker: RPi model:     Pi-4B 1.5 4GB
20250612 121125 worker: moOde release: 9.3.6 2025-06-06
20250612 121125 worker: RaspiOS:       12.10 Bookworm 64-bit
20250612 121125 worker: Linux Kernel:  6.12.25 64-bit
20250612 121125 worker: MPD version:   0.24.4
20250612 121125 worker: User id:       pi
20250612 121125 worker: Home folder:   /home/pi
20250612 121125 worker: Time zone:     America/New_York
20250612 121125 worker: Kbd layout:    us
20250612 121125 worker: HDMI ports(s): on
20250612 121125 worker: HDMI-CEC:      off
20250612 121125 worker: Sys LED0:      on
20250612 121125 worker: Sys LED1:      off
20250612 121125 worker: Reduce power:  n/a
20250612 121125 worker: Fan control:   n/a
20250612 121125 worker: CPU governor:  ondemand
20250612 121125 worker: --
20250612 121125 worker: -- Network
20250612 121125 worker: --
20250612 121125 worker: Eth0
20250612 121125 worker: Ethernet: adapter exists
20250612 121125 worker: Ethernet: timeout off
20250612 121125 worker: Ethernet: address not assigned
20250612 121125 worker: Wlan0
20250612 121125 worker: Wireless: adapter exists
20250612 121125 worker: Wireless: country US
20250612 121125 worker: Wireless: SSID    REDACTED
20250612 121125 worker: Wireless: other   None
20250612 121125 worker: Wireless: timeout up to 90 secs
20250612 121125 worker: Wireless: connect to REDACTED
20250612 121126 worker: Wireless: method  dhcp
20250612 121126 worker: Wireless: address 192.168.1.101
20250612 121126 worker: Wireless: netmask 255.255.255.0
20250612 121126 worker: Wireless: gateway 192.168.1.1
20250612 121126 worker: Wireless: pri DNS 192.168.1.1
20250612 121126 worker: Wireless: domain  localdomain
20250612 121126 worker: mDNS
20250612 121126 worker: Discover: IPv4 and IPv6
20250612 121126 worker: --
20250612 121126 worker: -- File sharing
20250612 121126 worker: --
20250612 121126 worker: SMB file sharing:  off
20250612 121126 worker: SMB password:      none
20250612 121126 worker: NFS file sharing:  off
20250612 121126 worker: DLNA file sharing: off
20250612 121126 worker: --
20250612 121126 worker: -- Special configs
20250612 121126 worker: --
20250612 121126 worker: Plexamp:          not installed
20250612 121126 worker: RoonBridge:       not installed
20250612 121126 worker: Allo Boss 2:      not detected, OLED script ok
20250612 121126 worker: Allo Piano 2.1:   not detected
20250612 121126 worker: IQaudIO DigiAMP+: not detected
20250612 121126 worker: RPi DigiAMP+:     not detected
20250612 121126 worker: Bluetooth:        session vars ok
20250612 121126 worker: --
20250612 121126 worker: -- ALSA debug
20250612 121126 worker: --
20250612 121126 worker: Cards:  0:vc4hdmi0        1:vc4hdmi1        2:Balanced        3:empty          
20250612 121126 worker:         4:empty           5:empty           6:empty           7:empty          
20250612 121126 worker: Mixers: 0:none            1:none            2:(D10 Balanced)  3:none            
20250612 121126 worker:         4:none            5:none            6:none            7:none            
20250612 121126 worker: --
20250612 121126 worker: -- Audio configuration
20250612 121126 worker: --
20250612 121126 worker: Audio device:  2:D10 Balanced
20250612 121126 worker: ALSA card:     has not been reassigned
20250612 121126 worker: MPD config:    update not needed
20250612 121126 worker: ALSA output:   USB
20250612 121126 worker: ALSA mode:     Direct (hw)
20250612 121126 worker: ALSA mixer:    D10 Balanced
20250612 121126 worker: ALSA volume:   100% (0.00dB)
20250612 121126 worker: ALSA maxvol:   100%
20250612 121126 worker: ALSA loopback: off
20250612 121126 worker: MPD mixer      Fixed (0dB)
20250612 121126 worker: Integ audio:   vc4-kms-v3d
20250612 121126 worker: Audio formats: S32_LE, SPECIAL, DSD_U32_BE
20250612 121127 worker: CamillaDSP:    DT770
20250612 121127 worker: CDSP volume:   0dB
20250612 121127 worker: CDSP volrange: 60dB
20250612 121127 worker: --
20250612 121127 worker: -- MPD startup
20250612 121127 worker: --
20250612 121127 worker: MPD service:        started
20250612 121127 worker: MPD port 6600:      accepting connections
20250612 121127 worker: MPD ALSA Default:   on
20250612 121127 worker: MPD ALSA Bluetooth: off
20250612 121127 worker: MPD HTTP Server:    off
20250612 121128 worker: MPD volume:         100
20250612 121128 worker: Saved MPD vol:      -1
20250612 121128 worker: Saved SRC vol:      0
20250612 121128 worker: MPD crossfade:      off
20250612 121128 worker: MPD ignore CUE:     no
20250612 121128 worker: MPD CDSP volsync:   off
20250612 121128 worker: --
20250612 121128 worker: -- Music sources
20250612 121128 worker: --
20250612 121128 worker: USB drive:      Elements (exfat)
20250612 121128 worker: NVMe drives:    none
20250612 121128 worker: SATA drives:    none
20250612 121128 worker: NAS sources:    none
20250612 121128 worker: --
20250612 121128 worker: -- Feature availability
20250612 121128 worker: --
20250612 121128 worker: Input select:    available, Source: MPD, Output: D10 Balanced
20250612 121128 worker: Bluetooth:       available, PIN: None, ALSA/CDSP maxvol: 100%/0dB, ALSA outmode: Standard
20250612 121128 worker: AirPlay:         available
20250612 121128 worker: Spotify Connect: available
20250612 121128 worker: Deezer Connect:  n/a
20250612 121128 worker: Squeezelite:     available
20250612 121128 worker: UPnP client:     available
20250612 121128 worker: Plexamp:         not installed, ALSA maxvol: 100%
20250612 121128 worker: RoonBridge:      not installed
20250612 121128 worker: Multiroom:       available
20250612 121128 worker: GPIO buttons:    available
20250612 121128 worker: Stream recorder: n/a
20250612 121128 worker: --
20250612 121128 worker: -- Security
20250612 121128 worker: --
20250612 121128 worker: Web SSH server:    off
20250612 121128 worker: XSS detection:     off
20250612 121128 worker: HTTPS mode:        available
20250612 121128 worker: --
20250612 121128 worker: -- Peripherals
20250612 121128 worker: --
20250612 121129 worker: Local display:   off
20250612 121129 worker: Chromium ver:    126.0.6478.164-rpt1
20250612 121129 worker: Chromium cfg:    directory ok
20250612 121129 worker: Screen blank     600
20250612 121129 worker: On-screen kbd:   off
20250612 121129 worker: Disable GPU:     off
20250612 121129 worker: HDMI orient:     landscape
20250612 121129 worker: HDMI 4K 60Hz:    off
20250612 121129 worker: DSI scn type:    none
20250612 121129 worker: DSI port:        1
20250612 121129 worker: DSI brightness:  255
20250612 121129 worker: DSI rotate:      0
20250612 121129 worker: Rotary encoder:  off
20250612 121129 worker: Triggerhappy:    off
20250612 121129 worker: LCD updater:     off
20250612 121129 worker: --
20250612 121129 worker: -- Miscellaneous
20250612 121129 worker: --
20250612 121129 worker: Software update:   Automatic check off
20250612 121129 worker: Auto-CoverView:    off
20250612 121129 worker: CoverView timeout: Never
20250612 121129 worker: Auto-shuffle:      off
20250612 121129 worker: Auto-play:         off
20250612 121129 worker: Maintenance task:  360 mins
20250612 121129 worker: Current view:      reset to Playback
20250612 121129 worker: Active flags:      all false
20250612 121129 worker: Reset flags:       skipped
20250612 121129 worker: Session check:     ok
20250612 121129 worker: --
20250612 121129 worker: -- Startup complete
20250612 121129 worker: --
20250612 121129 worker: Mount monitor:    started
20250612 121129 worker: Radio monitor:    off
20250612 121129 worker: Watchdog monitor: started
20250612 121129 worker: Responsiveness:   Default
20250612 121129 worker: Ready
Reply
#7
I don't see anything suspicious in the log.

Maybe try swapping in a Pi5.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#8
(06-12-2025, 07:10 PM)Tim Curtis Wrote: Maybe try swapping in a Pi5.

Now that's the kind of troubleshooting I can get behind!
Reply
#9
Do you have another DAC to test with?

Can you describe in more detail what “garbled” means?
maintainer of librespot and pleezer, working on a qobuz connect player. sponsor me: https://github.com/sponsors/roderickvd
Reply


Forum Jump: