New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
steam has trouble with alsa plug pcm #2962
Comments
Steam often uses middleware for sound (OpenAL or Miles usually) so this may need to be passed on. |
ok, I forgot to mention that I run steam like this ALSOFT_DRIVERS=alsa SDL_AUDIODRIVER=alsa AUDIODEV=xxx steam so sdl and openal are using alsa, and according to the alsoftrc.sample it uses "default" as default pcm, which points to xxx. |
as a test to see if steam picks up the correct pcm, I tried pcm.!default { ALSOFT_DRIVERS=alsa SDL_AUDIODRIVER=alsa AUDIODEV=null steam and steam does indeed play no sound, for the videos and stuff BUT the video in steam is waaaay to fast! there is somethign wrong |
Valve note: #2832 also mentions video playing too fast. |
ok, after further investigation it is perfectly normal that videos sync to audio. But anyway, back to the main problem, it proves that steam picks up the correct pcm, the inital config is still a problem. |
Hi! aplay -l cat /proc/asound/cards cat ~/.asoundrc ctl.!default { Steam - System information says: All other programms (like VLC or Iceweasel) play sound perfectly. Using Debian Sid/Experimental, Linux GnuMD 3.11-2-amd64 SMP Debian 3.11.8-1 (2013-11-13) x86_64 GNU/Linux, Best regards, |
Workaround: In alsa-base.conf added "options snd-hda-intel index=1,0,2", аnd now it is Sound card: But steel it remains, that Steam is ignoring .asoundrc cofig files. Best regards, |
uhm, I think it should be and NOT AUDIODEV=!default at least that how it works for me. |
Hello @buscher, are you still experiencing this issue on an up to date system? |
Yes, I just retested with latest released (not beta) steam and up to date system.
ALSOFT_DRIVERS=alsa SDL_AUDIODRIVER=alsa AUDIODEV=null steam still causes problems. Video is way too fast and "choppy". |
I personally do not consider that test case as valid because there is no steam-compatible x86 hardware in the wild that does not have at least one audio device, which leaves this issue being about the type multi section of your originally posted config. Also, there most likely is something using the audio device before the steam game starts. Adding dmix before the type multi section may help. Specific to video playback in steam, web content including the HTML5 videos on steam's store pages are rendered by libcef, and this would need to be pursued upstream. |
Sorry, I lost interest in this bug report. What should we do? close it? leave it open forever? |
If you don't want to pursue this further, that's totally fine. Closing. |
Hi,
I am a pure alsa user and while toying around with alsa I noticed that steam can't "handle" plug pcms.
I have the following pcm which duplicates the output and outputs its on 2 devices.
pcm.!default {
type plug
slave.pcm "xxx"
}
pcm.xxx {
type plug
slave.pcm {
type multi
slaves {
a { channels 2 pcm "hw:2,0" } # usb headset
b { channels 2 pcm "hw:1,0" } # intern pci soundcard
}
bindings {
0 { slave a channel 0 }
1 { slave a channel 1 }
2 { slave b channel 0 }
3 { slave b channel 1 }
}
}
ttable [
[ 1 0 1 0 ] # left -> a.left, b.left
[ 0 1 0 1 ] # right -> a.right, b.right
]
}
when trying to play a video(non-flash) or play a game, I just get noise, or steam crashes.
NOTE: without steam it works fine, I tried ioquake3, ut2004, minecraft mplayer/mplayer2/mpv, speaker-test.
A good example is VVVVVV as it works without steam, and it does work fine without steam, but inside steam (all 32bit) I just get noise or no sound.
The text was updated successfully, but these errors were encountered: