Native resolution not available in games

Hello, I have a 2022 Asus Rog Zephyrus laptop. I have an external display that is 3440x1440. When I run games that are borderless fullscreen, everything is fine. But when I run fullscreen games, they try to default to a too-high resolution (like 5120x2880). And even if ultrawide resolutions are in the game's list of available resolutions, mine is not. I've observed this in multiple games. I have tried to fix this using the guide here https://gist.github.com/debloper/2793261 But the final command to set the new resolution results in "X Error of failed request: BadMatch (invalid parameter attributes) Major opcode of failed request: 140 (RANDR) Minor opcode of failed request: 7 (RRSetScreenSize) Serial number of failed request: 29 Current serial number in output stream: 30" Would anyone be able to help me figure out what I'm missing?
Gist
Add system unrecognized but monitor supported resolution in X
Add system unrecognized but monitor supported resolution in X - xrandr.sh
1 Reply
</LIFE>
</LIFE>4d ago
I don't have a solution, but I'm also new to Bazzite and no games allow a 3440x1440 resolution for some reason. I'm on a desktop with an AMD 7800XT. Resolution and refresh rate are correct when I'm not in a game.

Did you find this page helpful?