ValveSoftware / csgo-osx-linux

Counter-Strike: Global Offensive
http://counter-strike.net
785 stars 69 forks source link

[Linux] Mic outputs high-pitched squealing and white noise #1212

Open DrDoctor13 opened 8 years ago

DrDoctor13 commented 8 years ago

On CS:GO for Linux, using my mic only outputs high-pitched white noise. This does not occur in any other game, even other Valve Linux games (tested in CS:S).

Tele42 commented 8 years ago

Hello @DrDoctor13, please copy your system information from steam (Steam -> Help -> System Information) and put it in a gist, then include a link to the gist in this issue report. Additionally, do you happen to know if you are using pulseaudio or alsa directly? Are you using the analog mic of the onboard audio chipset or a USB mic?

DrDoctor13 commented 8 years ago

Here: https://gist.github.com/DrDoctor13/936a67851aa80f5556b2d294882bce19

I am using a USB mic through pulseaudio.

DrDoctor13 commented 8 years ago

Something I discovered: I can't force CS:GO to use a certain input through pavucontrol. It always uses the generic analog line in, even if it's configured to use my USB mic through Steam or if its set as the default input in pavucontrol.

sudopluto commented 8 years ago

I am also having this issue.

DrDoctor13 commented 8 years ago

I think I've found part of the problem: There has been a new runtime made for Steam that uses native libraries instead of the libraries Steam includes. Running Steam through this runtime causes this problem, while running regular Steam does not.

Tele42 commented 8 years ago

@DrDoctor13, in this case, you should report this to your distro's package maintainer(s) for steam.

NogradThGin commented 8 years ago

I confirm using Steam runtime cause some problem related to audio, I use my onboard microphone and if i enable Steam Runtime when i press Push-to-Talk key my sound output change from 2.0 to 1.0 if i can say. The left and right go both to the center. This porblem do not occur when i use native libraries.

On Archlinux 64bits Daily Updated

DrDoctor13 commented 8 years ago

@NogradThGin our problems are different. Please make a separate issue.

@Tele42 I have created a bug report in the Arch bugtracker for steam-native-runtime. https://bugs.archlinux.org/task/51556?opened=22710&type%5B0%5D=&sev%5B0%5D=&due%5B0%5D=&cat%5B0%5D=&status%5B0%5D=open&percent%5B0%5D=&reported%5B0%5D=

NogradThGin commented 8 years ago

@DrDoctor13 Not different this much, the issues are both related to microphone and libraries. At least i solved mine. Maybe try to use Audio Echo Cancel PULSE_PROP="filter.want=echo-cancel" steam PULSE_PROP="filter.want=echo-cancel" steam-native