This is basically the same case as A), only the game default resolution seems to be your desktop resolution. Under XWayland, there seems to be only a single resolution available when querying display through xrandr - the current resolution - and no custom resolution can be set.Īccording to my short testing, there are several ways how games currently cope with that (all of this covers fullscreen behavior only, I haven't seen any issues when running in a windowed mode):Ī) Run in a letterbox fixed to a single resolution - the game in enclosed in black bars around the screen (corresponding to the game's default resolution), no change can be madeī) Run in a letterbox, but allow different resolutions to be set, adjusting letterbox - different resolutions change the rendering size and the size of the black bars around itĮxamples: Extreme Tux Racer, Battle for WesnothĬ) Run in a desktop resolution - you can either see desktop resolution as the only available resolution, or you can see other resolutions available, but nothing happens when you try to set it, you stay fixed to the current one. However, we also need a solution for XWayland games, which is the majority. That is no longer possible in Wayland, and there are good reasons for that, and solutions (scaling the ouput). Game developers and players are used to games changing their display resolution (especially 3D games) in order to achieve satisfactory performance. One of the core issues is display resolution. If we want to push Wayland as the default display technology, we need to make sure those games work. Some of them will get updated for Wayland, but most never will. All of those games out there are X11-based. We now have thousands of games available for Linux thanks to Steam, and Steam machines running SteamOS (Linux) are sold worldwide. Xwayland patch to accept fake modesetting Mutter patch to expose some common resolutions (WIP) Hack to make mutter fullscreen all games (unclean solution) Translate the mouse position when fake resolution is set Xwayland patch to enable some common resolutions
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |