2 second delay when creating OpenAL context
- PipeWire version (
pipewire --version
): 0.3.83 or master (b92b66cf) - Distribution and distribution version (
PRETTY_NAME
from/etc/os-release
): Arch Linux - Desktop Environment: XFCE 4.18
- Kernel version (
uname -r
): 6.1.58-1-lts
Description of Problem:
After upgrading to 0.3.83, there is a long delay when opening certain applications that use OpenAL on Linux. However, OpenAL programs that run in flatpak are fine. Only 'native' programs have the problem.
git bisect tells me 11320cf20394386a1e686af356a54c2b1154818b is the first bad commit
How Reproducible:
100%. I've tested this on 4 different Arch Linux computers.
Steps to Reproduce:
The minimal program to reproduce this would be:
#include <alc.h>
int main(void) {
ALCdevice *device = alcOpenDevice(0);
ALCcontext *context = alcCreateContext(device, 0);
return 0;
}
Compile with gcc main.c $(pkg-config openal --libs --cflags) -o altest
Actual Results:
time ./altest
real 0m2.006s
user 0m0.005s
sys 0m0.009s
Expected Results:
time ./altest
real 0m0.036s
user 0m0.008s
sys 0m0.004s
Additional Info (as attachments):
-
pw-dump > pw-dump.log
: pw-dump.log