In gaming mode, you can use Ctrl-1 and Ctrl-2 to access the menus, but for reasons unknown, these don’t work in-game.
In desktop mode, if you dock the Deck, you can try changing the display settings manually if it doesn’t auto-adjust. This is under the System Settings app.