Hi Greymagic27, I was sent here due to my issue being a duplicate of this issue MC-247421
from MC-265825. Since then, a ran some test. With no connected peripheral except ones that are built-in (laptop user). I get the lag caused by this Issue. But, connecting any peripheral such as: a mouse, a pair of speakers, or printer fixes the issue. Disconnecting the devices doesn't seem to cause this issue for me. However, when quitting the game even with the spam being gone still crashes with Error code -1073740791.
This Issues only happen to me after updating Widows, but rolling back the update to a known update that the game worked fine with doesn't fix the issue.
Further debugging:
Making sure using latest drivers (graphic, audio, etc) that doesn't break Windows.
I use separate instances of the Official Minecraft launcher for modded Minecraft (for safety in case a mod corrupts an instance).
Non-broken modded Minecraft instance uses launcher version 2.11.24-1.5.7 (doesn't seem to occur, or occurs not as often)
Official Vanilla Minecraft uses launcher version 2.11.24-1.3.7 (the issue occurs most of the time)
Uninstalling/Reinstalling Instances doesn't fix the issue.
The Following debugging occurs with all broken instances and Official Vanilla.
Launching/Running the game with all audio output devices disabled even ones that aren't connected also causes issue but doesn't spam, but with no lag.
Launching/Running the game with only one enabled audio device (wired headphones) doesn't cause the Issue.
Launching/Running the game with only one enabled audio device (built-in speakers) cause the Issue with no lag, but the output log looks like Minecraft is scanning all connected devices (non-audio), but doesn't infinitely do it and will eventually hit the audio device and the Issue stops. But causes the game to crash upon quitting (Error code -1073740791)
Launching/Running the game with only one enabled audio device (virtual speakers, Windows 11 built-in virtual desktop device) cause the Issue with no lag, but the output log looks like Minecraft is scanning all connected devices (non-audio) but does it infinitely. But causes the game to crash upon quitting (Error code -1073740791)
Launching/Running the game with only one enabled audio device (Bluetooth headphones) doesn't cause the Issue.
Launching/Running the game with all of these audio devices enabled, but with one connected cause the lag and the spam, probably caused by Minecraft constantly scanning for an audio device instead of using the computers default device.
Temporary fix (for thoseaffected):
Disable all audio devices through settings > sound > (sound device here) > change Allow to Not Allow. Do this for all but the device you use for audio.
Hi Greymagic27, I was sent here due to my issue being a duplicate of this issue MC-247421
from MC-265825. Since then, a ran some test. With no connected peripheral except ones that are built-in (laptop user). I get the lag caused by this Issue. But, connecting any peripheral such as: a mouse, a pair of speakers, or printer fixes the issue. Disconnecting the devices doesn't seem to cause this issue for me. However, when quitting the game even with the spam being gone still crashes with Error code -1073740791.
This Issues only happen to me after updating Widows, but rolling back the update to a known update that the game worked fine with doesn't fix the issue.
Further debugging:
Making sure using latest drivers (graphic, audio, etc) that doesn't break Windows.
I use separate instances of the Official Minecraft launcher for modded Minecraft (for safety in case a mod corrupts an instance).
Non-broken modded Minecraft instance uses launcher version 2.11.24-1.5.7 (doesn't seem to occur, or occurs not as often)
Official Vanilla Minecraft uses launcher version 2.11.24-1.3.7 (the issue occurs most of the time)
Uninstalling/Reinstalling Instances doesn't fix the issue.
The Following debugging occurs with all broken instances and Official Vanilla.
Launching/Running the game with all audio output devices disabled even ones that aren't connected also causes issue but doesn't spam, but with no lag.
Launching/Running the game with only one enabled audio device (wired headphones) doesn't cause the Issue.
Launching/Running the game with only one enabled audio device (built-in speakers) cause the Issue with no lag, but the output log looks like Minecraft is scanning all connected devices (non-audio), but doesn't infinitely do it and will eventually hit the audio device and the Issue stops. But causes the game to crash upon quitting (Error code -1073740791)
Launching/Running the game with only one enabled audio device (virtual speakers, Windows 11 built-in virtual desktop device) cause the Issue with no lag, but the output log looks like Minecraft is scanning all connected devices (non-audio) but does it infinitely. But causes the game to crash upon quitting (Error code -1073740791)
Launching/Running the game with only one enabled audio device (Bluetooth headphones) doesn't cause the Issue.
Launching/Running the game with all of these audio devices enabled, but with one connected cause the lag and the spam, probably caused by Minecraft constantly scanning for an audio device instead of using the computers default device.
Temporary fix (for those affected):
Disable all audio devices through settings > sound > (sound device here) > change Allow to Not Allow. Do this for all but the device you use for audio.