LinuxQuestions.org
Visit Jeremy's Blog.
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 07-13-2020, 04:09 PM   #1
tangle
Senior Member
 
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,756

Rep: Reputation: 71
No Audio with Steam Games


I have no audio with Steam games. I spent a quite a few hours googling and such and have not resolved the issue. Running 64 bit Slackware 14.2 and everything else has audio. My PC is a Lenovo B560. My brain is numb right now. Any suggestion or pointing me in the a good direction would be greatly appreciated.

Last edited by tangle; 07-13-2020 at 04:11 PM.
 
Old 07-13-2020, 04:48 PM   #2
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 7,238

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
Have you installed OpenAL?
 
Old 07-13-2020, 05:01 PM   #3
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 9,666

Rep: Reputation: 4316Reputation: 4316Reputation: 4316Reputation: 4316Reputation: 4316Reputation: 4316Reputation: 4316Reputation: 4316Reputation: 4316Reputation: 4316Reputation: 4316
Launch Steam from a terminal, launch a game, and check if there's anything interesting in the terminal output.

You should not have to install OpenAL, as Steam includes stuff like that.
 
Old 07-13-2020, 05:39 PM   #4
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 7,238

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
Quote:
Originally Posted by dugan View Post
You should not have to install OpenAL, as Steam includes stuff like that.
Good to know. It's listed as a dependency on SBo. I think it was listed as a dependency for Alien Bob's package at one point , but it is no longer there (I just checked).
 
Old 07-13-2020, 06:01 PM   #5
tangle
Senior Member
 
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,756

Original Poster
Rep: Reputation: 71
Thanks for the OpenAL bit. I also thought I read it was a requirement (I did uninstall it). I did not see anything that would make me thing there is a sound error. I did attach the complete output.
Attached Files
File Type: txt Steam_Error.txt (12.5 KB, 11 views)
 
Old 07-13-2020, 06:16 PM   #6
obobskivich
Member
 
Registered: Jun 2020
Distribution: Xubuntu / Slackware
Posts: 68

Rep: Reputation: Disabled
A few random thoughts:

