Kobra Dec 4, 2012 @ 5:22am
No sound in TF2
I was playing a game of TF2 and had to stop mid-play to go AFK so I turned my volume down (via keyboard slider); when I came back and turned the volume back up there was no sound.

I use ALSA (Debian 64bit, Sid), everything else that uses the sound card works, Steam's bleeps from chat messages work, everything except TF2.

Does anyone have a (possible) solution to my problem?
Showing 1-15 of 16 comments
< >
Kobra Dec 4, 2012 @ 5:45am 
Never mind, installed pulseaudio.
ZeXx86 Dec 4, 2012 @ 5:53am 
Originally posted by C0BRA:
Never mind, installed pulseaudio.
PulseAudio is not needed, look here: https://wiki.archlinux.org/index.php/Steam#No_audio
Start steam with this command: SDL_AUDIODRIVER=alsa steam
mdkcore Dec 4, 2012 @ 7:15am 
exactly, that export solves the problem on Slackware too
Kobra Dec 4, 2012 @ 7:38am 
Originally posted by ZeXx86:
Originally posted by C0BRA:
Never mind, installed pulseaudio.
PulseAudio is not needed, look here: https://wiki.archlinux.org/index.php/Steam#No_audio
Start steam with this command: SDL_AUDIODRIVER=alsa steam

Awesome, thanks!
HACKhalo2 Dec 10, 2012 @ 8:54am 
Originally posted by ZeXx86:
Originally posted by C0BRA:
Never mind, installed pulseaudio.
PulseAudio is not needed, look here: https://wiki.archlinux.org/index.php/Steam#No_audio
Start steam with this command: SDL_AUDIODRIVER=alsa steam

Even though this works, it's still a work around. Steam needs to automatically set SDL_AUDIODRIVER to whatever the system has, defaulting with ALSA if nothing is found.
ivan Dec 13, 2012 @ 2:31pm 
Originally posted by HACKhalo2:
Even though this works, it's still a work around. Steam needs to automatically set SDL_AUDIODRIVER to whatever the system has, defaulting with ALSA if nothing is found.

Thank you. Now I have sound.
dimgel Dec 14, 2012 @ 2:58pm 
Same here, SDL_AUDIODRIVER=alsa helped. Gentoo/amd64, KDE 4.9.3.
hasues Dec 17, 2012 @ 4:04pm 
I tried this and have spotty results. I received this error:
ALSA lib pcm.c:7339:(snd_pcm_recover) underrun occurred
Uploading dump (in-process) [proxy '']
/tmp/dumps/crash_20121217190021_1.dmp
success = yes
response: CrashID=bp-0c3c7caf-47b0-479c-9a7f-3c51d2121217
Team Fortress 2 Beta/hl2.sh: line 72: 14171 Segmentation fault ${GAME_DEBUGGER} "${GAMEROOT}"/${GAMEEXE} "$@"
CCrossProcessPipe::BWrite wrote too few bytes: 32 (Broken pipe). Continuing.
Game removed: AppID 520 "Team Fortress 2 Beta", ProcID 14171
saving roaming config store to 'sharedconfig.vdf'
roaming config store 2 saved successfully
steam.sh: line 287: 14115 Terminated $DEBUGGER "$STEAMROOT/$PLATFORM/$STEAMEXE" "$@"
akmelius Feb 6, 2013 @ 4:59am 
I solve mine with two variables:
export SDL_AUDIODRIVER=alsa
export AUDIODEV=hw:0,0
SUSEd Feb 6, 2013 @ 6:06am 
Originally posted by akmelius:
I solve mine with two variables:
export SDL_AUDIODRIVER=alsa
export AUDIODEV=hw:0,0

env SDL_AUDIODRIVER=alsa AUDIODEV=hw:0,0 STEAM_RUNTIME=0 steam
in one line
Last edited by SUSEd; Feb 6, 2013 @ 6:06am
Casp Feb 24, 2013 @ 5:42pm 
Hi, Everyone...

