Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
11-06-2021, 04:37 AM
|
#1
|
Member
Registered: Nov 2010
Location: Bristol, UK
Distribution: Slackware, FreeBSD
Posts: 836
|
Steam/proton issues with some games, related to ALSA
Hi, running some games through steam, on slackware -current, many of them fail to run and provide this output;
Code:
ALSA lib dlmisc.c:337:(snd_dlobj_cache_get0) Cannot open shared library libasound_module_pcm_pulse.so (/usr/lib64/alsa-lib/libasound_module_pcm_pulse.so: cannot open shared object file: No such file or directory)
INFO: OpenAudioDevice failed: ALSA: Couldn't open audio device: No such device or address
INFO: Assertion failed: 0 && "Failed to open audio device!"
ALSA lib dlmisc.c:337:(snd_dlobj_cache_get0) Cannot open shared library libasound_module_pcm_pulse.so (/usr/lib64/alsa-lib/libasound_module_pcm_pulse.so: cannot open shared object file: No such file or directory)
INFO: OpenAudioDevice failed: ALSA: Couldn't open audio device: No such device or address
wine: Unhandled page fault on read access to 0000000000000000 at address 00007F5DD802B69C (thread 018c), starting debugger...
The file however does exist:
Code:
> $ ls -lah /usr/lib64/alsa-lib/libasound_module_pcm_pulse.so
-rwxr-xr-x 1 root root 35K May 31 20:15 /usr/lib64/alsa-lib/libasound_module_pcm_pulse.so
I'm not sure where to look next. So far i have tried:
* reinstalled all base packages
* deleted ~/.steam for a fresh install
* switched to pipewire
But no changes from trying all of this. Wondering is anyone else getting this issue? And anything else i could try? Thanks.
|
|
|
11-06-2021, 09:18 AM
|
#2
|
Senior Member
Registered: Oct 2009
Distribution: Slackware
Posts: 1,866
|
Do you have multilib installed? Are you using pulse? Also, have you tried it through proton? (linux native Steam, their implementation of WINE.)
|
|
|
11-06-2021, 08:53 PM
|
#3
|
Member
Registered: Nov 2010
Location: Bristol, UK
Distribution: Slackware, FreeBSD
Posts: 836
Original Poster
|
Quote:
Originally Posted by garpu
Do you have multilib installed? Are you using pulse? Also, have you tried it through proton? (linux native Steam, their implementation of WINE.)
|
Yes, this is only happening with some proton games as mentioned. Although it seems temperamental, as i'm now able to play one of the games https://www.protondb.com/app/1222140 , which is now running flawlessly. I think i'd only deleted the prefix in ~/.steam/steam/steamapps/compatdata/1222140
I'll mark this as solved, because it's probably not slackware related, and seems to be something up with proton/steam itself.
|
|
1 members found this post helpful.
|
11-06-2021, 09:41 PM
|
#4
|
Senior Member
Registered: Jul 2016
Location: USA
Distribution: Slackware64-Current
Posts: 1,837
|
I use proton on Steam and I've never had this issue. Have you run
Code:
slackpkg new-config
? Did you ever use the optional replacement alsa sound server packages that replaced pulse audio for a bit on Current for those that wanted it? Is everything relevant installed in Current?
Code:
slackpkg install slackware64
What desktop environment are you using?
Check this out:
https://wiki.archlinux.org/title/PulseAudio
Edit:
On command line type
.
This will make steam rebuild its pins and it will also screw with steam play so you'll have to go back and enable it in settings, and then set all the games back to the version of proton you wanted to use if it isn't the one you chose in settings.
Last edited by RadicalDreamer; 11-06-2021 at 09:49 PM.
|
|
|
11-06-2021, 09:50 PM
|
#5
|
Member
Registered: Aug 2020
Location: Berisso, Argentina
Distribution: Slackware
Posts: 256
|
Hi try to launch the game that doesnt work with this in Steam:
Code:
LD_PRELOAD=~/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0 %command%
if the game works the problem is SDL2 that could be not linking to pulseaudio.
and in that case the problem could be similar to this:
https://lists.opensuse.org/archives/...NG6SPGDSRLHHU/
and if its the case its related to Slackware and perhaps SDL2 would need a rebuild.
Last edited by adcdam; 11-07-2021 at 12:25 AM.
|
|
|
11-07-2021, 03:37 AM
|
#6
|
Member
Registered: Nov 2010
Location: Bristol, UK
Distribution: Slackware, FreeBSD
Posts: 836
Original Poster
|
Quote:
Originally Posted by RadicalDreamer
Did you ever use the optional replacement alsa sound server packages that replaced pulse audio for a bit on Current for those that wanted it?
|
Nope.
Primarily AwesomeWM, although doesn't seem desktop related, as same thing happens in xfce and kde.
It's as if 95% of the time, some games just fail to launch. But, without actually changing any settings, eventually they do run if you keep trying to launch them. And oddly, when a game fails to launch multiple times it starts thinking you've tried launching it from another machine, resulting in cloud saves being lost. Really frustrating lol.
Last edited by coralfang; 11-07-2021 at 03:40 AM.
|
|
|
11-07-2021, 07:59 AM
|
#7
|
Member
Registered: Aug 2020
Location: Berisso, Argentina
Distribution: Slackware
Posts: 256
|
Hi did You try to launch the game that doesnt work with this in Steam?:
LD_PRELOAD=~/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0 %command%
Last edited by adcdam; 11-07-2021 at 08:00 AM.
|
|
|
11-07-2021, 08:57 AM
|
#8
|
Senior Member
Registered: Oct 2009
Distribution: Slackware
Posts: 1,866
|
Are you using the steam beta client, or the regular one?
|
|
|
11-07-2021, 09:45 AM
|
#9
|
Member
Registered: Aug 2020
Location: Berisso, Argentina
Distribution: Slackware
Posts: 256
|
Try launching the Game with that command in either regular or beta as the problem seems to be the same.
copy that command, go to manage, properties and paste in launch options.
https://imgur.com/gkqeeak
Last edited by adcdam; 11-07-2021 at 09:53 AM.
|
|
|
11-07-2021, 03:59 PM
|
#10
|
Senior Member
Registered: Jul 2016
Location: USA
Distribution: Slackware64-Current
Posts: 1,837
|
Quote:
Originally Posted by coralfang
Nope.
Primarily AwesomeWM, although doesn't seem desktop related, as same thing happens in xfce and kde.
It's as if 95% of the time, some games just fail to launch. But, without actually changing any settings, eventually they do run if you keep trying to launch them. And oddly, when a game fails to launch multiple times it starts thinking you've tried launching it from another machine, resulting in cloud saves being lost. Really frustrating lol.
|
Did you
Code:
bash-5.1$ steam --reset
?
If that doesn't work then I have no clue. I only use Steam on one machine so I have no idea what is happening with your save files. You could remove the authorizations on other machines and see if it still does it. If that is it then you could open up an issue with Valve. https://github.com/ValveSoftware/steam-for-linux
|
|
|
11-07-2021, 11:11 PM
|
#11
|
Member
Registered: Nov 2010
Location: Bristol, UK
Distribution: Slackware, FreeBSD
Posts: 836
Original Poster
|
Quote:
Originally Posted by adcdam
Hi did You try to launch the game that doesnt work with this in Steam?:
LD_PRELOAD=~/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0 %command%
|
No difference as far as i can tell, other than when the game does decide to actually launch, this only seems to stop the steam overlay from functioning.
|
|
|
11-07-2021, 11:12 PM
|
#12
|
Member
Registered: Nov 2010
Location: Bristol, UK
Distribution: Slackware, FreeBSD
Posts: 836
Original Poster
|
Quote:
Originally Posted by RadicalDreamer
Did you
Code:
bash-5.1$ steam --reset
?
If that doesn't work then I have no clue. I only use Steam on one machine so I have no idea what is happening with your save files. You could remove the authorizations on other machines and see if it still does it. If that is it then you could open up an issue with Valve. https://github.com/ValveSoftware/steam-for-linux
|
Yeah, went a step further than that and deleted the whole ~/.steam directory for a fresh profile
|
|
|
11-14-2021, 09:58 PM
|
#13
|
Member
Registered: Aug 2020
Location: Berisso, Argentina
Distribution: Slackware
Posts: 256
|
Im having problems with a game on Steam skyrim special edition i got this:
Code:
INFO: OpenAudioDevice failed: ALSA: Couldn't open audio device: Device or resource busy
INFO: Assertion failed: 0 && "Failed to open audio device!"
i also find this:
https://githubmemory.com/repo/ValveS...ues/357?page=2
im using current not 14.2
But the problem seems Slackware related as i asked others if they are having the same problem on other distros and not seems the case.
edit after reading this: https://github.com/ValveSoftware/ste...ime/issues/357
i was able to launch the game with:
Code:
SDL_AUDIODRIVER=pulseaudio %command%
as 414n posted:
Quote:
It seems like the pulseaudio detection code inside SDL2 fails to determine that pulseaudio is "alive and well" on the system and decides to switch to ALSA. This can be overcome by forcing the audio driver choice via the SDL_AUDIODRIVER=pulseaudio environment variable override or by making sure that the missing pulseaudio libraries (that live under /usr/lib64/pulseaudio on my system) can be found.
|
i have those libraries and it failed anyway until launching the game with SDL_AUDIODRIVER=pulseaudio.
i still think theres a problem with SDL2.
Last edited by adcdam; 11-14-2021 at 11:59 PM.
|
|
1 members found this post helpful.
|
12-25-2021, 10:24 AM
|
#14
|
Member
Registered: Nov 2010
Location: Bristol, UK
Distribution: Slackware, FreeBSD
Posts: 836
Original Poster
|
Quote:
Originally Posted by adcdam
Im having problems with a game on Steam skyrim special edition i got this:
Code:
INFO: OpenAudioDevice failed: ALSA: Couldn't open audio device: Device or resource busy
INFO: Assertion failed: 0 && "Failed to open audio device!"
i also find this:
https://githubmemory.com/repo/ValveS...ues/357?page=2
im using current not 14.2
But the problem seems Slackware related as i asked others if they are having the same problem on other distros and not seems the case.
edit after reading this: https://github.com/ValveSoftware/ste...ime/issues/357
i was able to launch the game with:
Code:
SDL_AUDIODRIVER=pulseaudio %command%
as 414n posted:
i have those libraries and it failed anyway until launching the game with SDL_AUDIODRIVER=pulseaudio.
i still think theres a problem with SDL2.
|
Yeah seems to be a problem with Slackware's SDL. Just encountered this issue again with HITMAN 2, and only runs when adding
Code:
SDL_AUDIODRIVER=pulseaudio %command%
as you stated. Definitely looks like that is the solution/workaround.
Cheers.
|
|
|
12-25-2021, 02:21 PM
|
#15
|
Slackware Maintainer
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 2,950
|
Where are you obtaining steam from? Based on reading this entire thread:
https://github.com/ValveSoftware/ste...ime/issues/357
...I'm suspecting that the issue could be obsolete hacks made to steam rather than any problem with SDL2 (which is only minimally patched on -current).
|
|
1 members found this post helpful.
|
All times are GMT -5. The time now is 03:27 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|