[Pending] Factorio not working in high resolution

Place for things which are bugs but we have no idea how to solve them. Things related to hardware, libraries, strange setups, etc.
Post Reply
nuhll
Filter Inserter
Filter Inserter
Posts: 922
Joined: Mon Apr 04, 2016 9:48 pm
Contact:

[Pending] Factorio not working in high resolution

Post by nuhll »

Hi,
with my new monitor i cant play factorio anymore.

viewtopic.php?f=49&t=25902&p=164118

Its not running in fullscreen, i cant change resolution, it just takes less then 1/4 on my screen.

Loewchen
Global Moderator
Global Moderator
Posts: 8319
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: Factorio not working in high resolution

Post by Loewchen »

Please upload your log-file.

User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5150
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: Factorio not working in high resolution

Post by Klonan »

nuhll wrote:Hi,
with my new monitor i cant play factorio anymore.

viewtopic.php?f=49&t=25902&p=164118

Its not running in fullscreen, i cant change resolution, it just takes less then 1/4 on my screen.
Can you try simply resizing the window?
https://gfycat.com/SeriousQualifiedFruitfly

nuhll
Filter Inserter
Filter Inserter
Posts: 922
Joined: Mon Apr 04, 2016 9:48 pm
Contact:

Re: [Pending] Factorio not working in high resolution

Post by nuhll »

Would you mind look at the pics? There is nothing to drag "its fullscreen"

Shokubai
Filter Inserter
Filter Inserter
Posts: 470
Joined: Mon May 02, 2016 3:17 pm
Contact:

Re: [Pending] Factorio not working in high resolution

Post by Shokubai »

nuhll wrote:Would you mind look at the pics? There is nothing to drag "its fullscreen"
Take it off of "Full Screen" then try dragging the edges.

Neemys
Filter Inserter
Filter Inserter
Posts: 461
Joined: Sat Apr 09, 2016 6:16 pm
Contact:

Re: [Pending] Factorio not working in high resolution

Post by Neemys »

Someone with the same problem resolved it, see : viewtopic.php?p=165023#p165023
Want more space restriction ? Or maybe you want to be forced to use train for other thing than ore and oil ? Try Building Platform Mod !

nuhll
Filter Inserter
Filter Inserter
Posts: 922
Joined: Mon Apr 04, 2016 9:48 pm
Contact:

Re: [Pending] Factorio not working in high resolution

Post by nuhll »

I dont use any of those programs.

I want to try what u suggest(disable fullscreen). I launched it today and.... it was working?

Did you change anything?

nuhll
Filter Inserter
Filter Inserter
Posts: 922
Joined: Mon Apr 04, 2016 9:48 pm
Contact:

Re: [Pending] Factorio not working in high resolution

Post by nuhll »

devs?

posila
Factorio Staff
Factorio Staff
Posts: 5202
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [Pending] Factorio not working in high resolution

Post by posila »

We didn't change anything, but I am glad it is working for you now :)

nuhll
Filter Inserter
Filter Inserter
Posts: 922
Joined: Mon Apr 04, 2016 9:48 pm
Contact:

Re: [Pending] Factorio not working in high resolution

Post by nuhll »

Only thingh i did was, i disabled it and enabled it. But while it was running nothing changed, maybe a restart work.

So its still a bug, when you change resolution it shjould ATLEAST tell you that you have to restart....

(I mean i en/disabled fullscreen)

SyncViews
Filter Inserter
Filter Inserter
Posts: 295
Joined: Thu Apr 21, 2016 3:17 pm
Contact:

Re: [Pending] Factorio not working in high resolution

Post by SyncViews »

I think the bug is changing the windows UI scaling for that monitor is not handled by Factorio correctly (see http://puu.sh/pgfct/7978feab37.png from the other thread).

I just tried setting my primary 1080p screen to 150% (Windows 10), and starting Factorio fullscreen mode afterwards tried to display full screen as 2880x1620. I would have expected it to either make a high-dpi 1920x1080 window and scale its UI to 150% (the ideal, since uses the full resolution available), or to have gone to 1280x720, so when Windows treated it as an incompatible program, it was display as 1920x1080 (with the quality loss of not rendering at that, and being up-scaled).

Not really played much, but would seem Factorio tries to do something clever, but is handling the DPI related windows API's wrongly. Ideally it should be setting PROCESS_PER_MONITOR_DPI_AWARE, and using the correct DPI for UI-display for whatever monitor the Factorio window is currently on, and handling WM_DPICHANGED along with associated functions. Depending on if I relogged or not, or was in fullscreen or not, I either got a wrong borderless window size, or the legacy windows upscaling.

searker
Long Handed Inserter
Long Handed Inserter
Posts: 91
Joined: Fri Nov 27, 2015 3:12 pm
Contact:

Re: [Pending] Factorio not working in high resolution

Post by searker »

It seems like Factorio is only checking for the current screen-resolution when you enable fullscreen, but not each time it is starting in fullscreen-mode.

I´m not at home atm but it should be fairly simple to test:
- Lower your resolution
- Start Factorio windowed, then in fullscreen-mode
- Increase your resolution
- Start Factorio without switching back to window-mode

If im guessing correct, the "Fullscreen-Window" should now be smaller than the actual resolution is supporting e.g. it shouldnt fill the entire screen.

SyncViews
Filter Inserter
Filter Inserter
Posts: 295
Joined: Thu Apr 21, 2016 3:17 pm
Contact:

Re: [Pending] Factorio not working in high resolution

Post by SyncViews »

Changing the resolution in fullscreen mode did seem to work for me, even when the game was running.

The DPI is entirely separate, and the game got it wrong on start (didn't even try changing while the game was running, or moving it between monitors with different settings). The monitor does not change resolution with this setting, what changes is how Windows reports and displays windows on that monitor depending on what the owning process set its DPI awareness as. And Factorio does already have a UI scaling option, and looks like it is meant to be able to take the "system setting", so would seem to be is the issue is the handling of that setting in regards to the relevant system API's.

nuhll
Filter Inserter
Filter Inserter
Posts: 922
Joined: Mon Apr 04, 2016 9:48 pm
Contact:

Re: [Pending] Factorio not working in high resolution

Post by nuhll »

Like i said, it changed correct to fullscreen AFTER i disabled it, and then i enabled it. == first no change, but then next day when i entered the game it was working. So i think if you change your monitor /resolution you need to enable and then disable it to make factorio working again. - still a bug.

I also use the upscaling thing from windows, like you saw on my pics.

Factorio dosnt look that cool on 40 zoll....

Post Reply

Return to “1 / 0 magic”