Page 1 of 1

[0.15.28] Linux : wrong default screen choosen

Posted: Sun Jul 09, 2017 8:13 pm
by ludolpif
Hi,

I am try to play Factorio on Debian 9 with Gnome 3 / Wayland / Radeon libre driver / HD6870 card. IT WORKS BETTER THAN ON WIN7. Wow. Less lags, more FPS, seamless transitions with others applications. This is very very very great.

There is a minor problem with screen choosing. I am using a dual-monitor config on a single video card. I didn't find any cmdine arg to hint the game about which screen choose. And the automatic choose is not the best IMHO : it seems trying to always take the leftmost screen. In my case it is my auxiliary small screen. The other, full-HD is marked "primary", has all desktop controls but it isn't choosen for the game. Here the logs :

Code: Select all

lpouzenc@lud-GB1:/opt/factorio$ f
   0.000 2017-07-09 22:02:07; Factorio 0.15.28 (build 30646, linux64, alpha)
   0.077 Operating system: Linux (Debian 9.0)
   0.077 Program arguments: "bin/x64/factorio" 
   0.077 Read data path: /opt/factorio/data
   0.077 Write data path: /opt/factorio
   0.077 Binaries path: /opt/factorio/bin
   0.092 System info: [CPU: AMD Phenom(tm) II X4 965 Processor, 4 cores, RAM: 3951MB]
   0.093 Display options: [FullScreen: 1] [VSync: 1] [UIScale: 100%] [MultiSampling: OFF] [Screen: 255]
   0.094 Available display adapters: 2
   0.094  [0]: resolution 1920x1080px at [1280,0]
   0.094  [1]: resolution 1280x1024px at [0,0]
   0.094 Create display on adapter 1. Size 1280x720 at position [0, 134].
   0.500 Initialised OpenGL:[1] Gallium 0.4 on AMD BARTS (DRM 2.48.0 / 4.9.0-3-amd64, LLVM 3.9.1); driver: 3.0 Mesa 13.0.6
   0.501     Video memory size (dedicated/total available/current available): 1024/2045/1018 MB
   0.561 Graphics settings preset: medium
If I just change the positions of screens, factorio will go on the big one.

Please get the primary screen (or at least the biggest) screen in screen auto-detection and let the user hint the game about which screen. This works okay on Windows for my setup.

Cheers,
Ludovic

Re: [0.15.28] Linux : wrong default screen choosen

Posted: Mon Jul 10, 2017 8:11 am
by Harkonnen
There is monitor selection inside Graphics settings, did you try that?

Re: [0.15.28] Linux : wrong default screen choosen

Posted: Mon Jul 10, 2017 9:12 am
by posila
Hi, you should be able to switch screen in graphics options (might need game restart thought).
You can also exit fullscreen, move game window on a screen you want it to use, restart the game. After that the game should use screen you placed it on and you can enter fullscreen again.

EDIT: Actually, I am not sure if moving the window will work on Linux.