Games Do Not Detect Native Screen Resolution with Fractional Scaling Set to 25% on Wayland
Affected Version
fedora:fedora/40/x86_64/silverblue
Version: 40.20240304.n.0 (2024-03-04T07:52:47Z)
BaseCommit: 857b0c3de2e18bcb3f201b7775cddd8a2319c57e272928a319d64d038bc396b8
GPGSignature: Valid signature by 115DF9AEF857853EE8445D0A0727707EA15B79CC
RemovedBasePackages: firefox firefox-langpacks 123.0-2.fc40
LayeredPackages: akmod-nvidia gnome-tweaks goverlay langpacks-fr lutris mangohud steam touchegg wine xorg-x11-drv-nvidia xorg-x11-drv-nvidia-cuda xorg-x11-drv-nvidia-libs xpadneo
Kernel Version: 6.8.0-0.rc6.49.fc40.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 32 × Intel® Core™ i9-14900HX
Memory: 31.0 Gio of RAM
Graphics Processor: Mesa Intel® Graphics
Discrete Graphics Processor: Nvidia RTX 4090 Laptop
Manufacturer: Alienware
Product Name: Alienware m18 R2
- Issue on Wayland only
- Issue occurs when fractional scaling is set at 25%.
- Issue on Silverblue 39/40
Bug Summary
Under Wayland with fractional scaling set to 25%, games do not detect the native screen resolution of 2560x1600. Instead, the maximum resolution available in-game is limited to 2048x1280. This issue does not occur under XOrg or without fractional scaling enabled.
Steps to Reproduce
- Set the display to use Wayland.
- Enable fractional scaling and set it to 25%.
- Launch a game and access its video settings.
What Happened
The game does not recognize or list the native screen resolution (2560x1600) as an available option. The highest resolution available is 2048x1280, leading to a suboptimal gaming experience.
What Did You Expect to Happen
I expected the game to detect and allow selection of the native screen resolution of 2560x1600, regardless of the fractional scaling settings under Wayland.
Screencasts.
- Screencast demonstrating the issue on Silverblue: [https://www.youtube.com/watch?v=gRs6m8MBJDE)
- Comparative screencast showing expected behavior on Kinoite: [https://youtu.be/EnqVOo7Ka0k]
This issue seems to be specific to the interaction between Wayland's handling of fractional scaling and how games detect available screen resolutions. Addressing it could improve the gaming experience on high-resolution displays under Wayland, especially when fractional scaling is used to optimize the desktop environment for high DPI screens.