Thank you for your donation!


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


Problem: RPi4/Mood or RME ADI-2 FS problem?
#11
pi@moode:~ $ moodeutl -F
*** Scanning for playback devices ***
Card 0, ID `b1', name `bcm2835 HDMI 1'
Device 0, ID `bcm2835 HDMI 1', name `bcm2835 HDMI 1', 4 subdevices (4 available)
1..8 channels, sampling rate 8000..192000 Hz
Sample formats: U8, S16_LE
Buffer size range from 80 to 131072
Period size range from 80 to 131072

Subdevice 0, name `subdevice #0'
Subdevice 1, name `subdevice #1'
Subdevice 2, name `subdevice #2'
Subdevice 3, name `subdevice #3'
Card 1, ID `Headphones', name `bcm2835 Headphones'
Device 0, ID `bcm2835 Headphones', name `bcm2835 Headphones', 4 subdevices (4 available)
1..8 channels, sampling rate 8000..192000 Hz
Sample formats: U8, S16_LE
Buffer size range from 80 to 131072
Period size range from 80 to 131072

Subdevice 0, name `subdevice #0'
Subdevice 1, name `subdevice #1'
Subdevice 2, name `subdevice #2'
Subdevice 3, name `subdevice #3'
Card 2, ID `DAC52990006', name `ADI-2 DAC (52990006)'
Device 0, ID `USB Audio', name `USB Audio', 1 subdevices (1 available)
2 channels, sampling rate 44100..768000 Hz
Sample formats: S32_LE
Buffer size range from 16 to 131072
Period size range from 8 to 65536

Subdevice 0, name `subdevice #0'
pi@moode:~ $
Reply
#12
Rate and format support look ok. Post the Moode startup log and I'll have a look;

Code:
moodeutl -l
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#13
pi@moode:~ $ moodeutl -l
20210831 162243 worker: -- Start
20210831 162243 worker: Successfully daemonized
20210831 162243 worker: Integrity check (passed)
20210831 162243 worker: File check (OK)
20210831 162244 worker: Session vacuumed
20210831 162244 worker: Session loaded
20210831 162244 worker: Debug logging (OFF)
20210831 162244 worker: -- Audio debug
20210831 162244 worker: ALSA cards: (0:b1 | 1:Headphones | 2Big GrinAC52990006 | 3:empty
20210831 162244 worker: MPD config: (2:ADI-2 DAC (52990006) | mixerSadPCM) | card:2)
20210831 162244 worker: ALSA mixer actual (PCM)
20210831 162244 worker: ALSA PCM volume set to (amixer: Unable to find simple control 'PCM',0)
20210831 162244 worker: -- System
20210831 162245 worker: Host (moode)
20210831 162246 worker: moOde (7.3.0 2021-06-25)
20210831 162246 worker: RaspiOS (10.6)
20210831 162246 worker: Kernel (5.4.77-v7l+ #1371)
20210831 162246 worker: Platform (Pi-4B 1.1 4GB)
20210831 162246 worker: ARM arch (armv7l, 32-bit kernel)
20210831 162246 worker: MPD ver (0.22.8_p0x3)
20210831 162246 worker: CPU gov (ondemand)
20210831 162246 worker: USB boot not available
20210831 162246 worker: File system not expanded yet
20210831 162246 worker: HDMI port off
20210831 162246 worker: -- Network
20210831 162246 worker: eth0 exists
20210831 162246 worker: eth0 address not assigned
20210831 162246 worker: wlan0 exists
20210831 162246 worker: wifi country (US)
20210831 162246 worker: wlan0 trying SSID (Virus29104_5GHz)
20210831 162246 worker: IP addr (192.168.1.117)
20210831 162246 worker: Netmask (255.255.255.0)
20210831 162246 worker: Gateway (192.168.1.1)
20210831 162246 worker: Pri DNS (192.168.1.1)
20210831 162246 worker: Domain (columbus.rr.com)
20210831 162246 worker: Pi integrated wlan0 power save disabled
20210831 162246 worker: -- Audio config
20210831 162246 worker: ALSA card number (2)
20210831 162246 worker: MPD audio output (ADI-2 DAC (52990006))
20210831 162246 worker: Audio formats (S32_LE)
20210831 162246 worker: ALSA mixer name (PCM)
20210831 162246 worker: MPD volume control (none)
20210831 162246 worker: Hdwr volume controller not detected
20210831 162246 worker: ALSA output mode (Default: plughw)
20210831 162246 worker: ALSA loopback (Off)
20210831 162246 worker: Reset renderer active flags
20210831 162246 worker: CamillaDSP (off)
20210831 162246 worker: -- MPD startup
20210831 162246 worker: MPD started
20210831 162247 worker: MPD accepting connections
20210831 162247 worker: MPD output 1 ALSA Default (on)
20210831 162247 worker: MPD output 2 ALSA Bluetooth (off)
20210831 162247 worker: MPD output 3 HTTP Server (off)
20210831 162247 worker: MPD crossfade (off)
20210831 162247 worker: MPD ignore CUE files (yes)
20210831 162247 worker: -- Feature availability
20210831 162247 worker: Source select (available)
20210831 162247 worker: Source select (source: MPD)
20210831 162247 worker: Source select (output: ADI-2 DAC (52990006))
20210831 162247 worker: Bluetooth (available)
20210831 162247 worker: Airplay renderer (available: started)
20210831 162247 worker: Spotify renderer (available)
20210831 162247 worker: Squeezelite (available)
20210831 162247 worker: RoonBridge renderer (not installed)
20210831 162247 worker: UPnP renderer (available: started)
20210831 162247 worker: DLNA server (available)
20210831 162247 worker: UPnP browser (available)
20210831 162247 worker: GPIO button handler (available)
20210831 162247 worker: Stream recorder (n/a)
20210831 162247 worker: -- Music sources
20210831 162247 worker: USB sources (none attached)
20210831 170816 sourceMount(): Mount error: (mount error(2): No such file or directory
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs))
20210831 170816 worker: NAS and UPnP sources (mountall initiated)
20210831 170816 worker: -- Other
20210831 170816 worker: USB volume knob (Off)
20210831 170816 worker: USB auto-mounter (udisks-glue)
20210831 170816 worker: LED0 (On)
20210831 170816 worker: LED1 (Off)
20210831 170816 worker: Saved MPD vol level (0)
20210831 170816 worker: Preamp volume level (0)
20210831 170816 worker: MPD volume level (0) restored
20210831 170816 worker: ALSA volume level (None)
20210831 170816 worker: Auto-play (Off)
20210831 170816 worker: Maintenance interval (3 hours)
20210831 170816 worker: Screen saver activation (60)
20210831 170816 worker: Session permissions (OK)
20210831 170816 worker: Watchdog started
20210831 170816 worker: Ready
20210831 170917 sendEngCmd(): File open failed, UI has never been started
20210831 172812 worker: Job shellinabox
pi@moode:~ $
Reply
#14
Possible mixer name parsing issue. Its not affecting playback in your configuration because you have MPD mixer type set to "Fixed (0dB output)". The parsing issue is fixed in upcoming 7.4.0.

Code:
20210831 162244 worker: ALSA PCM volume set to (amixer: Unable to find simple control 'PCM',0)

Please post the output of the command below so I can confirm the parenthesis parsing issue.

Code:
amixer -c 2

For DSD playback try the following settings:

Audio Config: ALSA output mode "Direct (hw)"
MPD Config: Either DoP or Native.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#15
pi@moode:~ $ amixer -c 2
Simple mixer control 'AES Rate',0
Capabilities: volume volume-joined
Playback channels: Mono
Capture channels: Mono
Limits: 0 - 200000
Mono: 0 [0%]
Simple mixer control 'AES Sync',0
Capabilities: enum
Items: 'No Lock' 'Lock' 'Sync'
Item0: 'No Lock'
Simple mixer control 'Current Frequency',0
Capabilities: volume volume-joined
Playback channels: Mono
Capture channels: Mono
Limits: 32000 - 800000
Mono: 96000 [8%]
Simple mixer control 'SPDIF Format',0
Capabilities: enum
Items: 'Consumer' 'Professional'
Item0: 'Professional'
Simple mixer control 'SPDIF Interface',0
Capabilities: enum
Items: 'Coaxial' 'Optical'
Item0: 'Optical'
Simple mixer control 'SPDIF Rate',0
Capabilities: volume volume-joined
Playback channels: Mono
Capture channels: Mono
Limits: 0 - 200000
Mono: 50000 [25%]
Simple mixer control 'SPDIF Sync',0
Capabilities: enum
Items: 'No Lock' 'Lock' 'Sync'
Item0: 'No Lock'
Simple mixer control 'Sync Source',0
Capabilities: enum
Items: 'Internal' 'AES' 'SPDIF' 'Internal'
Item0: 'Internal'
Simple mixer control 'System Rate',0
Capabilities: volume volume-joined
Playback channels: Mono
Capture channels: Mono
Limits: 32000 - 800000
Mono: 96000 [8%]
pi@moode:~ $
Reply
#16
Thats odd. Typically the volume mixer(s) for a device will appear like below with a left and right channel and current dB values.

Code:
Simple mixer control 'Master',0
 Capabilities: pvolume pswitch
 Playback channels: Front Left - Front Right
 Limits: Playback 0 - 255
 Mono:
 Front Left: Playback 159 [62%] [-48.00dB] [on]
 Front Right: Playback 159 [62%] [-48.00dB] [on]

What is output from command below?
Code:
sudo /var/www/command/util.sh get-mixername

ETA: You can also try the command below to see if it correctly picks up the volume mixer. You will see a vertical bar and the mixer name below it.
Code:
alsamixer -c 2
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#17
The SUDO command output nothing:

pi@moode:~ $ sudo /var/www/command/util.sh get-mixername
pi@moode:~ $



alsamixer -c 2

[Image: 51416422818_4e69706aba_b.jpg]
Reply
#18
(08-31-2021, 10:24 PM)Tim Curtis Wrote:
For DSD playback try the following settings:

Audio Config: ALSA output mode "Direct (hw)"
MPD Config: Either DoP or Native.

After ALSA output mode = "Direct (hw)" and MPD Config = Native, DSD256 plays OK.
The MPD Config was already Native, so the ALSA mode made it work.

FYI - With Direct(hw) mode DSD256 works, but Airplay stops working. Vice versa when mode is (plughw).
Reply
#19
When using the Direct (hw) output mode which does not perform any automatic format conversions you would need to set Airplay bit depth to 32-bit in Airplay Config since this device reports that it only supports 32-bit over its USB interface.

You could also try setting MPD DSD support to DoP if this device supports it. If it doesn't support DoP or native DSD then you are not really getting DSD format rather you are getting DSD converted on-the-fly to PCM.

The alsamixer screen shot doesn't appear to show any hardware volume mixer for the device which is very odd.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#20
From the moodeutl -F output in post #11 we see that the DAC does not report support for native DSD

Code:
Card 2, ID `DAC52990006', name `ADI-2 DAC (52990006)'
Device 0, ID `USB Audio', name `USB Audio', 1 subdevices (1 available)
2 channels, sampling rate 44100..768000 Hz
Sample formats: S32_LE



Regards,
Kent
Reply


Forum Jump: