Steam for Linux > Non-Valve Games > Topic Details
brockalicous Dec 5, 2013 @ 7:50am
linux sound issue
my sound does not work for my linux box i have manjaro 64 bit. however sound works for everything on my system
Showing 1-15 of 19 comments
< >
r.everaert Dec 16, 2013 @ 7:02am 
Hi,


I have the same problem on fedora 19 64 bits since today at least. My graphical environment is KDE.

- An error message displayed in the console when steam starts:

PulseAudio connect failed (used only for Mic Volume Control) with error: Accès refusé

- Below are the error messages, related to sound initialisation, I get when starting Towns:

/usr/bin/pulseaudio: symbol lookup error: /lib64/libpulsecore-3.0.so: undefined symbol: orc_program_new_from_static_bytecode
/usr/bin/pulseaudio: symbol lookup error: /lib64/libpulsecore-3.0.so: undefined symbol: orc_program_new_from_static_bytecode
ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Connexion refusée

AL lib: alsa_open_playback: Could not open playback device 'default': Connexion refusée
Installing breakpad exception handler for appid(gameoverlayui)/version(1.0_client)
/usr/bin/pulseaudio: symbol lookup error: /lib64/libpulsecore-3.0.so: undefined symbol: orc_program_new_from_static_bytecode
AL lib: (WW) alc_initconfig: Failed to initialize backend "pulse"
/usr/bin/pulseaudio: symbol lookup error: /lib64/libpulsecore-3.0.so: undefined symbol: orc_program_new_from_static_bytecode
ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Connexion refusée

AL lib: (EE) alsa_open_playback: Could not open playback device 'default': Connexion refusée

Mon Dec 16 15:32:37 CET 2013 ERROR:Sound initialisation failure.
Mon Dec 16 15:32:38 CET 2013 ERROR:Could not locate OpenAL library.
org.lwjgl.LWJGLException: Could not locate OpenAL library.
at org.lwjgl.openal.AL.create(AL.java:151)
at org.lwjgl.openal.AL.create(AL.java:102)
at org.lwjgl.openal.AL.create(AL.java:201)
at org.newdawn.slick.openal.SoundStore$1.run(SoundStore.java:295)
at java.security.AccessController.doPrivileged(Native Method)
at org.newdawn.slick.openal.SoundStore.init(SoundStore.java:292)
at org.newdawn.slick.openal.AudioLoader.init(AudioLoader.java:33)
at org.newdawn.slick.openal.AudioLoader.getAudio(AudioLoader.java:48)
at xaos.actions.a.b(Unknown Source)
at xaos.actions.a.e(Unknown Source)
at xaos.actions.a.a(Unknown Source)
at xaos.main.a.<init>(Unknown Source)
at xaos.Towns.main(Unknown Source)


- And now the error messages from the game starbound:

Info: Initialized SDL
Info: Initialized SDL Video
Info: Initialized SDL Joystick
/usr/bin/pulseaudio: symbol lookup error: /lib64/libpulsecore-3.0.so: undefined symbol: orc_program_new_from_static_bytecode
/usr/bin/pulseaudio: symbol lookup error: /lib64/libpulsecore-3.0.so: undefined symbol: orc_program_new_from_static_bytecode
ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Connection refused

Info: Initialized SDL Sound
Error: Could not open audio device



OpenAL is installed both in 32 and 64 bits version, pulseaudio is also installed, and like the OP, sounds works with the rest of the system and even with games not bought through steam.

malkavi Dec 18, 2013 @ 12:28am 
I have the same problem with Starbound, I have removed the LD_PRELOAD assignation and now it's working. I think that the libraries from Starbound (or Steam) are the problem.
FutureSuture Dec 18, 2013 @ 9:58am 
Originally posted by malkavi:
I have the same problem with Starbound, I have removed the LD_PRELOAD assignation and now it's working. I think that the libraries from Starbound (or Steam) are the problem.
How does one do that? I have no sound in Steam games either, but Unvanquished and SuperTuxKart work fine, as does the rest of the system.
malkavi Dec 18, 2013 @ 11:08am 
The games are stored in /your_steam_library_path/common/game_name/

Starbound in my Opensuse:
/windows/D/SteamLibraryLinux/SteamApps/common/Starbound/linux64/
There is a file called: launch_starbound.sh (Steam use that file to launch Starbound)
I have edited that file removing the assignation of LD_PRELOAD

Bastion: /windows/D/SteamLibraryLinux/SteamApps/common/Bastion/Linux/run_steam.sh
Forced: /windows/D/SteamLibraryLinux/SteamApps/common/FORCED/run_steam.sh
.......

Have you tried to launch a game from the command line directly, without Steam??
If the sound works, Steam is the problem, othewise, you can see the output of the game to identify the problem (missing libraries...).
FutureSuture Dec 18, 2013 @ 11:43am 
Originally posted by malkavi:
The games are stored in /your_steam_library_path/common/game_name/

