Facepunch / garrysmod-issues

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

Voicechat Stuttering/Choppy #5178

Open spankyyy opened 2 years ago

spankyyy commented 2 years ago

Protocol version 24 Exe version 2021.12.15 (garrysmod) Exe build: 21:16:15 Feb 7 2022 (8482) (4000) GMod version 2022.02.07, branch: x86-64, multicore: 1 Windows 64bit

Voicechat starts to get Choppy/Stutter after a couple minutes of playtime. This has been an issue ever since the introduction of a higher quality voicechat. Many of my friends have reported to have the same issue We all tried verifying our game caches but it didn't work "snd_restart" fixes the issue temporarily This has been an issue for 64bit and if I recall correctly it was also problematic for 32bit

Here is the output of voice_clientdebug while the bug is happening CVoiceStatus::UpdateServerState: no change CVoiceStatus::UpdateSpeakerStatus: ent 4 talking = 0 (x2) CVoiceStatus::UpdateSpeakerStatus: ent -1 talking = 1 CVoiceStatus::UpdateSpeakerStatus: ent 4 talking = 0 CVoiceStatus::UpdateServerState: no change CVoiceStatus::UpdateSpeakerStatus: ent 4 talking = 0 CVoiceStatus::UpdateSpeakerStatus: ent -1 talking = 1 CVoiceStatus::UpdateSpeakerStatus: ent 4 talking = 0 (x2) CVoiceStatus::UpdateSpeakerStatus: ent -1 talking = 1 CVoiceStatus::UpdateSpeakerStatus: ent 4 talking = 0 (x3) CVoiceStatus::UpdateSpeakerStatus: ent -1 talking = 1 CVoiceStatus::UpdateServerState: no change CVoiceStatus::UpdateSpeakerStatus: ent 4 talking = 0 CVoiceStatus::UpdateSpeakerStatus: ent -1 talking = 1 CVoiceStatus::UpdateSpeakerStatus: ent 4 talking = 0 CVoiceStatus::UpdateSpeakerStatus: ent -1 talking = 1 CVoiceStatus::UpdateSpeakerStatus: ent 4 talking = 0 CVoiceStatus::UpdateSpeakerStatus: ent -1 talking = 1 CVoiceStatus::UpdateSpeakerStatus: ent 4 talking = 0 CVoiceStatus::UpdateSpeakerStatus: ent -1 talking = 1 CVoiceStatus::UpdateSpeakerStatus: ent 18 talking = 0 CVoiceStatus::UpdateServerState: no change CVoiceStatus::UpdateSpeakerStatus: ent 4 talking = 0 (x2) CVoiceStatus::UpdateServerState: no change

ent -1 starts to "speak" whenever it is happening

How to reproduce: There is not actual way to reproduce but being in a crowded voicechat or having lower fps makes the bug appear more often and even sometimes a couple seconds after doing snd_restart

Before: https://user-images.githubusercontent.com/75406797/157161723-e154544f-07f9-40d4-974b-e7f88a46b708.mp4

After: https://user-images.githubusercontent.com/75406797/157161797-d50e87e5-f1d2-4364-8f4a-f537122d802a.mp4

Fasteroid commented 2 years ago

This has plagued multiple people on my server, myself included.

FlorianLeChat commented 2 years ago

This issue is probably also related to https://github.com/Facepunch/garrysmod-issues/issues/5008.

MyDimeIsUp commented 2 years ago

Surprised they've let this issue exist as long as it does without any mention that they're looking into it. Completely ruins the experience. This has been what... almost a year?

MyDimeIsUp commented 2 years ago

bumping

wrefgtzweve commented 2 years ago

This has plagued multiple people on my server, myself included.

Is your server running on 32 or 64 bit? My suspicion is that it happens on 64bit clients only but maaaybe the server branch could also affect it.

Fasteroid commented 2 years ago

In my case both client and server are 64 bit.


From: Redox @.> Sent: Wednesday, May 25, 2022 2:43:08 AM To: Facepunch/garrysmod-issues @.> Cc: Fasteroid @.>; Comment @.> Subject: Re: [Facepunch/garrysmod-issues] Voicechat Stuttering/Choppy (Issue #5178)

This has plagued multiple people on my server, myself included.

Is your server running on 32 or 64 bit? My suspicion is that it happens on 64bit clients only but maaaybe the server branch could also affect it.

— Reply to this email directly, view it on GitHubhttps://github.com/Facepunch/garrysmod-issues/issues/5178#issuecomment-1136811748, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AG73YHWPELSTILE3XKGWAATVLXDXZANCNFSM5QFFFSDQ. You are receiving this because you commented.Message ID: @.***>

wrefgtzweve commented 2 years ago

Yeah I feel like that plays into it, it's hard to test but maybe 64bit servers cause it or increase its frequency. But that's also because I rarely play on 32 bit servers so I can't compare very well

Fasteroid commented 2 years ago

It happens on 64 bit server with 32 bit client as well. Just observed while working on web development in awesomium.