Mouse problems in the game

Hello, I have a problem that I do not know how to solve, so I need your help. When I play the game (the first 15 minutes), everything is fine for me, but at one point my mouse starts to flicker when moving and because of this, FPS drops very steely. But the fps falls only when the mouse moves, if I don't do anything the fps is normal. But after restarting the computer, everything (for a while) becomes normal. Could you help me with this? With my computer, everything is fine (power) Mish - Logitech G102 Lightsynt, new. Intel core i5-9400F processor. GTX 1070 6 GB graphics card.

Somone had the same issuse here and what he did fixed it

"The needs of the many outweigh the needs of the few" - Spock