csgo-osx-linux icon indicating copy to clipboard operation
csgo-osx-linux copied to clipboard

[Linux] Recent push-to-talk problems/hangs

Open salixh5 opened this issue 9 years ago • 16 comments

Not sure yet how to reproduce, because it doesn't always happen. It's like in roughly 50% of the games I play I can't use my own voice bind or the game will freeze up completely for roughly 1-2 seconds. After that it continues on fine, but rendering and sound completely stop for a moment as soon as I press the key for talking. This happened to me on both official matchmaking servers (in EU west) and on popflash.site EU servers, I didn't try anything else. It also didn't seem to be related to having Mumble opened in the background or not. This problem didn't occur at all before this month, but I'm not completely sure which patch exactly introduced it. (Potentially it could also be related to another system update of course, be it kernel, some library, or Nvidia drivers. I do use the Steam Runtime, though.)

I'm using PulseAudio and generally don't have any other problems with it or any of my peripheral devices (for example Mumble works fine, as does Firefox Hello.)

My system: https://gist.github.com/jeifour/3ecc6e150e4167fe78f4

salixh5 avatar Oct 08 '15 08:10 salixh5

My system is in Chinese On 8 Oct 2015 21:59, "Jei Four" [email protected] wrote:

Not sure yet how to reproduce, because it doesn't always happen. It's like in roughly 50% of the games I play I can't use my own voice bind or the game will freeze up completely for roughly 1-2 seconds. After that it continues on fine, but rendering and sound completely stop for a moment as soon as I press the key for talking. This happened to me on both official matchmaking servers (in EU west) and on popflash.site EU servers, I didn't try anything else. It also didn't seem to be related to having Mumble opened in the background or not. This problem didn't occur at all before this month, but I'm not completely sure which patch exactly introduced it. (Potentially it could also be related to another system update of course, be it kernel, some library, or Nvidia drivers. I do use the Steam Runtime, though.)

I'm using PulseAudio and generally don't have any other problems with it or any of my peripheral devices (for example Mumble works fine, as does Firefox Hello.)

My system: https://gist.github.com/jeifour/3ecc6e150e4167fe78f4

— Reply to this email directly or view it on GitHub https://github.com/ValveSoftware/Counter-Strike-Global-Offensive/issues/500 .

JoshuaMurphynz avatar Oct 08 '15 09:10 JoshuaMurphynz

I appreciate the helpful, on-point comment.

Edit: Ok I understand now what you actually wanted to tell the world. Not your system is in Chinese, but you thought that the system info I gave is in Chinese. Yes, this isn't correct, because it's Japanese but as far as continents go you guessed right. I just don't see how this is relevant. Steam creates system info in the language that your client is set to, I can't change that and even then it's still perfectly readable even if you don't know the language.

salixh5 avatar Oct 08 '15 12:10 salixh5

I don't know how to help with the problem but I can help make it as easy as possible for the people who do. Take your snarky comments elsewhere. Thanks On 9 Oct 2015 01:07, "Jei Four" [email protected] wrote:

I appreciate the helpful, on-point comment.

— Reply to this email directly or view it on GitHub https://github.com/ValveSoftware/Counter-Strike-Global-Offensive/issues/500#issuecomment-146518041 .

JoshuaMurphynz avatar Oct 08 '15 20:10 JoshuaMurphynz

Or I can leave them right here.

salixh5 avatar Oct 09 '15 12:10 salixh5

Here's a video demonstrating the issue. https://vid.me/ojeu On second 11 I'm trying to click on the push-to-talk key. It's a Valve deathmatch server.

salixh5 avatar Oct 11 '15 08:10 salixh5

Additional information: There is a time X, so that when the time between two pushes of the push to talk button is smaller than X, it will not lag, and when it is bigger than X, it will lag. For me this seems to be pretty exactly 8 seconds. This is an illustration of what's happening: default

salixh5 avatar Oct 22 '15 21:10 salixh5

I had this problem and fixed it by running pavucontrol while playing csgo

nickster5001 avatar Oct 24 '15 20:10 nickster5001

Thanks, @nickster5001 this seems to fix it.

salixh5 avatar Oct 24 '15 21:10 salixh5

sometimes once on ten (or even less) push-to-talk uses - i have game crash. I'm using Linux

grzemach avatar Nov 20 '15 09:11 grzemach

Are you using pulse audio? Is pavucontrol running? If not, do those things and report back.

Sent from my iPhone

On Nov 20, 2015, at 4:17 AM, grzemach [email protected] wrote:

sometimes once on ten (or even less) push-to-talk uses - i have game crash. I'm using Linux

— Reply to this email directly or view it on GitHub.

nickster5001 avatar Nov 20 '15 14:11 nickster5001

Can someone confirm this is still an issue with the 64 bit client?

Tele42 avatar Jun 25 '16 22:06 Tele42

Hey,

Forgive me if this is repetitive but i cannot see the full thread here.

You need to not only have pavucontrol open, but you must select the correct application (in this case csgo) to send the mic input to. You will not see csgo as an option unless your mic is active in the game. Use a csgo console command to turn your mic on (I don't' remember off the top of my head) and then pull up pavucontrol to select csgo.

Let me know if that's not it.

On Sun, Sep 11, 2016 at 11:47 PM, Kvbev [email protected] wrote:

I am having this issue, keeping pavucontrol open does not fix the issue for me.

stuttering/tazer mic only shows up in game, steam mic test shows no issues, teamspeak no issues with mic and mumble no issues with mic.

arch linux pulseaudio i3wm radeon OSS drivers on 7870

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ValveSoftware/csgo-osx-linux/issues/500#issuecomment-246237317, or mute the thread https://github.com/notifications/unsubscribe-auth/AKkiHMjo0Hk90J0ItneLyio86GuSdHktks5qpMtWgaJpZM4GLLJj .

nickster5001 avatar Sep 12 '16 18:09 nickster5001

I haven't played csgo since January so bare with me here.

But to my recollection, using +voicerecord caused csgo to show up in the recording tab in pavucontrol. At which point I could select it as the target for output.

The recording tab is all that matters for this.

Keep voice_loopback on 0.

I'm at work now, but I'll check it out when I get home if you still can't get it.

On Mon, Sep 12, 2016 at 2:37 PM, Kvbev [email protected] wrote:

so i am making use of the console commands below.

voice_loopback 1 +voicerecord -voicerecord

in order for for csgo to appear on the recording tab in pavucontrol +voicerecord must be on, which also gives an open mic and using voice_loopback 1 my voice sounds great! this is however now not using push to talk as its just an open mic.

once i do -voicerecord to go back to push to talk csgo disappears from the recording tab in pavucontrol and holding down my push key, with voice_loopback 1 still on, my voice goes back to being a taser/studdering, there is even background studdering when saying nothing. also the longer i hold down my push to talk, the longer the delay becomes to hear my own voice playback ingame with voice_loopback 1, the playback delay increases which time when holding down push to talk.

maybe csgo shows up in recording tab in pavucontrol while im holding push to talk but i cannot switch fast enough to see it.

in regards to "selecting" the csgo app in pavucontrol i dont see what you mean by that and even so when using push to talk the csgo app does not even show in pavucontrol.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ValveSoftware/csgo-osx-linux/issues/500#issuecomment-246447333, or mute the thread https://github.com/notifications/unsubscribe-auth/AKkiHPxpt-1_b_6qYR4HrIdPCLb0gcVfks5qpZwEgaJpZM4GLLJj .

nickster5001 avatar Sep 12 '16 18:09 nickster5001

I see. Just to be clear.. You would only expect to see the entry in pavucontrol while the push-to-talk button is pressed. It would disappear as soon as the button is released.

You mentioned before that maybe you are not switching fast enough to see it. Can you pull up csgo in a window (or put pavucontrol on second monitor if you have it) to verify that it does not appear when you press-to-talk?

When i selected csgo, in pavucontrol, while +voicerecord 'ing, it applied it to the push-to-talk setting as well. It seems that if that were the case for you it would be working already =/. Maybe a recent release has botched this fix.

On Mon, Sep 12, 2016 at 2:55 PM, Kvbev [email protected] wrote:

+voicerecord is an open mic, not push to talk, when I have +voicerecord on the mic listed in pavucontrol for csgo is correct. the moment I type -voicerecord to go back to push to talk csgo disappears from pavucontrol. when im in push to talk (-voicerecord) there is no csgo entry in pavucontrol.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ValveSoftware/csgo-osx-linux/issues/500#issuecomment-246453152, or mute the thread https://github.com/notifications/unsubscribe-auth/AKkiHAm8WMPwcEFFOLOGjfj8n71YltGGks5qpaAugaJpZM4GLLJj .

nickster5001 avatar Sep 12 '16 19:09 nickster5001

I am having a similar (if not the same) issue: https://github.com/ValveSoftware/csgo-osx-linux/issues/1330 and for me having pavucontrol running fixes it, where just having m_rawinput set to 1 makes it so I get a frame skip instead of the view rotating when using push-to-talk. Inputting manually +voicerecord in console (without pavucontrol running) also doesn't introduce the issue and I also get the following errors in the console:

ConVarRef voice_chat_bubble_show_volume doesn't point to an existing ConVar ConVarRef voice_vox_current_peak doesn't point to an existing ConVar

Unfortunately, using your fix: alias voiceToggleOn "+voicerecord; alias voiceToggle voiceToggleOff" alias voiceToggleOff "-voicerecord; alias voiceToggle voiceToggleOn" alias voiceToggle voiceToggleOn bind "" "voiceToggle"

Doesn't fix it for me.

ifohancroft avatar Mar 05 '17 20:03 ifohancroft

Solution for 1-2 sec freeze after push to talk is commenting out this line in /etc/pulse/default.pa

Automatically suspend sinks/sources that become idle for too long

#load-module module-suspend-on-idle

jejdacz avatar Nov 23 '18 21:11 jejdacz