Linux: Menu screen is black
eyeris
Join Date: 2013-09-10 Member: 188088Members
When I start ns2 I just get a black screen. The game is definitely running because I can press ` to bring up the console and type quit to exit properly. The game worked fine Friday but then Saturday the game crashed (Segfault in the nvidia driver) and now the black screen. I've nuked the game files under SteamApps/common/Natural Selection 2, as well as my config directory, and re-installed from Steam. The first time I start the game, with no ~/.config/Naturual Selection 2 directory the game segfaults.
Here is the console output:
Here is the backtrace:
Before it segfaulted it created the config dir. Every time I start the game after that I get the black screen. If I manually delete the config directory (or just the cached shaders in the config dir) I get the same sequence of segfault on the next start and then the black screen on every start after that. Here is the console output when the black screen problem is happening:
The backtrace after deleting the cached shaders is identical to the previous backtrace above.
Here is the console output:
$ run.sh "$PWD/ns2_linux32" GetInstanceCount currently unimplemented Build 262 Linux Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 78: saw unknown, expected number (Awesomium:21844): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita", Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 78: saw unknown, expected number (Awesomium:21844): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita", /usr/share/themes/Adwaita/gtk-2.0/gtkrc:1137: error: unexpected identifier `direction', expected character `}' Setting breakpad minidump AppID = 4920 Steam_SetMinidumpSteamID: Caching Steam ID: 76561198024160929 [API loaded no] Steam initialized Num displays: 1 OpenGL 4.2.0 NVIDIA 304.108 initialized (NVIDIA Corporation GeForce GTX 460/PCIe/SSE2) GLSL version 4.20 NVIDIA via Cg compiler ARB_texture_storage extension present Compiling 'renderer/Drawer.shader' Sound Device: default stereo Record Device: default warning: The VAD has been replaced by a hack pending a complete rewrite Compiling 'renderer/DeferredShading.shader' warning: The VAD has been replaced by a hack pending a complete rewrite Compiling 'renderer/DeferredShading.shader' WARNING: Corrected case of '/home/dvogel/.config/Natural Selection 2/cache/OpenGL_32379e864f1c8b189fcbe02181706ef9.cached_shader' Compiling 'renderer/LightVolume.shader' Compiling 'shaders/GUIBasic.surface_shader' Segmentation fault (core dumped)
Here is the backtrace:
#0 M4::RenderFont::FormatText<wchar_t> (this=0x0, src=0xf41aa2c L"LOADING", dst=0xffdaf218 "\001", maxLength=512, wordWrap=false, xSize=@0xffdaf450: 0, ySize=@0xffdaf454: 0) at ../Source/Render/RenderFont.cpp:198 198 ../Source/Render/RenderFont.cpp: No such file or directory. (gdb) bt #0 M4::RenderFont::FormatText<wchar_t> (this=0x0, src=0xf41aa2c L"LOADING", dst=0xffdaf218 "\001", maxLength=512, wordWrap=false, xSize=@0xffdaf450: 0, ySize=@0xffdaf454: 0) at ../Source/Render/RenderFont.cpp:198 #1 0xf72a467c in M4::RenderFont::FormatText (this=0x0, src=0xf41aa2c L"LOADING", dst=0xffdaf218 "\001", maxLength=512, wordWrap=false, xSize=@0xffdaf450: 0, ySize=@0xffdaf454: 0) at ../Source/Render/RenderFont.cpp:190 #2 0x0809bcc4 in M4::GUISystem::UpdateVertexBufferForText (this=0xd0196e68, item=0xcf665e38, vertexBuffer=0xd398f0e0, maxBufferVertices=4088) at ../Source/Spark_Client/GUISystem.cpp:186 #3 0x0809c41e in M4::GUISystem::UpdateVertexBuffer (this=0xd0196e68, item=0xffdaf628, numItems=6, numItemVertices=0xffdaf550) at ../Source/Spark_Client/GUISystem.cpp:330 #4 0x0809c945 in M4::GUISystem::RenderGUIItems (this=0xd0196e68, drawer=..., item=0xffdaf628, numItems=6, currentTime=0.064265981316566467) at ../Source/Spark_Client/GUISystem.cpp:668 #5 0x0809d56c in M4::GUISystem::Render (this=0xd0196e68, drawer=..., currentTime=0.064265981316566467) at ../Source/Spark_Client/GUISystem.cpp:547 #6 0x0808647d in M4::ClientWorld::RenderUI (this=0xd017c008, drawer=...) at ../Source/Spark_Client/ClientWorld.cpp:2661 #7 0x08070d65 in M4::ClientGame::RenderUI (this=0xe7a80008) at ../Source/Spark_Client/ClientGame.cpp:1084 #8 0x080711c9 in M4::ClientGame::FinishRendering (this=0xe7a80008) at ../Source/Spark_Client/ClientGame.cpp:1147 #9 0x08077fa1 in M4::ClientGame::Update (this=0xe7a80008, deltaTime=0.064265983000000082) at ../Source/Spark_Client/ClientGame.cpp:945 #10 0x0806be56 in M4::ClientEngine::Update (this=0xf3cb7170, deltaTime=0.064265983000000082) at ../Source/Spark_Client/ClientEngine.cpp:152 #11 0x080bf814 in M4::BaseEngine::RunFrame (this=0xf3cb7170) at ../Source/Spark_Server/BaseEngine.cpp:196 #12 0x080bf840 in M4::BaseEngine::Run (this=0xf3cb7170) at ../Source/Spark_Server/BaseEngine.cpp:160 #13 0x0806a273 in main (argc=<error reading variable: Cannot access memory at address 0x0>, argv=<error reading variable: Cannot access memory at address 0x4>) at ../Source/ShooterExe/Main.cpp:82
Before it segfaulted it created the config dir. Every time I start the game after that I get the black screen. If I manually delete the config directory (or just the cached shaders in the config dir) I get the same sequence of segfault on the next start and then the black screen on every start after that. Here is the console output when the black screen problem is happening:
$ run.sh "$PWD/ns2_linux32" GetInstanceCount currently unimplemented Build 262 Linux Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 78: saw unknown, expected number (Awesomium:22053): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita", Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element (Awesomium:22053): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita", Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 78: saw unknown, expected number /usr/share/themes/Adwaita/gtk-2.0/gtkrc:1137: error: unexpected identifier `direction', expected character `}' Setting breakpad minidump AppID = 4920 Steam_SetMinidumpSteamID: Caching Steam ID: 76561198024160929 [API loaded no] Steam initialized Num displays: 1 OpenGL 4.2.0 NVIDIA 304.108 initialized (NVIDIA Corporation GeForce GTX 460/PCIe/SSE2) GLSL version 4.20 NVIDIA via Cg compiler ARB_texture_storage extension present Sound Device: default stereo Record Device: default warning: The VAD has been replaced by a hack pending a complete rewrite Error: Attempted to load remote options from a file that does not exist.
The backtrace after deleting the cached shaders is identical to the previous backtrace above.
Comments
I can't remember what distro you are running. Anything in the update log? Might have updated to something we haven't tested yet.
The trace is new though, I haven't seen that particular error yet that I can recall.