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
The demo segfaults on my machine
famicube64 Offline
Junior Member

Posts: 5
Threads: 1
Joined: Aug 2011
Reputation: 0
#1
Solved: 8 Years, 1 Month ago The demo segfaults on my machine

I'm running 64-bit Arch Linux and I've installed the demo to my home folder (after I had the same problems in /opt). Launching it as root or normal user lets me change the graphics settings and gets through the part where it tells you to wear headphones and play at night, but then it segfaults before it reaches the profile screen. Anyone had this problem before? Sound works good so I don't think it's PulseAudio related.

Edit: I'm using the onboard Intel HD 3000 graphics, by the way. The game runs great in Windows 7 with it.
(This post was last modified: 08-19-2011, 06:58 PM by famicube64.)
08-19-2011, 06:45 PM
Find
Urkle Offline
FG - Associate

Posts: 1,172
Threads: 31
Joined: Jul 2006
Reputation: 21
#2
Solved: 8 Years, 1 Month ago RE: The demo segfaults on my machine

Can you look at your hpl.log file? My guess is that it's bombing out when it finds that it can't do S3TC (Texture compression support). Which the opensource drivers do not support as S3TC is patented.

http://dri.freedesktop.org/wiki/S3TC


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
08-19-2011, 10:49 PM
Website Find
famicube64 Offline
Junior Member

Posts: 5
Threads: 1
Joined: Aug 2011
Reputation: 0
#3
Solved: 8 Years, 1 Month ago RE: The demo segfaults on my machine

Here's my hpl.log.

Spoiler below!
Version 1.10
-------- THE HPL ENGINE LOG ------------
Engine build ID 20100930233931

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: 1024x768 bpp:32 fs:0 ms:0 gpufmt:2 cap:'Amnesia - The Dark Descent - Loading...' pos:(-1x-1)
Setting video mode: 1024 x 768 - 32 bpp
Init Glew...OK
Setting up OpenGL
  Vendor: Tungsten Graphics, Inc
  Renderer: Mesa DRI Intel(R) Sandybridge Desktop
  Version: 2.1 Mesa 7.11
  Max texture image units: 16
  Max texture coord units: 8
  Max user clip planes: 6
  Two sided stencil: 1
  Vertex Buffer Object: 1
  Anisotropic filtering: 1
  Max Anisotropic degree: 16
  Multisampling: 1
  Texture compression: 1
  Texture compression S3TC: 0
  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: 1.20
  ShaderModel 2: 1
  ShaderModel 3: 1
  ShaderModel 4: 0
  OGL ATIFragmentShader: 0
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 Default(OpenAL default)
   1. Internal Audio Analog Stereo via PulseAudio
   2. ALSA Default
   3. HDA Intel PCH [ALC892 Analog] (hw:0,0) via ALSA
   4. HDA Intel PCH [ALC892 Digital] (hw:0,1) via ALSA
   5. HDA Intel PCH [HDMI 0] (hw:0,3) via ALSA
   6. No Output
  Trying to open device 'PulseAudio Default'... 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
--------------------------------------------------------
- DEMO VERSION -
ERROR: Could not create GL texture hud_hurt_noise00.dds
ERROR: Could not load texture 'hud_hurt_noise00.dds'!
ERROR: Could not create GL texture hud_hurt_noise01.dds
ERROR: Could not load texture 'hud_hurt_noise01.dds'!
ERROR: Could not create GL texture hud_hurt_noise02.dds
ERROR: Could not load texture 'hud_hurt_noise02.dds'!
ERROR: Could not create GL texture hud_hurt_noise03.dds
ERROR: Could not load texture 'hud_hurt_noise03.dds'!
ERROR: Could not create GL texture hud_hurt_noise04.dds
ERROR: Could not load texture 'hud_hurt_noise04.dds'!
ERROR: Could not create GL texture hud_hurt_noise05.dds
ERROR: Could not load texture 'hud_hurt_noise05.dds'!
ERROR: Could not create GL texture hud_hurt_noise06.dds
ERROR: Could not load texture 'hud_hurt_noise06.dds'!
ERROR: Could not create GL texture hud_hurt_noise07.dds
ERROR: Could not load texture 'hud_hurt_noise07.dds'!
--------------------------------------------------------

