Games do not show my screen resolution

Hello everyone ! I recently switched to linux gaming on bazzite and I've met a pretty annoying issue:

  • I have an ultrawide screen with a resolution of 3440x1440, and no game I've launched show this resolution. It either shows more or less (see screenshot for exemple). Changing aspect ratio in the game doesn't change anything.
However when I go into display settings in desktop, the correct resolution is shown.

Would you know what's causing this ?

See image for the settings I used to create the ISO.

#### PC Specs

Kernel: 6.11.9-303.bazzite.fc41.x86_64 (64-bit)
CPU: AMD Ryzen 9 5950X
GPU: AMD Radeon RX 6800 XT
Memory: 64 GB
Storage: 1 TB
Displays: (See picture below)


Thanks in advance for the help !
image.png
image.png
image.png
Solution
xrandr

Check if your resolution shows in the list. If not add it with this command line:
xrandr --newmode "<your_screen_resolution>_<your_refresh_rate>" 319.75 3440 3688 4056 4672 1440 1443 1453 1481 -hsync +vsync
xrandr --addmode <output> "<your_screen_resolution>_<your_refresh_rate>"
Was this page helpful?