-
-
Notifications
You must be signed in to change notification settings - Fork 581
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Problem]: "player.c:2708" Delay error -524 when checking running latency. #1930 #1931
Comments
I just tried it out with the "Boot to GUI" disabled. Didn't seem to make a difference. |
It's starting to smell like a permission problem. When I start shairport-sync from the command like, the process runs with my user and group privileges. When I start the service it runs with user admin group admin (who I logged in as). |
A cleaner version of the startup syslog when starting the service:
|
Thanks. This is indeed an interesting problem, and I haven't come across it before. Just a few thoughts here:
|
Okay. Will check out dacquery. |
Output from dacquery when logged in as "admin":
I tried setting the interface in |
Thanks. That
please? |
I tried a few things with explicitly specifying the interface name, plugging in a USB sound dongle, and neither changed the problem with error 524.
It seems that the user and group were set up correctly, but the home directory was not created during the installation. Weird.
|
Here's the output from the "sudo make install" command in case that helps:
|
Thanks for the update. That line:
is a diagnostic from PulseAudio. But PulseAudio should not be present in a Lite version of Raspberry Pi OS. Is it possible, somehow, that PulseAudio is installed? |
I did not install it explicitly, it must have become part of the "lite" version of the os? I do have good news though. It turns out I was specifying my output audio device with the "interface" parameter up near the top of the shairport-sync.conf file. But it seems what I really needed to do was to set it in the alsa section with the output_device parameter. If I do that it seems to be working. |
No, it shouldn't be there. It's a mystery. I'll have to try to replicate your actions to see what's happening. But I haven't seen it anywhere in the logs of a Raspberry Pi OS installation I'm running now.
Super stuff. |
Is it okay to close this issue now? |
Yes. I think so. Thanks for the help.
…-steve
On Thu, Nov 28, 2024 at 06:27 Mike Brady ***@***.***> wrote:
Is it okay to close this issue now?
—
Reply to this email directly, view it on GitHub
<#1931 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAHXLEJ63FKC2RORBEV76HL2C4R4ZAVCNFSM6AAAAABR4EKBP6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMBWGI2DQMRYGA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
What happened?
I just installed shairport-sync on a fresh install of Raspberry OS on a RPi 4.
Version String: "4.3.4-1-g910264e5-AirPlay2-smi10-OpenSSL-Avahi-ALSA-soxr-sysconfdir:/etc"
It works fine when started on the command line. Can play music from phone or laptop and it comes out the headphone jack of the Pi just fine.
When running as a service, the log shows the normal startup messages (same as what I see on command line start), but as soon as my phone attaches, it starts to spew out lots of these messages.
"player.c:2708" Delay error -524 when checking running latency.
No sound comes from the Pi headphone jack in this case.
Mike suggested this is related to HDMI ports. I have nothing connected to the HDMI ports on my machine. Only power, Ethernet, USB SDD, and headphone jack output to an audio amp (Sonos speaker line input).
I do have the GUI installed and am sometimes accessing the machine via VNC.
Included the log from running as a service below with some comments noting what I was doing.
Steve
Relevant log output
System Information.
Raspberry Pi 4B+ upgraded to latest on Nov 15, 2024
admin@berl-music-pi:~ $ cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
admin@berl-music-pi:~ $
Configuration Information.
PulseAudio or PipeWire installed?
How did you install Shairport Sync?
Built from source
Check previous issues
The text was updated successfully, but these errors were encountered: