mumble-voip / mumble

Mumble is an open-source, low-latency, high quality voice chat software.
https://www.mumble.info
Other
6.29k stars 1.11k forks source link

Mumble lags uncontrollably when playing L4D2 #5728

Closed Kevin-Schnaubelt-Jr closed 11 months ago

Kevin-Schnaubelt-Jr commented 2 years ago

The issue

So I have two computers. Only one is having this issue. If I have the source engine plugin enabled, the mumble app with slow to a crawl. I almost can't click on anything. If i try to talk, the other computer basically can't hear me at all because Mumble isn't able to pick up my voice.

The other computer has no issues whatsoever. Settings in mumble are the same across two computers.

Mumble version

1.4.0

Mumble component

I don't know

OS

Windows

Additional information

No response

davidebeatrici commented 2 years ago

Is there something related in the developer console?

Also, did you mean 1.4.230?

Kevin-Schnaubelt-Jr commented 2 years ago

I'm on version 1.4.230 yes, sorry. And I'm not sure *about the console.

Kevin-Schnaubelt-Jr commented 2 years ago

Tried it for L4D1 as well and same issue. If the plugin is enabled, the Mumble application is hitching and lagging.

Kevin-Schnaubelt-Jr commented 2 years ago

Okay so update. "Link to game and transmit position" was not checked on the computer that wasn't lagging. I checked it and now Mumble on both computers lag uncontrollably when a source engine game is running.

I could have sworn it was actually picking up my audio on the one computer. Going to do further testing.

davidebeatrici commented 2 years ago

Was it picking up your audio output as input?

Kevin-Schnaubelt-Jr commented 2 years ago

I'm not sure what it was picking up.

Just tried to play with it, and the app is so laggy that it only ever transmit a quick millisecond of sound every couple of seconds.

I don't have to be in a server or anything though. As long as the game is running in the background, my audio is hitchy and laggy. Even in the audio tuning wizard.

Kevin-Schnaubelt-Jr commented 2 years ago

I've tried the Borderlands 2 plugin on both computers and the application doesn't lag there. Going to try and actually start a coop game and see if the actual positional audio works.

vimpostor commented 2 years ago

Does it display a message that the Source Engine positional audio plugin is linked in the left log column?

Would be interesting to see if the problem is because it is failing to link and thus trying to link repeatedly or if the performance problem is in the retreiving of positional audio when already linked.

stale[bot] commented 2 years ago

This support-issue has been automatically marked as stale because it has not had recent activity. If no further activity occurs, the issue will be automatically closed as we'll assume your problem to be fixed.

DkBobo commented 1 year ago

I have the exact same problem, and I have no idea what's causing it. Any suggestions?

vimpostor commented 1 year ago

Any suggestions?

You could start by answering my still unanswered question.

DkBobo commented 1 year ago

Any suggestions?

You could start by answering my still unanswered question.

I don't know as this is my first time using mumble. I didn't see any messages but i'm not quite sure what the log column is.

Krzmbrzl commented 1 year ago

The log column is the same as the chat window. Did you see anything that claimed that the plugin has linked to the game?

DkBobo commented 1 year ago

The log column is the same as the chat window. Did you see anything that claimed that the plugin has linked to the game?

No there wasn't anything. I'll try running it as Administrator next time maybe

Krzmbrzl commented 1 year ago

Okay then this would indicate that thevlag is due to the plugin trying to link :thinking:

@davidebeatrici do you have any idea what might be causing this?

DkBobo commented 1 year ago

Okay then this would indicate that thevlag is due to the plugin trying to link 🤔

@davidebeatrici do you have any idea what might be causing this?

I tried playing Borderlands 2 and there wasn't a message either. Can you link a tutorial for how to link any game to mumble because all I can find are tutorials for Minecraft.

DkBobo commented 1 year ago

To my understanding, all you need to do is tick the "Link game to game and transmit position" on and tick "enable" and "PA" for Source Engine (or any other plugins depending on the game). I've also ticked off the enable box for the "Link" plugin. Then you enter any server and the game you want to play and there should be a message saying the game has linked (?)

davidebeatrici commented 1 year ago

Exactly. Please note that most plugins are not guaranteed to work with the latest game versions.

The Link plugin exposes a shared memory area that games can write to, it's the most reliable method but requires support from the developers.

The Source Engine plugin uses pattern matching to find specific assembly code in memory, there is a chance something has been changed in the game. I will take a look.

davidebeatrici commented 11 months ago

I was able to reproduce the issue, it appears to be Windows-specific.

For reference:

Version 2.2.2.9 (left4dead2)
Network Version 2.1.0.0
Exe build: 12:56:10 Apr 24 2023 (8934) (550)

The plugin works flawlessly with the exact same version of the game running on Linux through Proton.