+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Technical Support (https://www.frictionalgames.com/forum/forum-57.html)
+--- Forum: Technical Support - Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-31.html)
+---- Forum: Linux - ATDD (https://www.frictionalgames.com/forum/forum-32.html)
+---- Thread: The demo segfaults on my machine (/thread-9867.html)
The demo segfaults on my machine - famicube64 - 08-19-2011
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.
RE: The demo segfaults on my machine - Urkle - 08-19-2011
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.
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 ---------
RE: The demo segfaults on my machine - Urkle - 08-20-2011
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.
RE: The demo segfaults on my machine - famicube64 - 08-20-2011
Well, that fixed it. But now I get ~5 FPS on every level of detail. Oh well, this is what Windows is for.
Thanks.
RE: The demo segfaults on my machine - Urkle - 08-20-2011
that sounds like you are running through the software renderer and not your graphics card.
post the output of glxinfo
RE: The demo segfaults on my machine - famicube64 - 08-20-2011
RE: The demo segfaults on my machine - Urkle - 08-20-2011
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.
RE: The demo segfaults on my machine - famicube64 - 08-20-2011
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.