ValveSoftware / csgo-osx-linux

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

Microphone not working in game #256

Closed rantoie closed 9 years ago

rantoie commented 9 years ago

This seems exactly like issue #19, but that issue was closed because it was fixed. However, it doesn't seem like it is fixed here. My microphone is picked up by steam voice test, but not in the game. When I press the key in the game to talk, the icon for my name shows up with the signal "bars" constant. When it was working before, they would change while you were talking.

I've tried pulse, I've tried alsa, I've checked my settings in pavucontrol.

Tried setting 'voice_enable 1' and tried 'voice_loopback 1'

I'm running Debian sid, I can provide any additional debugging information on request.

nanno commented 9 years ago

Have same issue, Debian Jessie. Microphone work in voice test, but doesn't work in game.

Processor Information:
    Vendor:  GenuineIntel
    CPU Family:  0x6
    CPU Model:  0x3a
    CPU Stepping:  0x9
    CPU Type:  0x0
    Speed:  3200 Mhz
    4 logical processors
    2 physical processors
    HyperThreading:  Supported
    FCMOV:  Supported
    SSE2:  Supported
    SSE3:  Supported
    SSSE3:  Supported
    SSE4a:  Unsupported
    SSE41:  Supported
    SSE42:  Supported

Network Information:
    Network Speed:  

Operating System Version:
    Debian GNU/Linux 8.0 (jessie) (32 bit)
    Kernel Name:  Linux
    Kernel Version:  3.16.0-4-686-pae
    X Server Vendor:  The X.Org Foundation
    X Server Release:  11602901
    X Window Manager:  <Unknown>
    Steam Runtime Version:  steam-runtime-release_2015-01-06

