Skip to content
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]: delay when using vmware and a homepod mini #1788

Open
2 tasks done
Noboxj opened this issue Jan 13, 2024 · 17 comments
Open
2 tasks done

[Problem]: delay when using vmware and a homepod mini #1788

Noboxj opened this issue Jan 13, 2024 · 17 comments

Comments

@Noboxj
Copy link

Noboxj commented Jan 13, 2024

What happened?

hello
The pc has like a 0.8 seconds delay when music is playing on linux via vmware and my homepod mini.

Relevant log output

No response

System Information.

i'm using a windows 11 pc running ubuntu on vmware.

Configuration Information.

From "uname -a":

Linux Albixpc 6.5.0-14-generic #14-Ubuntu SMP PREEMPT_DYNAMIC Tue Nov 14 14:59:

49 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

From /etc/os-release:

Ubuntu 23.10

Shairport Sync Version String:

4.3.2-1-990c03bf0-AirPlay2-smi10-OpenSSL-Avahi-pw-soxr-sysconfdir:/etc

Command Line:

shairport-sync --displayConfig

Configuration File:

/etc/shairport-sync.conf

Configuration File Settings:

pw :
{
};

PulseAudio or PipeWire installed?

  • Check if your system uses a Sound Server.

How did you install Shairport Sync?

Homebrew for Mac

Check previous issues

  • Confirm
@Noboxj
Copy link
Author

Noboxj commented Jan 13, 2024

sorry forgot to change i installed shairport-sync by a package manager

@mikebrady
Copy link
Owner

Thanks for the post, and apologies for the delay.

If I understand your post properly, the problem is that the audio coming from Shairport Sync, running in Ubuntu 23.10 on a VMWare VM in a Windows 11 PC is about 0.8 seconds late and is out of sync with the audio coming from the source -- a HomePod mini.

I have noticed that the audio coming from a VMWare VM is always delayed, usually be a few 10s to 100s of milliseconds, and I believe that it's a limitation of the virtualisation. That being the case, I'm afraid there isn't anything that can easily be done about it.

@Noboxj
Copy link
Author

Noboxj commented Jan 16, 2024

Ok thank you for the response
Is there another way to use shairport-sync on windows 11 so that i could have way less delay ?

@mikebrady
Copy link
Owner

Thanks. It needs Linux or Unix, and I have never tried the Linux compatibility subsystem in Windows. Maybe someone else has?

@Noboxj
Copy link
Author

Noboxj commented Jan 16, 2024

I tried the linux subsystem in wodws but coudn't get it to work...

@mikebrady
Copy link
Owner

I tried the linux subsystem in wodws but coudn't get it to work...

Thanks for the clarification.

@Noboxj
Copy link
Author

Noboxj commented Jan 16, 2024

The problème there is with wsl is that it's pretty hard to connect your sound output to ubuntu. And that's the step i'm blocked at.

@mikebrady
Copy link
Owner

Thanks. I’m away from computers until the end of the month, but after that I will experiment…

@Noboxj
Copy link
Author

Noboxj commented Jan 16, 2024

I'll be happy to know if you've succeed. And if yes how you did it.

@Noboxj
Copy link
Author

Noboxj commented Feb 28, 2024

Any news ?

@mikebrady
Copy link
Owner

Apologies for the delay. It turns out that I don't have a machine that is capable of running Windows 11 with virtualisation, so I can't run wsl.

@Noboxj
Copy link
Author

Noboxj commented Mar 4, 2024

Oh ok it's true that you must have a pretty recent machine to be able to run it. Still thanks for the response.

@mikebrady
Copy link
Owner

Oh ok it's true that you must have a pretty recent machine to be able to run it. Still thanks for the response.

Apologies again for the delay. Apparently VMWare Fusion doesn't support virtualisation on Apple Silicon either. 😕

@mriwhh
Copy link

mriwhh commented Mar 8, 2024

WSL as well as VMWARE virtualize. Using both on the same host might be a cause for some performance issues and delays.
WSL relies on Microsoft Hyper-V and in fact when activating Hyper-V even Windows technically runs kind of virtualized. Installing VMware on top leads to some double virtualization.
You could try Ubuntu on Hyper-V or VMWARE on a fresh installed clean slate Windows.

@Noboxj
Copy link
Author

Noboxj commented Mar 8, 2024

Ok thanks i'll give it a shot this weekend

Copy link

github-actions bot commented May 8, 2024

This issue has been inactive for 28 days so will be closed 7 days from now. To prevent this, please remove the "stale" label or post a comment.

@github-actions github-actions bot added the Stale label May 8, 2024
@Noboxj
Copy link
Author

Noboxj commented May 8, 2024

Anybody got any news of how to resolve this issue or does someone knows a workaround or another way to do it ?

@github-actions github-actions bot removed the Stale label May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants