Thank you for your donation!


Solved: UPnP - CamillaDSP
#1
Hello,

I have the following behaviour since switching to Moode 7.1.0:

When streaming to Moode UPnP without activating CamillaDSP, everything runs as expected.

After activating CamillaDSP (configuration: "Quick Convolution Filter" e.g. with the supplied IRs), the music source cannot be changed (e.g. select another album) because Moode UPnP is no longer found.
Restarting the renderer helps until the next attempt to change.

After deactivating CamillaDSP (and restarting Moode UPnP) everything runs normally again.

- Raspberry Pi-3B 1.2 1GB mit DACBerry PRO (OSA Electronics)
- Moode 7.1.0 - New Installation
- I2S audio device configured as  IQaudiO DAC+
- UPnP Client for MPD on (UPnP A/V  yes, OpenHome yes, Check content format no)
- Control point: Android Samsung Galaxy S10+
- Software: Neutron Music Player Pro (2.16.2), also tested BubbleUPnP and Hi-Fi Cast (same behavior)

Output from moodeutl -l
Code:
pi@moode:~ $ moodeutl -l
20210329 130656 worker: -- Start
20210329 130656 worker: Successfully daemonized
20210329 130656 worker: Integrity check (passed)
20210329 130657 worker: File check (OK)
20210329 130657 worker: Session vacuumed
20210329 130657 worker: Session loaded
20210329 130657 worker: Debug logging (ON)
20210329 130657 worker: -- Device
20210329 130657 worker: ALSA cards: (0:IQaudIODAC | 1:empty | 2:empty | 3:empty
20210329 130657 worker: MPD config: (0:IQaudIO Pi-DAC PRO | mixer:(Digital) | ca                                                                   rd:0)
20210329 130657 worker: ALSA mixer actual (Digital)
20210329 130658 worker: ALSA Digital volume set to (0%)
20210329 130658 worker: -- System
20210329 130700 worker: Host     (moode)
20210329 130700 worker: moOde    (7.1.0 2021-03-15)
20210329 130700 worker: RaspiOS  (10.6)
20210329 130700 worker: Kernel   (5.4.77-v7+ #1371)
20210329 130700 worker: Platform (Pi-3B 1.2 1GB)
20210329 130700 worker: ARM arch (armv7l, 32-bit kernel)
20210329 130700 worker: MPD ver  (0.22.6_p0x3)
20210329 130700 worker: CPU gov  (ondemand)
20210329 130700 worker: USB boot enabled
20210329 130700 worker: File system expanded
20210329 130700 worker: HDMI port on
20210329 130700 worker: -- Network
20210329 130700 worker: eth0 exists
20210329 130700 worker: IP addr (192.xxx.xxx.xx)
20210329 130700 worker: Netmask (255.xxx.xxx.x)
20210329 130700 worker: Gateway (192.xxx.xxx.x)
20210329 130700 worker: Pri DNS (192.xxx.xxx.x)
20210329 130700 worker: Domain  (xxxxx.xxx)
20210329 130700 worker: wlan0 exists
20210329 130700 worker: Pi integrated wlan0 power save disabled
20210329 130700 worker: wifi country (DE)
20210329 130700 worker: wlan0 trying SSID (...)
20210329 130700 worker: IP addr (192.xxx.xxx.xx)
20210329 130700 worker: Netmask (255.xxx.xxx.x)
20210329 130700 worker: Gateway (192.xxx.xxx.x)
20210329 130700 worker: Pri DNS (192.xxx.xxx.x)
20210329 130700 worker: Domain  (xxxxx.xxx)
20210329 130700 worker: -- Audio
20210329 130701 worker: MPD conf updated
20210329 130701 worker: ALSA card number (0)
20210329 130701 worker: MPD audio output (IQaudIO Pi-DAC PRO)
20210329 130701 worker: Audio formats (S16_LE, S24_LE, S32_LE)
20210329 130701 worker: ALSA mixer name (Digital)
20210329 130701 worker: MPD volume control (software)
20210329 130701 worker: Hdwr volume controller exists
20210329 130701 worker: Max ALSA volume (100%)
20210329 130701 worker: Reset renderer active flags
20210329 130701 worker: CamillaDSP (__quick_convolution__.yml)
20210329 130701 worker: -- MPD
20210329 130701 worker: MPD started
20210329 130701 openMpdSocket(): error: connection failed (1) 111, Connection refused
20210329 130702 worker: MPD accepting connections
20210329 130702 worker: MPD output 1 ALSA Default (off)
20210329 130702 worker: MPD output 2 ALSA Crossfeed (off)
20210329 130702 worker: MPD output 3 ALSA Parametric EQ (off)
20210329 130702 worker: MPD output 4 ALSA Graphic EQ (off)
20210329 130702 worker: MPD output 5 ALSA Polarity Inv (off)
20210329 130702 worker: MPD output 6 ALSA CamillaDSP (on)
20210329 130702 worker: MPD output 7 ALSA Bluetooth (off)
20210329 130702 worker: MPD output 8 HTTP Server (off)
20210329 130702 worker: MPD crossfade (off)
20210329 130702 worker: MPD ignore CUE files (yes)
20210329 130702 worker: -- Feature availability
20210329 130702 worker: Source select (available)
20210329 130702 worker: Source select (source: MPD)
20210329 130702 worker: Source select (output: IQaudIO Pi-DAC PRO)
20210329 130702 worker: Bluetooth (available)
20210329 130702 worker: Airplay renderer (available)
20210329 130702 worker: Spotify renderer (available)
20210329 130702 worker: Squeezelite (available)
20210329 130702 worker: RoonBridge renderer (not installed)
20210329 130702 worker: UPnP renderer (available: started)
20210329 130702 worker: DLNA server (available)
20210329 130702 worker: UPnP browser (available)
20210329 130702 worker: GPIO button handler (available)
20210329 130702 worker: Stream recorder (n/a)
20210329 130702 worker: -- Music sources
20210329 130702 worker: USB sources (none attached)
20210329 130706 sourceMount(): Command=(mount -t cifs "//RASPBERRYPI/Festplatten" -o username="Guest",password="",rsize=61440,wsize=65536,iocharset=utf8,vers=3.                                                                   1.1,ro,dir_mode=0777,file_mode=0777 "/mnt/NAS/raspi3")
20210329 130706 worker: NAS and UPnP sources (mountall initiated)
20210329 130706 worker: -- Miscellaneous
20210329 130706 worker: USB volume knob (Off)
20210329 130706 worker: Shellinabox SSH started
20210329 130706 worker: USB auto-mounter (udisks-glue)
20210329 130706 worker: LED0 (On)
20210329 130706 worker: LED1 (On)
20210329 130706 worker: Saved MPD vol level (0)
20210329 130706 worker: Preamp volume level (0)
20210329 130706 worker: MPD volume level (36) restored
20210329 130706 worker: ALSA Digital volume (100%)
20210329 130706 worker: Auto-play (Off)
20210329 130706 worker: Maintenance interval (3 hrs)
20210329 130706 worker: Screen saver activation (Never)
20210329 130706 worker: Session permissions (OK)
20210329 130706 worker: Watchdog started
20210329 130706 worker: Ready
20210329 130820 waitWorker(): Start (snd-config, w_active=0)
20210329 130820 waitWorker(): End   (snd-config, w_active=0)

Kind Regards
Klaus
Reply
#2
@klausimausi04 if you select the standard supplied flat config, keeps the system working in that case?
And can you supply screenshot of the audioinfo while playing the track (and cdsp is off)?
Reply
#3
Photo 
(03-29-2021, 07:00 PM)bitlab Wrote: @klausimausi04  if you select the standard supplied flat config, keeps the system working in that case?
And can you supply screenshot of the audioinfo while playing the track (and cdsp is off)?

Hello bitlab,

just tested, no, unfortunately no change.
Screenshot attached.


Regards
Klaus


Attached Files Thumbnail(s)
   
Reply
#4
I'm afraid that I can not reproduce your problem on my setup.

The flag config is empty, do it has nothing to do with processing power.
If you use a local file (default moOde supplies a test track) with camilladsp + flat config, is the problem still there?
Reply
#5
As long as I use the local player, I have no problems with CamillaDSP - or what exactly do you mean ?
Do you perhaps have any other ideas about what I might try?

PS: By the way, there is another user who seems to have similar difficulties.

http://moodeaudio.org/forum/showthread.p...4#pid32044
Reply
#6
@klausimausi04 In the other thread you mention, I read that @TheOldPresbyope already tried to reproduce your problem and also without success.

If I summarize it correctly so far ?:
  • Play music with upnn renderer: ok
  • Play music with upnn renderer, including camilladsp flat config: nok
  • Play local music: ok
  • Play local music, including camilladsp flat config: ok
And with local music I mean music file played directly from the SD card,

To provide more details when problems occure, you can take a look at the mpd log in /var/log/mpd/log.

Also you could try if the following affect the problem:
  • Activate the flat config
  • Open the pipeline editor
  • In the buffers section increase the chunksize to power of two like 4096|8192.
  • Press "Apply to CDSP"
  • Test if the error is gone.
  • If not again increase the chunksize.


PS The other user in the thread doesn't make any explicit statement about camilladsp, so not sure if it is related. Only in common is the upnp renderer.
Reply
#7
@klausimausi04

Now that you've posted the output from moodeutl -l, I see that both the Ethernet and WiFi interfaces appear to be enabled and connected to a LAN.

Having two possible communications paths is a confounding issue. Does the problem still occur if you are using only one: either the Ethernet interface or the WiFi interface but not both?

Regards,
Kent
Reply
#8
Thank you very much for the feedback.

@bitlab
This is the status:
- Playing music with upnn renderer: ok
- Playing music with upnn renderer, including CamillaDSP flat config: nok
- Play local music: ok
- Playing local music, including camillaDSP flat config: nok

Error message when playing local test file: Failed to open audio output

Then I changed the chunksize as recommended.
No effect.
In the end I set it back to 1024.
After restarting Moode (CamillaDSP flat config on), the attached error is displayed under Audio - Equalizers:
The flat.yml is also attached.

@Kent
No difference to notice

Kind Regards
Klaus


Attached Files Thumbnail(s)
       
Reply
#9
@klausimausi04:

Two things I notice:
  • The supplied flat.yml file doesn't match the one provided with the moOde distribution. That one contains a mixer section and a pipeline with the mixer.
  • Also playback device "hw:0,0" is used. And that isn't your i2s hat, but headphones or hdmi. Anyway both not cabable of dealing with S32LE. (In a normal mooDe 7.1 installation both settings are patch by moOde, whenyou activate a new camilladsp config)
I suggest restoring the orginal one (you can get this one from the github page). Also check the md5 checksum on you install image and reinstall it again. And wait with enabling camilladsp before you have successful configured you playback device. To be sure leave the setting 'Default Device' on the camilladsp config page on.
Test with a wired network connection so we are sure that we can factor that out.
Reply
#10
@bitlab
@TheOldPresbyope 
@"guitz"

I reinstalled Moode as recommended and tested it via Ethernet.
In addition, I reset my router - Fritzbox 3490 - to the factory settings, following a tip from Guillaume (thanks for that).

- Playing local music works
- Playing local music including CamillaDSP works
- Playing music with UPnP Renderer works

But:

Playing music with UPnP Renderer including CamillaDSP only works until the stream is stopped. It is enough to press the pause button of the control point, the stream stops and the Moode Renderer is no longer accessible.

It seems that this problem cannot be solved.

It is difficult to understand for me - of course I'm not a professional - that streaming without CamillaDSP works flawlessly but with CamillaDSP it does not.

Thanks for Moode and all the support!

Kind Regards
Klaus
Reply


Forum Jump: