irzyxa / Volume2

Volume² - advanced Windows volume control.
https://irzyxa.blogspot.com
Other
971 stars 49 forks source link

Mouselag when muting or unmuting #185

Open alphatonic opened 2 years ago

alphatonic commented 2 years ago

Describe the bug I have a Corsair K70 MK2 Keyboard with dedicated Volume Wheel and Mute button. I bound the mute button to muting in Volume² to change the ugly default windows volume popup to something more pleasing. If i press the mute button my mouse lags for a second or two. Did something change with the latest version of Volume² to cause this?

Desktop (please complete the following information):

irzyxa commented 2 years ago

I cannot reproduce it on 2 my PC's

alphatonic commented 2 years ago

Maybe my sound-card is dying or the driver is bad. I'll try some things and report back.

MoneyAllDay commented 2 years ago

I have the exact same problem for some time now, i'm not sure if it's a coincidence or not but i have a similar keyboard Corsair K70 LUX Cherry MX Brown.

My last PC was:

MB: Asus Z170-A CPU: I7-6700K GPU: MSI 1080

My current PC is brand new with all new parts except for the SSD/HDD and fresh Windows install:

MB: MAG Z690 TOMAHAWK WIFI DDR4 CPU: I7-12700K

In this example i'm constantly rotating the mouse to visualize the flow while pressing the mute/unmute button:

Volume2 final

After hours of testing and searching i found out that:

  1. I think the core problem seems to be Realtek audio drivers;
  2. When i don't have any Realtek drivers installed Windows seems to auto install a driver called "Realtek USB 2.0" and when i press the mute button the volume gets muted/unmuted instantly;
  3. If i install the latest "Realtek HD Universal Driver" which for me is version 6.3.9600.2342 i get a slight delay from pressing the mute button to the volume actually getting muted/unmuted (with Volume2 CLOSED) but i don't get any mouse lag; I also found this article with someone having the same issue.
  4. If i do the step above with Volume2 open i get really bad mouse lag, only when muting/unmuting but NOT when changing the volume which is ok;
  5. Starting Volume2 as admin doesn't seem to change anything;
  6. I also tested a fresh Volume2 install in Windows sandbox with my same "Config.ini" and i can't reproduce the lag which makes me think this is caused by Realtek, Volume2 just adds the lag.

With everything i tried the only solution seems to be not installing any Realtek HD Universal Drivers but that potentially could lead to other audio problems.

alphatonic commented 2 years ago

Very interesting discovery but without the Realtek drivers my 5.1 setup doesn't work as intended. I now stopped using mute and just lower the volume to zero when i want to mute audio.