Calculate Forum

Updated need multilib sound support for steam

that my out of the box experience is that everything works and is running…sound bluetooth internet wifi etc. TY very much for fixing that so everything needs no setup from me. Only thing i did was adjust the time and i am off.

Things on my todo list include conky, virtualbox, and steam.

Fine! To install this software run:

emerge -a games-util/steam-launcher app-emulation/virtualbox app-admin/conky
1 Like

tried to run my game but it failed to connect to audio device. on arch i would need lib32-libpulse and maybe some alsa plugin for pulse for steam. Is there an easy way to do that or do i need to rebuild with multilib enabled or something?

ALSA lib pcm_dmix.c:1108:(snd_pcm_dmix_open) unable to open slave
INFO: OpenAudioDevice failed: ALSA: Couldn’t open audio device: No such file or directory

this was suggested on the net but didnt work for /etc/apulse

ctl.!default {
type hw
card 0
}

pcm.my_card {
type hw
card 0
# mmap_emulation true
}

pcm.dmixed {
type dmix
ipc_key 1024
# ipc_key_add_uid false # let multiple users share
# ipc_perm 0666 # IPC permissions for multi user sharing (octal, default 0600)
slave {
pcm "my_card"
# rate 48000
# period_size 512
}
}

pcm.dsnooped {
type dsnoop
ipc_key 2048
slave {
pcm "my_card"
# rate 48000
# period_size 128
}
}

pcm.asymed {
type asym
playback.pcm "dmixed"
capture.pcm "dsnooped"
}

pcm.pasymed {
type plug
slave.pcm "asymed"
}

pcm.dsp0 {
type plug
slave.pcm "asymed"
}

pcm.!default {
type plug
slave.pcm "asymed"
}

also didnt work

# For "pulse" sdl audio error add in start.sh:
export SDL_AUDIODRIVER=alsa
export AUDIODEV pulse

also didnt work

had the same issue
here's a hacky fix until next steam client update:
copy paste into /usr/bin/steam after #!/bin/bash
export STEAM_RUNTIME=0

and now my steam is broken!

fixed that steam wouldnt run and now back to this

ALSA lib pcm_dmix.c:1108:(snd_pcm_dmix_open) unable to open slave
INFO: OpenAudioDevice failed: ALSA: Couldn't open audio device: No such file or directory

do i want media-sound/apulse or media-plugins/alsa-plugins or neither?

fuller error message below.

ALSA lib pcm_dmix.c:1108:(snd_pcm_dmix_open) unable to open slave
INFO: OpenAudioDevice failed: ALSA: Couldn't open audio device: No such file or directory
INFO: Assertion failed: 0 && "Failed to open audio device!"
ERROR: ld.so: object '/home/lizzias/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
Installing breakpad exception handler for appid(gameoverlayui)/version(20210212232140)
Installing breakpad exception handler for appid(gameoverlayui)/version(1.0)
>>> Adding process 2946 for game ID 306130
Installing breakpad exception handler for appid(gameoverlayui)/version(1.0)
[0226/085848.336669:INFO:crash_reporting.cc(270)] Crash reporting enabled for process: renderer
Installing breakpad exception handler for appid(gameoverlayui)/version(1.0)
[0226/085848.453678:ERROR:frame_sink_video_capturer_impl.cc(206)] Invalid resolutions constraints: 0x0 must not be greater than 0x0; and also within media::limits.

switch sound to alsa by running

cl-setup-audio --card list
Default audio card values:
  [0,3]  HDA ATI HDMI, HDMI 0
  [0,7]  HDA ATI HDMI, HDMI 1
  [0,8]  HDA ATI HDMI, HDMI 2
  [0,9]  HDA ATI HDMI, HDMI 3 *
  [1,0]  HD-Audio Generic, ALC887-VD Analog
  [1,1]  HD-Audio Generic, ALC887-VD Digital

and then doing:

cl-setup-audio --audio alsa --card 0,9
 * The audio settings are being configured ...
 * Audio settings configured!

i have sound when i open a browser and play a video but steam is still not working
still getting these errors

