Page 1 of 1

Ubuntu 15.10 display would not be created on startup

Posted: Tue Mar 29, 2016 9:40 pm
by rldml
Hello there,

I'm trying to use Factorio on Steam on Ubuntu 15.10.

But when i start it, the frame of the window appears, but the display is not be created. I've tried the recommend options i've found on viewtopic.php?t=9300, but they don't work. An extended search about google don't show any more hints to try.

This is, what i found in the protocol:

Code: Select all

   0.000 2016-03-29 22:56:46; Factorio 0.12.29 (Build 17931, linux64, steam)
   0.083 Operating system: Linux (Ubuntu 15.10)
   0.083 Program arguments: "/home/ronald/.local/share/Steam/steamapps/common/Factorio/bin/x64/factorio" "--max-texture-size=0" "--graphics-quality=very-low" "--video-memory-usage=low" 
   0.083 Read data path: /home/ronald/.local/share/Steam/steamapps/common/Factorio/data
   0.083 Write data path: /home/ronald/.factorio
   0.083 Binaries path: /home/ronald/.local/share/Steam/steamapps/common/Factorio/bin
   0.098 Graphics options: [FullScreen: false] [VSync: true] [UIScale: 100%] [MultiSampling: OFF] [Graphics quality: very-low] [Video memory usage: low] [Light scale: 20%] [Screen: 255]
   0.212 Available display adapters: 2
   0.212  [0]: resolution 1680x1050px at [0,0]
   0.212  [1]: resolution 1680x1050px at [1680,0]
   0.212 Create display on adapter 0. Size 1280x720 at position [190, 147].
I've set my startparameters in steam to the following: --max-texture-size=2048 --graphics-quality=very-low --video-memory-usage=low. I am using the free radeon-driver package and don't want to use fglrx, because the support for the propietary driver will end soon.

Please write me, if you need further information.

edit: I've tried all max-texture-sizes ;)

Thx for help.

Ronny

Re: Ubuntu 15.10 display would not be created on startup

Posted: Tue Mar 29, 2016 9:46 pm
by Oxyd
Hello. What graphics card do you have?

Re: Ubuntu 15.10 display would not be created on startup

Posted: Tue Mar 29, 2016 9:52 pm
by rldml
It is an Radion R7-260X from XTX:

Code: Select all

ronald@LinuxRonny:~/.factorio$ sudo lshw -class display
  *-display               
       Beschreibung: VGA compatible controller
       Produkt: Bonaire XTX [Radeon R7 260X/360]
       Hersteller: Advanced Micro Devices, Inc. [AMD/ATI]
       Physische ID: 0
       Bus-Informationen: pci@0000:01:00.0
       Version: 00
       Breite: 64 bits
       Takt: 33MHz
       Fähigkeiten: pm pciexpress msi vga_controller bus_master cap_list rom
       Konfiguration: driver=radeon latency=0
       Ressourcen: irq:28 memory:c0000000-cfffffff memory:d0000000-d07fffff ioport:e000(Größe=256) memory:fea00000-fea3ffff memory:fea40000-fea5ffff

Re: Ubuntu 15.10 display would not be created on startup

Posted: Thu Mar 31, 2016 7:30 am
by rldml
Could someone tell me, which version of OpenGL is needed for Factorio?

The free radeon driver is only supporting OpenGL v3.0 for my graphic adapter. If a higher version is needed, we've found the problem finally and we can rest the case.

edit: officially maintained for AMD R7 260 is OpenGL 3.3. See details here: https://wiki.ubuntuusers.de/Grafikkarten/AMD/radeon/

Greetz, Ronny

Re: Ubuntu 15.10 display would not be created on startup

Posted: Thu Mar 31, 2016 8:35 am
by prg
rldml wrote:Could someone tell me, which version of OpenGL is needed for Factorio?

The free radeon driver is only supporting OpenGL v3.0 for my graphic adapter. If a higher version is needed, we've found the problem finally and we can rest the case.

edit: officially maintained for AMD R7 260 is OpenGL 3.3. See details here: https://wiki.ubuntuusers.de/Grafikkarten/AMD/radeon/

Greetz, Ronny
Factorio is somewhat usable for me (just a bit slow) on a crappy Intel IGP which is only reporting OpenGL 2.1. Are you sure your drivers are installed correctly? Do other games work for you? Does glxinfo output look all happy?

Re: Ubuntu 15.10 display would not be created on startup

Posted: Thu Mar 31, 2016 5:10 pm
by rldml
prg wrote: Factorio is somewhat usable for me (just a bit slow) on a crappy Intel IGP which is only reporting OpenGL 2.1. Are you sure your drivers are installed correctly? Do other games work for you? Does glxinfo output look all happy?
I can use Cities Skylines, which works good for me. So i assume it has nothing to do with my Installation of Linux and free radeon driver in general.

I've put the glxinfo output in the file attached to this post. I don't understand most of the information so i don't know if it looks all happy ;)

Greetz, Ronny

Re: Ubuntu 15.10 display would not be created on startup

Posted: Thu Mar 31, 2016 5:18 pm
by prg

Code: Select all

OpenGL renderer string: Gallium 0.4 on AMD BONAIRE (DRM 2.43.0, LLVM 3.6.2)
OpenGL core profile version string: 3.3 (Core Profile) Mesa 11.0.2
Yep, that looks good. No idea why Factorio wouldn't work on that.

Re: Ubuntu 15.10 display would not be created on startup

Posted: Thu Mar 31, 2016 7:48 pm
by rldml
Huh... don't know why, but i have uninstalled the steam-installation of factorio and installed the standalone linux-binaries

and what should i say?

It works :)

That is not a solution for the originally problem, however, i'm happy with this.

Thx for help,

Ronny