Page 1 of 1

[Solved][0.17.64] MacOS display scaling bug

Posted: Sun Aug 11, 2019 8:42 am
by lacika2000
Hi dev team,

I have found a MacOS screen scaling bug. I am using a 4K display (Samsung U28E590) with my Mac. When I am running in default scaling mode with this monitor (when I click from default to scaled it says "Looks like 1920x1080" on U28E590, see screen cap), the Factorio starts up in 1920x1080 resolution, despite the native 4K res available and the OS using it. The game is still pixelated (ugly) as needs to be scaled up by the display to 4K instead of the game using the 4K res. Factorio uses 100% scaling for its interface. See factorio-scaled default.log for details.
Screen Shot scaled default.png
Screen Shot scaled default.png (376.9 KiB) Viewed 2279 times
If I change the display settings to "More space" ("Looks like 3840x2160"), then Factorio starts up with the native 4K resolution of the display, applies its own scaling to the interface (200%) and everything is in its glorious 4K res state in the game. See factorio-native res.log for details.
Screen Shot native res.png
Screen Shot native res.png (106.23 KiB) Viewed 2279 times
Obviously, as a temporary solution, I will change the display settings for playing Factorio each time and change it back once finished playing, but under Windows the OS scaling is not an issue at all, so I guess this should be possible for MacOS as well. ;)

Maybe there is a way to adjust which screen res Factorio picks up from the OS (native screen res vs 'what it looks like' after OS scaling applied)?

Your help is appreciated, as always. :)

Re: [0.17.64] MacOS display scaling bug

Posted: Sun Aug 11, 2019 11:24 am
by lacika2000
Additional information that might help with this bug: "Render in native screen resolution" option in Graphics does not change anything in the game, changing it (setting it on or off) does not introduce a game restart...

Re: [0.17.64] MacOS display scaling bug

Posted: Mon Aug 12, 2019 11:07 am
by posila
Hello, did you install fresh 0.17 or did you update to 0.17 from 0.16?

Re: [0.17.64] MacOS display scaling bug

Posted: Mon Aug 12, 2019 4:31 pm
by lacika2000
posila wrote:
Mon Aug 12, 2019 11:07 am
Hello, did you install fresh 0.17 or did you update to 0.17 from 0.16?
Hi Posila! Can't recall, to be honest, but I suspect I have upgraded, as the machine is from last year October... Should I try a fresh install?

Re: [0.17.64] MacOS display scaling bug

Posted: Mon Aug 12, 2019 4:57 pm
by posila
lacika2000 wrote:
Mon Aug 12, 2019 4:31 pm
Should I try a fresh install?
if that's not too much trouble, can you try the fresh install?

Re: [0.17.64] MacOS display scaling bug

Posted: Mon Aug 12, 2019 11:24 pm
by lacika2000
posila wrote:
Mon Aug 12, 2019 4:57 pm
lacika2000 wrote:
Mon Aug 12, 2019 4:31 pm
Should I try a fresh install?
if that's not too much trouble, can you try the fresh install?
I have removed the program, downloaded the latest experimental, installed it and it seems to resolve the resolution problem. Now the game recognizes the native 4K resolution of the display and also applies the right scaling to the interface, so no pixelated screen for me anymore, everything looks great.

Although I don't understand why or how this is the solution, thank you for helping!!