When running two distinct GPU-heavy app on my Windows 11 (each occupying separate screen) the app not having the focus has recently started to drop significantly in performance.
I am basically testing my own network game, and performance for rendering a frame drops from 1-2ms to 500-550 ms (yes, it means little less than 2 FPS instead of 500-1000 FPS!). This behavior started to appear recently (Windows update maybe?), as I've successfully developed a network game before, without any problems.
The game engine is Unity, but I've already confirmed common checks (like "Running/Visible in background" checkbox). The Unity employee gave a hint that it might be a Windows thing, so I am asking here.
What can I do to verify and revert this Windows behavior?