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

Fast distorted audio sometimes #25156

Closed
taep96 opened this issue Oct 17, 2023 · 4 comments
Closed

Fast distorted audio sometimes #25156

taep96 opened this issue Oct 17, 2023 · 4 comments

Comments

@taep96
Copy link

taep96 commented Oct 17, 2023

Type

Game behaviour

Bug description

Sometimes when opening the game audio sounds weird, a restart (of the game) fixes it. Maybe it's related to the clocks update that was mentioned on the lazer updates video.

Screenshots or videos

2023-10-17_13-01-07.mp4

Version

2023.1008.1 (could be earlier)

Logs

database.log
input.log
network.log
performance.log
performance-audio.log
performance-draw.log
performance-input.log
performance-update.log
runtime.log

@bdach
Copy link
Collaborator

bdach commented Oct 17, 2023

Maybe it's related to the clocks update

No it's probably related to your linux setup. Let me guess, pipewire?

Likely similar thing as #23149 and co.

@taep96
Copy link
Author

taep96 commented Oct 17, 2023

I think it started happening in this or maybe the previous version of the game but I'm not sure if I updated PipeWire in that time. Should I close this issue?

@bdach
Copy link
Collaborator

bdach commented Oct 17, 2023

Unless you can conclusively prove that this was caused by our changes by way of comparing releases and/or providing a reproducer, probably.

@taep96 taep96 closed this as completed Oct 17, 2023
@dali99
Copy link

dali99 commented Mar 15, 2024

Since this issue is about the audio being faster than intended I'm posting some information that might help for other users with the same symptoms here.

running pw-top:

R   48   1024  48000 769,5us   0,8us  0,04  0,00    0    S16LE 1 48000 alsa_input.usb-my-real-headset-00.mono-fallback
R   47      0      0   7,7us 130,7us  0,00  0,01    0    S24LE 2 48000  + alsa_output.usb-my-real-headset-00.analog-stereo
...
R  116    441  44100  16,0us  34,5us  0,00  0,00    0    F32LE 2 44100  + alsa_playback.osu!

These are the default values I get on my distro without configuring pipewire or wireplumber with anything other than creating a few sinks and sources

If I use pw-metadata -n settings 0 clock.force-quantum <n> with any value above 441 (the buffer osu sets) it will have the sped up distortion. The same or below makes it sound right (at least to my ears)

Setting this value low is the kind of thing an osu player would do to get lower latency anyways so maybe this is why the error is not common?

I don't know how or why 411 is chosen or if that value is stable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants