Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Analog input devices cause Mumble to lag/freeze #6696

Open
Krzmbrzl opened this issue Jan 11, 2025 · 0 comments
Open

Analog input devices cause Mumble to lag/freeze #6696

Krzmbrzl opened this issue Jan 11, 2025 · 0 comments
Labels
bug A bug (error) in the software client GlobalShortcuts windows

Comments

@Krzmbrzl
Copy link
Member

Description

If Mumble is running on a computer that has an analog input device (such as a Joystick, Racing pedals or similar), it will just completely freeze up or at least get very laggy.

CPU usage in such cases spikes as well.

Steps to reproduce

  1. Start Mumble
  2. Connect analog input device

Mumble version

1.4 and newer

Mumble component

Client

OS

Windows

Reproducible?

Yes

Additional information

It seems like this issue is more or less directly correlated to the switch towards RawInput on Windows (#6602). The assumed cause for the freeze is that the analog input device is just continuously generating input events, which Mumble receives and posts into the Qt event queue. However, the events are sent faster than Qt's event queue (and the respective handlers we have attached to it) can process. This leads to a congested event queue that in turn leads to a laggy application. Meanwhile the program is extremely busy discarding irrelevant input events, consuming a lot of CPU time while doing so.

Related issues:

Also related:

Relevant log output

No response

Screenshots

No response

@Krzmbrzl Krzmbrzl added bug A bug (error) in the software triage This issue is waiting to be triaged by one of the project members client windows GlobalShortcuts and removed triage This issue is waiting to be triaged by one of the project members labels Jan 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A bug (error) in the software client GlobalShortcuts windows
Projects
None yet
Development

No branches or pull requests

1 participant