Moode Forum
wrong audio info - Printable Version

+- Moode Forum (https://moodeaudio.org/forum)
+-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3)
+--- Forum: Support (https://moodeaudio.org/forum/forumdisplay.php?fid=7)
+--- Thread: wrong audio info (/showthread.php?tid=6544)



wrong audio info - georgew21 - 06-01-2024

Hello,

I use moode 9.0.1 and a motu m4 usb audio card with cammiladsp.

I have set m4 as default audio device.

In audio info I get this:

[*]Source Spotify stream
[*]Source format PCM
[*]Decoded to PCM 16 bit 44.1 kHz, Stereo
[*]Output format Not playing
[*]ALSA mode IEC958 (iec958)
[*]Audio chain Spotify -> CamillaDSP -> iec958 -> Device


[*]Device Pi HDMI 1
[*]Mixer name PCM
[*]Chip Broadcom SoC
[*]Interface SOC
[*]Formats No device found at MPD configured card 2
[*]Pi model Pi-4B 1.4 4GB


The music playing correctly to my M4 but why I get as device pi hdmi and iec958?

Need I to change any setting?


RE: wrong audio info - Tim Curtis - 06-01-2024

Reboot and then post the contents of the startup log.

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.


RE: wrong audio info - georgew21 - 06-04-2024

(06-01-2024, 06:59 PM)Tim Curtis Wrote: Reboot and then post the contents of the startup log.

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.

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


Code:
20240601 225134 worker: --
20240601 225134 worker: -- Start moOde 9 series
20240601 225134 worker: --
20240601 225134 worker: Successfully daemonized
20240601 225134 worker: Wait for Linux startup
20240601 225140 worker: Linux startup complete
20240601 225140 worker: Boot config is ok
20240601 225140 worker: Session loaded
20240601 225142 worker: Package locks applied
20240601 225143 worker: File check complete
20240601 225143 worker: Debug logging off
20240601 225143 worker: --
20240601 225143 worker: -- System
20240601 225143 worker: --
20240601 225144 worker: Host name:     moode
20240601 225144 worker: RPi model:     Pi-4B 1.4 4GB
20240601 225144 worker: moOde release: 9.0.1 2024-05-29
20240601 225144 worker: RaspiOS:       12.5 Bookworm 64-bit
20240601 225144 worker: Linux Kernel:  6.6.28 64-bit
20240601 225144 worker: MPD version:   0.23.14
20240601 225144 worker: User id:       pi
20240601 225144 worker: Home folder:   /home/pi
20240601 225144 worker: Time zone:     Europe/Athens
20240601 225144 worker: Kbd layout:    us
20240601 225144 worker: HDMI ports(s): on
20240601 225144 worker: Sys LED0:      off
20240601 225144 worker: Sys LED1:      off
20240601 225144 worker: Reduce power:  n/a
20240601 225144 worker: CPU governor:  ondemand
20240601 225144 worker: Integ audio:   vc4-kms-v3d
20240601 225144 worker: --
20240601 225144 worker: -- Network
20240601 225144 worker: --
20240601 225144 worker: Eth0
20240601 225144 worker: Ethernet: adapter exists
20240601 225144 worker: Ethernet: timeout off
20240601 225144 worker: Ethernet: address not assigned
20240601 225144 worker: Wlan0
20240601 225144 worker: Wireless: adapter exists
20240601 225144 worker: Wireless: country DE
20240601 225144 worker: Wireless: SSID    my_internet
20240601 225144 worker: Wireless: other   None
20240601 225144 worker: Wireless: timeout up to 90 secs
20240601 225144 worker: Wireless: connect to my_internet
20240601 225145 worker: Wireless: method  dhcp
20240601 225145 worker: Wireless: address 192.168.1.10
20240601 225145 worker: Wireless: netmask 255.255.255.0
20240601 225145 worker: Wireless: gateway 192.168.1.1
20240601 225145 worker: Wireless: pri DNS 192.168.1.1
20240601 225145 worker: Wireless: domain  none found
20240601 225145 worker: --
20240601 225145 worker: -- File sharing
20240601 225145 worker: --
20240601 225145 worker: SMB file sharing:  off
20240601 225145 worker: NFS file sharing:  off
20240601 225145 worker: DLNA file sharing: off
20240601 225145 worker: --
20240601 225145 worker: -- Special configs
20240601 225145 worker: --
20240601 225145 worker: RoonBridge:       not installed
20240601 225145 worker: Allo Piano 2.1:   not detected
20240601 225145 worker: Allo Boss 2:      not detected, OLED script ok
20240601 225145 worker: IQaudIO AMP*:     not detected
20240601 225145 worker: --
20240601 225145 worker: -- ALSA debug
20240601 225145 worker: --
20240601 225145 worker: Cards:  0:vc4hdmi0        1:vc4hdmi1        2:M4              3:empty          
20240601 225145 worker:         4:empty           5:empty           6:empty           7:empty          
20240601 225145 worker: Mixers: 0:none            1:none            2:none            3:none            
20240601 225145 worker:         4:none            5:none            6:none            7:none            
20240601 225145 worker: --
20240601 225145 worker: -- Audio configuration
20240601 225145 worker: --
20240601 225145 worker: Audio device:  0:Pi HDMI 1
20240601 225145 worker: ALSA card:     has not been reassigned
20240601 225146 worker: MPD config:    updated (iec958 device)
20240601 225146 worker: ALSA output:   HDMI
20240601 225146 worker: ALSA mode:     IEC958 (iec958)
20240601 225146 worker: ALSA mixer     PCM
20240601 225149 worker: ALSA volume:   controller not detected
20240601 225149 worker: ALSA maxvol:   100%
20240601 225149 worker: ALSA loopback: off
20240601 225149 worker: MPD mixer      Fixed (0dB)
20240601 225149 worker: Audio formats: S32_LE
20240601 225149 worker: CamillaDSP:    user_4_ch
20240601 225149 worker: CDSP volume:   0dB
20240601 225149 worker: CDSP volrange: 60dB
20240601 225149 worker: --
20240601 225149 worker: -- MPD startup
20240601 225149 worker: --
20240601 225149 worker: MPD service:        started
20240601 225149 worker: MPD port 6600:      accepting connections
20240601 225149 worker: MPD ALSA Default:   on
20240601 225149 worker: MPD ALSA Bluetooth: off
20240601 225149 worker: MPD HTTP Server:    off
20240601 225150 worker: MPD volume:         0
20240601 225150 worker: Saved MPD vol:      -1
20240601 225150 worker: Saved SRC vol:      0
20240601 225150 worker: MPD crossfade:      off
20240601 225150 worker: MPD ignore CUE:     no
20240601 225150 worker: MPD CDSP volsync:   off
20240601 225150 worker: --
20240601 225150 worker: -- Music sources
20240601 225150 worker: --
20240601 225150 worker: USB drive:      KINGSTON
20240601 225150 worker: NAS sources:    no music sources defined
20240601 225150 worker: --
20240601 225150 worker: -- Feature availability
20240601 225150 worker: --
20240601 225150 worker: Input select:    available, Source: MPD, Output: Pi HDMI 1
20240601 225150 worker: Bluetooth:       available, PIN: None, ALSA/CDSP maxvol: 100%/0dB, ALSA outmode: Standard
20240601 225150 worker: AirPlay:         available
20240601 225150 worker: Spotify Connect: started
20240601 225150 worker: Squeezelite:     available
20240601 225150 worker: RoonBridge:      not installed
20240601 225150 worker: Multiroom:       available
20240601 225150 worker: UPnP client:     available
20240601 225150 worker: GPIO buttons:    available
20240601 225150 worker: HTTPS mode:      started, Using Automatic cert for host: moode
20240601 225150 worker: Stream recorder: n/a
20240601 225150 worker: --
20240601 225150 worker: -- Peripherals
20240601 225150 worker: --
20240601 225151 worker: Local display:   off
20240601 225151 worker: On-screen kbd:   off
20240601 225151 worker: HDMI 4K 60Hz:    off
20240601 225151 worker: Rotary encoder:  off
20240601 225151 worker: USB volume knob: off
20240601 225151 worker: LCD updater:     off
20240601 225151 worker: --
20240601 225151 worker: -- Miscellaneous
20240601 225151 worker: --
20240601 225151 worker: Software update:   Automatic check off
20240601 225151 worker: Auto-CoverView:    off
20240601 225151 worker: CoverView timeout: Never
20240601 225151 worker: Auto-shuffle:      off
20240601 225151 worker: Auto-play:         off
20240601 225151 worker: Web SSH server:    on
20240601 225151 worker: Maintenance task:  360 mins
20240601 225151 worker: Current view:      reset to Playback
20240601 225151 worker: Active flags:      at least one true
20240601 225151 worker: Reset flags:       all reset to false
20240601 225151 worker: MPD volume:        set to 0
20240601 225151 worker: Active flags:      all false
20240601 225151 worker: Reset flags:       skipped
20240601 225151 worker: Session check:     ok
20240601 225151 worker: --
20240601 225151 worker: -- Startup complete
20240601 225151 worker: --
20240601 225151 worker: Mount monitor:    off
20240601 225151 worker: Radio monitor:    off
20240601 225152 worker: Watchdog monitor: started
20240601 225152 worker: Responsiveness:   Default
20240601 225152 worker: Ready
20240604 202024 worker: Job spotifysvc



RE: wrong audio info - Tim Curtis - 06-04-2024

The log shows

"20240601 225145 worker: Audio device: 0Tonguei HDMI 1"

Which means that in Audio Config the Output device is still set to Pi HDMI 1.
Open the Output device dropdown list and select the MOTU device.


RE: wrong audio info - georgew21 - 06-05-2024

Yep, as I have already said in my first post I have already set MOTU as default output device. But the problem persists.

Another (related?) problem is that i use camilladsp and I have set in a yml file as the device "plughw:2,0".
Setting this everything work correctly, but for some reason every reboot this value changes to something else (probably hdmi) and I need to open camilladsp and edit this again to plughw:2,0, to play. I don't know why this value changes even I save the configuration to yml file.


RE: wrong audio info - Tim Curtis - 06-05-2024

It's not obvious to me what might be happening on your end. I'm not seeing this issue with my USB DAC.

After you set Output device to you MOTU DAC and before rebooting does everything work correctly?


RE: wrong audio info - georgew21 - 06-05-2024

The sounds plays fine, in audio info I see what I wrote on my first post. it's a little bizzare, but the annoying thing is that I need to edit the yml file through camilldsp configuration in every reboot.


RE: wrong audio info - Tim Curtis - 06-05-2024

I don't see how thats possible but in any case do the following.

After you set Output device to your MOTU DAC and before rebooting post two screen shots of Audio Config.

The first showing the entire Audio Output section
The second showing the entire ALSA options section


RE: wrong audio info - georgew21 - 06-05-2024

why can't change  output mode in alsa options?


RE: wrong audio info - Tim Curtis - 06-05-2024

Very odd. These screen shots suggest some sort of weird breakage because although the Output device is set to your USB attached device the ALSA options are deal and the startup log still shows the Output device is Pi HDMI 1.

Your best hope is that someone else with a MOTU M4 can either post a success case or reproduce your issue and provide some insight into what might be happening.