Force games to use your dedicated GPU by going to Settings > System > Display > Graphics , adding your game's executable, and selecting High Performance .
Right-click your game’s .exe , select Properties > Compatibility , and check Disable fullscreen optimizations to potentially improve performance in true fullscreen mode. Power and Resource Management
To optimize Windows for gaming in 2023, you can implement a series of system, hardware, and software adjustments to boost FPS and reduce input latency. Essential Windows Settings