[Bug 42856] New: osu! - high sound latency with winepulse compared to winealsa
https://bugs.winehq.org/show_bug.cgi?id=42856 Bug ID: 42856 Summary: osu! - high sound latency with winepulse compared to winealsa Product: Wine Version: 2.6 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-dsound Assignee: wine-bugs(a)winehq.org Reporter: yalterz(a)gmail.com Distribution: --- I'm trying to set up PulseAudio to achieve the same low audio latency as I'm getting with just ALSA. Looks like I managed to achieve this, but not as I would expect. Currently my setup is: PulseAudio with default configuration, along with pulseaudio-alsa integration which basically forwards all ALSA-using programs straight to Pulse. I am using patched winealsa.drv for reduced latency (changing three constants at the top of mmdevdrv.c — DefaultPeriod, MinimumPeriod, EXTRA_SAFE_RT — to lower values, the ones that work for me: 20000, 20000, 11000 respectively). I applied a very similar patch to winepulse.drv. When running osu! through ALSA (sound=alsa), which effectively runs it through ALSA->PulseAudio->ALSA device, the audio latency is almost non-existant — similar if not the same as what I was getting with just ALSA. When running osu! through PulseAudio (sound=pulse), effectively PulseAudio->ALSA device, the audio latency is noticeably higher (at least 20ms higher), even though it practically removes one extra step from the audio "chain". -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=42856 Ivan Molodetskikh <yalterz(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Distribution|--- |ArchLinux -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=42856 Ivan Molodetskikh <yalterz(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|directx-dsound |-unknown -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=42856 --- Comment #1 from Ivan Molodetskikh <yalterz(a)gmail.com> --- Created attachment 57961 --> https://bugs.winehq.org/attachment.cgi?id=57961 Starting the game with sound=alsa -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=42856 --- Comment #2 from Ivan Molodetskikh <yalterz(a)gmail.com> --- Created attachment 57962 --> https://bugs.winehq.org/attachment.cgi?id=57962 Starting the game with sound=pulse -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=42856 Matteo Bruni <matteo.mystral(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aeikum(a)codeweavers.com -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=42856 --- Comment #3 from Ivan Molodetskikh <yalterz(a)gmail.com> --- This seems to be happening with other applications as well. Just tried Half-Life with a clean install of Steam in another 64-bit wine prefix. Same issue: winealsa gives lower sound latency than winepulse. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=42856 --- Comment #4 from Ivan Molodetskikh <yalterz(a)gmail.com> --- Same behaviour in wine 2.7. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=42856 Franc[e]sco <lolisamurai(a)tfwno.gf> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lolisamurai(a)tfwno.gf --- Comment #5 from Franc[e]sco <lolisamurai(a)tfwno.gf> --- Can confirm this bug, also still happens in wine 2.8 let me know if you need any logging/testing other than what OP has already provided -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=42856 --- Comment #6 from Ivan Molodetskikh <yalterz(a)gmail.com> --- Same behaviour in wine 2.9. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=42856 --- Comment #7 from Ivan Molodetskikh <yalterz(a)gmail.com> --- Same behaviour in wine 2.20. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=42856 --- Comment #8 from Ivan Molodetskikh <yalterz(a)gmail.com> --- Same behaviour in wine 3.0-rc5. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=42856 Hugo "ThePooN" Denizart <thepoon(a)cartooncraft.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |thepoon(a)cartooncraft.fr --- Comment #9 from Hugo "ThePooN" Denizart <thepoon(a)cartooncraft.fr> --- Can confirm on Wine 3.0-rc5. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=42856 tokktokk <fdsfgs(a)krutt.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fdsfgs(a)krutt.org -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=42856 --- Comment #10 from Hugo "ThePooN" Denizart <thepoon(a)cartooncraft.fr> --- In this blog post, I detailed how I was able to reduce the osu! audio latency while using PulseAudio and winepulse.drv with a patch. I haven't tested it with osu! and it is in no way up to anyone's standards, but I'll still leave it here. https://blog.thepoon.fr/osuLinuxAudioLatency/ -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=42856 --- Comment #11 from Hugo "ThePooN" Denizart <thepoon(a)cartooncraft.fr> --- with anything else than osu!* -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=42856 joaopa <jeremielapuree(a)yahoo.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree(a)yahoo.fr --- Comment #12 from joaopa <jeremielapuree(a)yahoo.fr> --- Does the bug still occur with wine-6.4? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=42856 --- Comment #13 from Ivan Molodetskikh <yalterz(a)gmail.com> --- This isn't a "clean" test as I'm now running pipewire instead of PulseAudio on F34 with wine 6.3, but according to my tests winealsa still has a bit lower latency than I can get with winepulse, even when tuning pipewire's PULSE_LATENCY_MSEC to the lowest value that doesn't produce sound glitches. Note that on this setup winealsa goes through pipewire-alsa, and winepulse through pipewire-pulse. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=42856 --- Comment #14 from Hugo "ThePooN" Denizart <thepoon(a)cartooncraft.fr> --- I am running a fairly tuned Wine install (as described in my blog post, although it has changed a bit) and have not tried vanilla Wine in recent times. @Ivan With pipewire, you should use PIPEWIRE_LATENCY. Beware that it conflicts with PULSE_LATENCY_MSEC and these two should not be used together. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=42856 Neko-san <nekoNexus(a)protonmail.ch> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nekoNexus(a)protonmail.ch -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (2)
-
wine-bugs@winehq.org -
WineHQ Bugzilla