Thank you for your donation!


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


Instruction Guide 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi
(05-04-2021, 10:44 AM)adrii Wrote: Hi officialsm

Thanks for the extra details. The error is clear, but unexpected. Are you using the Moode UI option to enable the audio copy (https://github.com/antiprism/mpd_oled/bl...-and-later)?

The launch test script checks that mpd is running before mpd_oled is started. When using the Moode configured audio copy Moode loads the ALSA loopback device before mpd is started, and so the loopback device should be available when mpd_oled starts. Here is my startup log


Code:
pi@moode:~ $ moodeutl -l
...

20210503 125650 worker: ALSA loopback (On)
20210503 125650 worker: Reset renderer active flags
20210503 125650 worker: CamillaDSP (off)
20210503 125650 worker: -- MPD startup
20210503 125651 worker: MPD started
20210503 125652 worker: MPD accepting connections
...

If you look at your startup log you should be able to see if the ALSA loopback device was loaded before mpd was started, and could also review it for any errors relating to this.

Adrian.

Here my moodeutl -l 

pi@Simoode-audio:~ $ moodeutl -l
20210503 112112 worker: -- Start
20210503 112112 worker: Successfully daemonized
20210503 112112 worker: Integrity check (passed)
20210503 112113 worker: File check (OK)
20210503 112113 worker: Session vacuumed
20210503 112113 worker: Session loaded
20210503 112113 worker: Debug logging (OFF)
20210503 112113 worker: -- Audio debug
20210503 112113 worker: ALSA cards: (0:b1 | 1:Headphones | 2:C20 | 3:empty
20210503 112113 worker: MPD config: (2:CA CXA81 2.0 | mixerSadPCM) | card:2)
20210503 112113 worker: ALSA mixer actual (PCM)
20210503 112113 worker: ALSA PCM volume set to (amixer: Unable to find simple control 'PCM',0)
20210503 112113 worker: -- System
20210503 112115 worker: Host     (Simoode-audio)
20210503 112115 worker: moOde    (7.2.0 2021-04-24)
20210503 112115 worker: RaspiOS  (10.6)
20210503 112115 worker: Kernel   (5.4.77-v7l+ #1371)
20210503 112115 worker: Platform (Pi-4B 1.1 4GB)
20210503 112115 worker: ARM arch (armv7l, 32-bit kernel)
20210503 112115 worker: MPD ver  (0.22.6_p0x3)
20210503 112115 worker: CPU gov  (ondemand)
20210503 112115 worker: USB boot not available
20210503 112115 worker: File system expanded
20210503 112115 worker: HDMI port on
20210503 112115 worker: -- Network
20210503 112115 worker: eth0 exists
20210503 112115 worker: eth0 wait 0 for IP address
20210503 112118 worker: eth0 wait 1 for IP address
20210503 112121 worker: eth0 wait 2 for IP address
20210503 112124 worker: eth0 wait 3 for IP address
20210504 120814 worker: eth0 wait 4 for IP address
20210504 120817 worker: eth0 address not assigned
20210504 120817 worker: wlan0 exists
20210504 120817 worker: wifi country (IT)
20210504 120817 worker: wlan0 trying SSID (Vodafonefederica)
20210504 120817 worker: IP addr (192.168.1.14)
20210504 120817 worker: Netmask (255.255.255.0)
20210504 120817 worker: Gateway (192.168.1.1)
20210504 120817 worker: Pri DNS (192.168.1.1)
20210504 120817 worker: Domain  (station)
20210504 120817 worker: Pi integrated wlan0 power save disabled
20210504 120817 worker: -- Audio config
20210504 120817 worker: ALSA card number (2)
20210504 120818 worker: MPD audio output (CA CXA81 2.0)
20210504 120818 worker: Audio formats (S16_LE, S32_LE, SPECIAL)
20210504 120818 worker: ALSA mixer name (PCM)
20210504 120818 worker: MPD volume control (none)
20210504 120818 worker: Hdwr volume controller not detected
20210504 120818 worker: ALSA loopback (On)
20210504 120818 worker: Reset renderer active flags
20210504 120818 worker: CamillaDSP (off)
20210504 120818 worker: -- MPD startup
20210504 120818 worker: MPD started
20210504 120819 worker: MPD accepting connections
20210504 120819 worker: MPD output 1 ALSA Default (on)
20210504 120819 worker: MPD output 2 ALSA Bluetooth (off)
20210504 120819 worker: MPD output 3 HTTP Server (off)
20210504 120819 worker: MPD crossfade (off)
20210504 120819 worker: MPD ignore CUE files (yes)
20210504 120819 worker: -- Feature availability
20210504 120819 worker: Source select (available)
20210504 120819 worker: Source select (source: MPD)
20210504 120819 worker: Source select (output: CA CXA81 2.0)
20210504 120819 worker: Bluetooth (available)
20210504 120819 worker: Airplay renderer (available)
20210504 120819 worker: Spotify renderer (available)
20210504 120819 worker: Squeezelite (available)
20210504 120819 worker: RoonBridge renderer (not installed)
20210504 120819 worker: UPnP renderer (available: started)
20210504 120819 worker: DLNA server (available)
20210504 120819 worker: UPnP browser (available)
20210504 120819 worker: GPIO button handler (available)
20210504 120819 worker: Stream recorder (n/a)
20210504 120819 worker: -- Music sources
20210504 120819 worker: USB sources (none attached)
20210504 120819 worker: NAS and UPnP sources (none configured)
20210504 120819 worker: -- Other
20210504 120819 worker: USB volume knob (Off)
20210504 120819 worker: Shellinabox SSH started
20210504 120819 worker: USB auto-mounter (udisks-glue)
20210504 120819 worker: LED0 (On)
20210504 120819 worker: LED1 (On)
20210504 120819 worker: Saved MPD vol level (0)
20210504 120819 worker: Preamp volume level (0)
20210504 120819 worker: MPD volume level (0) restored
20210504 120819 worker: ALSA volume level (None)
20210504 120819 worker: Auto-play (Off)
20210504 120819 worker: Maintenance interval (3 hours)
20210504 120819 worker: Screen saver activation (Never)
20210504 120819 worker: Session permissions (OK)
20210504 120819 worker: Watchdog started
20210504 120819 worker: Ready
Reply


Messages In This Thread
RE: 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi - by officialsm - 05-04-2021, 11:04 AM
RE: help me - by ghera78 - 02-28-2020, 08:01 AM
RE: help me - by ghera78 - 02-28-2020, 01:17 PM

Forum Jump: