[Fixed] [Linux] Freeze on map loading screen

develdevel Join Date: 2014-09-13 Member: 198444Members
edited November 2014 in Technical Support
Hi

Just after the click to start training or join a server, game shows a loading screen that freezes after one second (I presume, that is the time when map load completes).

Nvidia (nv drivers), Ubuntu 14.04 x64.

Steam log:
ExecSteamURL: "steam://rungameid/4920"
Game update: AppID 4920 "Natural Selection 2", ProcID 3620, IP 0.0.0.0:0
ERROR: ld.so: object '/steamhome/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/steamhome/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.

(steam:3480): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:3480): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:3480): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:3480): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:3480): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:3480): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:3480): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:3480): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:3480): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:3480): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:3480): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:3480): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:3480): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:3480): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:3480): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:3480): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:3480): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:3480): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:3480): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
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
ERROR: ld.so: object '/steamhome/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
Gtk-Message: Failed to load module "overlay-scrollbar"
Gtk-Message: Failed to load module "unity-gtk-module"
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
Setting breakpad minidump AppID = 4920
Steam_SetMinidumpSteamID: Caching Steam ID: 76561198014219562 [API loaded no]
ERROR: ld.so: object '/steamhome/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
warning: The VAD has been replaced by a hack pending a complete rewrite
warning: The VAD has been replaced by a hack pending a complete rewrite
Installing breakpad exception handler for appid(gameoverlayui)/version(20140828032404)
Installing breakpad exception handler for appid(gameoverlayui)/version(1.0)
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
Installing breakpad exception handler for appid(gameoverlayui)/version(1.0)
Installing breakpad exception handler for appid(ns2_linux32)/version(1.0)
pid 3669 != 3642, skipping destruction (fork without exec?)
pid 3680 != 3642, skipping destruction (fork without exec?)
warning: The VAD has been replaced by a hack pending a complete rewrite
Game update: AppID 4920 "Natural Selection 2", ProcID 3622, IP 88.172.31.68:27015
Game removed: AppID 4920 "Natural Selection 2", ProcID 3622

NS2 log:
Date: 09/13/14
Time: 14:20:09:
Build 269
Ubuntu x86_64
Steam initialized
Num displays: 1
OpenGL 4.4.0 NVIDIA 331.38 initialized (NVIDIA Corporation GeForce GTX 760/PCIe/SSE2)
GLSL version 4.40 NVIDIA via Cg compiler
ARB_texture_storage extension present
ARB_get_program_binary extension present
Sound Device: default stereo
Record Device: default
Loading config://ConsoleBindings.json
Resampling uncompressed animations at 1/2 frame rate to conserve memory
Loading config://FavoriteServers.json
Loading config://HistoryServers.json
Main Menu Initialized at Version: 269
Steam Id: --- cut ---
Server tickrate 30, client sendrate 20, bandwidth limit per player 25600
Connected to Steam servers
Downloading mods
Finished downloading and installing mods
Mounting mod from /steamhome/Steam/SteamApps/common/Natural Selection 2/tutorial/
Connecting to server 127.0.0.1:27015
Client connecting (127.0.0.1)
VAC Enabled
Loading config://ServerConfig.json
Loading config://ReservedSlotsConfig.json
Loading config://ServerAdmin.json
Loading config://BannedPlayers.json
Loading config://MapCycle.json
Hashed 1 game_setup.xml files for consistency
Hashed 830 *.lua files for consistency
Hashed 37 *.hlsl files for consistency
Hashed 30 *.shader files for consistency
Hashed 18 *.screenfx files for consistency
Hashed 142 *.surface_shader files for consistency
Hashed 3 *.fxh files for consistency
Hashed 3 *.render_setup files for consistency
Hashed 2 *.shader_template files for consistency
Hashed 13 *.level files for consistency
Hashed 5899 *.dds files for consistency
Hashed 88 *.jpg files for consistency
Hashed 52 *.png files for consistency
Hashed 905 *.cinematic files for consistency
Hashed 2218 *.material files for consistency
Hashed 3934 *.model files for consistency
Hashed 103 *.animation_graph files for consistency
Hashed 201 *.polygons files for consistency
Hashed 4 *.fev files for consistency
Hashed 24 *.fsb files for consistency
Skipped 391 ui/*.dds files for consistency
Skipped 127 *_view*.dds files for consistency
Skipped 55 *_view*.material files for consistency
Skipped 143 *_view*.model files for consistency
Skipped 21 models/marine/hands/* files for consistency
Skipped 1 sound/*_client.fev files for consistency
Skipped 1 sound/*_client.fsb files for consistency
Skipped 1 shaders/DarkVision.hlsl files for consistency
Skipped 1 shaders/DarkVision.screenfx files for consistency
Skipped 1 shaders/DarkVision.shader files for consistency
Hashed 1 lua/entry/*.entry files for consistency
Consistency checking took 0 seconds
[ 22.206] Worker 03 : Loading 'maps/ns2_docking.level'
Building pathing mesh for level maps/ns2_docking.level
Finished loading 'maps/ns2_docking.level'

Comments

  • develdevel Join Date: 2014-09-13 Member: 198444Members
    edited September 2014
    Ok, there is a workaround:
    you can attach strace utility to the game process to pass through the loading phase.

    Observations:
    1. If you start the game, then enter training/game - it will freeze on "loading" phase of the loading screen.
    2. If you start the game, attach strace, then enter training/game, then detach strace just after the loading screen changes from "loading" to "initializing game" - then it may not freeze (or it may freeze on other stages: I've seen freezes on "loading map" or "precaching" while trying this scenario).
    3. If you start the game, attach strace, then enter training/game, then detach strace after the usual freezing point but before the loading screen changes to "initializing game" - then it will change to "initializing game" but will freeze after a second in this "initializing game" state (2 times of 2 things were that way).
    4. If you start the game, attach strace, then detach strace, then enter training/game - it will freeze on "loading".
    5. If you start the game, enter the game with strace-workaround, then detach strace, then go back to main menu, then try to enter training/game - it will freeze on "loading".
    6. Of course, workaround doesn't work 100% of the time. It can freeze while strace is attached.

    So, there is a deadlock somewhere.

    btw, my kernel version is 3.15.0-6-generic.
  • develdevel Join Date: 2014-09-13 Member: 198444Members
    edited September 2014
    Workaround in "almost usable" form:
    1. Launch Natural Selection.
    2. Run from terminal:
    sudo strace -p $(top -n1 | grep ns2_linux32 | awk '{print $2}') -o /dev/null
    
    3. Start the game/training.
    4. Wait until "INITIALIZING GAME" screen or later.
    5. Ctrl+C in terminal to stop strace logging.
  • bjb1959bjb1959 United States Join Date: 2014-09-12 Member: 198355Members
    wow, what a process. maybe I am just being silly here but shouldn't the developer just fix the game? or is that too much to ask?
  • WeTDreamzWeTDreamz Join Date: 2013-08-30 Member: 187247Members
    This game has been broken since launch. I don't understand what even happened. You need a supercomputer to play properly.
  • develdevel Join Date: 2014-09-13 Member: 198444Members
    edited September 2014
    WeTDreamz wrote: »
    You need a supercomputer to play properly.

    Yep, and I've bought one.

    btw, now I am able to counter that freeze by just alt-tabbing several times during the map load.
    Maybe one of the mods changed something...
    I'll try a normal launch today to see if the problem is still present for my config.
  • develdevel Join Date: 2014-09-13 Member: 198444Members
    Got ingame freeze while commanding vs bots.
  • AsranielAsraniel Join Date: 2002-06-03 Member: 724Members, Playtest Lead, Forum Moderators, NS2 Playtester, Squad Five Blue, Reinforced - Shadow, WC 2013 - Shadow, Subnautica Playtester, Retired Community Developer
    This might be fixed in the next patch
  • nachomeepnachomeep United States Join Date: 2014-10-22 Member: 199082Members
  • AsranielAsraniel Join Date: 2002-06-03 Member: 724Members, Playtest Lead, Forum Moderators, NS2 Playtester, Squad Five Blue, Reinforced - Shadow, WC 2013 - Shadow, Subnautica Playtester, Retired Community Developer
    Well, you never know! But a bug related to it is fixed and it could not be reproduced since then. But you never know!
  • develdevel Join Date: 2014-09-13 Member: 198444Members
Sign In or Register to comment.