I am experiencing the same problem but am not comprehending where to make this line change to the Linux Steam environmental variables. :(

Could someone, perhaps, let me know precisely how and where to interject the magic command that is changing everybody's Steam experience (setting sound to alsa)? I would need to know where the necessary folder is located, and which file within that.

Thanks so much...

(Casp is clueless...)

Kobra Feb 25, 2013 @ 5:05am 
Just make a new shell script, and inside it place:

export SDL_AUDIODRIVER=alsa
export AUDIODEV=hw:0,0
/bin/steam

Then execute
Casp Feb 26, 2013 @ 5:31pm 
Cobra...

Your name is coincidental to my effort to restore sound in the Steam Linux client, as I am trying to see if I can get iBomber Defense to play (published by COBRA)...

Thank-you so much for your help. I created a script and executed it. (The location of the Steam installation folder in my system is /usr/bin/steam.) It did not restore sound (but I will paste the readout of the terminal):

Anyway, that is where I am--and thanks, again... C.

whit@HAL:~$ cd Desktop
whit@HAL:~/Desktop$ sh scriptsteam1
Warning: Your steam package is out of date. Please get an updated version from your package provider or directly from http://repo.steampowered.com/steam for supported distributions.
Running Steam on ubuntu 12.10 32-bit
STEAM_RUNTIME is enabled automatically
Installing breakpad exception handler for appid(steam)/version(1361807486_client)
Installing breakpad exception handler for appid(steam)/version(1361807486_client)
[2013-02-26 20:25:07] Verifying installation...
unlinked 0 orphaned pipes
Gtk-Message: Failed to load module "overlay-scrollbar"

(steam:3756): Gtk-WARNING **: Unable to locate theme engine in module_path: "oxygen-gtk",

(steam:3756): Gtk-WARNING **: Unable to locate theme engine in module_path: "oxygen-gtk",
Installing breakpad exception handler for appid(steam)/version(1361807486_client)
[0226/202510:WARNING:proxy_service.cc(646)] PAC support disabled because there is no system implementation
Installing breakpad exception handler for appid(steam)/version(1361807486_client)
Installing breakpad exception handler for appid(steam)/version(1361807486_client)
Installing breakpad exception handler for appid(steam)/version(1361807486_client)
Installing breakpad exception handler for appid(steam)/version(1361807486_client)
Generating new string page texture 2: 48x256, total string texture memory is 49.15 KB
Generating new string page texture 3: 256x256, total string texture memory is 311.30 KB
Installing breakpad exception handler for appid(steam)/version(1361807486_client)
Installing breakpad exception handler for appid(steam)/version(1361807486_client)
`menu_proxy_module_load': /home/whit/Steam/ubuntu12_32/steam: undefined symbol: menu_proxy_module_load

(steam:3756): Gtk-WARNING **: Failed to load type module: (null)

Installing breakpad exception handler for appid(steam)/version(1361807486_client)
Adding license for package 0
Adding license for package 156
Adding license for package 267
Adding license for package 1529
Adding license for package 4109
Adding license for package 4727
Adding license for package 6046
Adding license for package 6673
Adding license for package 7802
Adding license for package 7877
Adding license for package 8905
Adding license for package 11732
Adding license for package 12588
Adding license for package 13677
Adding license for package 13900
Adding license for package 14088
Adding license for package 15148
Adding license for package 15157
Adding license for package 15481
Adding license for package 15892
Adding license for package 16211
Adding license for package 16549
Adding license for package 17344
Adding license for package 17882
roaming config store loaded successfully - 1464 bytes.
migrating temporary roaming config store
ExecCommandLine: "/home/whit/Steam/ubuntu12_32/steam"
Generating new string page texture 70: 1024x256, total string texture memory is 1.36 MB
Generating new string page texture 71: 128x256, total string texture memory is 1.49 MB
Generating new string page texture 72: 128x256, total string texture memory is 131.07 KB
Generating new string page texture 73: 64x256, total string texture memory is 1.56 MB
Generating new string page texture 74: 32x256, total string texture memory is 1.59 MB
Generating new string page texture 96: 128x256, total string texture memory is 1.72 MB
Generating new string page texture 97: 24x256, total string texture memory is 1.74 MB
Generating new string page texture 98: 256x256, total string texture memory is 2.01 MB
Generating new string page texture 99: 8x256, total string texture memory is 2.02 MB
System startup time: 19.02 seconds
Running Steam on ubuntu 12.10 32-bit
STEAM_RUNTIME has been set by the user to: /home/whit/Steam/ubuntu12_32/steam-runtime
ExecCommandLine: "/home/whit/.steam/root/ubuntu12_32/steam steam://open/driverhelperready"
ExecSteamURL: "steam://open/driverhelperready"
Shutting down. . .
unlinked 2 orphaned pipes
CAsyncIOManager: 0 threads terminating. 0 reads, 0 writes, 0 deferrals.
CAsyncIOManager: 171389 single object sleeps, 0 multi object sleeps
CAsyncIOManager: 0 single object alertable sleeps, 1 multi object alertable sleeps
whit@HAL:~/Desktop$

Junior s2 Camila Feb 26, 2013 @ 6:23pm 
When I had no sound on openSUSE I edited a file called ".bashrc" on my home folder so I don't need to launch Steam via Terninal

See more: http://steamcommunity.com/app/221410/discussions/0/846941710326695083/#c864960354163775937
Ash ^^ Mar 15, 2013 @ 2:28pm 
Wheezy, 64bit, alsa, "SDL_AUDIODRIVER=alsa steam" works for me. Thanks :)
Last edited by Ash ^^; Mar 15, 2013 @ 2:28pm
Showing 1-15 of 16 comments
< >
Per page: 15 30 50
Date Posted: Dec 4, 2012 @ 5:22am
Posts: 16