Skip to content

Releases: Jebaitedneko/wine-staging

winepulse-plus-0.5

27 Mar 11:52
Compare
Choose a tag to compare
winepulse: latency patch

Based off of ThePoon's patch over at https://blog.thepoon.fr/osuLinuxAudioLatency/

* Expose more stuff to be configurable while keeping the original logic intact when the environment variables are not explicitly set

Tunables (To be set as environment variables):
1) STAGING_AUDIO_MINP         (default: 30000)
2) STAGING_AUDIO_DEFP         (default: 100000)
3) STAGING_AUDIO_PERIOD       (default: dynamic)
4) STAGING_AUDIO_DURATION     (default: dynamic)
5) STAGING_AUDIO_LATENCY      (default: 10000000)
6) STAGING_AUDIO_USECS        (default: 1000)

winepulse-plus-0.4

07 Apr 18:17
Compare
Choose a tag to compare

LTO build.

winepulse-plus-0.2

16 Mar 21:28
Compare
Choose a tag to compare

Patched and optimized winepulse.drv.

Works from wine-5.x(-staging)

Recommended to use wine-tkg from https://github.com/Frogging-Family/wine-tkg-git/releases

Usage:

Install: ./patch.sh p
Uninstall: ./patch.sh r

You can either use it without exporting any variables (and using normal mode in osu with ~-32 global offset)

OR export these and use WITH AUDIO COMPATIBILITY MODE IN OSU (values to be adjusted to your preferences):
export STAGING_AUDIO_MINP=1000 # these 3 can be set to the same values
export STAGING_AUDIO_DEFP=1000 #
export STAGING_AUDIO_PERIOD=1000 #
export STAGING_AUDIO_DURATION=10000 # main variable to play around with
export STAGING_AUDIO_LATENCY=10000000 # these 2 better left as is
export STAGING_AUDIO_USECS=100 #
export PULSE_LATENCY_MSEC=1 # lowest you can set

wine-osu-6.2-staging

23 Feb 11:53
Compare
Choose a tag to compare

wine-6.2 (32bit only) with staging patches built with patched winepulse.drv, -g0 and -O3 optimization level with everything stripped after make install

intended to be used with lutris osu! install, replacing the tkg lutris runner

extract to ~/.local/share/lutris/runners/wine/wine-osu-6.2-staging

restart lutris, change runner to the new one and configure environment variables

Tunables (To be set as environment variables):
Patch: 1d83586

  1. STAGING_AUDIO_MINP (default: 30000)
  2. STAGING_AUDIO_DEFP (default: 100000)
  3. STAGING_AUDIO_DURA (default: dynamic)
  4. STAGING_AUDIO_SLAT (default: 10000000)
  5. STAGING_AUDIO_USEC (default: 1000)

you should first lower 3. as much as you can get osu to work with and then 1. and 2.

tuning 4. and 5. are optional

global offset of about -25 to -30 needed cuz of driver overhead (there's no real latency here)

personal setting:

pulse_probe_settings:504 :: Using 1 usecs for attr.tlength and attr.fragsize (STAGING_AUDIO_USEC).
pulse_probe_settings:546 :: Set MinimumPeriod to 1 (STAGING_AUDIO_MINP).
pulse_probe_settings:552 :: Set DefaultPeriod to 1 (STAGING_AUDIO_DEFP).
AudioClient_Initialize:2037 :: Set duration to 4000 (STAGING_AUDIO_DURA).
AudioClient_GetStreamLatency:2164 :: Set *latency to 100000 (STAGING_AUDIO_SLAT).

winepulse-plus-0.1

09 Feb 21:16
Compare
Choose a tag to compare

Precompiled patched wine-6.0-staging (-g0, -Ofast, stripped) winepulse.drv.

Works on wine-6.1-staging

Usage:

Install: ./patch.sh p
Uninstall: ./patch.sh r
Set: ./apply.sh a
Reset: ./apply.sh r