Context
I play games in a window on a 4k monitor. Because my eyesight is terrible and for performance reasons, I play games in 1920×1080 resolution, and use Windows to scale things up:
via compatibility ➡ high DPI settings on a shortcut:
Factorio scaling issue
Usually this approach to scaling works acceptably.
However, with Factorio as of version 0.17 it seems the window gets scaled, but the game does not, resulting in the game taking up around a quarter of the screen and the rest being black, with the cursor offset:
The game settings – in particular Graphics options and UI scaling do not seem to affect this.
How can I get Factorio to respect Windows scaling?
Best Answer
Changing Windows' scaling to 'System' scales correctly
Whereas using the setting "Override high DPI scaling behaviour. Scaling performed by: 'System (Enhanced)'" worked on earlier versions; changes to rendering in 0.17 means this approach no longer works:
However, changing to "Override high DPI scaling behaviour. Scaling performed by: 'System'" now has the correct scaling effect:
result:
High DPI settings
The three options are handled differently, as explained in an MS Answers answer by Louie Del:
I have asked a question over on SuperUser about the technical difference between the scaling options. As BlueRaja - Danny Pflughoeft notes in a comment: