Bug#1034649: 7kaa: Unplugging USB headset hangs 7kaa
P. J. McDermott
pj at pehjota.net
Mon Dec 18 18:22:37 GMT 2023
Hi Nils,
On Thu, 20 Apr 2023 22:20:34 +0200 Nils Dagsson Moskopp <nils+debian-p14s at dieweltistgarnichtso.net> wrote:
> whenever I unplug the USB headset while 7kaa is running, it hangs.
> 7kaa prints a single line of output to the terminal, quoted below:
>
> > AL lib: (EE) ALCpulsePlayback_streamStateCallback: Received stream failure!
This looks like one of (many[1][2][3][4]) bugs in OpenAL's PulseAudio
backend (apparently OpenAL's upstream maintainer doesn't use PulseAudio,
which I don't either). I found reports of it affecting at least one
other game. If we can't solve it here, I'll reassign.
An apparent solution is to edit "/etc/openal/alsoft.conf" and under
"[pulse]" change "allow-moves" to "true". Can you try this and report
whether that solves the issue?
It's also possible that there's an infinite loop somewhere in 7kaa's
src/openal/openal_audio.cpp triggered by this OpenAL error. Could you
please install 7kaa-dbgsym, run 7kaa under gdb, reproduce the hang, and
get a backtrace?
$ apt install 7kaa-dbgsym gdb
$ gdb 7kaa
(gdb) run
^C
(gdb) backtrace
(gdb) quit
> Versions of packages 7kaa depends on:
[...]
> ii libopenal1 1:1.19.1-2
[1]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=548373
[2]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=551018
[3]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=562524
[4]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=566634
--
Patrick "P. J." McDermott: http://www.pehjota.net/
Lead Developer, ProteanOS: http://www.proteanos.com/
Founder and CEO, Libiquity: http://www.libiquity.com/
More information about the Pkg-games-devel
mailing list