Page 1 of 1

[SOLVED] Ubuntu(16.04) Steam - Empty window on start

Posted: Sat Oct 22, 2016 11:33 am
by Shadda
I installed Factorio on my Ubuntu OS(16.04) via steam, but when I start Factorio it just opens an empty window and nothing happens(have been waiting for 30 minutes):

http://imgur.com/a/HiPRs.

I played Factorio before, using my old computer(Ubuntu 14.04) and everything worked fine.
Anyone else has the same problem or knows how to solve it?

Edit: Here´s the log file: http://pastebin.com/sQQDViqW

Edit2: I enabled the nvidia graphic driver instead of the default one(nouveau) - That solved the problem for me.

Re: Ubuntu(16.04) Steam - Empty window on start

Posted: Sat Oct 22, 2016 4:53 pm
by daniel34
Can you post a Log File?

Re: Ubuntu(16.04) Steam - Empty window on start

Posted: Sat Oct 22, 2016 5:03 pm
by Shadda
Oh, forgot that - thanks ^^
Added it to the main post.

Re: Ubuntu(16.04) Steam - Empty window on start

Posted: Sat Oct 22, 2016 5:54 pm
by prg

Code: Select all

   0.000 2016-10-22 18:56:39; Factorio 0.13.20 (build 24011, linux64, steam)
   0.091 Operating system: Linux (Ubuntu 16.04)
   0.091 Program arguments: "/home/flokau/.local/share/Steam/steamapps/common/Factorio/bin/x64/factorio" 
   0.091 Read data path: /home/flokau/.local/share/Steam/steamapps/common/Factorio/data
   0.091 Write data path: /home/flokau/.factorio
   0.091 Binaries path: /home/flokau/.local/share/Steam/steamapps/common/Factorio/bin
   0.116 Graphics options: [FullScreen: false] [VSync: false] [UIScale: 100%] [MultiSampling: OFF] [Graphics quality: normal] [Video memory usage: high] [Light scale: 25%] [Screen: 255] [DXT: false]
   0.262 Available display adapters: 1
   0.262  [0]: resolution 1920x1080px at [0,0]
   0.262 Create display on adapter 0. Size 1280x720 at position [310, 162].
That's all? What's your driver situation like? Is other OpenGL stuff working?

Re: Ubuntu(16.04) Steam - Empty window on start

Posted: Sat Oct 22, 2016 6:26 pm
by Shadda
That´s all the log in the file...
Looked at the terminal log(the terminal I opened Steam with) now and it seems like something is wrong with openGL(At least I think it´s openGL): http://pastebin.com/Ax2SU0ic

Important part is probably this:
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
It seems to be OpenGL...

Re: Ubuntu(16.04) Steam - Empty window on start

Posted: Sat Oct 22, 2016 6:43 pm
by prg
What GPU do you have, what driver are you trying to use it with?

Re: Ubuntu(16.04) Steam - Empty window on start

Posted: Sat Oct 22, 2016 7:22 pm
by Shadda
I have a Nvidia Geforce GTX 960 and I´m using it with nouveau - the standard for Ubuntu.

Re: Ubuntu(16.04) Steam - Empty window on start

Posted: Sat Oct 22, 2016 7:36 pm
by prg
That's awfully new, is it supposed to work with nouveau already? You'd need a very recent everything at least. What kernel and mesa version do you have installed? Nothing unhappy in dmesg and xorg log? You might have more luck with the blob.

Re: Ubuntu(16.04) Steam - Empty window on start

Posted: Sat Oct 22, 2016 8:48 pm
by Shadda
My kernel version is: 4.4.0-45-generic - my mesa version is(That´s what the terminal says): OpenGL core profile version string: 3.3 (Core Profile) Mesa 11.2.0

I´m not sure if nouveau is compatible with gtx 960, but probably it´s WIP(But why would my Ubuntu work if it´s not compatible?? I´m new to hardware management):
https://nouveau.freedesktop.org/wiki/FeatureMatrix/
NV110 are all gtx 960 according to: https://nouveau.freedesktop.org/wiki/CodeNames/

Here is the Xorg log: http://pastebin.com/YV62p7QH
Not sure, but I think that´s the dmesg log(Used "dmesg -H" for this??): http://pastebin.com/5NyzpEmp

I have no clue how to read those two files, so can´t say anything about that, sorry.

So do you know any (free) alternatives for nouveau? Or will I just have to wait?

Re: Ubuntu(16.04) Steam - Empty window on start

Posted: Sat Oct 22, 2016 9:47 pm
by prg
Shadda wrote:My kernel version is: 4.4.0-45-generic
From https://nouveau.freedesktop.org/wiki/:
Mar, 2016: GM20x acceleration support (with redistributable signed firmware) merged in Linux 4.6 and Mesa 11.2
Guess you need at least a newer kernel.

Re: Ubuntu(16.04) Steam - Empty window on start

Posted: Sat Oct 22, 2016 10:02 pm
by Shadda
Ok, I'll look at this tomorrow. I can't access my computer right now, it's too late..
But anyway, thanks for your help :)

Re: Ubuntu(16.04) Steam - Empty window on start

Posted: Sun Oct 23, 2016 2:52 pm
by Shadda
Ok, I think I solved it...

First I installed the kernel 4.6, but then nothing worked anymore, same for kernel 4.7(according to the log they aren't supported by nouveau yet).

So I tried what I should have tried first, I enabled the nvidia graphic driver... And it works ^^

Thank you for your help, I wouldn't have been able to understand the log files and the problem myself :)