game crashes instantly with a breif black screen

decrypteddecrypted 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

Comments

  • decrypteddecrypted Join Date: 2013-12-30 Member: 191100Members
    update: running the game as sudo gave me 3 more errors

    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.
  • 2cough2cough Rocky Mountain High Join Date: 2013-03-14 Member: 183952Members, Reinforced - Shadow, WC 2013 - Supporter
    Alright, so I know some other people will chime in who know better but just off the bat, open gl is in beta. Try using dx9 if you are indeed using opengl. Not sure if you can get in there long enough to change it in graphics options, though. Sorry I know I'm not much help, but surely someone w/ more knowledge will be able to help you out.
  • decrypteddecrypted Join Date: 2013-12-30 Member: 191100Members
    @2cough Umm I'm not sure if your refeering to DirectX9 But... if you are ... Other than running windows programs though wine with dx9 implemented microsoft isn't going to fork over dx9 for linux users to use on linux programs and the platform I got ns2 is for linux. Thanks for your speedy reply though ;)
  • decrypteddecrypted Join Date: 2013-12-30 Member: 191100Members
  • 2cough2cough Rocky Mountain High Join Date: 2013-03-14 Member: 183952Members, Reinforced - Shadow, WC 2013 - Supporter
    Yes sir, I am referrin to directx9. Sorry, I'm not terribly tech savvy as far as linux goes. Again, someone else can probably help more.
  • decrypteddecrypted Join Date: 2013-12-30 Member: 191100Members
    @2cough quite alright, no need to be sorry ^_^
  • ConfusedConfused Wait. What? Join Date: 2003-01-28 Member: 12904Members, Constellation, NS2 Playtester, Squad Five Blue, Subnautica Playtester
    Well, sadly the issue appears to be one of certain amd drivers not compiling the shaders needed to run the game. Normally this causes a black screen hang.

    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.
  • cooliticcoolitic Right behind you Join Date: 2013-04-02 Member: 184609Members
    Yes amd tends to have problems with many games. Did you update drivers?
  • decrypteddecrypted Join Date: 2013-12-30 Member: 191100Members
    @coolitic 13.01 is the only driver version available for amd except for the beta version (which is taking a risk if I update to that)
  • decrypteddecrypted Join Date: 2013-12-30 Member: 191100Members
    @confused eh, Same response. BUT I will see how it works when I update to the beta fglrx driver.... Still think its risky though.
  • decrypteddecrypted Join Date: 2013-12-30 Member: 191100Members
    Is there anyone with fglrx drivers that runs the game?
  • decrypteddecrypted Join Date: 2013-12-30 Member: 191100Members
    update: Just updated amd catalyst from 13.101 to 13.251. Now the game _hangs_ on the black screen rather than reverting to the desktop, I'm not sure if this is an improvement...
  • decrypteddecrypted Join Date: 2013-12-30 Member: 191100Members
    Is it ok to delete the cache from ./config/Natural Selections 2/cache?
  • decrypteddecrypted Join Date: 2013-12-30 Member: 191100Members
    update: among updating amd catalyst driver log.txt shows 4 new entries
    Compiling 'renderer/DeferredShading.shader'
    Compiling 'renderer/DeferredShading.shader'
    Compiling 'renderer/LightVolume.shader'
    Compiling 'shaders/GUIBasic.surface_shader'
  • DC_DarklingDC_Darkling Join Date: 2003-07-10 Member: 18068Members, Constellation, Squad Five Blue, Squad Five Silver
    sounds good. It verifies the theory that the shaders did not compile.
  • decrypteddecrypted Join Date: 2013-12-30 Member: 191100Members
    @DC_Darkling Should I delete the shaders folder?
  • DC_DarklingDC_Darkling Join Date: 2003-07-10 Member: 18068Members, Constellation, Squad Five Blue, Squad Five Silver
    Wont hurt. It should recompile your shaders then. Just means more loading times & optimizing. No harm.

    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)
  • decrypteddecrypted Join Date: 2013-12-30 Member: 191100Members
    update:
    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
  • decrypteddecrypted Join Date: 2013-12-30 Member: 191100Members
    @DC_Darkling deleted the shaders folder than varified it with steam, afterward it recovered 41 files. than after that I started the game and the only difference from what happened previously (see above) is that rather than a screen of dead pixels I get a mashed screen of where the steam logo should be and THAN it returns to the same fucking 'LOADING...' screen showing no progression WHATSOEVER... This is really pissing me off
  • decrypteddecrypted Join Date: 2013-12-30 Member: 191100Members
    Update: Log now shows this... (if it even matters)

    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'
  • decrypteddecrypted Join Date: 2013-12-30 Member: 191100Members
  • decrypteddecrypted Join Date: 2013-12-30 Member: 191100Members
  • DC_DarklingDC_Darkling Join Date: 2003-07-10 Member: 18068Members, Constellation, Squad Five Blue, Squad Five Silver
    I dunno. My knowhow of linux is to limited.
    You will have to wait till a more linux knowing person comes online, with all these holidays.
  • ConfusedConfused Wait. What? Join Date: 2003-01-28 Member: 12904Members, Constellation, NS2 Playtester, Squad Five Blue, Subnautica Playtester
    To clarify,

    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.


  • decrypteddecrypted Join Date: 2013-12-30 Member: 191100Members
    Hopefully the next patch will also help those with amd/ati, Spread the word! Thanks for the clarity @Confused :)
Sign In or Register to comment.