Facepunch / garrysmod-issues

Garry's Mod issue tracker
145 stars 56 forks source link

Mic gets stuck #5008

Open MyDimeIsUp opened 3 years ago

MyDimeIsUp commented 3 years ago

If GMod is running in -windowed -noborder, if I switch to another virtual desktop (Ctrl + Win + Left/Right arrow), voices will get very laggy and your voice box will be stuck as if you are talking yet nobody can hear you. You can press talk bind to talk and people will hear you and your voice box will disappear, but shortly after reappear and voices will start lagging (yet you aren't transmitting). To fix this you have to do 'stopsound' and press your talk bind.

Ill record a video and upload it then of an example

thegrb93 commented 3 years ago

I've seen the voice box getting stuck happen quite a lot on laggy servers

robotboy655 commented 3 years ago

Cannot reproduce. Switching desktops has no effect on the game, and why would it?

CornerPin commented 3 years ago

It happens randomly, sometimes you have to play for 5 minutes, sometimes it takes several hours before it gets stuck. People on the server need to actively use voice chat for the bug to happen.

thegrb93 commented 3 years ago

Also it's completely visual if I recall correctly. Voice still transmits normally but the indicator box just always shows and you can't get it to go away.

CornerPin commented 3 years ago

Also it's completely visual if I recall correctly. Voice still transmits normally but the indicator box just always shows and you can't get it to go away.

It's not just visual. When the box gets stuck and someone tries to speak, they sound like they are lagging. It also happens on custom HUDs, so it has to be something in the engine.

MyDimeIsUp commented 3 years ago

^

It happened on recently shutdown community with stock TTT voiceboxes and happens on our new community server with custom voice boxes. Seems to be an engine issue. The way to get this to stop is to type stopsound in console then tap your talk bind. It will randomly happen again though. I've been on our dev server a lot so I haven't been playing on or production server with a bunch of people. When I do I'll save a ShadowPlay recording and post it here.

MyDimeIsUp commented 3 years ago

I was on my 2nd monitor SSH'd in MobaXTerm and when I noticed the voices were laggy, came back and demonstrated the bug as shown in this video. I was in console so in theory none of my keystrokes should've activated anything in game

https://youtu.be/_2AZ69DjwI8

MyDimeIsUp commented 3 years ago

bump still occurs, mostly on x64 branch I think

MyDimeIsUp commented 2 years ago

bump happened at least 20 times in a 1 hour period yesterday.

jorjic commented 2 years ago

Is this still happening? I ran into it a lot 9 months ago, even when I wasn't personally using voice chat at all. It did only happen when people were using voice chat and I don't think alt+tab was required to trigger it. I could sit there and watch it happen without touching the keyboard. I didn't experience the voice distortion.

MyDimeIsUp commented 2 years ago

Is this still happening? I ran into it a lot 9 months ago, even when I wasn't personally using voice chat at all. It did only happen when people were using voice chat and I don't think alt+tab was required to trigger it. I could sit there and watch it happen without touching the keyboard. I didn't experience the voice distortion.

Yeah it is still happening for me at least. All ask others in our community

MyDimeIsUp commented 2 years ago

The bug has gotten WAY worse this past week. Now the mic is getting stuck if I don't even switch to another program. Others have reported this as well. I can be walking around playing and then the voices get laggy and my mic gets stuck even though I'm not transmitting. And just like @jorjic said I could be in-game not touching the keyboard and it happens.

Also playing on another TTT server that had no custom voice boxes or HUD this still happened. Afaik it has nothing to do with custom HUDs/voice boxes. Since this happens at least once or twice every minute it has made Garry's Mod very unenjoyable to play

MyDimeIsUp commented 2 years ago

bumping

wrefgtzweve commented 2 years ago

Still happening

obfuscatedgenerated commented 2 years ago

I’m also experiencing this bug at times, especially on laggier servers. I’m also noticing it seems to happen when I use alt+tab (sometimes, not every time). I’m on x86-64 Chromium branch. However, I am not in windowed no-border mode, I'm in regular fullscreen.

NeonWizard commented 2 years ago

For those still having this issue, here is a temporary fix:

Type stopsound in console and then re-press your voice transmit keybind.

Apohlo commented 1 year ago

After removing -windowed -noborder from my launch properties, resetting and reinstalling GMod entirely, and returning to the regular build of GMod, the issue persists. The voice chat is incredibly choppy and there's no permanent fix anywhere to be found. Even the temporary fixes don't fix anything, here's a video I recorded I recorded a couple days ago where the voice chat is essentially unusable.

https://user-images.githubusercontent.com/74601590/210116550-84caa21c-20a3-4510-8a7a-99b0c71590de.mp4

MyDimeIsUp commented 1 year ago

I think this happens when there is an FPS drop. When GMod isn't in focus it limits FPS to 32, which is when the this starts happening. Also when there is a significant FPS drop on certain maps, it'll also trigger this bug happening even when GMod is focused and I'm actively playing.

Hope this helps isolate the bug

Ryguy2020 commented 11 months ago

still happening !

NathanX-S commented 3 months ago

Still happening. Any solutions?

NathanX-S commented 3 months ago

@robotboy655 https://i.imgur.com/CO28K9d.png Here's some "key" values during the stuck state. Any other ways you can think of to try and debug/gather info on this?

NathanX-S commented 3 months ago

@Kefta Any input?

edit: rest well collin, you were a real one and made this game what it is today and likely are one of the only reasons it's still alive.