Another condition is your mouse runs well for a moment, but after that, the cursor freezes and then misses. When you move the mouse or trackpad, there is nothing on the screen.
But sometimes, after upgrading the system from Windows 7 to Windows 10 or from Windows 10 to Windows 11, the mouse cursor disappears. Using mouse to operate on Windows 11/10 is very convenient.