Foobar2000 audio issues
- PipeWire version 0.3.71
- Linux Mint 21.2 Cinnamon
- Kernel 6.1.0-1015-oem
- i7-1160G7
I have frequent stuttering and skipping using Foobar2000 in WINE (foobar 1.6.12, wine 8.0.1). This is the same issue as Stuttering sound with foobar2000 on wine, but since that issue went into a long thread about scheduling and I have some different questions I thought I would make a new issue.
I tried both foo_out_pulse and adjusting pipewire settings and both have their own problems. I also want to understand the underlying cause better to possibly develop a foobar component.
Using pipewire settings pw-metadata -n settings 0 clock.force-quantum 2048
as suggested here seems to help. The problem is there is no setting in pipewire.conf that I found to achieve the same effect. It could be that I need to set clock.quantum
and clock.min-quantum
to the same value, or change settings in pipewire-pulse.conf but so far I haven't had much luck.
Using foo_out_pulse I can get the audio to stop glitching by using this conf file and adding export PULSE_SERVER=tcp:127.0.0.1:4713
to ~/.profile. The problem there is the system volume control no longer works, I don't know why. It seems like pulseaudio is using the TCP server not just for foobar but won't see it at all if I don't export PULSE SERVER
and try to use it in foobar's .desktop file. It could also be a problem with the component.
I would be okay with either solution If I could get one fully working. If it's possible to make wine/foobar into pipewire client by developing a new component I would try possibly although I don't fully understand the cause of xruns in this case. There is also quite a lot going on in the component here and how it would interface with pipewire is another question.
I think finding settings approximating pw-metadata -n settings 0 clock.force-quantum 2048
might still be the best solution, but help with any of the 3 approaches would be useful.