It seems unlikely that the stutter is actually from the cursor being hidden.
Maybe, but go prove it by attaching the profiler.
Is the steamdeck OS keeping the cursor hidden even when you re-show it??
Otherwise, it is more likely just some initial thing loading, or else you’re throwing a ton of exceptions and the logs being printed out are slowing things down. Did you check the logs?
Again, start with the profiler to figure out what’s going on.
There’s no actual question that this is happening in relation to the auto-hide functionality. It’s most likely a Valve-specific feature intended to provide a less intrusive console-like experience.
It doesn’t happen in “Gamepad” control mode - only in Mouse/KB mode.
It’s very obviously caused by the Deck and whatever is happening behind-the-scenes when it’s auto-hiding the cursor when using touchpad for mouse input.
There’s no degradation of any kind elsewhere, either on PC or on the Deck when the cursor is on the screen. Beyond that, it’s an issue several people have asked about around the net - but there seems to be no real answer that I can find.
Some suggest it has to do with Gamescope - which is apparently a Valve thing.
The only alternative is to run it on Steam Deck in full gamepad mode, but I think that’s unfortunate because the touchpad input is much better for the user experience.
Anyway, this question is probably mostly suited for answering by people who own a Steam Deck and have experience developing for it.