You are not logged in.

#1 2015-11-19 19:03:30

neXyon
Member
Registered: 2015-11-19
Posts: 8

No sound in steam games with ALSA and alsa-lib-1.1.0-1

Hi,

as the title suggests, I have no sound with the most recent version of alsa-lib, but when I downgrade to the previous one (1.0.29-1), it works again. The games I tried are counter strike 1.6 and spacechem.

Here's the relevant output:

0:Initializing platform...
ALSA lib timer_hw.c:342:(_snd_timer_hw_open) Unexpected field hint
ALSA lib timer_hw.c:342:(_snd_timer_hw_open) Unexpected field hint
ALSA lib pcm_direct.c:1118:(snd1_pcm_direct_initialize_poll_fd) unable to open timer 'hw:CLASS=3,SCLASS=0,CARD=0,DEV=1,SUBDEV=0'
ALSA lib pcm_dmix.c:1095:(snd_pcm_dmix_open) unable to initialize poll_fd
S_Startup: SNDDMA_Init failed.

AL lib: pulseaudio.c:612: Context did not connect: Access denied
ALSA lib timer_hw.c:342:(_snd_timer_hw_open) Unexpected field hint
ALSA lib timer_hw.c:342:(_snd_timer_hw_open) Unexpected field hint
ALSA lib pcm_direct.c:1118:(snd1_pcm_direct_initialize_poll_fd) unable to open timer 'hw:CLASS=3,SCLASS=0,CARD=0,DEV=1,SUBDEV=0'
ALSA lib pcm_dmix.c:1095:(snd_pcm_dmix_open) unable to initialize poll_fd
AL lib: alsa.c:512: Could not open playback device 'default': Invalid argument
AL lib: oss.c:169: Could not open /dev/dsp: No such file or directory

Am I the only one who has this problem, because I'm not running pulseaudio? ^^

Cheers,
neXyon

Last edited by neXyon (2015-11-19 19:04:24)

Offline

#2 2015-11-19 19:40:42

pekka
Member
Registered: 2011-07-21
Posts: 104

Re: No sound in steam games with ALSA and alsa-lib-1.1.0-1

Confirm (cs:go) , no sound.

Installed pulseaudio, and sound works.

I dont use pulse, alsa and alsamixer enough.

Offline

#3 2015-11-19 19:51:48

Xabre
Member
From: Serbia
Registered: 2009-03-19
Posts: 757

Re: No sound in steam games with ALSA and alsa-lib-1.1.0-1

Bah, disregard, confused steam with wine for some reason, apologies.

Last edited by Xabre (2015-11-19 20:51:15)

Offline

#4 2015-11-19 20:41:31

blablo
Member
Registered: 2011-06-02
Posts: 38

Re: No sound in steam games with ALSA and alsa-lib-1.1.0-1

Deleting/renaming alsa-lib folder 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: https://github.com/ValveSoftware/steam- … ssues/3376
                https://wiki.archlinux.org/index.php/St … ot_working

Edit:
You can also just launch steam like this:

LD_PRELOAD="/usr/lib32/libasound.so.2:/usr/lib/libasound.so.2" steam

And not need to delete files that will come back each time steam updates
Source: https://github.com/ValveSoftware/steam- … ssues/4139

Last edited by blablo (2015-11-23 19:50:41)

Offline

#5 2015-12-01 00:06:20

phoric
Member
From: Seattle, WA
Registered: 2011-10-17
Posts: 27

Re: No sound in steam games with ALSA and alsa-lib-1.1.0-1

Confirmed here also. Audio in Steam suddenly stopped working with an update. Initially tried installing pulseaudio which fixed Steam sound but broke everything else.

Deleting the files as per blablo's post worked. For some reason setting the LD_PRELOAD env variable didn't work for me.

Last edited by phoric (2015-12-01 00:07:13)

Offline

Board footer

Powered by FluxBB