pipewire jack replacement not specifying latency to WineASIO
I am using WineASIO to run some windows vst plugins. I have configured real jack for 128 samples at 48kHz and in the vst plugin configuration window, I can see its specifying 128 samples.
However, when I use pipewire jack replacement it doesnt work correctly. This is the command I used to launch the application
PIPEWIRE_LATENCY=128/48000 WINEPREFIX=/home/jjcasmar/.local/share/proton-pfx/0/pfx wine64 Archetype\ Gojira/Archetype\ Gojira.exe
but WineASIO receives 1024 samples. This gives an eternal xrun.
However, pw-top reports that its using 128 samples
! 28 0/0 0.0 s 0.0 s 0.00 0.00 0 Dummy
! 36 0/0 0.0 s 0.0 s 0.00 0.00 0 Midi-Bridge
! 45 0/0 0.0 s 0.0 s 0.00 0.00 0 api.v4l2.source.v4l2_device.pci-0000:05:00.3-usb-0:6.1:1.0
59 128/48000 504.6 s 0.4 s 0.19 0.00 32900 alsa_input.usb-Focusrite_Scarlett_Solo_USB_Y7EXW5U950E6FE-00.analog-stereo
48 0/0 11.3 s 7.9 s 0.00 0.00 63108 + alsa_output.pci-0000:0b:00.1.hdmi-stereo-extra4
49 0/0 4.2 s 6.9 s 0.00 0.00 60787 + alsa_output.pci-0000:0d:00.4.iec958-stereo
58 0/0 2.7 s 1.2 s 0.00 0.00 60779 + alsa_output.usb-Focusrite_Scarlett_Solo_USB_Y7EXW5U950E6FE-00.analog-stereo
! 70 128/48000 499.3 s 18446743552.0s 0.19 -0.01 69164 + Archetype Gojira
This is the pw-dump data for the client
{
"id": 67,
"type": "PipeWire:Interface:Client",
"version": 3,
"permissions": [ "r", "w", "x", "m" ],
"info": {
"change-mask": [ "props" ],
"props": {
"pipewire.protocol": "protocol-native",
"pipewire.sec.pid": 17842,
"pipewire.sec.uid": 1000,
"pipewire.sec.gid": 1000,
"module.id": 2,
"object.id": 67,
"client.name": "Archetype Gojira",
"client.api": "jack",
"context.profile.modules": "default,rtkit",
"default.clock.rate": 48000,
"default.clock.quantum": 1024,
"default.clock.min-quantum": 32,
"default.clock.max-quantum": 8192,
"default.video.width": 640,
"default.video.height": 480,
"default.video.rate.num": 25,
"default.video.rate.denom": 1,
"link.max-buffers": 64,
"mem.allow-mlock": true,
"cpu.max-align": 32,
"application.name": "wine64-preloader",
"application.process.binary": "wine64-preloader",
"application.language": "es_ES.UTF-8",
"application.process.id": 17842,
"application.process.user": "jjcasmar",
"application.process.host": "archlinux",
"application.process.session-id": 2,
"window.x11.display": ":0",
"core.version": "0.3.19",
"core.name": "pipewire-jjcasmar-17842",
"pipewire.access": "unrestricted"
}
}
},