Closed STurtle75 closed 10 years ago
I hit a simular issue on Gentoo 64 bit with Portal 2 output to pulseaudio intermittently failing, however, this is not the normal audio pipeline for my system as pulseaudio is usually not running, and it picks up the alsa loopback device with no trouble.
I have the pulse-alsa-plugins installed, and I now enabled loopback within alsamixer, but I still dont hear anything. Alsamixer does not show an outputstream anyway.
Anyway, is Alsa worth investigating? The game recognizes Pulse and creates a pulse output stream, so far so good - it is just that this output stream remains mute.
Hm, issuing $ SDL_AUDIODRIVER=alsa steam
did work. However, now it doesn't (It works fine at first, but I get a buffer underrun message on the console quickly). Instead $ SDL_AUDIODRIVER=pulseaudio steam
works now. Maybe some update changed something. I also tried $ STEAM_RUNTIME=0 steam
as recommended on the openSUSE Steam page, but I did not see an immediate effect at the time. Hm.
I'm having this issue except with every single valve game. Even non-valve source games have no sound any more. I've tried Portal 2, Team Fortress 2, Half-Life 2 Episode 1, Half-Life, and Estranged Act 1. None of them have sound at all. Non-valve non-source games still have sound. All of these games used to have sound.
In addition, all the games with no sound also freeze eternally when closed, forcing me to pkill -9 them.
@iirelu I am having the _exact_ same problem, both sound and freeze-on-close. Did you ever find a solution to this?
Starting Steam with SDL_AUDIODRIVER=alsa fixes both issues but this literally didn't happen to me until yesterday.
@dcelasun Some update to something fixed it, probably. I just stopped playing games for a while, came back, and everything was fine. Sorry I can't be of any help.
Hmm, thanks anyway.
I do not hear any kind of sound with Portal2 [beta].
Other Steam games on my Linux laptop have sound without problems. I am on openSUSE 13.1, 64bit, PulseAudio. Portal2 was just installed a few days ago (March 2014). The game runs fine otherwise, I could complete several levels in Chapter 3 without any problems (after installing the closed nVidia driver).
I already checked and excluded these issues from the similar bug report #60:
Mixer Settings
I do see an output stream called "Portal 2 : Simple DirectMedia Layer" both in KMix and pavucontrol, and it is assigned to the correct audio device and it is not muted. Nevertheless, I disabled all other unused audio devices, just to be sure, but that did not change anything. The volume meter in pavucontrol for that stream does not show any activity either.
Library File Case
I also checked that the file ~/.local/share/Steam/SteamApps/common/Portal 2/bin/libMiles.so has the correct case.
Portal2 Audio Settings
The audio settings inside Portal2 are as follows: Master Volume: 80%, Music Volume: 50%, Speaker Configuration (greyed out): headphones, Sound Quality: Medium, Puzzlemaker Sounds: enabled, CC: Full, EnableVoice: Disabled.
Explicitly declaring PulseAudio
Furthermore, I also followed an older suggestion on the OpenSuse forums and started steam as as follows:
SDL_AUDIODRIVER=pulseaudio steam
, but I did not notice a change either - still no audio at all in Portal2.Console Output
Here is the console output (with login replaced by user), but I could not see anything obvious: