View Issue Details

IDProjectCategoryLast Update
0018948AI War 2[All Projects] Crash/ExceptionJan 29, 2018 4:37 pm
ReporterMatruchusAssigned Tox4000Bughunter 
Status resolvedResolutionfixed 
Product Version 
Fixed in Version 
Summary0018948: Game crashes on startup
DescriptionTried to launch the game on Linux Mint 17.3 64bit with the last version of Catalyst drivers installed. The game crashes on startup. Essentially a blue box appears that then crashes to desktop.
TagsNo tags attached.


related to 0018972 resolvedx4000Bughunter Game crashes on first startup to a blue screen 



Feb 27, 2017 4:04 pm

administrator   ~0045750

Ah yeah, that's what was happening in my VM on my OSX machine with an intel card, too. I've never seen a blue screen in unity prior to that.

This is working for some other folks in linux, most likely on nvidia, and I'm not sure what distros.

Can you upload the log file from this location? ~/.config/unity3d/CompanyName/ProductName/Player.log

It should be Arcen Games or similar, and then AI War 2.


Feb 27, 2017 4:06 pm


Player.log (65,801 bytes)


Feb 27, 2017 4:07 pm

reporter   ~0045751

Last edited: Feb 27, 2017 4:25 pm

View 3 revisions

Ok, uploaded the file now. Forgot where it was :)

It could be the problem that I have two graphics cards. The Intel integrated card and a discrete R9 270x.


Feb 27, 2017 4:25 pm

administrator   ~0045752


Okay, this seems to be a flavor of the same issues these folks were facing:

To summarize what they were finding:

1. First try just verifying the steam cache of local files for the game -- it may be as simple as something downloaded wrong, evidently.

2. None of the sqllite stuff they are talking about is at all relevant here, by the by.

3. This may or may not have any help:
sudo apt-get update
sudo apt-get install lsb-release

4. start with -force-opengl arguments may help?

5. It might be an OpenGL issue in general, based on this:

You can run glxinfo | grep "OpenGL version"

It may also be some other type of problem, based on what is being said in that thread. It's related to AMD drivers or the OpenGL version used, at any rate.


Feb 27, 2017 4:42 pm

reporter   ~0045753

1. Tried that before posting on Mantis - everything verified ok.

3. Tried that - everything already on the newest level for lsb-release.

4. How do I do that?

5. GlXinfo:
OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: AMD Radeon R9 200 Series
OpenGL core profile version string: 4.3.13416 Core Profile Context 15.302
OpenGL core profile shading language version string: 4.40
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.5.13416 Compatibility Profile Context 15.302
OpenGL shading language version string: 4.40
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL extensions:

6. After the blue scree of death and restarting the system I had to go recovery mode since the game seems to have crashed opengl? Aka the graphical system couldn't be loaded. Tried several times. Thankfully recovery mode reinitialized the graphics.


Feb 27, 2017 4:48 pm

administrator   ~0045754

Last edited: Feb 27, 2017 4:50 pm

View 2 revisions

Okay, yikes -- that's pretty severe of a crash there, for sure.

To do item 4, simply use that as the command line arguments when launching the game from steam (In the Steam Library, right click the game and go to Properties. Click the SET LAUNCH OPTIONS... button, then add your command line arguments in the popup dialog.), or just use bash to launch it that way.

THAT said, I am thinking that perhaps it is the antialiasing that is eating your machine right now. It's currently slammed up at 8x MSAA, which may be more than what that particular card can do; 4X may be what it maxes out at. I'm going to make an update that will let you set that, and that may default to something more like 2X MSAA just to have overall best compatibility in general.


Feb 27, 2017 5:08 pm

reporter   ~0045755

Tried the force option no difference.

Amd Catalyst had anti aliasing set to application specifications. Manually I could change it to up to 8EQ. Still the card might not support 8X MSAA as you said. Well will see what happens with the next update.


Mar 1, 2017 4:06 pm

administrator   ~0045798

All right... any luck in 0.102?

You may need to go into PlayerData/settings.dat and change the antialiasing to Off, I'm not sure.

The force opengl thing might also work, not sure.


Mar 1, 2017 4:50 pm

administrator   ~0045799

For me, on my VM, it's still completely busted:

/home/josh/.local/share/Steam/SteamApps/common/AI War 2/AIWar2Linux.x86_64' -force-opengl
Found path: /home/josh/.local/share/Steam/SteamApps/common/AI War 2/AIWar2Linux.x86_64
Mono path[0] = '/home/josh/.local/share/Steam/SteamApps/common/AI War 2/AIWar2Linux_Data/Managed'
Mono path[1] = '/home/josh/.local/share/Steam/SteamApps/common/AI War 2/AIWar2Linux_Data/Mono'
Mono config path = '/home/josh/.local/share/Steam/SteamApps/common/AI War 2/AIWar2Linux_Data/Mono/etc'
PlayerConnection initialized from /home/josh/.local/share/Steam/SteamApps/common/AI War 2/AIWar2Linux_Data (debug = 0)
PlayerConnection initialized network socket : 55216
Multi-casting "[IP] [Port] 55216 [Flags] 3 [Guid] 3093016418 [EditorId] 627841707 [Version] 1048832 [Id] LinuxPlayer( [Debug] 1" to []...
Waiting for connection from host on []...
Timed out. Continuing without host connection.
Started listening to []
Using monoOptions --debugger-agent=transport=dt_socket,embedding=1,defer=y,address=
PlayerConnection already initialized - listening to []
displaymanager : xrandr version warning. 1.4
client has 1 screens
displaymanager screen (0)(default): 1251 x 782
Using libudev for joystick management

Importing game controller configs
Aborted (core dumped)


Mar 1, 2017 4:54 pm

administrator   ~0045800

When running it from the terminal, it looks like this throws an error message set that is basically what is happening in KSP:


Based on that second link, it looks like all of the previous workarounds that would let linux run on OpenGL2 are just dead and gone. Basically if it doesn't support a certain level of OpenGLCore, then it just freaks out and dies. Apparently in MESA you can fake it having a higher level, but I have no idea how to do that, or if that's really a good idea.

It looks like Unity may have kinda-silently removed support for a certain kind of OpenGL on Linux only, which is super frustrating. They've then added in Vulkan support in 5.6, which we're not yet on... but I don't know that that will actually fix it in terms of letting us choose an API directly again (aka I'm not sure if this is an interface thing in the GUI editor, or if actual underlying support was purposefully removed).

This is super frustrating, if that's the case. It basically would mean that hardware below a certain set of specs will only run on Windows or OSX, not Linux, because of this specific OpenGL limitation.


Mar 2, 2017 11:02 am

administrator   ~0045821

Okay, so here's what I've found out:

- Basically, OpenGL2.x support was completely removed in Unity 5.5, which is quite frustrating and was not well-advertised as something that would happen:

- This is mostly an issue for Linux machines running something OLDER than Sandy Bridge intel GPUs. Apparently the MESA drivers do indeed need to be updated, and can be:

- Further notes about the level of support indicate that even an Intel HD Graphics 2000 should be able to run OpenGL 3.3. Minimum of 3.2 is now required, but 3.3 should work:

-Any intel GPU older than 2011 (aka pre-Sandy Bridge, aka anything prior to the 6th generation of intel processors) will definitely NOT work. Of course, with a discrete GPU those processors can still be used with the game, but just not as the GPU powering it.

-Why exactly your machine is reporting MESA support of only 3.1, I'm not sure. It may actually be a driver thing after all!


Mar 2, 2017 11:04 am

administrator   ~0045822

Crud, wrong thread -- you're on AMD catalyst and yours should be A-OK. It was probably the AA issue.


Mar 3, 2017 7:37 am

reporter   ~0045859

First of sorry to respond so late. Well I tried running it again with the updated version but still the same. Eitherway have to reinstall the system since it did totally break my GUI and the system now only loads in recovery mode. I guess I will try with a Linux system with a rolling release that has newer kernel with new amd drivers. Maybe it will work then.


Mar 3, 2017 10:27 am

administrator   ~0045867

No problem -- but holy cow that's alarming that your entire GUI broke and only loads in recovery mode. There's no way a program like unity should be allowed to do that; when it's launching, it's not even to our code yet. Sounds like there was already something wrong on your system perhaps.

I found a bit ago today that my own linux laptop was not playing sound, and so it would hang on youtube videos as well as whenever I closed AI War 2. Opening it was fine, but closing it I would have to force kill the process.

After updating to the latest version of ubuntu, sound was back. Then AI War 2 exited normally, youtube played normally, and so on.

Anyway, I hope that the GUI issues you were seeing are just something that was already wrong, just not yet surfaced for whatever reason. :/


Jan 29, 2018 4:37 pm

administrator   ~0046770

Going to mark this one as resolved, because it's super old and we have a number of folks on Linux constantly in the game. We're on a much newer version of unity compared to when you had the problem, so that may be helping.

Issue History

Date Modified Username Field Change
Feb 27, 2017 3:57 pm Matruchus New Issue
Feb 27, 2017 4:04 pm x4000Bughunter Note Added: 0045750
Feb 27, 2017 4:04 pm x4000Bughunter Assigned To => x4000Bughunter
Feb 27, 2017 4:04 pm x4000Bughunter Status new => assigned
Feb 27, 2017 4:06 pm Matruchus File Added: Player.log
Feb 27, 2017 4:07 pm Matruchus Note Added: 0045751
Feb 27, 2017 4:20 pm Matruchus Note Edited: 0045751 View Revisions
Feb 27, 2017 4:25 pm Matruchus Note Edited: 0045751 View Revisions
Feb 27, 2017 4:25 pm x4000Bughunter Note Added: 0045752
Feb 27, 2017 4:42 pm Matruchus Note Added: 0045753
Feb 27, 2017 4:48 pm x4000Bughunter Note Added: 0045754
Feb 27, 2017 4:50 pm x4000Bughunter Note Edited: 0045754 View Revisions
Feb 27, 2017 5:08 pm Matruchus Note Added: 0045755
Mar 1, 2017 4:06 pm x4000Bughunter Note Added: 0045798
Mar 1, 2017 4:06 pm x4000Bughunter Status assigned => feedback
Mar 1, 2017 4:50 pm x4000Bughunter Note Added: 0045799
Mar 1, 2017 4:54 pm x4000Bughunter Note Added: 0045800
Mar 2, 2017 10:36 am x4000Bughunter Relationship added related to 0018972
Mar 2, 2017 11:02 am x4000Bughunter Note Added: 0045821
Mar 2, 2017 11:04 am x4000Bughunter Note Added: 0045822
Mar 3, 2017 7:37 am Matruchus Note Added: 0045859
Mar 3, 2017 7:37 am Matruchus Status feedback => assigned
Mar 3, 2017 10:27 am x4000Bughunter Note Added: 0045867
Mar 3, 2017 10:27 am x4000Bughunter Status assigned => feedback
Jan 29, 2018 4:37 pm x4000Bughunter Status feedback => resolved
Jan 29, 2018 4:37 pm x4000Bughunter Resolution open => fixed
Jan 29, 2018 4:37 pm x4000Bughunter Note Added: 0046770