Game Running
--------------------------------------------------------
-------- Loading map 'menu_bg.map' ---------
ERROR: Could not create GL texture E:/lux/redist/static_objects/dungeonbase/dungeonbase.dds
ERROR: Couldn't load material 'static_objects/castlebase/dungeonbase.mat'
ERROR: Could not create GL texture /home/tyler/AmnesiaDemo/static_objects/castlebase/wall/castlebase_wall_extension.dds
ERROR: Couldn't load material 'static_objects/castlebase/wall/castlebase_wall_extension.mat'
ERROR: Could not create GL texture G:/amnesia/redist/static_objects/dungeonbase/special/menu_wall.dds
ERROR: Couldn't load material 'static_objects/castlebase/menu_wall.mat'
ERROR: Could not create GL texture E:/lux/redist/static_objects/dungeonbase/floor/cobbled_stone.dds
ERROR: Couldn't load material 'G:/amnesia/redist/static_objects/dungeonbase/floor/cobbled_stone.mat'
ERROR: Could not create GL texture /home/tyler/AmnesiaDemo/static_objects/castlebase/dungeonbase_floor.dds
ERROR: Couldn't load material 'G:/amnesia/redist/static_objects/dungeonbase/dungeonbase_floor.mat'
ERROR: Could not create GL texture G:/amnesia/redist/static_objects/decals/trail_floor.dds
ERROR: Couldn't load material 'static_objects/decals/trail_floor_additive.mat'
ERROR: Could not create GL texture G:/amnesia/redist/static_objects/decals/trail_floor.dds
ERROR: Couldn't load material 'static_objects/decals/trail_floor_additive.mat'
ERROR: Could not create GL texture C:/Users/Skywolf/Desktop/FrictionalGames09-2008/frictionalSVN/lux/redist/static_objects/decals/dirt_stain_large.dds
ERROR: Couldn't load material 'textures/decals/dirt_stain_large.mat'
ERROR: Could not create GL texture E:/lux/redist/static_objects/tunnelbase/special/tunnel.dds
ERROR: Couldn't load material 'static_objects/castlebase/tunnel.mat'
ERROR: Could not create GL texture E:/lux/redist/static_objects/dungeonbase/dungeonbase.dds
ERROR: Couldn't load material 'static_objects/castlebase/dungeonbase.mat'
ERROR: Could not create GL texture /home/tyler/AmnesiaDemo/static_objects/castlebase/menu_wall_iron_bars.dds
ERROR: Couldn't load material 'static_objects/castlebase/menu_wall_iron_bars.mat'
ERROR: Could not create GL texture /home/tyler/AmnesiaDemo/static_objects/castlebase/wall/castlebase_wall_extension.dds
ERROR: Couldn't load material 'static_objects/castlebase/wall/castlebase_wall_extension.mat'
ERROR: Could not create GL texture G:/amnesia/redist/static_objects/dungeonbase/special/menu_wall.dds
ERROR: Couldn't load material 'static_objects/castlebase/menu_wall.mat'
ERROR: Could not create GL texture E:/lux/redist/particles/materials/ps_rose_petal.dds
ERROR: Couldn't load material 'static_objects/decals/rose_petals.mat'
ERROR: Could not create GL texture /home/tyler/AmnesiaDemo/static_objects/cellarbase/cellarbase_details.dds
ERROR: Couldn't load material 'static_objects/cellarbase/stairs/cellarbase_details.mat'
ERROR: Could not create GL texture F:/Amnesia/redist/static_objects/decals/dirt_floor03.dds
ERROR: Couldn't load material 'static_objects/decals/dirt_floor03.mat'
ERROR: Could not create GL texture /home/tyler/AmnesiaDemo/static_objects/decals/dirt_floor02.dds
ERROR: Couldn't load material 'static_objects/decals/dirt_floor02.mat'
ERROR: Could not create GL texture E:/lux/redist/static_objects/dungeonbase/dungeonbase.dds
ERROR: Couldn't load material 'static_objects/castlebase/dungeonbase.mat'
ERROR: Could not create GL texture /home/tyler/AmnesiaDemo/static_objects/castlebase/wall/castlebase_wall_extension.dds
ERROR: Couldn't load material 'static_objects/castlebase/wall/castlebase_wall_extension.mat'
ERROR: Could not create GL texture G:/amnesia/redist/static_objects/dungeonbase/special/menu_wall.dds
ERROR: Couldn't load material 'static_objects/castlebase/menu_wall.mat'
ERROR: Could not create GL texture E:/lux/redist/static_objects/dungeonbase/floor/cobbled_stone.dds
ERROR: Couldn't load material 'G:/amnesia/redist/static_objects/dungeonbase/floor/cobbled_stone.mat'
ERROR: Could not create GL texture /home/tyler/AmnesiaDemo/static_objects/technical/plane_black/plane_black.dds
ERROR: Couldn't load material 'G:/amnesia/redist/static_objects/technical/plane_black/plane_black.mat'
ERROR: Could not create GL texture E:/lux/redist/static_objects/dungeonbase/dungeonbase.dds
ERROR: Couldn't load material 'static_objects/castlebase/dungeonbase.mat'
ERROR: Could not create GL texture /home/tyler/AmnesiaDemo/static_objects/castlebase/wall/castlebase_wall_extension.dds
ERROR: Couldn't load material 'static_objects/castlebase/wall/castlebase_wall_extension.mat'
ERROR: Could not create GL texture G:/amnesia/redist/static_objects/dungeonbase/special/menu_wall.dds
ERROR: Couldn't load material 'static_objects/castlebase/menu_wall.mat'
ERROR: Could not create GL texture /home/tyler/AmnesiaDemo/static_objects/cellarbase/cellarbase_details.dds
ERROR: Couldn't load material 'static_objects/cellarbase/stairs/cellarbase_details.mat'
ERROR: Could not create GL texture F:/Amnesia/redist/static_objects/decals/dirt_floor03.dds
ERROR: Couldn't load material 'static_objects/decals/dirt_floor03.mat'
ERROR: Could not create GL texture /home/tyler/AmnesiaDemo/static_objects/decals/dirt_floor02.dds
ERROR: Couldn't load material 'static_objects/decals/dirt_floor02.mat'
    Cache Loading: 629 ms
