protonscr

[BUG] No sound in SteamVR Home and HL Alyx

steamvrclosed bug
ValveSoftware/SteamVR-for-Linux#651 · opened 2023-11-26 by shfbsdbvf · updated 2023-12-02 · 4 comments · github
Sshfbsdbvf 2023-11-26 github

Describe the bug
No sound in games mentioned in issue title. The workarounds mentioned in https://wiki.gentoo.org/wiki/Steam/Client_troubleshooting#No_sound_in_SteamVR_Home and https://wiki.gentoo.org/index.php?title=Steam/Games_troubleshooting&oldid=1269251#No_sound_in_.22Half-Life:_Alyx.22 used to help, but now they are more complicated, causing a big headache for users:

The workaround is to keep the last one (from pinned_libs_64) where it is, launch SteamVR, move it after SteamVR launched successfully and to launch hl alyx after library was moved.

To Reproduce

  1. launch steamvr home or hl alyx
  2. there's no sound

Expected behavior
Sound is expected to work.

System Information (please complete the following information):

Additional context
Could you please fix libSDL2 sound problems? I have this problem for half a year but instead of getting fixed it becomes worse :(
Or at least publish the build options of libSDL2 that is shipped with steam. GNU/Linux has many ways to output sound, the problem is probably caused by sound setup in system not corresponding to the one expected by steam. If sound setup requirements are published users can adjust their setup and probably the problem will be solved.

Note: Commenters who are also experiencing this issue are encouraged to include the "System Information" section in their replies.

Kkisak-valve maintainer 2023-11-26 github

Hello @shfbsdbvf, this reads like #524. Can you check if the older workaround still has an effect?

XXDM-Inc 2023-12-01 github

Im having the same issue but on Fedora. i checked protondb and it seems that others that are on fedora WITH a nvidia gpu are also having the issue. for me sound works on ubuntu and arch. the issue is when trying to play the linux native version. removing that file FIXED IT for me!

Kkisak-valve maintainer 2023-12-01 github

Closing in favor of the older issue report.

Sshfbsdbvf 2023-12-02 github

https://github.com/ValveSoftware/SteamVR-for-Linux/issues/651#issuecomment-1836055324 , thanks, what you described looks like a more accurate workaround. The issue that I created disappeared in SteamVR 2.1.8. Now moving/renaming libSDL2 doesn't fix the sound, but moving renaming libmpg123.so.0 does. Unfortunately if I keep libSDL2 unchanged, hl alyx just doesn't launch. If I rename both of them, everything works fine.

The log of last issue is not verbose but maybe it will help you:
steam-output.txt
crash_20231202132633_2.dmp.txt (github doesn't allow uploading .dmp so I added .txt)

Nothing extracted yet.