Originally Posted by
Biglog
DX12 has been around for a while now, somewhat since 2018 and everywhere since 2020. So I don't think it's a general bug in DX12 or anything like that. It's most likely a driver problem. #1 to check is mouse driver (also maybe try a different make/model mouse and see if it persists) and/or any mouse-related software like Logitech, Corsair, and others have.
If that fails, you can continue down the driver chain and look at USB drivers, motherboard updates, etc. And if that fails it's possible that some DX12 files on your system are corrupt and you can reinstall that from the Control Panel. So you'll have to kind of go through a process of elimination to track down the culprit.
Note that if your mouse or other hardware is older it's quite possible there isn't a new driver available that actually includes a fix, in which case replacement is the best option. This could be the case for you since even a system restore didn't work. And last resort is a fresh Windows install, which would help you verify that it's not some other underlying Windows file that is bad. If it would still have issues after that you know you have a driver or hw problem, but try other simpler fixes like another mouse if you can first. Also look for any other running apps you have that could effect it, like cpu "optimizers", maybe try it with your AV paused, etc.