game crashes instantly with a breif black screen
decrypted
Join Date: 2013-12-30 Member: 191100Members
Hiya I'm having really frustrating trouble with Natural Selections 2, But before I get into the crash logs and such I would like to point out, Yes I've googled this and so far I've got google results for different games with replies who people have certainly either gave up or fixed it without posting the workaround. Deleting /Steam/userdata/<steamid>/4920 made the steam loader halt for a few more seconds but than it showed a black screen and crashed back to desktop. Techsupport.exe didn't really help since I have GNU/Linux Ubuntu 12.04 (Not only that but I couldn't find it anywhere). And now the fun part, Running the game straight from steam made my head explode since it gave no error so once running it in terminal I get this:
GetInstanceCount currently unimplemented
Build 262
Ubuntu 12.04.3 LTS x86_64
Setting breakpad minidump AppID = 4920
Steam_SetMinidumpSteamID: Caching Steam ID: 76561198119824572 [API loaded no]
Steam initialized
Num displays: 1
OpenGL 4.2.12337 Compatibility Profile Context 13.101 initialized (ATI Technologies Inc. AMD Radeon HD 6800 Series )
GLSL version 4.30
ARB_texture_storage extension present
Sound Device: Default Output Device stereo
Record Device: Default Input Device
warning: The VAD has been replaced by a hack pending a complete rewrite
Segmentation fault (core dumped)
log.txt shows this:
Date: 12/29/13
Time: 21:36:11:
Build 262
Ubuntu 12.04.3 LTS x86_64
Steam initialized
Num displays: 1
OpenGL 4.2.12337 Compatibility Profile Context 13.101 initialized (ATI Technologies Inc. AMD Radeon HD 6800 Series )
GLSL version 4.30
ARB_texture_storage extension present
Sound Device: Default Output Device stereo
Record Device: Default Input Device
system_options.xml shows this
<options>
<system>
<runs>13</runs>
<build>262</build>
</system>
<graphics>
<display>
<x-resolution>1280</x-resolution>
<shadows>true</shadows>
<bloom>true</bloom>
<y-resolution>800</y-resolution>
<display-buffering>0</display-buffering>
<anisotropic-filtering>true</anisotropic-filtering>
<anti-aliasing>true</anti-aliasing>
<quality>1</quality>
<window-mode>fullscreen-windowed</window-mode>
<atmospherics>true</atmospherics>
</display>
<texture-streaming>true</texture-streaming>
<device>OpenGL</device>
</graphics>
</options>
options.xml shows this (rather empty)
<options>
<mods>
<active_mods></active_mods>
</mods>
</options>
sysinfo shows this
Java Information
Java Version: 1.7.0_45
Java Vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-7-oracle/jre
Java classpath: /usr/lib/jvm/java-7-oracle/db/lib/derby.jar:/usr/lib/jvm/java-7-oracle/db/lib/derbynet.jar:/usr/lib/jvm/java-7-oracle/db/lib/derbytools.jar:/usr/lib/jvm/java-7-oracle/db/lib/derbyclient.jar
OS name: Linux
OS architecture: amd64
OS version: 3.8.0-34-generic
Java user name: taco
Java user home: /home/taco
Java user dir: /home/taco
java.specification.name: Java Platform API Specification
java.specification.version: 1.7
java.runtime.version: 1.7.0_45-b18
Derby Information
JRE - JDBC: Java SE 7 - JDBC 4.0
[/usr/lib/jvm/java-7-oracle/db/lib/derby.jar] 10.8.3.0 - (1405108)
[/usr/lib/jvm/java-7-oracle/db/lib/derbytools.jar] 10.8.3.0 - (1405108)
[/usr/lib/jvm/java-7-oracle/db/lib/derbynet.jar] 10.8.3.0 - (1405108)
[/usr/lib/jvm/java-7-oracle/db/lib/derbyclient.jar] 10.8.3.0 - (1405108)
Locale Information
Current Locale : [English/Canada [en_CA]]
Found support for locale: [cs]
version: 10.8.3.0 - (1405108)
Found support for locale: [de_DE]
version: 10.8.3.0 - (1405108)
Found support for locale: [es]
version: 10.8.3.0 - (1405108)
Found support for locale: [fr]
version: 10.8.3.0 - (1405108)
Found support for locale: [hu]
version: 10.8.3.0 - (1405108)
Found support for locale: [it]
version: 10.8.3.0 - (1405108)
Found support for locale: [ja_JP]
version: 10.8.3.0 - (1405108)
Found support for locale: [ko_KR]
version: 10.8.3.0 - (1405108)
Found support for locale: [pl]
version: 10.8.3.0 - (1405108)
Found support for locale: [pt_BR]
version: 10.8.3.0 - (1405108)
Found support for locale: [ru]
version: 10.8.3.0 - (1405108)
Found support for locale: [zh_CN]
version: 10.8.3.0 - (1405108)
Found support for locale: [zh_TW]
version: 10.8.3.0 - (1405108)
annnd glxinfo|grep OpenGL shows ...this.
OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: AMD Radeon HD 6800 Series
OpenGL version string: 4.2.12337 Compatibility Profile Context 13.101
OpenGL shading language version string: 4.30
OpenGL extensions:
If you didn't see what I'm having trouble with above ^ it is that when I attempt to start ns2 it shows a black screen for a brief moment before crashing back to desktop
GetInstanceCount currently unimplemented
Build 262
Ubuntu 12.04.3 LTS x86_64
Setting breakpad minidump AppID = 4920
Steam_SetMinidumpSteamID: Caching Steam ID: 76561198119824572 [API loaded no]
Steam initialized
Num displays: 1
OpenGL 4.2.12337 Compatibility Profile Context 13.101 initialized (ATI Technologies Inc. AMD Radeon HD 6800 Series )
GLSL version 4.30
ARB_texture_storage extension present
Sound Device: Default Output Device stereo
Record Device: Default Input Device
warning: The VAD has been replaced by a hack pending a complete rewrite
Segmentation fault (core dumped)
log.txt shows this:
Date: 12/29/13
Time: 21:36:11:
Build 262
Ubuntu 12.04.3 LTS x86_64
Steam initialized
Num displays: 1
OpenGL 4.2.12337 Compatibility Profile Context 13.101 initialized (ATI Technologies Inc. AMD Radeon HD 6800 Series )
GLSL version 4.30
ARB_texture_storage extension present
Sound Device: Default Output Device stereo
Record Device: Default Input Device
system_options.xml shows this
<options>
<system>
<runs>13</runs>
<build>262</build>
</system>
<graphics>
<display>
<x-resolution>1280</x-resolution>
<shadows>true</shadows>
<bloom>true</bloom>
<y-resolution>800</y-resolution>
<display-buffering>0</display-buffering>
<anisotropic-filtering>true</anisotropic-filtering>
<anti-aliasing>true</anti-aliasing>
<quality>1</quality>
<window-mode>fullscreen-windowed</window-mode>
<atmospherics>true</atmospherics>
</display>
<texture-streaming>true</texture-streaming>
<device>OpenGL</device>
</graphics>
</options>
options.xml shows this (rather empty)
<options>
<mods>
<active_mods></active_mods>
</mods>
</options>
sysinfo shows this
Java Information
Java Version: 1.7.0_45
Java Vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-7-oracle/jre
Java classpath: /usr/lib/jvm/java-7-oracle/db/lib/derby.jar:/usr/lib/jvm/java-7-oracle/db/lib/derbynet.jar:/usr/lib/jvm/java-7-oracle/db/lib/derbytools.jar:/usr/lib/jvm/java-7-oracle/db/lib/derbyclient.jar
OS name: Linux
OS architecture: amd64
OS version: 3.8.0-34-generic
Java user name: taco
Java user home: /home/taco
Java user dir: /home/taco
java.specification.name: Java Platform API Specification
java.specification.version: 1.7
java.runtime.version: 1.7.0_45-b18
Derby Information
JRE - JDBC: Java SE 7 - JDBC 4.0
[/usr/lib/jvm/java-7-oracle/db/lib/derby.jar] 10.8.3.0 - (1405108)
[/usr/lib/jvm/java-7-oracle/db/lib/derbytools.jar] 10.8.3.0 - (1405108)
[/usr/lib/jvm/java-7-oracle/db/lib/derbynet.jar] 10.8.3.0 - (1405108)
[/usr/lib/jvm/java-7-oracle/db/lib/derbyclient.jar] 10.8.3.0 - (1405108)
Locale Information
Current Locale : [English/Canada [en_CA]]
Found support for locale: [cs]
version: 10.8.3.0 - (1405108)
Found support for locale: [de_DE]
version: 10.8.3.0 - (1405108)
Found support for locale: [es]
version: 10.8.3.0 - (1405108)
Found support for locale: [fr]
version: 10.8.3.0 - (1405108)
Found support for locale: [hu]
version: 10.8.3.0 - (1405108)
Found support for locale: [it]
version: 10.8.3.0 - (1405108)
Found support for locale: [ja_JP]
version: 10.8.3.0 - (1405108)
Found support for locale: [ko_KR]
version: 10.8.3.0 - (1405108)
Found support for locale: [pl]
version: 10.8.3.0 - (1405108)
Found support for locale: [pt_BR]
version: 10.8.3.0 - (1405108)
Found support for locale: [ru]
version: 10.8.3.0 - (1405108)
Found support for locale: [zh_CN]
version: 10.8.3.0 - (1405108)
Found support for locale: [zh_TW]
version: 10.8.3.0 - (1405108)
annnd glxinfo|grep OpenGL shows ...this.
OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: AMD Radeon HD 6800 Series
OpenGL version string: 4.2.12337 Compatibility Profile Context 13.101
OpenGL shading language version string: 4.30
OpenGL extensions:
If you didn't see what I'm having trouble with above ^ it is that when I attempt to start ns2 it shows a black screen for a brief moment before crashing back to desktop
Comments
sudo ./ns2_linux32
[sudo] password for taco:
GetInstanceCount currently unimplemented
Build 262
Ubuntu 12.04.3 LTS x86_64
Setting breakpad minidump AppID = 4920
Steam_SetMinidumpSteamID: Caching Steam ID: 76561198119824572 [API loaded no]
Steam initialized
Num displays: 1
> Error: X windows: BadMatch (invalid parameter attributes)
> Error: glXMakeCurrent failed
> Error: Couldn't initialize the render device.
If you can run the game with gdb and get a back trace that might be helpful though I expect it is at least a related issue.
I would try with a different version of the fglrx driver.
Compiling 'renderer/DeferredShading.shader'
Compiling 'renderer/DeferredShading.shader'
Compiling 'renderer/LightVolume.shader'
Compiling 'shaders/GUIBasic.surface_shader'
Atleast on windows. When in doubt, delete and let steam verify the cache. If it was something you werent supposed to throw away then it will redownload and no harm done. (may even help)
Deleting /Steam/userdata/<steamid>/4920 (again) than running the game showed a screen as though my graphics driver shit the bed than it went directly to a black 'LOADING...' screen and just hung there, showing no sign of progressing..... fml
Date: 12/30/13
Time: 19:19:45:
Build 262
Ubuntu 12.04.3 LTS x86_64
Steam initialized
Num displays: 1
OpenGL 4.3.12618 Compatibility Profile Context 13.251 initialized (ATI Technologies Inc. AMD Radeon HD 6800 Series )
GLSL version 4.30
ARB_texture_storage extension present
Sound Device: Default Output Device stereo
Record Device: Default Input Device
Loading config://ConsoleBindings.json
Loading config://FavoriteServers.json
Loading config://HistoryServers.json
Compiling 'shaders/Model.surface_shader'
You will have to wait till a more linux knowing person comes online, with all these holidays.
There is a known bug that for many versions of the fglrx driver the game is unable to compile shaders. It appears that effects the vast majority of AMD users on linux. However, because the game does not run at all on the mesa drivers, there isn't really a work around. The devs know about it, I am assuming that at some point there will be a patch.
For some users, people have reported that a narrow window of drivers work for them. My linux box runs an Nvidia card so I can't really give good advice about what workarounds might work. It just seems to be a case of for some people with certain drivers and hardware it works while for many people none of them seem to work at all.