ERROR: Could not create GL texture E:/lux/redist/entities/lamp/torch_static01/torch_static01.dds
ERROR: Couldn't load material 'entities/lamp/torch_static01/torch_static01.mat'
ERROR: Could not create GL texture /home/tyler/AmnesiaDemo/particles/materials/ps_torch_fire.dds
ERROR: Couldn't load material 'particles/materials/ps_torch_fire.mat'
ERROR: Could not create GL texture /home/tyler/AmnesiaDemo/billboards/halo_torch.dds
ERROR: Couldn't load material 'billboards/halo_torch.mat'
ERROR: Could not create GL texture E:/lux/redist/entities/lamp/torch_static01/torch_static01.dds
ERROR: Couldn't load material 'entities/ornament/torchholder_empty/torch_static01.mat'
ERROR: Could not create GL texture /home/tyler/AmnesiaDemo/billboards/bb_lightyellow_lightray.dds
ERROR: Couldn't load material 'G:/amnesia/redist/billboards/bb_lightyellow_lightray.mat'
ERROR: Could not create GL texture /home/tyler/AmnesiaDemo/entities/bottle/amnesia/key_jar_details.dds
ERROR: Couldn't load material 'entities/bottle/amnesia/key_jar_details.mat'
ERROR: Could not create GL texture G:/amnesia/redist/entities/bottle/amnesia/amnesia_bottle_menu.dds
ERROR: Couldn't load material 'entities/bottle/amnesia/amnesia_bottle_menu.mat'
  Entities: 55 ms
  Compilation: 1 ms
  Total: 689 ms
  Meshes created: 28
  Bodies created: 5
-------- Loading complete ---------

08-19-2011, 11:05 PM
Find
Urkle Offline
FG - Associate

Posts: 1,172
Threads: 31
Joined: Jul 2006
Reputation: 21
#4
Solved: 8 Years, 1 Month ago RE: The demo segfaults on my machine

Yup, it's the S3TC.. You *may* be able to play the game if you install the libtxn_dxtc library on your system. Check with your distribution to see if there is a pre-packaged version provided or directions on compiling it from source.

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
08-20-2011, 04:56 PM
Website Find
famicube64 Offline
Junior Member

Posts: 5
Threads: 1
Joined: Aug 2011
Reputation: 0
#5
Solved: 8 Years, 1 Month ago Tongue  RE: The demo segfaults on my machine

Well, that fixed it. But now I get ~5 FPS on every level of detail. Oh well, this is what Windows is for. Tongue

Thanks.
08-20-2011, 05:34 PM
Find
Urkle Offline
FG - Associate

Posts: 1,172
Threads: 31
Joined: Jul 2006
Reputation: 21
#6
Solved: 8 Years, 1 Month ago RE: The demo segfaults on my machine

that sounds like you are running through the software renderer and not your graphics card.

post the output of glxinfo

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
08-20-2011, 07:40 PM
Website Find
famicube64 Offline
Junior Member

Posts: 5
Threads: 1
Joined: Aug 2011
Reputation: 0
#7
Solved: 8 Years, 1 Month ago RE: The demo segfaults on my machine

http://pastebin.com/8A6C84eZ
08-20-2011, 09:17 PM
Find
Urkle Offline
FG - Associate

Posts: 1,172
Threads: 31
Joined: Jul 2006
Reputation: 21
#8
Solved: 8 Years, 1 Month ago RE: The demo segfaults on my machine

Hmm.. odd.. Do you have something like compiz running or gnome 3? have you tried other 3d games in linux?

In reality the Intel graphics cards are just plain not they good. (officially Amnesia does not support them). Using an Nvidia or ATI card will give you a much better experience because the cards support more functionality and the drivers provided by nvidia and ati work much better.

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
08-20-2011, 09:29 PM
Website Find
famicube64 Offline
Junior Member

Posts: 5
Threads: 1
Joined: Aug 2011
Reputation: 0
#9
Solved: 8 Years, 1 Month ago RE: The demo segfaults on my machine

I'm using GNOME 3 but in fallback mode. I'll try running Cogs and see if that works. I'm surprised Amnesia works at all, actually. I've not had much luck with open source video drivers of any kind.

Edit: Cogs wouldn't install but Nexuiz runs at 50 FPS.
(This post was last modified: 08-20-2011, 10:58 PM by famicube64.)
08-20-2011, 09:34 PM
Find




Users browsing this thread: 2 Guest(s)