LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-20-2015, 04:43 AM   #1
jhw
Member
 
Registered: Apr 2010
Posts: 83

Rep: Reputation: 32
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?
 
Old 11-20-2015, 10:19 AM   #2
ryanpcmcquen
Member
 
Registered: Apr 2013
Distribution: DistroWanderer
Posts: 379

Rep: Reputation: Disabled
Quote:
Originally Posted by jhw View Post
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.
 
Old 11-20-2015, 11:32 AM   #3
ryanpcmcquen
Member
 
Registered: Apr 2013
Distribution: DistroWanderer
Posts: 379

Rep: Reputation: Disabled
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.
 
Old 11-20-2015, 02:55 PM   #4
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: Newport News, VA
Distribution: Slackware
Posts: 5,046

Rep: Reputation: 2855Reputation: 2855Reputation: 2855Reputation: 2855Reputation: 2855Reputation: 2855Reputation: 2855Reputation: 2855Reputation: 2855Reputation: 2855Reputation: 2855
Can you just put that in the ~/.steam4slackware file? I have export force_s3tc_enable=true in mine.
 
Old 11-20-2015, 02:56 PM   #5
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 6,968

Rep: Reputation: 4547Reputation: 4547Reputation: 4547Reputation: 4547Reputation: 4547Reputation: 4547Reputation: 4547Reputation: 4547Reputation: 4547Reputation: 4547Reputation: 4547
Guys, the other thread http://www.linuxquestions.org/questi...es-4175559128/ has exactly the same discussion, and fix proposals.
 
2 members found this post helpful.
Old 11-24-2015, 09:50 AM   #6
jhw
Member
 
Registered: Apr 2010
Posts: 83

Original Poster
Rep: Reputation: 32
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Steam Sound issues problem with Pulseaudio TarFile Slackware 9 03-12-2016 04:56 PM
[SOLVED] Steam client (32bit games lacking sound) due to -current updates coralfang Slackware 22 01-13-2016 06:52 AM
[SOLVED] no sound in some steam games after installing gstreamer ugly syncBQ Slackware 2 05-31-2013 04:10 PM
Steam - Titans Attack - Slackware 14 64bit - no sound Braqoon Slackware 3 03-04-2013 11:13 AM
Steam on Wine, cannot login,"Steam is having trouble connecting to the Steam servers" cantab Linux - Games 1 06-19-2010 06:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration