[SOLVED] Steam client (32bit games lacking sound) due to -current updates
SlackwareThis 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.
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.
Steam client (32bit games lacking sound) due to -current updates
Hi. Recently updated -current on x86_64, but should have waited until alienBOB's compat32 packages were also updated... that's my fault for not thinking ahead.
But it has caused all 32bit games to lack sound... i am wondering how can i get sound back in the meantime while patiently waiting for the multilib packages to get an update?
Does anyone know which packages are required for 32bit sound?
I'm aware of convertpkg-compat32 but no idea which packages to convert.
If you have full AlienBob multilib install, you have a multilib gcc 4.9.3 package installed, so maybe its worth to wait for AlienBob to update his multilib stuff.
However, i still have no sound in all 32bit games. Including, Team Fortress 2, Counter Strike: Global Offensive, and all games installed via PlayOnLinux have no sound either. All other sound seems to be working as normal...
Is anyone else using steam on a 64bit -current install and can confirm this? I haven't changed any config files since the big update.
edit:
I just fixed sound in csgo by editing /usr/share/alsa/alsa.conf and commenting out the timer hint sections at lines 584 and 630-633. Maybe it is possible to do this using .asoundrc instead of editing the system config files?
I just noticed that multilib has the updated alsa packages now so I updated my alsa-lib to 1.1.0 but steam games still don't work for me. I tried deleting/replacing all the alsa-lib stuff in the steam-runtime directories with the ones from the slackware packages as an experiment but that didn't fix it. I guess steam just doesn't support alsa-lib 1.1.0 yet.
The alsa errors I see in the terminal are:
Code:
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=1,DEV=0,SUBDEV=0'
ALSA lib pcm_dmix.c:1095:(snd_pcm_dmix_open) unable to initialize poll_fd
The alsa-lib changelog at http://www.alsa-project.org/main/ind...v1.0.29_v1.1.0 mentions "Allow hint for ctl, hwdep, timer and seq". Because csgo/portal 2/whatever is linked with an older version of alsa-lib I guess it isn't expecting these extra hint fields in the system config files (at least that is my guess).
Last edited by af7567; 11-18-2015 at 03:46 PM.
Reason: "fixed" the problem
edit:
I just fixed sound in csgo by editing /usr/share/alsa/alsa.conf and commenting out the timer hint sections at lines 584 and 630-633. Maybe it is possible to do this using .asoundrc instead of editing the system config files?
I just noticed that multilib has the updated alsa packages now so I updated my alsa-lib to 1.1.0 but steam games still don't work for me. I tried deleting/replacing all the alsa-lib stuff in the steam-runtime directories with the ones from the slackware packages as an experiment but that didn't fix it. I guess steam just doesn't support alsa-lib 1.1.0 yet.
The alsa errors I see in the terminal are:
Code:
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=1,DEV=0,SUBDEV=0'
ALSA lib pcm_dmix.c:1095:(snd_pcm_dmix_open) unable to initialize poll_fd
The alsa-lib changelog at http://www.alsa-project.org/main/ind...v1.0.29_v1.1.0 mentions "Allow hint for ctl, hwdep, timer and seq". Because csgo/portal 2/whatever is linked with an older version of alsa-lib I guess it isn't expecting these extra hint fields in the system config files (at least that is my guess).
Many thanks for that information. I have been trying different kernels, rebuilding drivers and other stuff in the hope i'd broken something... i'll keep track of that and try the solution you mentioned. Great help thanks!
Just remember to reinstall the alsa-lib packages again when steam updates to support alsa-lib 1.1.0 so that you get the alsa files back to normal . I don't know if they will just have to do a steam-runtime update or if they will need to update each game individually.
Many thanks for that information. I have been trying different kernels, rebuilding drivers and other stuff in the hope i'd broken something... i'll keep track of that and try the solution you mentioned. Great help thanks!
edit: it's working! :-D
Having a similar problem. What did you do to get it working?
editing just those lines did not fix it for me. I didn't have sound in either the steam client itself or the game I was playing; "Talos Principle". I edited out hints from each property of the file. This is the file with all edits.
Talking to Eric about getting this included in the wrapper.
Thanks, that works for me. Much nicer than editing the system alsa config files
The steam wrapper already supports this, you just need to add the line to your ~/.steam4slackware file which is included by the steam script in Erics package.
In my ~/.steam4slackware I now have this
Code:
export LD_PRELOAD="/usr/lib/libasound.so.2"
and it is working (and yes I have reinstalled the alsa-lib packages to fix the system files)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.