Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support | Shelf | Store

Privacy Policy


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
The demo segfaults on my machine
Author Message
famicube64 Offline
Junior Member

Posts: 5
Joined: Aug 2011
Reputation: 0
Post: #1
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 all posts by this user Quote this message in a reply
Urkle Offline
FG - Associate

Posts: 1,101
Joined: Jul 2006
Reputation: 14
Post: #2
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
Mac Pro Dual 2Ghz, 7GB RAM, Snow Leopard, nVidia 8800 512MB.
Linux, 3-core AMD, 4GB RAM, Fedora 16, nVidia 450 1GB
08-19-2011 10:49 PM
Visit this user's website Find all posts by this user Quote this message in a reply
famicube64 Offline
Junior Member

Posts: 5
Joined: Aug 2011
Reputation: 0
Post: #3
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 all posts by this user Quote this message in a reply
Urkle Offline
FG - Associate

Posts: 1,101
Joined: Jul 2006
Reputation: 14
Post: #4
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
Mac Pro Dual 2Ghz, 7GB RAM, Snow Leopard, nVidia 8800 512MB.
Linux, 3-core AMD, 4GB RAM, Fedora 16, nVidia 450 1GB
08-20-2011 04:56 PM
Visit this user's website Find all posts by this user Quote this message in a reply
famicube64 Offline
Junior Member

Posts: 5
Joined: Aug 2011
Reputation: 0
Post: #5
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 all posts by this user Quote this message in a reply
Urkle Offline
FG - Associate

Posts: 1,101
Joined: Jul 2006
Reputation: 14
Post: #6
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
Mac Pro Dual 2Ghz, 7GB RAM, Snow Leopard, nVidia 8800 512MB.
Linux, 3-core AMD, 4GB RAM, Fedora 16, nVidia 450 1GB
08-20-2011 07:40 PM
Visit this user's website Find all posts by this user Quote this message in a reply
famicube64 Offline
Junior Member

Posts: 5
Joined: Aug 2011
Reputation: 0
Post: #7
RE: The demo segfaults on my machine
http://pastebin.com/8A6C84eZ
08-20-2011 09:17 PM
Find all posts by this user Quote this message in a reply
Urkle Offline
FG - Associate

Posts: 1,101
Joined: Jul 2006
Reputation: 14
Post: #8
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
Mac Pro Dual 2Ghz, 7GB RAM, Snow Leopard, nVidia 8800 512MB.
Linux, 3-core AMD, 4GB RAM, Fedora 16, nVidia 450 1GB
08-20-2011 09:29 PM
Visit this user's website Find all posts by this user Quote this message in a reply
famicube64 Offline
Junior Member

Posts: 5
Joined: Aug 2011
Reputation: 0
Post: #9
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 all posts by this user Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)