Author Topic: Latest Linux Build of the game ist broken  (Read 7658 times)

Offline lessster

  • Newbie Mark II
  • *
  • Posts: 23
Latest Linux Build of the game ist broken
« on: March 16, 2018, 01:45:59 pm »
Tried on Steam OS (latest version) and on Ubuntu 16.04.
Game doesn't launch anymore.

Offline BadgerBadger

  • Arcen Volunteer
  • Hero Member Mark III
  • *****
  • Posts: 1,229
  • BadgerBadgerBadgerBadger
Re: Latest Linux Build of the game ist broken
« Reply #1 on: March 16, 2018, 01:48:53 pm »
What errors do you see? Is there anything in the ArcenDebugLog?

Offline lessster

  • Newbie Mark II
  • *
  • Posts: 23
Re: Latest Linux Build of the game ist broken
« Reply #2 on: March 16, 2018, 02:06:42 pm »
New info: The 32 Bit version still seems to work, but the 64 Bit version does not work anymore:

Launching the game from Steam doesn't do anything (I am not sure, though, whether Steam is launching the 64 Bit version or the 32 Bit version by default).

Launching the 32 Bit version of the game from the command line (outside of Steam) works (but prints "DllNotFoundException: libsteam_api.so" in the title screen, which is intelligible, because Steam is not running). But I noticed that the GPU fan is going wild, even on the title screen, which never before occured on my machines with any of the prior builds; CPU consumption is also VERY high).

Launching the 64 Bit version of the game from the command line (outside of Steam) does not work at all and gives the following output:

Code: [Select]
Set current directory to /ext/SteamLibrary/steamapps/common/AI War 2
Found path: /ext/SteamLibrary/steamapps/common/AI War 2/AIWar2Linux.x86_64
Mono path[0] = '/ext/SteamLibrary/steamapps/common/AI War 2/AIWar2Linux_Data/Managed'
Mono config path = '/ext/SteamLibrary/steamapps/common/AI War 2/AIWar2Linux_Data/Mono/etc'
PlayerConnection initialized from /ext/SteamLibrary/steamapps/common/AI War 2/AIWar2Linux_Data (debug = 0)
PlayerConnection initialized network socket : 0.0.0.0 55172
Multi-casting "[IP] 192.168.1.9 [Port] 55172 [Flags] 2 [Guid] 2623226826 [EditorId] 703848197 [Version] 1048832 [Id] LinuxPlayer(192.168.1.9) [Debug] 0" to [225.0.0.222:54997]...
Started listening to [0.0.0.0:55172]
Preloaded 'ScreenSelector.so'
Unable to preload the following plugins:
ScreenSelector.so
PlayerConnection already initialized - listening to [0.0.0.0:55172]
Logging to /home/lessster/.config/unity3d/Arcen Games, LLC/AIWar2/Player.log
Setting breakpad minidump AppID = 573410
Steam_SetMinidumpSteamID:  Caching Steam ID:  76561198064600075 [API loaded no]
Stacktrace:

  at (wrapper managed-to-native) SteamNative.Platform/Linux64/Native.SteamAPI_ISteamInventory_LoadItemDefinitions (intptr) <IL 0x00009, 0x00065>
  at (wrapper managed-to-native) SteamNative.Platform/Linux64/Native.SteamAPI_ISteamInventory_LoadItemDefinitions (intptr) <IL 0x00009, 0x00065>
  at SteamNative.Platform/Linux64.ISteamInventory_LoadItemDefinitions () [0x00020] in l:\workspace\Facepunch\Facepunch.Steamworks\master\Facepunch.Steamworks\SteamNative\SteamNative.Platform.Linux64.cs:3668
  at SteamNative.SteamInventory.LoadItemDefinitions () [0x00001] in l:\workspace\Facepunch\Facepunch.Steamworks\master\Facepunch.Steamworks\SteamNative\SteamNative.SteamInventory.cs:212
  at Facepunch.Steamworks.Inventory..ctor (Facepunch.Steamworks.BaseSteamworks,SteamNative.SteamInventory,bool) [0x00028] in l:\workspace\Facepunch\Facepunch.Steamworks\master\Facepunch.Steamworks\Interfaces\Inventory.cs:51
  at Facepunch.Steamworks.BaseSteamworks.SetupCommonInterfaces () [0x00019] in l:\workspace\Facepunch\Facepunch.Steamworks\master\Facepunch.Steamworks\BaseSteamworks.cs:65
  at Facepunch.Steamworks.Client..ctor (uint) [0x00065] in l:\workspace\Facepunch\Facepunch.Steamworks\master\Facepunch.Steamworks\Client.cs:90
  at ArcenGameController.Start () [0x00076] in C:\vcprojs\arcengames_aiw_ultra\AIW2Unity\Assets\ArcenCode\ArcenGameController.cs:40
  at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) <IL 0x0001c, 0x0005e>

Native stacktrace:

