Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Amnesia (Full) - crashes at startup
sasa Offline
Junior Member

Posts: 1
Threads: 1
Joined: Sep 2010
Reputation: 0
#1
Solved: 8 Years, 9 Months ago Amnesia (Full) - crashes at startup

I have two computers, one with Radeon HD4670 (Fedora Rawhide 64-bit, r600 driver, I don't want to use frglx unless necessary), other with Intel 945GM (Ubuntu 10.4 32-bit - I know that I won't get a decent perfomance on that), but the game crashes on both computers on startup. I had compositing switched off.

This is the stacktrace (from the Intel machine) - maybe missing OpenGL features?:

#0 0x00000000 in ?? ()
#1 0x085b4a64 in hpl::cGLSLShader::cGLSLShader(std:Confusedtring const&, hpl::eGpuShaderType, hpl::iLowLevelGraphics*) ()
#2 0x085b17f7 in hpl::cLowLevelGraphicsSDL::CreateGpuShader(std:Confusedtring const&, hpl::eGpuShaderType) ()
#3 0x084ef8d6 in hpl::cGpuShaderManager::IsShaderSupported(std:Confusedtring const&, hpl::eGpuShaderType) ()
#4 0x084f0a2c in hpl::cGpuShaderManager::CheckFeatureSupport() ()
#5 0x08447530 in hpl::cGraphics::Init(int, int, int, int, int, hpl::eGpuProgramFormat, std:Confusedtring const&, hpl::cVector2<int> const&, hpl::cResources*, unsigned int) ()
#6 0x0855a1ba in hpl::cEngine::GameInit(hpl::iLowLevelEngineSetup*, unsigned int, hpl::cEngineInitVars*) ()
#7 0x0855be39 in hpl::cEngine::cEngine(hpl::iLowLevelEngineSetup*, unsigned int, hpl::cEngineInitVars*) ()
#8 0x0855c12c in hpl::CreateHPLEngine(hpl::eHplAPI, unsigned int, hpl::cEngineInitVars*) ()
#9 0x083f85b7 in cLuxBase::InitEngine() ()
#10 0x084068eb in cLuxBase::Init(std:Confusedtring const& ) ()
#11 0x082b1273 in hplMain(std:Confusedtring const& ) ()
#12 0x0854496d in main ()

The stacktrace from the Fedora box is:

Program received signal SIGSEGV, Segmentation fault.
ir_to_mesa_visitor::visit (this=0x7fffffffd820, ir=0x2246ba0) at program/ir_to_mesa.cpp:1596
1596 if (strncmp(var->name, "gl_", 3) == 0 && var->mode == ir_var_uniform &&
#0 ir_to_mesa_visitor::visit (this=0x7fffffffd820, ir=0x2246ba0) at program/ir_to_mesa.cpp:1596
#1 0x00007ffff098d824 in ir_to_mesa_visitor::visit (this=0x7fffffffd820, ir=0x2246c30) at program/ir_to_mesa.cpp:988
#2 0x00007ffff098e29f in ir_to_mesa_visitor::try_emit_mad (this=0x7fffffffd820, ir=0x2246df0, mul_operand=<value optimized out> ) at program/ir_to_mesa.cpp:663
#3 0x00007ffff098fda7 in ir_to_mesa_visitor::visit (this=0x7fffffffd820, ir=0x2246df0) at program/ir_to_mesa.cpp:711
#4 0x00007ffff098f0ef in ir_to_mesa_visitor::visit (this=0x7fffffffd820, ir=0x224b6e0) at program/ir_to_mesa.cpp:2006
#5 0x00007ffff098d824 in ir_to_mesa_visitor::visit (this=0x7fffffffd820, ir=0x2247180) at program/ir_to_mesa.cpp:988
#6 0x00007ffff098e29f in ir_to_mesa_visitor::try_emit_mad (this=0x7fffffffd820, ir=0x2247990, mul_operand=<value optimized out> ) at program/ir_to_mesa.cpp:663
#7 0x00007ffff098fda7 in ir_to_mesa_visitor::visit (this=0x7fffffffd820, ir=0x2247990) at program/ir_to_mesa.cpp:711
#8 0x00007ffff098ed4f in ir_to_mesa_visitor::visit (this=0x7fffffffd820, ir=0x2247a30) at program/ir_to_mesa.cpp:1709
#9 0x00007ffff09ae545 in visit_exec_list (list=<value optimized out>, visitor=0x7fffffffd820) at ir.cpp:1038
#10 0x00007ffff098e45e in ir_to_mesa_visitor::visit (this=0x7fffffffd820, ir=0x2245c30) at program/ir_to_mesa.cpp:606
#11 0x00007ffff098da38 in ir_to_mesa_visitor::visit (this=0x7fffffffd820, ir=<value optimized out> ) at program/ir_to_mesa.cpp:648
#12 0x00007ffff09ae545 in visit_exec_list (list=<value optimized out>, visitor=0x7fffffffd820) at ir.cpp:1038
#13 0x00007ffff099195d in get_mesa_program (ctx=0x11cd430, shader_program=0x21c5fa0, shader=0x2204cf0) at program/ir_to_mesa.cpp:2475
#14 0x00007ffff0992264 in _mesa_ir_link_shader (ctx=0x11cd430, prog=0x21c5fa0) at program/ir_to_mesa.cpp:2642
#15 0x00007ffff0992659 in _mesa_glsl_link_shader (ctx=0x11cd430, prog=0x21c5fa0) at program/ir_to_mesa.cpp:2778
#16 0x0000000000994dc0 in hpl::cGLSLProgram::Link() ()
#17 0x00000000008147f2 in hpl::cGraphics::CreateGpuProgramFromShaders(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, hpl::cParserVarContainer*) ()
#18 0x0000000000818db6 in hpl::cPostEffectType_Bloom::cPostEffectType_Bloom(hpl::cGraphics*, hpl::cResources*) ()
#19 0x0000000000815105 in hpl::cGraphics::Init(int, int, int, int, int, hpl::eGpuProgramFormat, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, hpl::cVector2<int> const&, hpl::cResources*, unsigned int) ()
#20 0x0000000000925b44 in hpl::cEngine::GameInit(hpl::iLowLevelEngineSetup*, unsigned int, hpl::cEngineInitVars*) ()
#21 0x00000000009274a2 in hpl::cEngine::cEngine(hpl::iLowLevelEngineSetup*, unsigned int, hpl::cEngineInitVars*) ()
#22 0x000000000092776b in hpl::CreateHPLEngine(hpl::eHplAPI, unsigned int, hpl::cEngineInitVars*) ()
#23 0x00000000007c7725 in cLuxBase::InitEngine() ()
#24 0x00000000007d534f in cLuxBase::Init(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const& ) ()
#25 0x00000000006880d0 in hplMain(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const& ) ()
#26 0x0000000000910aa9 in main ()

Do you have any ideas what I can do?
glxinfo from the Fedora box (just interesting parts):

name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:
GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_texture_from_pixmap,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,
GLX_OML_swap_method, GLX_SGI_make_current_read, GLX_SGI_swap_control,
GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
GLX_SGIX_visual_select_group, GLX_INTEL_swap_event
client glx vendor string: Mesa Project and SGI
client glx version string: 1.4
client glx extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,
GLX_MESA_swap_control, GLX_OML_swap_method, GLX_OML_sync_control,
GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGI_video_sync,
GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
GLX_SGIX_visual_select_group, GLX_EXT_texture_from_pixmap,
GLX_INTEL_swap_event
GLX version: 1.4
GLX extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,
GLX_MESA_swap_control, GLX_OML_swap_method, GLX_OML_sync_control,
GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGI_video_sync,
GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
GLX_SGIX_visual_select_group, GLX_EXT_texture_from_pixmap,
GLX_INTEL_swap_event
OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: Mesa DRI R600 (RS880 9710) 20090101 TCL DRI2
OpenGL version string: 2.1 Mesa 7.9-devel
OpenGL shading language version string: 1.20

It is the current rawhide.
(This post was last modified: 09-28-2010, 09:28 PM by sasa.)
09-28-2010, 09:26 PM
Find
jens Offline
Frictional Games

Posts: 4,093
Threads: 199
Joined: Apr 2006
Reputation: 202
#2
Solved: 8 Years, 9 Months ago RE: Amnesia (Full) - crashes at startup

The Intel box is not capable of running the game, and the ATI box needs the proprietary drivers as far as I know to work.
09-29-2010, 06:33 AM
Website Find
Oblidor Offline
Junior Member

Posts: 23
Threads: 2
Joined: Sep 2010
Reputation: 0
#3
Solved: 8 Years, 9 Months ago RE: Amnesia (Full) - crashes at startup

(09-28-2010, 09:26 PM)sasa Wrote: I have two computers, one with Radeon HD4670 (Fedora Rawhide 64-bit, r600 driver, I don't want to use frglx unless necessary), other with Intel 945GM (Ubuntu 10.4 32-bit - I know that I won't get a decent perfomance on that), but the game crashes on both computers on startup. I had compositing switched off.

You have to use fglrx. The open source driver is not (yet) capable of 3D accelerations needed.

One more thing; the 64-bit binaries have a problem with crashes, but Urkle has solved it so I expect a patch will be released shortly.
10-01-2010, 07:50 AM
Find




Users browsing this thread: 2 Guest(s)