Ubuntu Linux vs Windows

Anything that prevents you from playing the game properly. Do you have issues playing for the game, downloading it or successfully running it on your computer? Let us know here.
Post Reply
jelle82
Manual Inserter
Manual Inserter
Posts: 3
Joined: Tue Apr 11, 2017 1:04 pm
Contact:

Ubuntu Linux vs Windows

Post by jelle82 »

I am not sure of I need help, as more to confirm an observation.

I installed Factorio on a Windows 10 Laptop and on a Ubuntu 16.04 Desktop. Both have an i5 Intel CPU, that are fairly similar - according to cpubenchmark.com, the CPU of the laptop is slightly 'worse'. The laptop has an SSD.

Now: on the Ubuntu Desktop the game drags when I go to my 16 furnaces. The game becomes almost unplayable when I go to that area of the factory. On the Windows laptop I opened the same saved game and this does not happen. The game keeps running smoothly.

So my question is, I guess: Does the game perform worse on Ubuntu-machine than on Windows in general? Or do I need to dig deeper to look for a reason in performance difference?

User avatar
prg
Filter Inserter
Filter Inserter
Posts: 947
Joined: Mon Jan 19, 2015 12:39 am
Contact:

Re: Ubuntu Linux vs Windows

Post by prg »

Are you actually using your GPU to render the game and not a software renderer? Check the "Initialised OpenGL" line in the log. The game is certainly supposed to be playable on Linux.
Automatic Belt (and pipe) Planner—Automate yet another aspect of constructing your factory!

daniel34
Global Moderator
Global Moderator
Posts: 2761
Joined: Thu Dec 25, 2014 7:30 am
Contact:

Re: Ubuntu Linux vs Windows

Post by daniel34 »

jelle82 wrote:Now: on the Ubuntu Desktop the game drags when I go to my 16 furnaces. The game becomes almost unplayable when I go to that area of the factory. On the Windows laptop I opened the same saved game and this does not happen. The game keeps running smoothly.
On comparable hardware the Windows and Linux versions should perform the same, as long as the drivers are installed correctly as prg mentioned. If you only get this near furnaces (or boilers/steam engines) then smoke might be the reason, some graphics cards struggle with it. You can disable smoke (and clouds) in the graphics options, that might help somewhat.
quick links: log file | graphical issues | wiki

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

Re: Ubuntu Linux vs Windows

Post by Loewchen »

As prg already said performance is depending on more than just the CPU, if you post your log and debug-setting screenshot (see performance issues in FAQ) we could tell you if it is expected what you experience.

jelle82
Manual Inserter
Manual Inserter
Posts: 3
Joined: Tue Apr 11, 2017 1:04 pm
Contact:

Re: Ubuntu Linux vs Windows

Post by jelle82 »

Okay, so this is in the log from my last play. It looks like OpenGL is being initalised. I added the debug-settings screenshot.

Code: Select all

   0.004 2017-04-08 13:00:26; Factorio 0.14.22 (build 25342, linux64, alpha)
   0.333 Operating system: Linux (Ubuntu 16.04)
   0.333 Program arguments: "/home/jellesabine/factorio/bin/x64/factorio" 
   0.333 Read data path: /home/jellesabine/factorio/data
   0.333 Write data path: /home/jellesabine/factorio
   0.333 Binaries path: /home/jellesabine/factorio/bin
   0.483 System info: [CPU:         Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz, 4 cores, RAM: 3935MB]
   0.578 Display options: [FullScreen: 0] [VSync: 0] [UIScale: 100%] [MultiSampling: OFF] [Screen: 255]
   0.693 Available display adapters: 1
   0.694  [0]: resolution 1920x1080px at [0,0]
   0.694 Create display on adapter 0. Size 1280x720 at position [310, 162].
   1.118 Initialised OpenGL:[0] GeForce GT 430/PCIe/SSE2; driver: 4.4.0 NVIDIA 340.102
   1.118     Video memory size (dedicated/total available/current available): 2048/2048/1622 MB
   1.720 Graphics options: [Graphics quality: normal] [Video memory usage: high] [Light scale: 25%] [DXT: false]
   2.051 Loading mod core 0.0.0 (data.lua)
   2.082 Loading mod base 0.14.22 (data.lua)
   2.420 Checksum for core: 1291735968
   2.420 Checksum for mod base: 786624017
   3.060 Info PlayerData.cpp:55: Local player-data.json available, timestamp 1491480174
   3.060 Info PlayerData.cpp:62: Cloud player-data.json unavailable
   3.323 Initial atlas bitmap size is 4096
   3.329 Created atlas bitmap 4096x4096
   3.332 Created atlas bitmap 4096x4095
   3.334 Created atlas bitmap 4096x4077
   3.337 Created atlas bitmap 4096x4095
   3.338 Created atlas bitmap 4096x4089
   3.339 Created atlas bitmap 4096x1578
   3.339 Created atlas bitmap 4096x968
   3.340 Created atlas bitmap 4096x3644
  18.983 Sprites loaded
  18.983 Convert atlas 4096x968 to: trilinear-filtering 
  19.057 Convert atlas 4096x3644 to: mipmap 
  19.256 Loading sounds...
  21.259 Custom inputs active: 0
  21.278 Info Updater.cpp:749: Downloading https://updater.factorio.com/get-available-versions?username=jelle82&token=<private>&apiVersion=2
  22.139 0 packages available to download (experimental updates disabled).
  22.413 Factorio initialised
  27.321 Loading map /home/jellesabine/factorio/saves/The Strand Inc.zip
  27.322 Error FileUtil.cpp:284: Can't remove /home/jellesabine/factorio/temp/currently-playing: No such file or directory
  27.439 Info Scenario.cpp:152: Map version 0.14.22-0
  27.945 Checksum for script /home/jellesabine/factorio/temp/currently-playing/control.lua: 1057114497
2609.564 Goodbye
Attachments
Screenshot from 2017-04-11 20-10-25.png
Screenshot from 2017-04-11 20-10-25.png (3.87 MiB) Viewed 3862 times

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

Re: Ubuntu Linux vs Windows

Post by Loewchen »

You have 20/60 FPS/UPS, so you are definitely limited by your graphics card, which is not surprising since the GT 430 performs even worse than most intel onboard chips.

User avatar
prg
Filter Inserter
Filter Inserter
Posts: 947
Joined: Mon Jan 19, 2015 12:39 am
Contact:

Re: Ubuntu Linux vs Windows

Post by prg »

Check nvidia-settings for GPU/PCIe Bandwidth Utilization.

What GPU is in the other system that is working better?
Automatic Belt (and pipe) Planner—Automate yet another aspect of constructing your factory!

jelle82
Manual Inserter
Manual Inserter
Posts: 3
Joined: Tue Apr 11, 2017 1:04 pm
Contact:

Re: Ubuntu Linux vs Windows

Post by jelle82 »

Loewchen wrote:You have 20/60 FPS/UPS, so you are definitely limited by your graphics card, which is not surprising since the GT 430 performs even worse than most intel onboard chips.
prg wrote:What GPU is in the other system that is working better?
The other GPU is indeed an Intel Onboard Chip. :(
prg wrote:Check nvidia-settings for GPU/PCIe Bandwidth Utilization.
Is this what you mean?
Attachments
Screenshot from 2017-04-12 13-53-19.png
Screenshot from 2017-04-12 13-53-19.png (41.89 KiB) Viewed 3824 times

User avatar
prg
Filter Inserter
Filter Inserter
Posts: 947
Joined: Mon Jan 19, 2015 12:39 am
Contact:

Re: Ubuntu Linux vs Windows

Post by prg »

jelle82 wrote:Is this what you mean?
No, it's under GPU, not PowerMizer.
Automatic Belt (and pipe) Planner—Automate yet another aspect of constructing your factory!

Post Reply

Return to “Technical Help”