ALSA lib pcm_dmix.c:1108:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dsnoop.c:638:(snd_pcm_dsnoop_open) unable to open slave
RecordSteamInterfaceCreation (PID 12401): SteamUtils008 / Utils
RecordSteamInterfaceCreation (PID 12401): SteamController003 / Controller
ALSA lib pcm_dmix.c:1108:(snd_pcm_dmix_open) unable to open slave
INFO: OpenAudioDevice failed: ALSA: Couldn't open audio device: No such file or directory
INFO: Assertion failed: 0 && "Failed to open audio device!"
ERROR: ld.so: object '/home/lizzias/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
>>> Adding process 12506 for game ID 306130
Installing breakpad exception handler for appid(gameoverlayui)/version(20210212232140)
Installing breakpad exception handler for appid(gameoverlayui)/version(1.0)
Installing breakpad exception handler for appid(gameoverlayui)/version(1.0)
[0226/042139.982400:INFO:crash_reporting.cc(270)] Crash reporting enabled for process: renderer
Installing breakpad exception handler for appid(gameoverlayui)/version(1.0)
[0226/042140.109165:ERROR:frame_sink_video_capturer_impl.cc(206)] Invalid resolutions constraints: 0x0 must not be greater than 0x0; and also within media::limits.

I had no sound on Steam using ALSA. Try switching to PulseAudio:

cl-setup-audio --audio pulseaudio

istarted with pulse audio and switced to alsa to try to get sound working.

how to rebuild alsa to support multilib please. are you seeeing the errors? steam cant initialize alsa steam wants alsa but there’s no alsa to use must be there’s no 32 bit libraries?

No sound in steam with ESO or Skyrim. no sound server in steam at all. Not with pulse audio not with alsa. Need multilib support please.

need multilib support please

is there multilib support here please?

come on someone knows how to do this…

this is sad this is sad

so no one will help?

Hi,
You can verify with “equery u pulseaudio”

    • abi_x86_32 : 32-bit (x86) libraries sould be set on pulse audio

i see your point i think. ty