Starbound in my Opensuse:
/windows/D/SteamLibraryLinux/SteamApps/common/Starbound/linux64/
There is a file called: launch_starbound.sh (Steam use that file to launch Starbound)
I have edited that file removing the assignation of LD_PRELOAD

Bastion: /windows/D/SteamLibraryLinux/SteamApps/common/Bastion/Linux/run_steam.sh
Forced: /windows/D/SteamLibraryLinux/SteamApps/common/FORCED/run_steam.sh
.......

Have you tried to launch a game from the command line directly, without Steam??
If the sound works, Steam is the problem, othewise, you can see the output of the game to identify the problem (missing libraries...).
Found the file, found mention of LD_PRELOAD. What exactly do I delete? I see a while loop in there but that's as far as my coding goes. The games won't launch without Steam as they are Valve games.
malkavi Dec 18, 2013 @ 1:21pm 
Thats an example of a original file:
#!/bin/sh

cd "$(dirname "$0")"

LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:./ ./starbound

And that is my edited file:
#!/bin/sh

cd "$(dirname "$0")"

LD_LIBRARY_PATH=./ ./starbound

I have removed the previous value of LD_LIBRARY. The old value had the path to some Steam libraries, without that, the game will try to use system libraries instead.

Sorry for my english.
FutureSuture Dec 18, 2013 @ 1:39pm 
This is what I see:

# LD_PRELOAD=../src/thirdparty/gperftools-2.0/.libs/libtcmalloc_debug.so:$LD_PRELOAD

STATUS=42
while [ $STATUS -eq 42 ]; do
if [ "${GAME_DEBUGGER}" == "gdb" ] || [ "${GAME_DEBUGGER}" == "cgdb" ]; then
ARGSFILE=$(mktemp $USER.dota.gdb.XXXX)
echo b main > "$ARGSFILE"

# Set the LD_PRELOAD varname in the debugger, and unset the global version. This makes it so that
# gameoverlayrenderer.so and the other preload objects aren't loaded in our debugger's process.
echo set env LD_PRELOAD=$LD_PRELOAD >> "$ARGSFILE"
echo show env LD_PRELOAD >> "$ARGSFILE"
unset LD_PRELOAD

echo run $@ >> "$ARGSFILE"
echo show args >> "$ARGSFILE"
${GAME_DEBUGGER} "${GAMEROOT}"/${GAMEEXE} -x "$ARGSFILE"
rm "$ARGSFILE"
elif [ "${GAME_DEBUGGER}" == "lldb" ]; then
${GAME_DEBUGGER} "${GAMEROOT}"/${GAMEEXE} -- "$@"
else
${GAME_DEBUGGER} "${GAMEROOT}"/${GAMEEXE} "$@"
fi
STATUS=$?
done
brockalicous Dec 18, 2013 @ 5:58pm 
i fixed it but i am dual botting win 8 off my other hardrive so i got it fixed both ways but i dont rember how i fixed it. i had to add something to the config file i dont rember
FutureSuture Dec 19, 2013 @ 4:58am 
By the way, brockalicous, I am on Manjaro Linux as well. I am on KDE and 64 bit to be precise. If you could remember then that would save me a lot of trouble.
r.everaert Dec 19, 2013 @ 7:47am 
Hi,

If I start the game from the console, sound is working perfectly so it seems their is a problem with steam itself.
FutureSuture Dec 19, 2013 @ 8:38am 
Originally posted by r.everaert:
Hi,

If I start the game from the console, sound is working perfectly so it seems their is a problem with steam itself.
How would I do that with DOTA2 which requires Steam?
r.everaert Dec 19, 2013 @ 9:20am 
for me games are located in /home/<username>/.local/share/Steam/SteamApps/common, maybe you can give it a try?
FutureSuture Dec 19, 2013 @ 9:47am 
Originally posted by r.everaert:
for me games are located in /home/<username>/.local/share/Steam/SteamApps/common, maybe you can give it a try?
sh dota.sh and bash dota.sh do not work. I don't even know what I am meant to do with dota_linux. Both are already executable, however.
malkavi Dec 19, 2013 @ 2:56pm 
Have you tried to launch Steam through the command line to see the output of Dota2?
try "ldd game_executable" to see missing libraries.
FutureSuture Dec 19, 2013 @ 3:41pm 
Originally posted by malkavi:
Have you tried to launch Steam through the command line to see the output of Dota2?
try "ldd game_executable" to see missing libraries.
Here is the terminal output[pastebin.com] for when I launch Steam and DOTA2 through the terminal. Might mean more to you than me.
Showing 1-15 of 19 comments
< >
Per page: 15 30 50