/ext/SteamLibrary/steamapps/common/AI War 2/AIWar2Linux_Data/Mono/x86_64/libmono.so(+0x9847a) [0x7fda621cd47a]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x1138f) [0x7fda70dfb38f]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0x38) [0x7fda6ffac428]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x169) [0x7fda6ffae029]
./AIWar2Linux.x86_64() [0xfcedfb]
/ext/SteamLibrary/steamapps/common/AI War 2/AIWar2Linux_Data/Mono/x86_64/libmono.so(+0xd8cb0) [0x7fda6220dcb0]
/ext/SteamLibrary/steamapps/common/AI War 2/AIWar2Linux_Data/Mono/x86_64/libmono.so(+0x3717e) [0x7fda6216c17e]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x1138f) [0x7fda70dfb38f]
/lib/x86_64-linux-gnu/libc.so.6(+0x14e168) [0x7fda700c5168]
/home/lessster/.local/share/Steam/linux64/steamclient.so(+0x8e02f6) [0x7fd9631352f6]
/home/lessster/.local/share/Steam/linux64/steamclient.so(+0x67c2ce) [0x7fd962ed12ce]
/home/lessster/.local/share/Steam/linux64/steamclient.so(+0x63eba8) [0x7fd962e93ba8]
[0x41de6234]
/ext/SteamLibrary/steamapps/common/AI War 2/AIWar2Linux_Data/Mono/x86_64/libmono.so(+0x3b2d6) [0x7fda621702d6]
/ext/SteamLibrary/steamapps/common/AI War 2/AIWar2Linux_Data/Mono/x86_64/libmono.so(mono_runtime_invoke+0x67) [0x7fda62271ea8]
./AIWar2Linux.x86_64() [0xf86533]
./AIWar2Linux.x86_64() [0xff4364]
./AIWar2Linux.x86_64() [0xfc922c]
./AIWar2Linux.x86_64() [0xfcb735]
./AIWar2Linux.x86_64() [0xfcc67f]
./AIWar2Linux.x86_64() [0x812f96]
./AIWar2Linux.x86_64() [0xbdcd60]
./AIWar2Linux.x86_64() [0xbbf7f5]
./AIWar2Linux.x86_64() [0x4c8aa6]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xef) [0x7fda6ff9782f]
./AIWar2Linux.x86_64() [0x4d8a98]

Debug info from gdb:

Could not attach to process.  If your uid matches the uid of the target
process, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try
again as the root user.  For more details, see /etc/sysctl.d/10-ptrace.conf
ptrace: Vorgang nicht zulässig.
No threads.

=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================


ArcenDebugLog.txt says this:

Code: [Select]
3/16/2018 6:51:28 PM Current directory used: /ext/SteamLibrary/steamapps/common/AI War 2/
3/16/2018 6:51:28 PM Process Count = 0 so PlayerDataDirectory used: /ext/SteamLibrary/steamapps/common/AI War 2/PlayerData/
3/16/2018 6:51:57 PM Game Version: 0.712
graphicsDeviceType in use: OpenGLCore
graphicsDeviceVersion in use: OpenGL 4.5.0 NVIDIA 384.111
graphicsMultiThreaded: True
graphicsShaderLevel: 50
operatingSystem: Linux 4.4 Ubuntu 16.04 64bit
graphicsDeviceName: GeForce GTX 670/PCIe/SSE2
graphicsDeviceID: 4489
graphicsDeviceVendor: NVIDIA Corporation
graphicsDeviceVendorID: 4318
graphicsDeviceVersion: OpenGL 4.5.0 NVIDIA 384.111
graphicsMemorySize: 2048
maxTextureSize: 16384
npotSupport: Full
processorType: Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz
processorCount: 8
processorFrequency: 3786
systemMemorySize: 16004
supportsImageEffects: True
supportedRenderTargetCount: 8
supportsComputeShaders: True
supportsShadows: True
usesReversedZBuffer: False
3/16/2018 6:51:57 PM Resolution changed to fullscreen 1080x1920
3/16/2018 6:51:57 PM Applied graphics settings:
AntialiasingMode:x2
UseSoftParticles:False
BillboardsFaceCameraPosition:False
AnisotropicMode:ForceEnable
TextureQuality:Full
3/16/2018 6:51:57 PM Applied Framerate Type: 120 FPS (vsync: 0 targetFPS:120)
3/16/2018 6:51:58 PM
-----------
DllNotFoundException: libsteam_api.so
Stack Trace: SteamNative.Platform+Linux32.SteamApi_SteamAPI_Init () (at l:/workspace/Facepunch/Facepunch.Steamworks/master/Facepunch.Steamworks/SteamNative/SteamNative.Platform.Linux32.cs:4048)
SteamNative.SteamApi.SteamAPI_Init () (at l:/workspace/Facepunch/Facepunch.Steamworks/master/Facepunch.Steamworks/SteamNative/SteamNative.SteamApi.cs:59)
Facepunch.Steamworks.Interop.NativeInterface.InitClient (Facepunch.Steamworks.BaseSteamworks steamworks) (at l:/workspace/Facepunch/Facepunch.Steamworks/master/Facepunch.Steamworks/Interop/Native.cs:41)
Facepunch.Steamworks.Client..ctor (UInt32 appId) (at l:/workspace/Facepunch/Facepunch.Steamworks/master/Facepunch.Steamworks/Client.cs:79)
ArcenGameController.Start () (at C:/vcprojs/arcengames_aiw_ultra/AIW2Unity/Assets/ArcenCode/ArcenGameController.cs:40)



   at System.Environment.get_StackTrace() in /Users/builduser/buildslave/mono/build/mcs/class/corlib/System/Environment.cs:line 227
   at Arcen.Universal.ArcenDebugging.ArcenDebugLog(System.String Message, DebugLogDestination Destination, Boolean IncludeStackTrace, Verbosity Verbosity) in C:\vcprojs\arcengames_aiw_ultra\ArcenUniversal\src\UtilityLibraries\ArcenDebugging.cs:line 143
   at Arcen.Universal.ArcenDebugging.ArcenDebugLog(System.String Message, DebugLogDestination Destination, Verbosity Verbosity) in C:\vcprojs\arcengames_aiw_ultra\ArcenUniversal\src\UtilityLibraries\ArcenDebugging.cs:line 112
   at Arcen.Universal.ArcenDebugging.ArcenDebugLog(System.String Message, Verbosity Verbosity) in C:\vcprojs\arcengames_aiw_ultra\ArcenUniversal\src\UtilityLibraries\ArcenDebugging.cs:line 92
   at Arcen.Universal.Engine_Universal.LogWritten(System.String LogString, System.String StackTrace, LogType Type, System.Exception Cause, Boolean CameFromUnity) in C:\vcprojs\arcengames_aiw_ultra\ArcenUniversal\src\Engine_Universal.cs:line 724
   at Arcen.Universal.Engine_Universal.LogWrittenFromUnity(System.String LogString, System.String StackTrace, LogType Type) in C:\vcprojs\arcengames_aiw_ultra\ArcenUniversal\src\Engine_Universal.cs:line 677
   at UnityEngine.Application.CallLogCallback(System.String logString, System.String stackTrace, LogType type, Boolean invokedOnMainThread) in /home/builduser/buildslave/unity/build/artifacts/generated/common/runtime/ApplicationBindings.gen.cs:line 564

3/16/2018 6:51:58 PM
ErrorsReportedByEngine:    -----------
DllNotFoundException: libsteam_api.so
Stack Trace: SteamNative.Platform+Linux32.SteamApi_SteamAPI_Init () (at l:/workspace/Facepunch/Facepunch.Steamworks/master/Facepunch.Steamworks/SteamNative/SteamNative.Platform.Linux32.cs:4048)
SteamNative.SteamApi.SteamAPI_Init () (at l:/workspace/Facepunch/Facepunch.Steamworks/master/Facepunch.Steamworks/SteamNative/SteamNative.SteamApi.cs:59)
Facepunch.Steamworks.Interop.NativeInterface.InitClient (Facepunch.Steamworks.BaseSteamworks steamworks) (at l:/workspace/Facepunch/Facepunch.Steamworks/master/Facepunch.Steamworks/Interop/Native.cs:41)
Facepunch.Steamworks.Client..ctor (UInt32 appId) (at l:/workspace/Facepunch/Facepunch.Steamworks/master/Facepunch.Steamworks/Client.cs:79)
ArcenGameController.Start () (at C:/vcprojs/arcengames_aiw_ultra/AIW2Unity/Assets/ArcenCode/ArcenGameController.cs:40)



   at System.Environment.get_StackTrace() in /Users/builduser/buildslave/mono/build/mcs/class/corlib/System/Environment.cs:line 227
   at Arcen.Universal.ArcenDebugging.ArcenDebugLog(System.String Message, DebugLogDestination Destination, Boolean IncludeStackTrace, Verbosity Verbosity) in C:\vcprojs\arcengames_aiw_ultra\ArcenUniversal\src\UtilityLibraries\ArcenDebugging.cs:line 143
   at Arcen.Universal.ArcenDebugging.ArcenDebugLog(System.String Message, DebugLogDestination Destination, Verbosity Verbosity) in C:\vcprojs\arcengames_aiw_ultra\ArcenUniversal\src\UtilityLibraries\ArcenDebugging.cs:line 112
   at Arcen.Universal.ArcenDebugging.ArcenDebugLog(System.String Message, Verbosity Verbosity) in C:\vcprojs\arcengames_aiw_ultra\ArcenUniversal\src\UtilityLibraries\ArcenDebugging.cs:line 92
   at Arcen.Universal.Engine_Universal.WriteToErrorFile(System.String ErrorFile, System.String ErrorName, System.String ErrorText, Boolean SuppressArcenDebugLog) in C:\vcprojs\arcengames_aiw_ultra\ArcenUniversal\src\Engine_Universal.cs:line 1166
   at Arcen.Universal.Engine_Universal.WriteToErrorFile(System.String ErrorFile, System.String ErrorName, System.String ErrorText) in C:\vcprojs\arcengames_aiw_ultra\ArcenUniversal\src\Engine_Universal.cs:line 1132
   at Arcen.Universal.Engine_Universal.LogWritten(System.String LogString, System.String StackTrace, LogType Type, System.Exception Cause, Boolean CameFromUnity) in C:\vcprojs\arcengames_aiw_ultra\ArcenUniversal\src\Engine_Universal.cs:line 727
   at Arcen.Universal.Engine_Universal.LogWrittenFromUnity(System.String LogString, System.String StackTrace, LogType Type) in C:\vcprojs\arcengames_aiw_ultra\ArcenUniversal\src\Engine_Universal.cs:line 677
   at UnityEngine.Application.CallLogCallback(System.String logString, System.String stackTrace, LogType type, Boolean invokedOnMainThread) in /home/builduser/buildslave/unity/build/artifacts/generated/common/runtime/ApplicationBindings.gen.cs:line 564

3/16/2018 6:51:58 PM MusicVolume set to -12.7861 dB (50% Volume On Interface)
3/16/2018 6:52:48 PM Current directory used: /ext/SteamLibrary/steamapps/common/AI War 2/
3/16/2018 6:52:48 PM Process Count = 0 so PlayerDataDirectory used: /ext/SteamLibrary/steamapps/common/AI War 2/PlayerData/
3/16/2018 6:52:55 PM Game Version: 0.712
graphicsDeviceType in use: OpenGLCore
graphicsDeviceVersion in use: OpenGL 4.5.0 NVIDIA 384.111
graphicsMultiThreaded: True
graphicsShaderLevel: 50
operatingSystem: Linux 4.4 Ubuntu 16.04 64bit
graphicsDeviceName: GeForce GTX 670/PCIe/SSE2
graphicsDeviceID: 4489
graphicsDeviceVendor: NVIDIA Corporation
graphicsDeviceVendorID: 4318
graphicsDeviceVersion: OpenGL 4.5.0 NVIDIA 384.111
graphicsMemorySize: 2048
maxTextureSize: 16384
npotSupport: Full
processorType: Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz
processorCount: 8
processorFrequency: 3754
systemMemorySize: 16004
supportsImageEffects: True
supportedRenderTargetCount: 8
supportsComputeShaders: True
supportsShadows: True
usesReversedZBuffer: False
3/16/2018 6:52:55 PM Resolution changed to fullscreen 1080x1920
3/16/2018 6:52:55 PM Applied graphics settings:
AntialiasingMode:x2
UseSoftParticles:False
BillboardsFaceCameraPosition:False
AnisotropicMode:ForceEnable
TextureQuality:Full
3/16/2018 6:52:55 PM Applied Framerate Type: 120 FPS (vsync: 0 targetFPS:120)
3/16/2018 6:53:05 PM Current directory used: /ext/SteamLibrary/steamapps/common/AI War 2/
3/16/2018 6:53:05 PM Process Count = 0 so PlayerDataDirectory used: /ext/SteamLibrary/steamapps/common/AI War 2/PlayerData/
3/16/2018 6:53:11 PM Game Version: 0.712
graphicsDeviceType in use: OpenGLCore
graphicsDeviceVersion in use: OpenGL 4.5.0 NVIDIA 384.111
graphicsMultiThreaded: True
graphicsShaderLevel: 50
operatingSystem: Linux 4.4 Ubuntu 16.04 64bit
graphicsDeviceName: GeForce GTX 670/PCIe/SSE2
graphicsDeviceID: 4489
graphicsDeviceVendor: NVIDIA Corporation
graphicsDeviceVendorID: 4318
graphicsDeviceVersion: OpenGL 4.5.0 NVIDIA 384.111
graphicsMemorySize: 2048
maxTextureSize: 16384
npotSupport: Full
processorType: Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz
processorCount: 8
processorFrequency: 3828
systemMemorySize: 16004
supportsImageEffects: True
supportedRenderTargetCount: 8
supportsComputeShaders: True
supportsShadows: True
usesReversedZBuffer: False
3/16/2018 6:53:11 PM Resolution changed to fullscreen 1080x1920
3/16/2018 6:53:11 PM Applied graphics settings:
AntialiasingMode:x2
UseSoftParticles:False
BillboardsFaceCameraPosition:False
AnisotropicMode:ForceEnable
TextureQuality:Full
3/16/2018 6:53:11 PM Applied Framerate Type: 120 FPS (vsync: 0 targetFPS:120)
3/16/2018 6:59:20 PM Current directory used: /ext/SteamLibrary/steamapps/common/AI War 2/
3/16/2018 6:59:20 PM Process Count = 0 so PlayerDataDirectory used: /ext/SteamLibrary/steamapps/common/AI War 2/PlayerData/
3/16/2018 6:59:27 PM Game Version: 0.712
graphicsDeviceType in use: OpenGLCore
graphicsDeviceVersion in use: OpenGL 4.5.0 NVIDIA 384.111
graphicsMultiThreaded: True
graphicsShaderLevel: 50
operatingSystem: Linux 4.4 Ubuntu 16.04 64bit
graphicsDeviceName: GeForce GTX 670/PCIe/SSE2
graphicsDeviceID: 4489
graphicsDeviceVendor: NVIDIA Corporation
graphicsDeviceVendorID: 4318
graphicsDeviceVersion: OpenGL 4.5.0 NVIDIA 384.111
graphicsMemorySize: 2048
maxTextureSize: 16384
npotSupport: Full
processorType: Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz
processorCount: 8
processorFrequency: 3789
systemMemorySize: 16004
supportsImageEffects: True
supportedRenderTargetCount: 8
supportsComputeShaders: True
supportsShadows: True
usesReversedZBuffer: False
3/16/2018 6:59:27 PM Resolution changed to fullscreen 1080x1920
3/16/2018 6:59:27 PM Applied graphics settings:
AntialiasingMode:x2
UseSoftParticles:False
BillboardsFaceCameraPosition:False
AnisotropicMode:ForceEnable
TextureQuality:Full
3/16/2018 6:59:27 PM Applied Framerate Type: 120 FPS (vsync: 0 targetFPS:120)
3/16/2018 6:59:27 PM
-----------
DllNotFoundException: libsteam_api.so
Stack Trace: SteamNative.Platform+Linux32.SteamApi_SteamAPI_Init () (at l:/workspace/Facepunch/Facepunch.Steamworks/master/Facepunch.Steamworks/SteamNative/SteamNative.Platform.Linux32.cs:4048)
SteamNative.SteamApi.SteamAPI_Init () (at l:/workspace/Facepunch/Facepunch.Steamworks/master/Facepunch.Steamworks/SteamNative/SteamNative.SteamApi.cs:59)
Facepunch.Steamworks.Interop.NativeInterface.InitClient (Facepunch.Steamworks.BaseSteamworks steamworks) (at l:/workspace/Facepunch/Facepunch.Steamworks/master/Facepunch.Steamworks/Interop/Native.cs:41)
Facepunch.Steamworks.Client..ctor (UInt32 appId) (at l:/workspace/Facepunch/Facepunch.Steamworks/master/Facepunch.Steamworks/Client.cs:79)
ArcenGameController.Start () (at C:/vcprojs/arcengames_aiw_ultra/AIW2Unity/Assets/ArcenCode/ArcenGameController.cs:40)



   at System.Environment.get_StackTrace() in /Users/builduser/buildslave/mono/build/mcs/class/corlib/System/Environment.cs:line 227
   at Arcen.Universal.ArcenDebugging.ArcenDebugLog(System.String Message, DebugLogDestination Destination, Boolean IncludeStackTrace, Verbosity Verbosity) in C:\vcprojs\arcengames_aiw_ultra\ArcenUniversal\src\UtilityLibraries\ArcenDebugging.cs:line 143
   at Arcen.Universal.ArcenDebugging.ArcenDebugLog(System.String Message, DebugLogDestination Destination, Verbosity Verbosity) in C:\vcprojs\arcengames_aiw_ultra\ArcenUniversal\src\UtilityLibraries\ArcenDebugging.cs:line 112
   at Arcen.Universal.ArcenDebugging.ArcenDebugLog(System.String Message, Verbosity Verbosity) in C:\vcprojs\arcengames_aiw_ultra\ArcenUniversal\src\UtilityLibraries\ArcenDebugging.cs:line 92
   at Arcen.Universal.Engine_Universal.LogWritten(System.String LogString, System.String StackTrace, LogType Type, System.Exception Cause, Boolean CameFromUnity) in C:\vcprojs\arcengames_aiw_ultra\ArcenUniversal\src\Engine_Universal.cs:line 724
   at Arcen.Universal.Engine_Universal.LogWrittenFromUnity(System.String LogString, System.String StackTrace, LogType Type) in C:\vcprojs\arcengames_aiw_ultra\ArcenUniversal\src\Engine_Universal.cs:line 677
   at UnityEngine.Application.CallLogCallback(System.String logString, System.String stackTrace, LogType type, Boolean invokedOnMainThread) in /home/builduser/buildslave/unity/build/artifacts/generated/common/runtime/ApplicationBindings.gen.cs:line 564

3/16/2018 6:59:27 PM
ErrorsReportedByEngine:    -----------
DllNotFoundException: libsteam_api.so
Stack Trace: SteamNative.Platform+Linux32.SteamApi_SteamAPI_Init () (at l:/workspace/Facepunch/Facepunch.Steamworks/master/Facepunch.Steamworks/SteamNative/SteamNative.Platform.Linux32.cs:4048)
SteamNative.SteamApi.SteamAPI_Init () (at l:/workspace/Facepunch/Facepunch.Steamworks/master/Facepunch.Steamworks/SteamNative/SteamNative.SteamApi.cs:59)
Facepunch.Steamworks.Interop.NativeInterface.InitClient (Facepunch.Steamworks.BaseSteamworks steamworks) (at l:/workspace/Facepunch/Facepunch.Steamworks/master/Facepunch.Steamworks/Interop/Native.cs:41)
Facepunch.Steamworks.Client..ctor (UInt32 appId) (at l:/workspace/Facepunch/Facepunch.Steamworks/master/Facepunch.Steamworks/Client.cs:79)
ArcenGameController.Start () (at C:/vcprojs/arcengames_aiw_ultra/AIW2Unity/Assets/ArcenCode/ArcenGameController.cs:40)



   at System.Environment.get_StackTrace() in /Users/builduser/buildslave/mono/build/mcs/class/corlib/System/Environment.cs:line 227
   at Arcen.Universal.ArcenDebugging.ArcenDebugLog(System.String Message, DebugLogDestination Destination, Boolean IncludeStackTrace, Verbosity Verbosity) in C:\vcprojs\arcengames_aiw_ultra\ArcenUniversal\src\UtilityLibraries\ArcenDebugging.cs:line 143
   at Arcen.Universal.ArcenDebugging.ArcenDebugLog(System.String Message, DebugLogDestination Destination, Verbosity Verbosity) in C:\vcprojs\arcengames_aiw_ultra\ArcenUniversal\src\UtilityLibraries\ArcenDebugging.cs:line 112
   at Arcen.Universal.ArcenDebugging.ArcenDebugLog(System.String Message, Verbosity Verbosity) in C:\vcprojs\arcengames_aiw_ultra\ArcenUniversal\src\UtilityLibraries\ArcenDebugging.cs:line 92
   at Arcen.Universal.Engine_Universal.WriteToErrorFile(System.String ErrorFile, System.String ErrorName, System.String ErrorText, Boolean SuppressArcenDebugLog) in C:\vcprojs\arcengames_aiw_ultra\ArcenUniversal\src\Engine_Universal.cs:line 1166
   at Arcen.Universal.Engine_Universal.WriteToErrorFile(System.String ErrorFile, System.String ErrorName, System.String ErrorText) in C:\vcprojs\arcengames_aiw_ultra\ArcenUniversal\src\Engine_Universal.cs:line 1132
   at Arcen.Universal.Engine_Universal.LogWritten(System.String LogString, System.String StackTrace, LogType Type, System.Exception Cause, Boolean CameFromUnity) in C:\vcprojs\arcengames_aiw_ultra\ArcenUniversal\src\Engine_Universal.cs:line 727
   at Arcen.Universal.Engine_Universal.LogWrittenFromUnity(System.String LogString, System.String StackTrace, LogType Type) in C:\vcprojs\arcengames_aiw_ultra\ArcenUniversal\src\Engine_Universal.cs:line 677
   at UnityEngine.Application.CallLogCallback(System.String logString, System.String stackTrace, LogType type, Boolean invokedOnMainThread) in /home/builduser/buildslave/unity/build/artifacts/generated/common/runtime/ApplicationBindings.gen.cs:line 564

