Tanshaydar
From Beyond
Posts: 3,085
Threads: 17
Joined: Mar 2009
Reputation:
67
|
Custom Story crash on Linux
Hi;
I have OpenSUSE 11.4 x64 with fglrx 11.9 installed on it. I can play Amnesia pretty much fine even with higher performance than Windows.
However, my custom story always crashes on one specific map load. No error box, just CTD.
Here's the log:
Version 1.20 - s4CC6EF9F-539
-------- THE HPL ENGINE LOG ------------
Engine build ID 20110513114747
Creating Engine Modules
--------------------------------------------------------
Creating graphics module
Creating system module
Creating resource module
Creating input module
Creating sound module
Creating physics module
Creating ai module
Creating gui module
Creating generate module
Creating haptic module
Creating scene module
--------------------------------------------------------
Initializing Resources Module
--------------------------------------------------------
Creating loader handlers
Creating resource managers
Adding loaders to handlers
--------------------------------------------------------
Initializing Graphics Module
--------------------------------------------------------
Init lowlevel graphics: 1366x768 bpp:32 fs:1 ms:0 gpufmt:2 cap:'White Night - An Amnesia: The Dark Descent Mod Loading...' pos:(-1x-1)
Setting video mode: 1366 x 768 - 32 bpp
Init Glew...OK
Setting up OpenGL
Vendor: ATI Technologies Inc.
Renderer: ATI Mobility Radeon HD 4500 Series
Version: 3.3.11079 Compatibility Profile Context
Max texture image units: 16
Max texture coord units: 16
Max user clip planes: 8
Two sided stencil: 1
Vertex Buffer Object: 1
Anisotropic filtering: 1
Max Anisotropic degree: 16
Multisampling: 1
Texture compression: 1
Texture compression S3TC: 1
Auto generate MipMaps: 1
Render to texture: 1
Max draw buffers: 8
Max color render targets: 8
Packed depth-stencil: 1
Texture float: 1
GLSL Version: 3.30
ShaderModel 2: 1
ShaderModel 3: 1
ShaderModel 4: 1
OGL ATIFragmentShader: 1
Setting up G-Bugger: type: 0 texturenum: 3
Adding engine materials
Initializing DevIL
Vendor String: Abysmal Software
Version String: Developer's Image Library (DevIL) 1.6.8pre Aug 5 2010
Version Number: 168
Adding engine post effects
--------------------------------------------------------
Initializing Sound Module
--------------------------------------------------------
Initializing OpenAL
Available OpenAL devices:
0. PulseAudio Software(OpenAL default)
1. ALSA Software on default
2. ALSA Software on HDA ATI SB [ALC888 Analog] (hw:0,0)
3. ALSA Software on HDA ATI SB [ALC888 Digital] (hw:0,1)
4. ALSA Software on HDA ATI HDMI [HDMI 0] (hw:1,3)
5. OSS Software
Trying to open device 'PulseAudio Software'... Success!
Number of mono sources: 32
Streaming setup: 4 Buffers x 262144 bytes each
--------------------------------------------------------
Initializing Game Module
--------------------------------------------------------
Adding engine updates
Initializing script functions
--------------------------------------------------------
User Initialization
--------------------------------------------------------
--------------------------------------------------------
Game Running
--------------------------------------------------------
-------- Loading map 'white_night_bg.map' ---------
ERROR: Could not open binary file '/usr/games/Amnesia/main_menu/main/white_night_bg.map_cache'
ERROR: Could not map cache file '/usr/games/Amnesia/main_menu/main/white_night_bg.map'. MeshEntity Loading: 3467 ms
Primitive Loading: 323 ms
Decal Loading: 7 ms
Object Combining: 0 ms
Compilation: 53 ms
Combining: 1443 ms
Sorting: 241 ms
Meshes: 49 ms
Bodies: 1153 ms
Static Objects: 5296 ms
Entities: 539 ms
Compilation: 5 ms
Total: 5972 ms
Meshes created: 96
Bodies created: 33
-------- Loading complete ---------
Setting profile: 'Tansel' Path: '/home/tansel/.frictionalgames/Amnesia/White_night/Tansel/'
-------- Loading map '03_hospital.map' ---------
ERROR: Could not open binary file '/usr/games/Amnesia/maps/white_night/03_hospital.map_cache'
ERROR: Could not map cache file '/usr/games/Amnesia/maps/white_night/03_hospital.map'. MeshEntity Loading: 2564 ms
Primitive Loading: 2143 ms
Decal Loading: 570 ms
Object Combining: 0 ms
Compilation: 275 ms
Combining: 1767 ms
Sorting: 241 ms
Meshes: 55 ms
Bodies: 1471 ms
Static Objects: 7347 ms
WARNING: Texture 'D:/Amnesia - The Dark Descent/redist/lights/pre_01.jpg' does not have a pow2 size!
WARNING: Texture 'D:/Amnesia - The Dark Descent/redist/lights/pre_02.jpg' does not have a pow2 size!
WARNING: Texture 'D:/Amnesia - The Dark Descent/redist/lights/pre_03.jpg' does not have a pow2 size!
WARNING: Texture 'D:/Amnesia - The Dark Descent/redist/lights/pre_04.jpg' does not have a pow2 size!
WARNING: Texture 'D:/Amnesia - The Dark Descent/redist/lights/pre_05.jpg' does not have a pow2 size!
WARNING: Texture 'D:/Amnesia - The Dark Descent/redist/lights/pre_06.jpg' does not have a pow2 size!
WARNING: Sub mesh 'Servant_Brute1' does not exist in mesh 'enemy_suitor.msh'!
WARNING: Sub mesh 'character_infected_alpha' does not exist in mesh 'character_infected_alpha_idle.msh'!
WARNING: Sub mesh 'character_infected_alpha' does not exist in mesh 'character_infected_alpha_idle.msh'!
Entities: 8730 ms
Compilation: 63 ms
Total: 16403 ms
Meshes created: 580
Bodies created: 273
-------- Loading complete ---------
Rebuilding node connections and saving to '/usr/games/Amnesia/maps/white_night/03_hospital_enemy_suitor.nodes'
Rebuilding node connections and saving to '/usr/games/Amnesia/maps/white_night/03_hospital_character_infected_alpha.nodes'
Do I need to know any specific info about Linux build of the game? On windows, it works alright, and previous builds of the custom story worked fine in past :/
(This post was last modified: 10-11-2011, 07:17 AM by Tanshaydar.)
|
|
10-11-2011, 06:01 AM |
|
jens
Frictional Games
Posts: 4,093
Threads: 199
Joined: Apr 2006
Reputation:
202
|
RE: Custom Story crash on Linux
It could be this
WARNING: Texture 'D:/Amnesia - The Dark Descent/redist/lights/pre_03.jpg' does not have a pow2 size!
You should fix it regardless as some cards and drivers can not deal with non pow2 size. Make sure the textures are correct, such as 256*256 or 1024*512 etc
|
|
10-11-2011, 06:26 AM |
|
Tanshaydar
From Beyond
Posts: 3,085
Threads: 17
Joined: Mar 2009
Reputation:
67
|
RE: Custom Story crash on Linux
Since it was working on Windows and different computers didn't complain on it, I thought it might not have anything to do with that; but I'll try.
|
|
10-11-2011, 06:29 AM |
|
jens
Frictional Games
Posts: 4,093
Threads: 199
Joined: Apr 2006
Reputation:
202
|
RE: Custom Story crash on Linux
Also these might indicate some read/write permission problem:
ERROR: Could not open binary file '/usr/games/Amnesia/maps/white_night/*'
ERROR: Could not map cache file '/usr/games/Amnesia/maps/white_night/*'
Fix the pow2 first and if there still is a problem try manually setting permission on the whole amnesia folder to make sure your user can read/write properly.
|
|
10-11-2011, 06:32 AM |
|
Tanshaydar
From Beyond
Posts: 3,085
Threads: 17
Joined: Mar 2009
Reputation:
67
|
RE: Custom Story crash on Linux
Nope, that wasn't the problem. Though I took the time and corrected it
I don't think it has anything to do with caching because first maps run pretty much fine. I already own the folders for read&write permissions. Still, when it comes to "Rebuilding node connections and saving" it crashes to desktop.
Alright, I solved the problem. It had nothing to do with the game or custom story. Something in the system caused conflict. But thanks to Jens I took the time to correct pow sizes
(This post was last modified: 10-11-2011, 07:18 AM by Tanshaydar.)
|
|
10-11-2011, 06:55 AM |
|
Your Computer
SCAN ME!
Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation:
235
|
RE: Custom Story crash on Linux
I use Linux too. I could try to debug it for you there.
Nodes don't crash the game (at least they've never crashed it for me).
(This post was last modified: 10-11-2011, 07:17 AM by Your Computer.)
|
|
10-11-2011, 07:17 AM |
|
Tanshaydar
From Beyond
Posts: 3,085
Threads: 17
Joined: Mar 2009
Reputation:
67
|
RE: Custom Story crash on Linux
It had to do with a system conflict. But it runs fine now. For me, Linux version has slightly better performance.
BTW, saves were cross-platform, weren't they?
|
|
10-11-2011, 07:41 AM |
|
jens
Frictional Games
Posts: 4,093
Threads: 199
Joined: Apr 2006
Reputation:
202
|
RE: Custom Story crash on Linux
Yes, as far as I know saves should work fine on any platform from any platform.
|
|
10-11-2011, 10:06 AM |
|
Urkle
FG - Associate
Posts: 1,172
Threads: 31
Joined: Jul 2006
Reputation:
21
|
RE: Custom Story crash on Linux
What exactly was the system conflict?
Developing away on one of
Multiple Macs running 10.6, 10.7, 10.8, and 10.9.
Linux, 8-core AMD, 8GB RAM, Fedora 18, nVidia 450 1GB
|
|
10-11-2011, 02:01 PM |
|
Tanshaydar
From Beyond
Posts: 3,085
Threads: 17
Joined: Mar 2009
Reputation:
67
|
RE: Custom Story crash on Linux
User error, bad symlink I created :/
|
|
10-11-2011, 03:51 PM |
|
|