minetest 5.7 no sound

Post Reply
Linrox
Member
Posts: 10
Joined: Sun Aug 21, 2022 05:22
GitHub: Linrox
In-game: Linrox

minetest 5.7 no sound

by Linrox » Post

Just did a clean reinstall of minetest 5.7 on my linux (opensuse 15.4) and there is no sound.
Checked a few forums and some tutorials on finding the issue, but nothing worked.
Checked both alsa and pulse audio, and they have no issues.
finally found the debug log, and it says

ERROR[Main]: Audio: Global Initialization: Failed to create context

I don't know how to fix that??

some help would be nice.
Thx
cdb_069adb3b3c99

User avatar
Desour
Member
Posts: 1472
Joined: Thu Jun 19, 2014 19:49
GitHub: Desour
IRC: Desour
In-game: DS
Location: I'm scared that if this is too exact, I will be unable to use my keyboard.

Re: minetest 5.7 no sound

by Desour » Post

Which openal implementation (usually openal-soft) and version do you have installed?
Try running `$ openal-info`. Does it produce errors?
he/him; Codeberg; GitHub; ContentDB; public personal TODO list; "DS" is preferred (but often too short)

Linrox
Member
Posts: 10
Joined: Sun Aug 21, 2022 05:22
GitHub: Linrox
In-game: Linrox

Re: minetest 5.7 no sound

by Linrox » Post

openal-info
Available playback devices:
JACK Default
Available capture devices:
Monitor Source of Simultaneous output to Family 17h (Models 00h-0fh) HD Audio Controller Analog Stereo, Built-in Audio Stereo, GP107GL High Definition Audio Controller Digital Stereo (HDMI)
Family 17h (Models 00h-0fh) HD Audio Controller Analog Stereo
Monitor of Family 17h (Models 00h-0fh) HD Audio Controller Analog Stereo
Monitor of Built-in Audio Stereo
Monitor of GP107GL High Definition Audio Controller Digital Stereo (HDMI)
Default playback device: JACK Default
Default capture device: Monitor Source of Simultaneous output to Family 17h (Models 00h-0fh) HD Audio Controller Analog Stereo, Built-in Audio Stereo, GP107GL High Definition Audio Controller Digital Stereo (HDMI)
ALC version: 1.1

** Info for device "JACK Default" **
ALC version: 1.1
ALC extensions:
ALC_ENUMERATE_ALL_EXT, ALC_ENUMERATION_EXT, ALC_EXT_CAPTURE,
ALC_EXT_DEDICATED, ALC_EXT_disconnect, ALC_EXT_EFX,
ALC_EXT_thread_local_context, ALC_SOFTX_device_clock, ALC_SOFT_HRTF,
ALC_SOFT_loopback, ALC_SOFT_pause_device
Available HRTFs:
default-44100.mhr
default-48000.mhr
AL lib: (EE) ALCjackPlayback_start: No physical playback ports found

!!! Failed to set a context !!!
cdb_069adb3b3c99

User avatar
Blockhead
Member
Posts: 1674
Joined: Wed Jul 17, 2019 10:14
GitHub: Montandalar
IRC: Blockhead256
In-game: Blockhead Blockhead256
Location: Land Down Under
Contact:

Re: minetest 5.7 no sound

by Blockhead » Post

Did you install from your own compiled version or from your distro's package repository? If it's from your package manager, report the issue to SUSE. Debian broke OpenAL support in Minetest at one point, so it may be similar.
/˳˳_˳˳]_[˳˳_˳˳]_[˳˳_˳˳\ Advtrains enthusiast | My map: Noah's Railyard | My Content on ContentDB ✝️♂

Linrox
Member
Posts: 10
Joined: Sun Aug 21, 2022 05:22
GitHub: Linrox
In-game: Linrox

Re: minetest 5.7 no sound

by Linrox » Post

the minetest install came from the main site for my distro.
The linux files are from official repo's for my distro.
cdb_069adb3b3c99

User avatar
rubenwardy
Moderator
Posts: 6977
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: Bristol, United Kingdom
Contact:

Re: minetest 5.7 no sound

by rubenwardy » Post

The fact that openal-info shows an error means that the issue is with openal, not Minetest. Does your system have a speaker attached?
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

Linrox
Member
Posts: 10
Joined: Sun Aug 21, 2022 05:22
GitHub: Linrox
In-game: Linrox

Re: minetest 5.7 no sound

by Linrox » Post

using headphones, no sound issues with any other game or app
cdb_069adb3b3c99

User avatar
Desour
Member
Posts: 1472
Joined: Thu Jun 19, 2014 19:49
GitHub: Desour
IRC: Desour
In-game: DS
Location: I'm scared that if this is too exact, I will be unable to use my keyboard.

Re: minetest 5.7 no sound

by Desour » Post

It's clearly not a minetest-specific issue.
Linrox wrote:
Wed May 31, 2023 08:49
AL lib: (EE) ALCjackPlayback_start: No physical playback ports found

!!! Failed to set a context !!!
I've found where the error message is coming from:
https://github.com/kcat/openal-soft/blo ... k.cpp#L581
The wording of the message changed about 2 years ago. You could try to install a recent openalsoft version.
You could also try disabling that [jack] "connect-ports" option (probably something in `$ alsoft-config` -> Backends -> Jack, if not, the config file is at ~/.config/alsoft.conf), I have no idea if that helps though.
If both doesn't help, consider opening an issue at openalsoft.
he/him; Codeberg; GitHub; ContentDB; public personal TODO list; "DS" is preferred (but often too short)

User avatar
Desour
Member
Posts: 1472
Joined: Thu Jun 19, 2014 19:49
GitHub: Desour
IRC: Desour
In-game: DS
Location: I'm scared that if this is too exact, I will be unable to use my keyboard.

Re: minetest 5.7 no sound

by Desour » Post

Also, you can try not using the jack alsoft driver:
$ ALSOFT_DRIVERS=pulse minetest
doc: <https://github.com/kcat/openal-soft/blo ... rs.txt#L26>
he/him; Codeberg; GitHub; ContentDB; public personal TODO list; "DS" is preferred (but often too short)

Linrox
Member
Posts: 10
Joined: Sun Aug 21, 2022 05:22
GitHub: Linrox
In-game: Linrox

Re: minetest 5.7 no sound

by Linrox » Post

i am a little lost on how to fix this, maybe i am just tired.
Try again tomorrow.
cdb_069adb3b3c99

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests