LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   No sound in Steam on -current (14.2?) (https://www.linuxquestions.org/questions/slackware-14/no-sound-in-steam-on-current-14-2-a-4175559387/)

jhw 11-20-2015 04:43 AM

No sound in Steam on -current (14.2?)
 
Hi,

I have a freshly installed Slackware64-current with multilib enabled and Steam installed (no Pulseaudio). However, I have no sound when starting certain games through Steam. When I start them, I get the following error messages:

Code:

ALSA lib confmisc.c:674:(snd_determine_driver) could not open control for card 0
ALSA lib conf.c:3328:(snd_config_hooks_call) function snd_config_hook_load_for_all_cards returned error: Invalid argument
ALSA lib confmisc.c:674:(snd_determine_driver) could not open control for card 0
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_card_driver returned error: Invalid argument
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_concat returned error: Invalid argument
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_refer returned error: Invalid argument
ALSA lib conf.c:4720:(snd_config_expand) Evaluate error: Invalid argument
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.default
cannot open audio device (Invalid argument)

When I start the same game directly, not through Steam, I have sound. Any suggestions on this one?

ryanpcmcquen 11-20-2015 10:19 AM

Quote:

Originally Posted by jhw (Post 5452557)
Hi,

I have a freshly installed Slackware64-current with multilib enabled and Steam installed (no Pulseaudio). However, I have no sound when starting certain games through Steam. When I start them, I get the following error messages:

Code:

ALSA lib confmisc.c:674:(snd_determine_driver) could not open control for card 0
ALSA lib conf.c:3328:(snd_config_hooks_call) function snd_config_hook_load_for_all_cards returned error: Invalid argument
ALSA lib confmisc.c:674:(snd_determine_driver) could not open control for card 0
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_card_driver returned error: Invalid argument
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_concat returned error: Invalid argument
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_refer returned error: Invalid argument
ALSA lib conf.c:4720:(snd_config_expand) Evaluate error: Invalid argument
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.default
cannot open audio device (Invalid argument)

When I start the same game directly, not through Steam, I have sound. Any suggestions on this one?

Related to this thread: http://www.linuxquestions.org/questi...es-4175559128/

I am looking into a way to do this without editing the system configs though.

ryanpcmcquen 11-20-2015 11:32 AM

I have a better fix, launch steam like so:

Code:

LD_PRELOAD=/usr/lib/libasound.so.2 steam
Talking to Eric about getting this included in the wrapper.

bassmadrigal 11-20-2015 02:55 PM

Can you just put that in the ~/.steam4slackware file? I have export force_s3tc_enable=true in mine.

Alien Bob 11-20-2015 02:56 PM

Guys, the other thread http://www.linuxquestions.org/questi...es-4175559128/ has exactly the same discussion, and fix proposals.

jhw 11-24-2015 09:50 AM

Okay, sorry on this one. One time I didn't do the search on the forums and this time I could've found a solution by simply scrolling down a bit.

Thanks for pointing out the other thread! It solved my problem as well by doing this:

Code:

export LD_PRELOAD="/usr/lib/libasound.so.2:/usr/lib64/libasound.so.2"
Marked as solved.


All times are GMT -5. The time now is 01:24 AM.