- Do you have multilib installed/setup right? My understanding is that Steam itself, and many of the games it distributes, will require this to function properly (and this isn't Slackware unique).

- What specific game(s) are you having problems with? If you've only tested one game, can you test another? Maybe the issue is not with Steam or with Slackware, but with a specific game (or game engine). Some games support linux better than others. If you're playing games via Proton, there are audio tricks that may be neccessary to get sound working there (check on protonDB).

- In the system audio settings (I'm assuming you're using KDE) is the same device selected for 'Games' as for other outputs, and is it unmuted and whatnot? I know this is kind of a lame idea, but I've certainly chased my tail with either alsamixer or whatever GUI control panel making some silly setting like this only to have to go back and adjust it.
 
1 members found this post helpful.
Old 07-14-2020, 07:17 AM   #7
tangle
Senior Member
 
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,756

Original Poster
Rep: Reputation: 71
When in the Multimedia settings the games test button is greyed out when steam is running. When I shut down steam I can run the test.
 
Old 07-14-2020, 12:35 PM   #8
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 2,926

Rep: Reputation: 2999Reputation: 2999Reputation: 2999Reputation: 2999Reputation: 2999Reputation: 2999Reputation: 2999Reputation: 2999Reputation: 2999Reputation: 2999Reputation: 2999
The first thing I would do is find out why Steam can't find lspci.
 
Old 07-14-2020, 01:18 PM   #9
obobskivich
Member
 
Registered: Jun 2020
Distribution: Xubuntu / Slackware
Posts: 68

Rep: Reputation: Disabled
Have you tried doing a clean re-install of Steam? Or at least the games you're struggling with?
 
Old 07-14-2020, 09:22 PM   #10
tangle
Senior Member
 
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,756

Original Poster
Rep: Reputation: 71
I found the fix(es). I created a link from /sbin/lscpi to /bin/lspci and installed python3. I am not sure which one fixed the issue, but I am pretty sure it was the python3. Thanks for the suggestion and such.
 
Old 07-15-2020, 02:04 AM   #11
chris.willing
Member
 
Registered: Jun 2014
Location: Brisbane, Australia
Distribution: Slackware,LFS
Posts: 635

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
Quote:
Originally Posted by tangle View Post
I found the fix(es). I created a link from /sbin/lscpi to /bin/lspci and installed python3. I am not sure which one fixed the issue, but I am pretty sure it was the python3. Thanks for the suggestion and such.
Good that it's working now.

However I'm interested in why lspci was not being found. You shouldn't have to explicitly create the link like you have as it is already done (a different way) in the SlackBuild. If that's not working, I'd like to know how & why so it can be fixed for others.

Could you confirm that you have /usr/bin/steam as a symlink to /usr/lib/steam/bin_steam.sh? Then, that the file /usr/lib/steam/bin_steam.sh has its third line as:
Code:
export PATH="/usr/lib/steam/local:$PATH"
Lastly, do you have a directory /usr/lib/steam/local which contains symlinks to /sbin/lspci and /sbin/pidof?

Thanks for this info - if you have the time.

chris

Last edited by chris.willing; 07-15-2020 at 02:05 AM. Reason: typo
 
Old 07-15-2020, 02:17 AM   #12
tangle
Senior Member
 
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,756

Original Poster
Rep: Reputation: 71
Code:
tangle@node01 ~ $ ls -l /usr/bin/steam
lrwxrwxrwx 1 root root 27 Jul 14 14:29 /usr/bin/steam -> /usr/lib/steam/bin_steam.sh

tangle@node01 ~ $ sed -n '3p'  /usr/lib/steam/bin_steam.sh
export PATH="/usr/lib/steam/local:$PATH"

tangle@node01 ~ $ ls -l  /usr/lib/steam/local 
total 0
lrwxrwxrwx 1 root root 11 Jul 14 14:29 lspci -> /sbin/lspci
lrwxrwxrwx 1 root root 11 Jul 14 14:29 pidof -> /sbin/pidof
 
Old 07-15-2020, 03:06 AM   #13
chris.willing
Member
 
Registered: Jun 2014
Location: Brisbane, Australia
Distribution: Slackware,LFS
Posts: 635

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
Quote:
Originally Posted by tangle View Post
Code:
tangle@node01 ~ $ ls -l /usr/bin/steam
lrwxrwxrwx 1 root root 27 Jul 14 14:29 /usr/bin/steam -> /usr/lib/steam/bin_steam.sh

tangle@node01 ~ $ sed -n '3p'  /usr/lib/steam/bin_steam.sh
export PATH="/usr/lib/steam/local:$PATH"

tangle@node01 ~ $ ls -l  /usr/lib/steam/local 
total 0
lrwxrwxrwx 1 root root 11 Jul 14 14:29 lspci -> /sbin/lspci
lrwxrwxrwx 1 root root 11 Jul 14 14:29 pidof -> /sbin/pidof
OK, that all looks as it should be - when steam runs it has links for lspci & pidof set up for it. Could you now remove the symlink you made separately (from /bin/lspci to /sbin/lspci); then try running steam and post terminal output here as a .txt file (like you did previously) please?

chris
 
Old 07-15-2020, 07:11 AM   #14
tangle
Senior Member
 
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,756

Original Poster
Rep: Reputation: 71
It works without the link.
Attached Files
File Type: txt Steam_Error.txt (12.6 KB, 1 views)
 
Old 07-15-2020, 07:19 AM   #15
chris.willing
Member
 
Registered: Jun 2014
Location: Brisbane, Australia
Distribution: Slackware,LFS
Posts: 635

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
Quote:
Originally Posted by tangle View Post
It works without the link.
That's good - all working as expected then. Thanks for testing.

chris
 
  


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
LXer: New stable Steam Client up, fixing Steam Survey and NFS mounts on Linux, plus other Steam news LXer Syndicated Linux News 0 01-23-2020 10:24 PM
[SOLVED] How to create link for catching steam games from steam website !!? tousif Linux - Newbie 5 10-17-2014 08:23 AM
LXer: iBomber games coming to Steam for Linux! Steam also expands their Beta! LXer Syndicated Linux News 0 12-06-2012 09:50 PM
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 05:00 AM.

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
Open Source Consulting | Domain Registration