Video Card:
    Driver:  NVIDIA Corporation GeForce GT 635M/PCIe/SSE2

    Driver Version:  4.4.0 NVIDIA 340.65
    OpenGL Version: 4.4
    Desktop Color Depth: 24 bits per pixel
    Monitor Refresh Rate: 60 Hz
    VendorID:  0x10de
    DeviceID:  0xde3
    Number of Monitors:  2
    Number of Logical Video Cards:  2
    Primary Display Resolution:  1366 x 768
    Desktop Resolution: 2390 x 768
    Primary Display Size: 13.54" x 7.64"  (15.51" diag)
                                            34.4cm x 19.4cm  (39.4cm diag)
    Primary VRAM: 2048 MB

Sound card:
    Audio device: Intel PantherPoint HDMI

Memory:
    RAM:  7684 Mb

Miscellaneous:
    UI Language:  English
    LANG:  en_US.UTF-8
    Microphone:  Not set
    Total Hard Disk Space Available:  885733 Mb
    Largest Free Hard Disk Block:  655668 Mb

I'm using primusrun to launch CS:GO

coltstrgj commented 9 years ago

The Steam overlay and the in game will be able to use different mice inputs if you set it that way. In game will use the default audio input device so if you use PAVU you can click the check box that says set as fallback next to the mic you want to use and that should fix the issue. Also be sure to use "voice_enable 1" in your console to make sure that voice is on (sorry if that last tip was insulting, you would be surprised how often I forget I have it off)

kon14 commented 9 years ago

I'm also affected by the above issue. I can confirm that steam's mic settings used by csgo are set to my mic by selecting open mic and then launching pavucontrol after joining a match. steam voice testing works fine and everything else works fine whether using the steam voice settings or in-game input stream. Testing on Gentoo with Pulseaudio. I believe my mic used to work fine in csgo at some point but that's definitely not the case at the moment.

EDIT: Hmm after today's trial and error it somehow started working. I made my mic pulseaudio's default between change but that's unlikely to cause the issue. The stream was definitely set to the correct mic. The only other difference is that I was using skype for teamchat due to some problems with steam voice chat. Perhaps it could be related to combining steam's voice chat and voice chat used for cs?

tpruzina commented 9 years ago

I'm having some issues too (gentoo+pulseaudio), push-to-talk bind works just fine, but voice autodetection doesn't work for me at all (same goes for ingame lobbies where I cannot talk).

Also, when I set to autodetect, pavucontrol doesn't display steam nor csgo in "recording" tab.

coltstrgj commented 9 years ago

You can see that one of the devs reviewed this issue so they should start working on it soon if they do find that it is a bug. More than likely though for most people, I think they have the wrong mic set to default. kon14: I use my mic as input stream for both steam CS:GO and teamspeak3. This works fine. In fact I can use both at once. No matter the settings of steam overlay microphone test, the game seems to use your default audio in device specified in pavu. trruzina: PTT works fine for me as well, but the auto detect doesnt seem to. I unfortunately do not think that this is a bug (I have not checked to back this claim up) but I think that it may have something to do with the lobby sound issue. I think that CS has trouble connecting to the microphone that you have set to default. If you want them to work on the no auto transmit voice issue I think you should make a new issue so that it becomes more visible as well as easier for valve to track progress. Please (and I do not mean to sound like one of those overly protective forum moderators, especially because I have no association with valve) make sure that the issue has not been reported before you post, if that is what you decide to do.

In lobby I cannot hear my friends even when I see they are transmitting. I can still hear the music that is played in the lobby. Sometimes though the background will be all black and no sound will play. None of the menus will work (like inviting friends never pops up the menu to see their csgo profile or invite them).

kon14 commented 9 years ago

coltstrgj, either csgo uses a different input stream when it's using open-mic/press-to-talk (nah...) or something else resolved my issue and my change in pavucontrol just happened to have a "bad" timing.

Unless you try steam voice and not in-game mic (which should be the same for csgo, but I tried it anyway) there's no stream available for editing while the in-game mic settings are set to press to talk. In order to make sure my game's stream was set to the correct mic: I set the cs mic setting to always open and after entering a server (where the game actually tries to record) I changed/made sure the stream points to the right device. Perhaps your lack of player sound is a different bug?

Ur0s commented 9 years ago

Having the same issue as most of comments above. Mic works in steam overlay, but not in-game @ #190

rantoie commented 9 years ago

I was able to solve this problem, mostly. What I had to do was join a game, then I would go to the console and type «voice_enable 1» which would make the icon in game show that I was talking. I would then alt-tab to my desktop, launch pavucontrol, then adjust the input and recording sinks so that they were set to the right audio device. Then I would switch back to CS and test the microphone by speaking, waiting for another player to respond to my voice. When they did, I would then go to the console and type «voice_enable 0» to disable it. I think «voice_loopback 1» might be a better option because you would hear yourself, instead of broadcasting to the whole game.

I had to do this every time I started the game, I dont know why the setting would change, but it might have had to do with my USB headset sometimes being unplugged.

superneroes commented 9 years ago

Little bit old, but for everyone recently having this problem:

Uninstall Geforce Experience Share

kon14 commented 9 years ago

@superneroes I don't believe anyone is experiencing this issue anymore, though in any case that fix wouldn't work on linux (there's no geforce experience on linux and even if there was it would have to be implemented differently, minimizing the probability of it causing that specific issue just like on windows)

thanks for sharing

TrentIsDope commented 9 years ago

@superneroes OMG, I made an account just to say thank you. I recently had this problem with my mic not working for steam. Randomly googled and came across this thread. That was EXACTLY my problem. I disabled it and my mic immediately started working in game again. Thank you so much.

superneroes commented 9 years ago

@TrentIsDope no problem, you are welcome :) I had the problem not to find any solution in threads google found for me, but this one deep in a steam support thread. Spammed it everywhere people hopefully could find it.

@kon14 I have to say you are wrong :D But I'll forgive your skepticism ;)

w00druff commented 9 years ago

@superneroes Thank you soooo much !!!! Also minimize csgo and maximize back is much faster now.

kon14 commented 9 years ago

@superneroes wrong regarding what exactly? geforce experience isn't available on linux and if it were to be implemented it would have to work with X11 (and probably wayland/mir too), alsa/pulse etc.

my point is it would have to be implemented in a different fashion and reimplementing it might not end up producing the same bugs as in windows.

no flame intended, or anything

superneroes commented 9 years ago

@kon14 Wrong in the assumption nobody would experience this issue anymore ;)

Tele42 commented 9 years ago

@superneroes, @kon14 did not type that you did not encounter an issue, the reference to "this issue" is the original posted, troubleshoot-ed, and resolved issue. Just because generic symptoms are the same does not make the cause of the issue the same.

This issue tracker is explicitly limited to the Mac and Linux client of CS:GO, and your issue is outside the scope of the tracker. Your issue should also be reported to nvidia if it has not been already.

kon14 commented 9 years ago

@Tele42 nailed it, exactly what I meant

BloodyIron commented 8 years ago

I want to add that setting the "set as fallback" in the Pulse Audio Volume Control worked for me. I use a USB mic, and I set it to that mic in the volume control. That's the only thing that I did to get it working.