-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[Bug]: after openal-soft bump to 1.24.2, sound stopped working in x11/luanti #23148
Labels
audio
Issue related to audio device support, including ALSA
bug report
Something is not working properly
Comments
robertkirkman
added a commit
to robertkirkman/termux-packages
that referenced
this issue
Feb 10, 2025
robertkirkman
added a commit
to robertkirkman/termux-packages
that referenced
this issue
Feb 11, 2025
robertkirkman
added a commit
to robertkirkman/termux-packages
that referenced
this issue
Feb 11, 2025
robertkirkman
added a commit
to robertkirkman/termux-packages
that referenced
this issue
Feb 11, 2025
robertkirkman
added a commit
to robertkirkman/termux-packages
that referenced
this issue
Feb 11, 2025
robertkirkman
added a commit
to robertkirkman/termux-packages
that referenced
this issue
Feb 16, 2025
This is a potential alternative solution to termux#23148
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Labels
audio
Issue related to audio device support, including ALSA
bug report
Something is not working properly
Problem description
When I uploaded
luanti
, the sound was working, but after fa1118b, for me the sound stopped working, and this error appeared instead:using
export ALSOFT_LOGLEVEL=3
can show slightly more information:I completely do not understand why
mplayer -ao openal
,mpd
, andmpv --ao=openal
continue to work with this version ofopenal-soft
whileluanti
does not,and I have been unable to find any way to patchluanti
to work with the currentopenal-soft
package, which is very confusing sinceluanti
callsalcOpenDevice()
in an almost completely identical way to howmplayer
calls it. I cannot tell what the difference is, and all changes I have attempted toluanti
'salcOpenDevice()
call have had no effect (for example I tried refactoring out the references tounique_ptr_alcdevice
in such a way that the sound continued to work withopenal-soft
1.24.1, but it still did not work with 1.24.2).https://github.com/luanti-org/luanti/blob/dd0070a6b8a28e2fe2ac591b3ea96813ba9ffcb0/src/client/sound/sound_singleton.cpp#L15
The onlyOne of two ways I have found to work around this is to revert the two commits inopenal-soft
1.24.2 that I bisected this problem to.kcat/openal-soft@8767fdd
kcat/openal-soft@e359dbf
the other way to work around the problem is to add
export LDFLAGS+=" -Wl,--no-as-needed,-lOpenSLES,--as-needed"
to thebuild.sh
ofluanti
or any other packages that might be found to exhibit the same problem in the future.What steps will reproduce the bug?
What is the expected behavior?
Working sound in
luanti
System information
The text was updated successfully, but these errors were encountered: