Gonna call here some good behaviors BEFORE doing any tweaks, gonna use my old system, a 9700kf and 2080super inside a z390 motherboard with windows 11 without any kind of tweak whatsoever as example as the difference in this board is HUGE.
This graph is a mousetester graph with apex legends running, edge with 20+ tabs and a DAC, usb mic, my smartphone, 2 1000hz mice and a 1000hz keyboard plugged into the motherboard, no pcie usb, ZERO tweaks and a 6 seconds long graph, no cuts, no cherry picked.
Now the important part, how the to achieve that? In my case, after a fresh windows install, my graphs are a clusterfuck like someone posted here, 20, 30 40k spikes, unstable, sometimes it even misses a few milliseconds for whatever reason, installing drivers, hardcore tweaking, nothing works, nothing does shit.
To fix that, install the chipset drivers, but not the windows optional drivers, the actual right drivers from intel, as everysingle shit connected to the intel motherboard pass through the controller chipset.
DO NOT install the windows update optional drivers, windows do not know what chipset you have, it can just guess, it need the inf files from intel. (The optional or even the microsoft generic ones will work but this shit will be VERY unstable)
In my case, this can be fixed downloading
https://www.intel.com/content/www/us/en ... ility.html
This is NOT the drivers, its just files to tell the OS exactly what you have inside your board, the OS will auto install everything up after, I don't know which download you need to your board, you will have to search for it, this one covers everything up 10th generation, 11, 12 i have no idea how it works, and its INTEL ONLY.
After doing that, polling rate should be stable, after that start doing the hardcore tweaks spreading in this topic and whatever guide you guys find.
As AMD you can dodge this clusterfuck by just using the usb ports linked straight to the processor, but its a good idea to do the same for obvious reasons.
DO NOT KEEP OR INSTALL THE WINDOWS UPDATE OPTIONAL DRIVERS, they are just a close enough drivers, will work, but can be unstable.
And yes, hardcore tweaking can make this graph 0.001+-, i dont like to do that because its just too niche and you cant do that kind of shit on lan.
Edit: all this isnt just for mouse stability, my ethernet card without the right chipset drivers have near 25% of TDP retransmission, 0.01% with it, nvme ssd cant hold max speeds and many other microproblems, its an overall system stability.