equery u pulseaudio
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for media-sound/pulseaudio-13.0-r1:
 U I
 + + X              : Build the X11 publish module to export PulseAudio
                      information through X11 protocol for clients to make use.
                      Don't enable this flag if you want to use a system wide
                      instance. If unsure, enable this flag. 
 + + abi_x86_32     : 32-bit (x86) libraries
 + + alsa           : Add support for media-libs/alsa-lib (Advanced Linux Sound
                      Architecture)
 + + alsa-plugin    : Request installing media-plugins/alsa-plugins with
                      PulseAudio plugin enabled. This ensures that clients
                      supporting ALSA only will use PulseAudio. 
 + + asyncns        : Use libasyncns for asynchronous name resolution. 
 + + bluetooth      : Enable Bluetooth Support
 + + caps           : Use Linux capabilities library to control privilege
 + + dbus           : Enable dbus support for anything that needs it (gpsd,
                      gnomemeeting, etc)
 - - doc            : Build the doxygen-described API documentation. 
 + + elogind        : Use sys-auth/elogind for giving each session a PA client
 + + equalizer      : Enable the equalizer module (requires sci-libs/fftw). 
 - - gconf          : Ensure gnome-base/gconf is present for pulseaudio GConf
                      to GSettings module automatic migration (keeping the user
                      configuration) 
 + + gdbm           : Use sys-libs/gdbm to store PulseAudio databases.
                      Recommended for desktop usage. This flag causes the whole
                      package to be licensed under GPL-2 or later. 
 + + glib           : Add support to dev-libs/glib-based mainloop for the
                      libpulse client library, to allow using libpulse on
                      glib-based programs. Build the GSettings PA module. 
 + + gtk            : Add support for x11-libs/gtk+ (The GIMP Toolkit)
 + + ipv6           : Add support for IP version 6
 - - jack           : Add support for the JACK Audio Connection Kit
 - - libsamplerate  : Build with support for converting sample rates using
                      libsamplerate
 - - lirc           : Add support for lirc (Linux's Infra-Red Remote Control)
 + + native-headset : Build with native HSP backend for bluez 5. 
 + + ofono-headset  : Build with oFono HFP backend for bluez 5, requires
                      net-misc/ofono. 
 + + orc            : Use dev-lang/orc for just-in-time optimization of array
                      operations
 - - qt5            : Add support for the Qt 5 application and UI framework
 - - realtime       : Makes PulseAudio use RealtimeKit (sys-auth/rtkit) to get
                      real-time priority while running. 
 - - sox            : Add support for Sound eXchange (SoX)
 + + ssl            : Use dev-libs/openssl to provide support for RAOP
                      (AirPort) streaming. 
 + + tcpd           : Add support for TCP wrappers
 - - test           : Enable dependencies and/or preparations necessary to run
                      tests (usually controlled by FEATURES=test but can be
                      toggled independently)
 + + udev           : Enable virtual/udev integration (device discovery, power
                      and storage device support, etc)
 + + webrtc-aec     : Uses the webrtc.org AudioProcessing library for enhancing
                      VoIP calls greatly in applications that support it by
                      performing acoustic echo cancellation, analog gain
                      control, noise suppression and other processing. 
 - - zeroconf       : Support for DNS Service Discovery (DNS-SD)

the problem seems to be that steam is looking for alsa and so i was thinking i need alsa 32 bit libs. Steam require a bunch of 32 bit libs for every other linux.

equery u alsa
!!! No packages matching 'alsa'
equery u steam
!!! No packages matching 'steam'

Hi,
Have you check all your depencies for pulse audio and alsa
Try all options for equery like u ( useflags) , d ( dependencies)
I don’t think there is 32 libs for alsa
’ equery u alsa-utils’

equery u alsa-utils
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for media-sound/alsa-utils-1.2.3:
 U I
 - - bat           : install basic audio tester (BAT) util 
 - - doc           : Add extra documentation (API, Javadoc, etc). It is
                     recommended to enable per package instead of globally
 + + libsamplerate : install utils that use libsamplerate (e.g. alsaloop) 
 + + ncurses       : install utils that use ncurses (e.g. alsamixer) 
 + + nls           : Add Native Language Support (using gettext - GNU locale
                     utilities)

equery d alsa-utils
 * These packages depend on alsa-utils:
media-sound/pulseaudio-13.0-r1 (alsa ? media-sound/alsa-utils)
 equery d pulseausio
 * These packages depend on pulseausio:

so how about we set up a use flag for alsa-utils for 32bit and rebuild and see if it helps?

also… thanks for your help

For me alsa-utils has no useflag for 32 bits

Check “alsa-libs”, this page give you all the useflags for alsa-libs : Browse Packages - media-libs/alsa-lib
And also at the “mother” : media-libs/alsa-lib – Gentoo Packages


equery u alsa-lib
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for media-libs/alsa-lib-1.2.3.2-r1:
 U I
 + + abi_x86_32                     : 32-bit (x86) libraries
 + + alisp                          : Enable support for ALISP (ALSA LISP)
                                      interpreter for advanced features. 
 - - debug                          : Enable extra debug codepaths, like
                                      asserts and extra output. If you want to
                                      get meaningful backtraces see https://wik
                                      i.gentoo.org/wiki/Project:Quality_Assuran
                                      ce/Backtraces
 - - doc                            : Add extra documentation (API, Javadoc,
                                      etc). It is recommended to enable per
                                      package instead of globally
 - - python                         : Add optional support/bindings for the
                                      Python language
 - - python_single_target_python3_7 : Build for Python 3.7 only
 + + python_single_target_python3_8 : Build for Python 3.8 only
 + + thread-safety                  : thread-safe API functions 

so it’s built with 32bit enabled so it should work with steam and if it’s not there is some other issue?

Steam won’t run a game…


ALSA lib pcm_dmix.c:1108:(snd_pcm_dmix_open) unable to open slave
INFO: OpenAudioDevice failed: ALSA: Couldn't open audio device: No such file or directory
INFO: Assertion failed: 0 && "Failed to open audio device!"
ERROR: ld.so: object '/home/lizzias/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
>>> Adding process 18782 for game ID 306130
Installing breakpad exception handler for appid(gameoverlayui)/version(20210212232140)
Installing breakpad exception handler for appid(gameoverlayui)/version(1.0)
Installing breakpad exception handler for appid(gameoverlayui)/version(1.0)
[0305/182433.589109:INFO:crash_reporting.cc(270)] Crash reporting enabled for process: renderer
Installing breakpad exception handler for appid(gameoverlayui)/version(1.0)
[0305/182433.689325:ERROR:frame_sink_video_capturer_impl.cc(206)] Invalid resolutions constraints: 0x0 must not be greater than 0x0; and also within media::limits.

Your audio seems to be correct , but not with steam; why ? I don’t know
I can no longer help you on this subject.
Good luck :slightly_smiling_face:

1 Like
© 2007-2020 Calculate Ltd.
Mastodon Mastodon