I am playing a rather old game with Wine and it looks fine in 1280×720 resolution, but on 2560×1440, which is my screen’s resolution, it looks too tiny. Now, I could use Lutris to change the desktop resolution to 720p and play in fullscreen, but then when I Alt+Tab out of the game, my desktop is in 720p. Even worse, if the game crashes, it remains in 720p and I have to manually change the resolution. I can play in windowed mode, but that solves nothing, as the window is exactly a quarter of a screen and still tiny.
I am looking for a way to upscale the game window by a factor of 2, so that 720p becomes 1440p. I don’t need any fancy interpolation algorithms, I’d be quite happy if each pixel became four pixels, like this: ▀ → ██
I figured a rather wonky way to do it, but it works (on KDE). I use the screen zoom feature:
Settings → Workspace Behaviour → Desktop Effects → Zoom
I set:
Zoom Factor: 2.00
Mouse Tracking: disabled.
Now I set a window rule for the game, so that the window is borderless and located in the upper left corner of the screen. I move the mouse to the upper left corner of the screen and hit the magnify shortcut.
It’s fiddly, but it works.
Does anyone know of a better, less insane way to get the same effect?