RopieeeXL 2.464 and Shairport no sound on USB DAC

Hi, just updated my Pi 4 to 2.464 and it seems AirPlay is broken…the Pi4 is connected to an USB DAC and there is no sound. NAA works however and so seems like connection is working. 2.462 worked fine when I try to stream audio from YouTube to the pi4. This no longer works. Anyone else experiencing this? I have tried rebooting the pi4 but still no luck. Thanks!

Hey, I’m trying to setup RopieeeXL for use with Airplay through an Emotiva TA-100 USB DAC and am experiencing the same issue. I haven’t used it before this so I can’t say it’s the update that caused it. I’ve been trying plugging into the headphone jack into a line input just to get something working - that’s not working either.

The RopieeeXL endpoint displays on Airplay, and I can start playing music from a macbook or iphone, but no audio comes out. I tested that the DAC is working by hooking up the macbook directly via USB.

I’m considering installing Shairplay-sync on dietPi to debug more, as I’m betting that’s where the issue is - probably nothing to do with RopieeeXL, and to be honest I’m looking for Airplay more than Roon, RopieeeXL just seemed like the most convenient way to get that up and running. (Love the appliance > OS philosophy by the way).

Setup:
Raspberry Pi 4b 1GB RAM, using wifi.
RopieeeXL version 2.493 stable.
USB cable to Emotiva BasX TA-100 integrated amp and DAC.

I’ve got an Allo Digione HAT coming but that’s not here yet.

I was getting into SSHing in and found some fun errors from viewing journalctl -n100.

May 29 10:01:15 Stereo shairport-sync[8900]: 0.008172685 “player.c:2288” Large negative sync error: -8722 with should_be_frame_32 of 421710957, nt of 421620101 and current_delay of 0.
May 29 10:01:15 Stereo shairport-sync[8900]: 0.000755852 “player.c:2300” Play a silence of 8722 frames.
May 29 10:01:15 Stereo shairport-sync[8900]: 0.000042018 “audio_alsa.c:1638” alsa: DAC in odd SND_PCM_STATE_* 0 prior to writing.
May 29 10:01:15 Stereo shairport-sync[8900]: 0.000037278 “audio_alsa.c:1695” alsa: error -77 (“File descriptor in bad state”) writing 8722 samples to alsa device.
May 29 10:01:15 Stereo shairport-sync[8900]: 0.005469926 “audio_alsa.c:1638” alsa: DAC in odd SND_PCM_STATE_* 0 prior to writing.
May 29 10:01:15 Stereo shairport-sync[8900]: 0.000042111 “audio_alsa.c:1695” alsa: error -77 (“File descriptor in bad state”) writing 352 samples to alsa device.
May 29 10:01:15 Stereo shairport-sync[8900]: 0.007540000 “audio_alsa.c:1638” alsa: DAC in odd SND_PCM_STATE_* 0 prior to writing.
May 29 10:01:15 Stereo shairport-sync[8900]: 0.000047296 “audio_alsa.c:1695” alsa: error -77 (“File descriptor in bad state”) writing 352 samples to alsa device.
May 29 10:01:15 Stereo shairport-sync[8900]: 0.010286315 “audio_alsa.c:1638” alsa: DAC in odd SND_PCM_STATE_* 0 prior to writing.
May 29 10:01:15 Stereo shairport-sync[8900]: 0.000047463 “audio_alsa.c:1695” alsa: error -77 (“File descriptor in bad state”) writing 352 samples to alsa device.
May 29 10:01:15 Stereo shairport-sync[8900]: 0.009834667 “audio_alsa.c:1638” alsa: DAC in odd SND_PCM_STATE_* 0 prior to writing.
May 29 10:01:15 Stereo shairport-sync[8900]: 0.000047537 “audio_alsa.c:1695” alsa: error -77 (“File descriptor in bad state”) writing 352 samples to alsa device.
May 29 10:01:15 Stereo shairport-sync[8900]: 0.005960259 “audio_alsa.c:1638” alsa: DAC in odd SND_PCM_STATE_* 0 prior to writing.
May 29 10:01:15 Stereo shairport-sync[8900]: 0.000456315 “audio_alsa.c:1695” alsa: error -77 (“File descriptor in bad state”) writing 352 samples to alsa device.
May 29 10:01:15 Stereo shairport-sync[8900]: 0.008531352 “audio_alsa.c:1638” alsa: DAC in odd SND_PCM_STATE_* 0 prior to writing.
May 29 10:01:15 Stereo shairport-sync[8900]: 0.000450852 “audio_alsa.c:1695” alsa: error -77 (“File descriptor in bad state”) writing 352 samples to alsa device.
May 29 10:01:15 Stereo shairport-sync[8900]: 0.007559888 “audio_alsa.c:1638” alsa: DAC in odd SND_PCM_STATE_* 0 prior to writing.
May 29 10:01:15 Stereo shairport-sync[8900]: 0.000427204 “audio_alsa.c:1695” alsa: error -77 (“File descriptor in bad state”) writing 352 samples to alsa device.
May 29 10:01:15 Stereo shairport-sync[8900]: 0.006095537 “audio_alsa.c:1638” alsa: DAC in odd SND_PCM_STATE_* 0 prior to writing.
May 29 10:01:15 Stereo shairport-sync[8900]: 0.000400500 “audio_alsa.c:1695” alsa: error -77 (“File descriptor in bad state”) writing 352 samples to alsa device.
May 29 10:01:15 Stereo shairport-sync[8900]: 0.007492019 “audio_alsa.c:1638” alsa: DAC in odd SND_PCM_STATE_* 0 prior to writing.
May 29 10:01:15 Stereo shairport-sync[8900]: 0.000373722 “audio_alsa.c:1695” alsa: error -77 (“File descriptor in bad state”) writing 352 samples to alsa device.
May 29 10:01:15 Stereo shairport-sync[8900]: 0.007465870 “player.c:2148” Player: packets out of sequence: expected: 503, got: 512, with ab_read: 513 and ab_write: 770.
May 29 10:01:15 Stereo shairport-sync[8900]: 0.000489778 “audio_alsa.c:1638” alsa: DAC in odd SND_PCM_STATE_* 0 prior to writing.
May 29 10:01:15 Stereo shairport-sync[8900]: 0.000349537 “audio_alsa.c:1695” alsa: error -77 (“File descriptor in bad state”) writing 353 samples to alsa device.
May 29 10:01:15 Stereo shairport-sync[8900]: 0.007402426 “audio_alsa.c:1638” alsa: DAC in odd SND_PCM_STATE_* 0 prior to writing.
May 29 10:01:15 Stereo shairport-sync[8900]: 0.000372407 “audio_alsa.c:1695” alsa: error -77 (“File descriptor in bad state”) writing 353 samples to alsa device.
May 29 10:01:15 Stereo shairport-sync[8900]: 0.006751445 “audio_alsa.c:1638” alsa: DAC in odd SND_PCM_STATE_* 0 prior to writing.
May 29 10:01:15 Stereo shairport-sync[8900]: 0.000392278 “audio_alsa.c:1695” alsa: error -77 (“File descriptor in bad state”) writing 353 samples to alsa device.
May 29 10:01:15 Stereo shairport-sync[8900]: 0.008628055 “player.c:2288” Large negative sync error: -8723 with should_be_frame_32 of 421715532, nt of 421624677 and current_delay of 0.
May 29 10:01:15 Stereo shairport-sync[8900]: 0.001068760 “player.c:2300” Play a silence of 8723 frames.

After reading this Airplay via Ropieee no longer works I tried forcing volume to 100%. I’m using the USB 2 output rather than USB 3 from the raspberry pi.

I tried messing around with it to see if it would still work on USB 3 and broke it, restarting wouldn’t fix it.

I left things off for a while and restarted with the “Force Volume” -> Volume Level 100 and now it seems to be working.

I may play with it more later but for now I’m going to leave it alone.

EDIT: It’s not working anymore :stuck_out_tongue:

Related? https://github.com/mikebrady/shairport-sync/issues/923

EDIT: Update.

I got DietPi and Shairport-Sync working.
I had to find the name of my output device using aplay -L. There were a bunch listed but the one under sysdefault seems to work great.
I set this config in /etc/shairport-sync.conf.

alsa = {
  output_device = "sysdefault:CARD=TA100";
  mixer_control_name = "PCM"
}

I understand that RopieeeXL shouldn’t require additional config after setup, but I wanted to share back my results.

I’m wondering if there’s some config that happens for RopieeeXL on the first few reboots that expects the USB DAC to be connected. I have my router and ethernet cables downstairs and the DAC elsewhere so I was unable to do that, if that’s what was necessary. Hope this helps!

How did you setup the output?
Did you try setting it directly to the direct output (either USB or HAT) instead of ‘Auto’?

Thanks

Yup, I had tried that. I don’t have a HAT setup so I had set it to USB output with no success.