Thank you for your donation!


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


Solved: 9.0.2 at Pi Zero 2W - Failed to open ALSA device
#1
Hi,

I've installed moode 9.0.2 from scratch to a Pi Zero 2W connected via HDMI to my AVR.
Unfortunately ALSA gives a error message "Failed to open ALSA device _audioout. No such device" and it can't play at all (see attached screenshot).

Any help is much appreciated.

btw. moode 8.39 is working fine.


Attached Files Thumbnail(s)
   
Reply
#2
Is your AVR turned on and switched to the input HDMI port the Pi is connected to?
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#3
(06-18-2024, 10:00 PM)Tim Curtis Wrote: Is your AVR turned on and switched to the input HDMI port the Pi is connected to?

Yes it is. I can see the bootup screen with various started services and the local login prompt.
The Audio Output device is set to "0: Pi HDMI 1" in the dropdownlist.

Using my previous moode 8.39 installation, everything is working fine.

Update: Might it helps - the AVR is a HDMI 1.3 device - Yamaha RX-V3800


Attached Files Thumbnail(s)
   
Reply
#4
I have an older rxv661 and no issues. Its using HDMI 1.2a

Try the commands below to verify whether Linux/ALSA/KMS recognizes the HDMI device as an audio device.

Linux/ALSA
aplay -l
Code:
pi@hsu:~ $ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: vc4hdmi0 [vc4-hdmi-0], device 0: MAI PCM i2s-hifi-0 [MAI PCM i2s-hifi-0]
 Subdevices: 0/1
 Subdevice #0: subdevice #0
card 1: vc4hdmi1 [vc4-hdmi-1], device 0: MAI PCM i2s-hifi-0 [MAI PCM i2s-hifi-0]
 Subdevices: 1/1
 Subdevice #0: subdevice #0

KMS (Kernel Mode videocore driver)
kmsprint
Code:
pi@hsu:~ $ kmsprint
Connector 0 (32) HDMI-A-1 (connected)
 Encoder 0 (31) TMDS
   Crtc 3 (94) 1280x720@60.00 74.250 1280/110/40/220/+ 720/5/5/20/+ 60 (60.00)  
     Plane 3 (84) fb-id: 340 (crtcs: 3) 0,0 1280x720 -> 0,0 1280x720 (XR24 AR24 AB24 XB24 RG16 BG16 AR15 XR15 RG24 BG24 YU16 YV16 YU24 YV24 YU12 YV12 NV12 NV21 NV16 NV61 P030 XR30 AR30 AB30 XB30 RGB8 BGR8 XR12 AR12 XB12 AB12 BX12 BA12 RX12 RA12)
       FB 340 1280x720 XR24
Connector 1 (41) HDMI-A-2 (disconnected)
 Encoder 1 (40) TMDS
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#5
A Pi Zero is 32-bit. It looks like moOde 9 is only 64-bit. So that means all the 32-bit Pi’s are not going to work.
Reply
#6
(06-19-2024, 02:02 AM)azimuth Wrote: A Pi Zero is 32-bit. It looks like moOde 9 is only 64-bit. So that means all the 32-bit Pi’s are not going to work.

The Download page at moodeaudio.org shows which Raspberry Pi models are supported.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#7
(06-19-2024, 02:46 AM)Tim Curtis Wrote:
(06-19-2024, 02:02 AM)azimuth Wrote: A Pi Zero is 32-bit. It looks like moOde 9 is only 64-bit. So that means all the 32-bit Pi’s are not going to work.

The Download page at moodeaudio.org shows which Raspberry Pi models are supported.

I missed the 2W part. My bad.
Reply
#8
Here the results of

Linux/ALSA
aplay -l
Code:
pi@moode:~ $ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: vc4hdmi [vc4-hdmi], device 0: MAI PCM i2s-hifi-0 [MAI PCM i2s-hifi-0]
 Subdevices: 1/1
 Subdevice #0: subdevice #0
pi@moode:~ $

KMS (Kernel Mode videocore driver)
kmsprint
Code:
pi@moode:~ $ kmsprint
Connector 0 (32) HDMI-A-1 (connected)
 Encoder 0 (31) TMDS
   Crtc 3 (89) 1280x720@60.00 74.250 1280/110/40/220/+ 720/5/5/20/+ 60 (60.00) P|D
     Plane 3 (79) fb-id: 291 (crtcs: 3) 0,0 1280x720 -> 0,0 1280x720 (XR24 AR24 AB24 XB24 RG16 BG16 AR15 XR15 RG24 BG24 YU16 YV16 YU24 YV24 YU12 YV12 NV12 NV21 NV16 NV61 RGB8 BGR8 XR12 AR12 XB12 AB12 BX12 BA12 RX12 RA12)
       FB 291 1280x720 RG16
pi@moode:~ $


btw. at logon it says its a Pi-Zero W, but it's definitely a Pi Zero 2W


Code:
Host:  moode
RPiOS: 12.5 Bookworm 64-bit | Linux: 6.6.31 64-bit
Model: Pi-Zero W
Audio: Pi HDMI 1
Reply
#9
Looks like Linux/ALSA/KMS sees the audio device. The incorrect Pi model could be a bug and it may be causing a downstream configuration issue.

Post output from the commands below.

Pi revision code
Code:
/var/www/util/pirev.py

ALSA device identifier

Code:
cat /etc/alsa/conf.d/_audioout.conf

cat /etc/mpd.conf | grep -A10 "ALSA Default"
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#10
here we are:


Code:
pi@moode:~ $ /var/www/util/pirev.py
0x902120        Zero 2 W        1.0     512MB   Sony UK BCM2837


pi@moode:~ $ cat /etc/alsa/conf.d/_audioout.conf
#########################################
# This file is managed by moOde
#########################################
pcm._audioout {
type copy
slave.pcm "default:vc4hdmi0"
}


pi@moode:~ $ cat /etc/mpd.conf | grep -A10 "ALSA Default"
name "ALSA Default"
device "_audioout"
mixer_type "hardware"
mixer_control "PCM"
mixer_device "default:vc4hdmi0"
mixer_index "0"
dop "no"
stop_dsd_silence "no"
thesycon_dsd_workaround "no"
}
Reply


Forum Jump: