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

Sounds are playing with big delay on ASUS VivoBook 14 #50496

Open
Tracked by #76797
palerite opened this issue Jul 15, 2021 · 11 comments
Open
Tracked by #76797

Sounds are playing with big delay on ASUS VivoBook 14 #50496

palerite opened this issue Jul 15, 2021 · 11 comments

Comments

@palerite
Copy link

palerite commented Jul 15, 2021

Godot version

3.3 stable

System information

Windows 10, intel core i5, 8GB RAM

Issue description

I used Godot for a year and everything was ok. But few days ago I moved to a new laptop(better than previous) and now sounds in all Godot games(debug mode and .exe files) are playing with delay like 300ms.

Steps to reproduce

Just use AudioStreamPlayer or AudioStreamPlayer2D

Minimal reproduction project

It happens in every project

@Calinou
Copy link
Member

Calinou commented Jul 15, 2021

Can you reproduce this in other applications playing sound (such as games)? System-wide tools like equalizers and sound processing utilities may add noticeable latency.

I used Godot for a year and everything was ok. But few days ago I moved to a new laptop(better than previous) and now sounds in all Godot games(debug mode and .exe files) are playing with delay like 300ms.

Did you switch to a newer Godot version in the meantime? 3.3 wasn't released a year ago.

@palerite
Copy link
Author

  1. Everything is fine everywhere except Godot
  2. I switched to a newest version, it didn’t help

@Calinou
Copy link
Member

Calinou commented Jul 15, 2021

I switched to a newest version, it didn’t help

What I mean is, did Godot 3.3 exhibit noticeable sound latency on your old laptop?

Try comparing apples to apples – use the same Godot version on both machines 🙂
If you no longer have access to your old laptop, use an old Godot version that matches the one you previously used.

@palerite
Copy link
Author

I tested it and everything is ok on my old laptop.

@ghost
Copy link

ghost commented Jul 21, 2021

This also seems to happen on Linux Mint

@Calinou
Copy link
Member

Calinou commented Jul 21, 2021

This also seems to happen on Linux Mint

The same questions I asked above apply to you as well 🙂

Can you reproduce this in other applications playing sound (such as games)? System-wide tools like equalizers and sound processing utilities may add noticeable latency.

@ghost
Copy link

ghost commented Jul 21, 2021

Sorry for wasting your time, this "bug" seems to happen due to what exactly you've listed.
If you're experiencing this bug, restart your computer, the delay issue will go away.

@Calinou
Copy link
Member

Calinou commented Jul 22, 2021

If you're experiencing this bug, restart your computer, the delay issue will go away.

This is a common issue with PulseAudio in my experience. If you saturate the CPU a lot, latency may go up and the only way to bring it back down is to reboot or kill PulseAudio (and let it restart on its own). Having long uptimes will make this more noticeable.

@palerite
Copy link
Author

I rebooted my laptop and it didn't help.

@ellenhp
Copy link
Contributor

ellenhp commented Aug 18, 2021

What's the most recent godot version you've used that did not have this problem?

@palerite
Copy link
Author

Version 3.3.2 on any other computer

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