Stop Lutris from changing the screen scaling
Every time I open EA Games from within Lutris, the desktop's UI/screen scaling is reset from 150% to 100%. This is in PopOS running with a 4K resolution on a 4K screen. The resolution is not changed.
After Lutris reduces the scaling back to the default, I have to go back to the settings, and set it to my preferred level again. The EA Games application renders much more clearly with a 100% scaling, so there's obviously a reason why Lutris does this.
I've attempted to fix it with the runner options (Wine). Enabling DPI Scaling seems to have no effect. Enabling the "virtual desktop", as suggested here, causes the EA app to fail launching with an assertion error.
How do I prevent Lutris from changing the scaling? Is there a way I can maintain good rendering quality for EA Games with a 150% scale?
1 answer
It seems as if it may not have been Lutris causing issues, but the HiDPI daemon in PopOS. This daemon can be disabled in the PopOS settings under "screens". Disabling that process may lead to issues in multi-monitor setups.
Unfortunately, in a 150% (fractional) scaling, the EA app will render 1:1 to the frame buffer, leading to a very tiny UI. This is also the case with native Linux applications that don't support scaling, such as Steam (Steam will actually scale down its output (by 25%, it seems), if fractional scaling is enabled. Otherwise, it just ignores the scaling altogether).
Fractional scaling does not seem to be implemented well on Linux, so it may be the best result one can reach. From an AskUbuntu post:
The way 125% fractional scaling is implemented in Ubuntu is that it first renders everything at 200% and then scales the result down to 125%. This explains why 200% does not have sharpness and performance warning as output is presented as it is rendered.
0 comment threads