Steam does not support alsa 1.1.0, no audio
Same problem here.
Deleting/renaming alsa-lib folde and libasound.so.* in the steam-runtime folder should fix the problem.
~/.steam/steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/ ~/.steam/steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/ RELATED: #3376
You can also just launch steam like this:
EDIT (2015.11.23, added 64-bit version of lib):
LD_PRELOAD="/usr/lib/libasound.so.2:/usr/lib64/libasound.so.2" steam
And not need to delete files that will come back each time steam updates. :tada:
You could also create a wrapper for steam using that LD_PRELOAD method:
EDIT (2015.11.23, added 64-bit version of lib):
#!/bin/sh
LD_PRELOAD="/usr/lib/libasound.so.2:/usr/lib64/libasound.so.2" /usr/bin/steam
Call it /usr/local/bin/steam (so you don't overwrite the one in /usr/bin).
Same problem here, I've downgraded to 1.0.29 because it was causing crashes. Additionally, Transistor game stopped working when you launched it on Steam due to this problem.
Edit: I've got PulseAudio installed too.
@ChuckDaniels87 have you tried launching steam like this (from the command line)?
LD_PRELOAD="/usr/lib/libasound.so.2:/usr/lib64/libasound.so.2" steam
@ryanpcmcquen It works launching steam that way (both Steam audio and Transistor game).
@ChuckDaniels87 to make it permanent, create a file named /usr/local/bin/steam (that should take precedence over /usr/bin/steam on most Linux systems.
Put this in it:
#!/bin/sh
LD_PRELOAD="/usr/lib/libasound.so.2:/usr/lib64/libasound.so.2" /usr/bin/steam
UPDATE (2015.12.02): An even better, and shorter way to write this is:
#!/bin/sh
LD_PRELOAD='/usr/$LIB/libasound.so.2' /usr/bin/steam
P.S. The single quotes are important!
Thanks for the tip but this bug should be fixed sooner or later. I don't like to make this kind of fixes permanent because I always forgot that I did it in a couple of days (making it really permanent :stuck_out_tongue_winking_eye:). Thank you for the fix anyways! :+1:
@ryanpcmcquen When I try launching Steam with LD_PRELOAD="/usr/lib/libasound.so.2:/usr/lib64/libasound.so.2" steam, it says that they can't be preloaded, and says (wrong ELF class: ELFCLASS64): ignored. twice. Similar things happen with the other suggestions here,
@Zekario, did you actually see if sound was working?
Here is the thing. Steam is 32-bit, some games (like XCOM: Enemy Unknown), are 64-bit, therefore you need both libraries. That 'error' is innocuous, sound will work. Don't just assume it won't because of that output.
@ikokostya the problem with that fix, is that any Steam update is going to bring those files back. The LD_PRELOAD forces the same behavior by loading your system ALSA lib instead of the one bundled with Steam.
I assumed it didn't work because nothing happened after I tried it in the terminal. It went back to the prompt and didn't open Steam.
Try launching it like this:
LD_PRELOAD='/usr/$LIB/libasound.so.2' /usr/bin/steam &
Just in case someone will get the same issue: the "delete *asound*.so* and alsa-related folders from ~/.steam/root/" way worked for me for a week or so, but today CS:GO suddenly started to crash whenever I try to join the game, right before the level is loaded (tried casual mode only, not sure if it affect any other).
Launching steam as @ryanpcmcquen said (LD_PRELOAD='/usr/$LIB/libasound.so.2' /usr/bin/steam &) works OK.
Alsa 1.1.0, Arch Linux rolling x86_64.
@ryanpcmcquen That seems to have worked after a restart, I think I already had Steam running. Thanks!
@Zekario @ivan-kolmychek :+1:
Is there any way to get sound while streaming to Arch working without downgrading alsa-lib? Doesn't seem like this bug will get fixed anytime soon. Setting LD_PRELOAD only works for local games.
Okay, this is strange: alsa-lib < 1.1.0 without lib32-alsa-lib: works alsa-lib = 1.1.0 without lib32-alsa-lib: does not work alsa-lib = 1.1.0 with lib32-alsa-lib: works with LD_PRELOAD='/usr/lib32/libasound.so.2:/usr/lib64/libasound.so.2'
The fix seems to have stopped working, at least on my laptop. Sound doesn't work, despite launching it via the above methods. There was a pretty big Arch update recently, and Steam updated as well.
@ryanpcmcquen now steam doesn't want to launch at all :/
EDIT: It launches after a restart, still no sound.