3/16/2018 6:59:27 PM MusicVolume set to -12.7861 dB (50% Volume On Interface)
3/16/2018 7:04:03 PM Current directory used: /ext/SteamLibrary/steamapps/common/AI War 2/
3/16/2018 7:04:03 PM Process Count = 0 so PlayerDataDirectory used: /ext/SteamLibrary/steamapps/common/AI War 2/PlayerData/
3/16/2018 7:04:09 PM Game Version: 0.712
graphicsDeviceType in use: OpenGLCore
graphicsDeviceVersion in use: OpenGL 4.5.0 NVIDIA 384.111
graphicsMultiThreaded: True
graphicsShaderLevel: 50
operatingSystem: Linux 4.4 Ubuntu 16.04 64bit
graphicsDeviceName: GeForce GTX 670/PCIe/SSE2
graphicsDeviceID: 4489
graphicsDeviceVendor: NVIDIA Corporation
graphicsDeviceVendorID: 4318
graphicsDeviceVersion: OpenGL 4.5.0 NVIDIA 384.111
graphicsMemorySize: 2048
maxTextureSize: 16384
npotSupport: Full
processorType: Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz
processorCount: 8
processorFrequency: 3774
systemMemorySize: 16004
supportsImageEffects: True
supportedRenderTargetCount: 8
supportsComputeShaders: True
supportsShadows: True
usesReversedZBuffer: False
3/16/2018 7:04:09 PM Resolution changed to fullscreen 1080x1920
3/16/2018 7:04:09 PM Applied graphics settings:
AntialiasingMode:x2
UseSoftParticles:False
BillboardsFaceCameraPosition:False
AnisotropicMode:ForceEnable
TextureQuality:Full
3/16/2018 7:04:09 PM Applied Framerate Type: 120 FPS (vsync: 0 targetFPS:120)
« Last Edit: March 16, 2018, 02:49:53 pm by lessster »

Offline Histidine

  • Hero Member
  • *****
  • Posts: 581
Re: Latest Linux Build of the game ist broken
« Reply #3 on: March 18, 2018, 09:31:58 am »
Have what appears to be the same issue with crash on startup. Also works when I launch the 32 bit version.

Player.log
Console output

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: Latest Linux Build of the game ist broken
« Reply #4 on: March 19, 2018, 12:33:55 pm »
Sorry about this!  I kept meaning to respond, and it kept falling off my view as I got distracted with other things.

Can you try a few things for me?

0. First of all, when you start up the game, and steam is running in the background, do you see your steam name down at the bottom of the main screen ("logged in as Steam user xxxx") on the 32bit version?  If you see that, then that means that the 32bit version is working fully well.  If you DON'T see that, then it means that the 32bit version isn't connecting to Steam properly (for logging achievements), but it's at least not crashing.

Okay, on to the real meat of it:

This zip has a variety of dlls and .so files in it: https://drive.google.com/file/d/1BNgQ72q8wz6Axp0KZDsbdRgE2JmYZLpu/view

1. Can you try unpacking the .so files next to your .x86 and .x86_64 files in the root directory?
2. If that doesn't work, then can you click into AIWar2Linux_Data/Plugins and replace the files there?  If you are able to compare the file sizes of what is in the zip above to what is in your directory, that's also helpful. 
3. IF the second approach works, but the first one does not, can you then go back and delete the files from the #1 location and see if it still works?

4. IF none of that works, then can you delete the libsteam_api.so and put it under AIWar2Linux_Data/Plugins/x86, and the same with libsteam_api64.so and AIWar2Linux_Data/Plugins/x86_64.  Only this if neither 1 nor 2 above works.

If after whatever version of this hopefully works, can you repeat item 0 again on 32bit and 64bit and let me know if you see your steam username being display there?

Sorry about all the different permutations here.  I'd just like to get it knocked out in one go, and push a fix to the main branch so that nobody else runs into it!
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline Histidine

  • Hero Member
  • *****
  • Posts: 581
Re: Latest Linux Build of the game ist broken
« Reply #5 on: March 20, 2018, 11:42:36 am »
Hi Chris! Here's what I've got

0. First of all, when you start up the game, and steam is running in the background, do you see your steam name down at the bottom of the main screen ("logged in as Steam user xxxx") on the 32bit version?
No, says "not logged in to Steam"
(likewise, Steam doesn't say I'm in a game)

Quote
This zip has a variety of dlls and .so files in it: https://drive.google.com/file/d/1BNgQ72q8wz6Axp0KZDsbdRgE2JmYZLpu/view

1. Can you try unpacking the .so files next to your .x86 and .x86_64 files in the root directory?
2. If that doesn't work, then can you click into AIWar2Linux_Data/Plugins and replace the files there?  If you are able to compare the file sizes of what is in the zip above to what is in your directory, that's also helpful. 
3. IF the second approach works, but the first one does not, can you then go back and delete the files from the #1 location and see if it still works?

4. IF none of that works, then can you delete the libsteam_api.so and put it under AIWar2Linux_Data/Plugins/x86, and the same with libsteam_api64.so and AIWar2Linux_Data/Plugins/x86_64.  Only this if neither 1 nor 2 above works.

If after whatever version of this hopefully works, can you repeat item 0 again on 32bit and 64bit and let me know if you see your steam username being display there?

0.711 root libsteamapi_64.so is 266.7 kB, zip one is 284.8 kB
0.711 did not have a libsteam_api.so

AIWar2Linux_Data/Plugins does not contain any Steam library files for either 32 bit or 64 bit, neither in the folder itself nor the x86 and x86_64 subfolders. Only files present are AI War 2/AIWar2Linux_Data/Plugins/x86/ScreenSelector.so and AI War 2/AIWar2Linux_Data/Plugins/x86_64/ScreenSelector.so.

1) does not fix Steam integration for 32 bit (launched through terminal); remains "not logged in to Steam"
However, 64 bit is now launchable through both terminal and Steam, and correctly displays the "logged in as X" message.

Player.log:
Code: [Select]
ErrorsReportedByEngine:    -----------
EntryPointNotFoundException: SteamInternal_CreateInterface
Stack Trace: SteamNative.Platform+Linux32.SteamApi_SteamInternal_CreateInterface (System.String version) (at l:/workspace/Facepunch/Facepunch.Steamworks/master/Facepunch.Steamworks/SteamNative/SteamNative.Platform.Linux32.cs:4104)
SteamNative.SteamApi.SteamInternal_CreateInterface (System.String version) (at l:/workspace/Facepunch/Facepunch.Steamworks/master/Facepunch.Steamworks/SteamNative/SteamNative.SteamApi.cs:131)
Facepunch.Steamworks.Interop.NativeInterface.FillInterfaces (Facepunch.Steamworks.BaseSteamworks steamworks, Int32 hpipe, Int32 huser) (at l:/workspace/Facepunch/Facepunch.Steamworks/master/Facepunch.Steamworks/Interop/Native.cs:107)
Facepunch.Steamworks.Interop.NativeInterface.InitClient (Facepunch.Steamworks.BaseSteamworks steamworks) (at l:/workspace/Facepunch/Facepunch.Steamworks/master/Facepunch.Steamworks/Interop/Native.cs:55)
Facepunch.Steamworks.Client..ctor (UInt32 appId) (at l:/workspace/Facepunch/Facepunch.Steamworks/master/Facepunch.Steamworks/Client.cs:79)
ArcenGameController.Start () (at C:/vcprojs/arcengames_aiw_ultra/AIW2Unity/Assets/ArcenCode/ArcenGameController.cs:40)

2) Placing libsteamapi.so in AI War 2/AIWar2Linux_Data/Plugins does not resolve the 32 bit failure, albeit with a different error message:

Code: [Select]
(Filename: C Line: 0)

Couldn't init Steam - is Steam running? Do you own AI War 2 2? Is steam_appid.txt in your project folder?
UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:Log(Object)
ArcenGameController:Start() (at C:\vcprojs\arcengames_aiw_ultra\AIW2Unity\Assets\ArcenCode\ArcenGameController.cs:46)

3) and 4) have same result as 2.

...Um, I didn't need to extracy/copy libsteam_api.dylib or the .dlls, did I? Placing the former in AIW2 root didn't fix #1 at least.

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: Latest Linux Build of the game ist broken
« Reply #6 on: March 20, 2018, 12:13:22 pm »
Wonderful news, thank you!

One last request:

5. If you unpack the .so files into the root folder, in that fashion that did work for the 64bit build, does the game see you as logged in when you launch the 32bit build via steam?  You may need to set up a custom shortcut to that file via steam to do that (add external game or somesuch).
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline BadgerBadger

  • Arcen Volunteer
  • Hero Member Mark III
  • *****
  • Posts: 1,229
  • BadgerBadgerBadgerBadger
Re: Latest Linux Build of the game ist broken
« Reply #7 on: March 20, 2018, 09:17:45 pm »
Here's a fun detail I notice. The presence or absence of the errors DLLNotFound errors I see consistently seems determined by my working directory when I invoke the program via the CLI. If I put my working directory in ~/ then I get the error. If I cd to ~/AIWar2 and then invoke the binary I don't get the error. It looks like we're doing something not very clever when we are looking for the libraries.

Offline Histidine

  • Hero Member
  • *****
  • Posts: 581
Re: Latest Linux Build of the game ist broken
« Reply #8 on: March 21, 2018, 07:18:27 am »
Using a validated install of 0.714 (not cleanly reinstalled, but I did delete libsteam_api.so and let Steam re-fetch it):

Running 32 bit from terminal (working directory same as AIW2 root directory) gives the same error as my test #1 in previous post

Adding 32 bit executable as non-Steam game and running that from Steam gives same error as test #2

Renaming AIWar2Linux.x86 to AIWar2Linux.x86_64 and running that through my "real" AI War 2 library entry in Steam gives same error as #1

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: Latest Linux Build of the game ist broken
« Reply #9 on: March 21, 2018, 09:25:02 am »
@Badger: unfortunately, we don't get to choose where it looks for the dlls, that's handled by Steam's hooks in some way.

@Histidine: AIWar2Linux.x86_64 is something you should already have.  Is that not downloading?  Is your system 32bit or 64bit?
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline Histidine

  • Hero Member
  • *****
  • Posts: 581
Re: Latest Linux Build of the game ist broken
« Reply #10 on: March 22, 2018, 06:22:18 am »
@Histidine: AIWar2Linux.x86_64 is something you should already have.  Is that not downloading?  Is your system 32bit or 64bit?
64 bit system.
To clarify: The 64 bit executable indeed exists, I just temporarily replaced it as part of an unusual approach for launching the 32 bit version from Steam (as per your thing to test #5).

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: Latest Linux Build of the game ist broken
« Reply #11 on: March 22, 2018, 08:50:16 am »
Got it -- thanks!  Can you actually delete your linux-specific files (AIWarLinux_Data and the files directly in the root folder) and have steam re-download those via a verify local files option in the steam interface?  We made some changes, among them going 64-bit only (unrelated to your issue), and I'd like to see if the problem has resolved itself now, or what's happening.
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline Histidine

  • Hero Member
  • *****
  • Posts: 581
Re: Latest Linux Build of the game ist broken
« Reply #12 on: March 23, 2018, 07:35:04 am »
Ah, you removed the 32 bit version? There aren't any further fail-to-start problems that I've observed; all the issues I observed since .711 + patched libraries were with 32 bit.

To be sure, I reinstalled the game (0.715) and ran both from Steam and terminal; in both cases it got to main menu and correctly showed the logged-in-to-Steam message.

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: Latest Linux Build of the game ist broken
« Reply #13 on: March 23, 2018, 09:26:40 am »
Excellent!  That's great news.

And yep, the 32bit thing was a problem unrelated to this, although happily it also solves this.

For more info: https://wiki.arcengames.com/index.php?title=AI_War_2:_Final_Pre-Beta_Checks#64bit_Only.2C_Here_We_Come
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: Latest Linux Build of the game ist broken
« Reply #14 on: March 23, 2018, 09:27:56 am »
@Histidine: What distro are you on, just for my own records?
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

 

SMF spam blocked by CleanTalk