steam-for-linux icon indicating copy to clipboard operation
steam-for-linux copied to clipboard

No sound after latest steam beta update

Open pztrn opened this issue 13 years ago • 44 comments

Sound completely disappears after last steam beta update (including games, tested on counterstrike, halflife, killing floor). Other 32bit games can do sound output and use my sound input.

System Info: http://server.pztrn.ru/paste/260

Terminal output while launching counterstrike: http://server.pztrn.ru/paste/261

pztrn avatar Feb 02 '13 06:02 pztrn

Does it work if you launch it like this? STEAM_RUNTIME=0 steam

If so, what's the output relating to sound in the terminal?

slouken avatar Feb 02 '13 06:02 slouken

Ye, it works in that way, no output in terminal about sound.

pztrn avatar Feb 02 '13 06:02 pztrn

How does your version of Arch handle sound? Does it use pulseaudio? ALSA? What versions of those libraries? What are your sound configuration files and their contents?

Thanks!

slouken avatar Feb 02 '13 06:02 slouken

Same issue in Fedora 18, no sound in game after updating TF2. The lines suggesting "warning: The VAD has been replaced by a hack pending a complete rewrite" are a little disconcerting, sound used to work fine, yes music had the selinux JIT issue but I dont need music, ingame sounds however are a little more important

PulseAudio connect failed (used only for Mic Volume Control) with error: Access denied warning: The VAD has been replaced by a hack pending a complete rewrite AL lib: pulseaudio.c:612: Context did not connect: Access denied ALSA lib dlmisc.c:254:(snd1_dlobj_cache_get) Cannot open shared library /usr/lib/i386-linux-gnu/alsa-lib/libasound_module_pcm_pulse.so AL lib: alsa.c:512: Could not open playback device 'default': No such device or address AL lib: oss.c:169: Could not open /dev/dsp: No such file or directory Generating new string page texture 107: 256x256, total string texture memory is 1.51 MB AL lib: pulseaudio.c:612: Context did not connect: Access denied PulseAudio connect failed (used only for Mic Volume Control) with error: Access denied warning: The VAD has been replaced by a hack pending a complete rewrite ALSA lib dlmisc.c:254:(snd1_dlobj_cache_get) Cannot open shared library /usr/lib/i386-linux-gnu/alsa-lib/libasound_module_pcm_pulse.so AL lib: alsa.c:512: Could not open playback device 'default': No such device or address AL lib: oss.c:169: Could not open /dev/dsp: No such file or directory AL lib: pulseaudio.c:612: Context did not connect: Access denied

careym avatar Feb 02 '13 07:02 careym

@slouken export STEAM_RUNTIME=0; steam worked for me on fedora 18 only after I had installed libXdmcp.i686

careym avatar Feb 02 '13 07:02 careym

@careym: Can you provide the same information I asked for above? How does your version of Fedora handle sound? Does it use pulseaudio? ALSA? What versions of those libraries? What are your sound configuration files and their contents?

Thanks!

slouken avatar Feb 02 '13 07:02 slouken

@slouken

[careys@hereford ~]$ rpm -qa | grep pulse pulseaudio-utils-2.1-5.fc18.x86_64 pulseaudio-module-x11-2.1-5.fc18.x86_64 pulseaudio-2.1-5.fc18.x86_64 pulseaudio-gdm-hooks-2.1-5.fc18.x86_64 pulseaudio-libs-glib2-2.1-5.fc18.x86_64 pulseaudio-module-bluetooth-2.1-5.fc18.x86_64 alsa-plugins-pulseaudio-1.0.26-2.fc18.x86_64 pulseaudio-libs-2.1-5.fc18.i686 pulseaudio-libs-2.1-5.fc18.x86_64

[careys@hereford ~]$ rpm -qa | grep alsa alsa-utils-1.0.26-1.fc18.x86_64 alsa-firmware-1.0.25-2.fc18.noarch alsa-plugins-pulseaudio-1.0.26-2.fc18.x86_64 alsa-tools-firmware-1.0.26.1-1.fc18.x86_64 alsa-lib-1.0.26-2.fc18.x86_64 alsa-lib-1.0.26-2.fc18.i686

config is as provided by distro (clean install of fc18 last weekend) doesnt appear to be anything that resembles user overrides in a config file hiding in ~/.pulse/

Hardware is 00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)

Back to racking up kills for my strange spycicle

careym avatar Feb 02 '13 08:02 careym

Yes, I use pulseaudio

pztrn avatar Feb 02 '13 08:02 pztrn

Try this: ls -l /var/lib/dbus/machine-id ls -l /etc/machine-id

If /var/lib/dbus/machine-id doesn't exist and /etc/machine-id does, do this: ln -s /etc/machine-id /var/lib/dbus/machine-id

slouken avatar Feb 02 '13 09:02 slouken

I have to launch steam with " STEAM_RUNTIME=0 steam " to make sound work in HL and CS.

This is a new problem that came up after the last update for me, also if I run steam like that my tray icon works correctly.

Arch Linux x64 - Cinnamon

edit: " ln -s /etc/machine-id /var/lib/dbus/machine-id " - this fixed my sound issue.

jjkinas avatar Feb 02 '13 10:02 jjkinas

I had no sound with Team Fortress 2 and Book of Unwritten Tales on Arch Linux. The machine-id symlink trick fixed the problem.

@slouken is this an Arch bug or a Steam bug?

darkael avatar Feb 02 '13 14:02 darkael

Arch Linux x86_64 with Gnome 3.6.2 which pulls pulseaudio as a dependency anyway.

Sound doesn't work unless STEAM_RUNTIME is disabled. Without it the only sound related message is.

[...] PulseAudio connect failed (used only for Mic Volume Control) with error: Access denied [...]

timjp87 avatar Feb 02 '13 15:02 timjp87

@jjkinas: Glad to hear it, thanks! @darkael: It's a Steam bug, we'll fix it next week. @tjpld: Does the symlink trick work for you as well?

Thanks everyone!

slouken avatar Feb 02 '13 17:02 slouken

I can confirm that this also fixes sound for with Serious Sam 3 on my Slackware 14.0 box:

STEAM_RUNTIME=0 steam steam://rungameid/41070

Works. Without the STEAM_RUNTIME=0 part Sam is all sad and quiet. :)

ThomasLocke avatar Feb 02 '13 18:02 ThomasLocke

@ThomasLocke, can you try the symlink trick above and let me know if that works for you as well?

slouken avatar Feb 02 '13 19:02 slouken

@slouken

[careys@hereford ~]$ ls -l /var/lib/dbus/machine-id ls: cannot access /var/lib/dbus/machine-id: No such file or directory [careys@hereford ~]$ ls -l /etc/machine-id -r--r--r--. 1 root root 33 Jan 10 06:15 /etc/machine-id

careym avatar Feb 02 '13 19:02 careym

@slouken Yes, it works perfectly now with the symlink in place.

timjp87 avatar Feb 03 '13 00:02 timjp87

Great, thanks guys!

slouken avatar Feb 03 '13 01:02 slouken

This happens to me with TF2, HL1, CS-1.6

The message I see after starting Steam client

[...] PulseAudio connect failed (used only for Mic Volume Control) with error: Access denied [/...]

and when running one of the games I mentioned above... I see this message

[...] AL lib: pulseaudio.c:612: Context did not connect: Access denied ALSA lib dlmisc.c:254:(snd1_dlobj_cache_get) Cannot open shared library /usr/lib/i386-linux-gnu/alsa-lib/libasound_module_pcm_pulse.so AL lib: alsa.c:512: Could not open playback device 'default': No such device or address AL lib: oss.c:169: Could not open /dev/dsp: No such file or directory [/...]

and no I don't use OSS

and after trying what slouken said

[...] Try this: ls -l /var/lib/dbus/machine-id ls -l /etc/machine-id

If /var/lib/dbus/machine-id doesn't exist and /etc/machine-id does, do this: ln -s /etc/machine-id /var/lib/dbus/machine-id [/...]

it works again

sinatosk avatar Feb 03 '13 12:02 sinatosk

Okay, so I think I have a fix for this issue. Please revert any previous things you've done to workaround the issue, download these files and run sh steam-runtime-update.sh http://www.libsdl.org/tmp/steam-runtime-update.sh http://www.libsdl.org/tmp/steam-runtime-update.tar.gz

Please let me know if this fixes the problem.

Thanks!

slouken avatar Feb 03 '13 19:02 slouken