Hello. I ran into a somewhat nasty bug, which I solved myself. I've created this thread to share the fix with everyone. Note. This applies to the 64-bit Linux version. It may or may not apply to the 32-bit Linux version.
Symptoms:
- The Frictional Games logo doesn't show up when you first start the game.
- The screens that give you an introduction to the game and ask you to adjust the gamma settings have no background images.
- The game segfaults after you click through the intro screens.
- You get a backtrace from GDB similar to the one below:
Backtrace:
#0 0x00000000008585f0 in hpl::cGuiGfxElement::GetImageSize() ()
#1 0x00000000007a15cc in cLuxLoadScreenHandler::DrawMenuScreen() ()
#2 0x0000000000923abd in hpl::cUpdater::SetContainer(std::basic_string<char, std::char_traits<char>, std::allocator<char> >) ()
#3 0x00000000006dfddc in cLuxPreMenu::Update(float) ()
#4 0x0000000000924737 in hpl::cUpdater::RunMessage(hpl::eUpdateableMessage, float) ()
#5 0x000000000092548b in hpl::cEngine::Run() ()
#6 0x00000000006880e0 in hplMain(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) ()
#7 0x0000000000910aa9 in main ()
hpl.log entry:
ERROR: Texture manager Couldn't load bitmap '/home/alaran/games/Amnesia/graphics/general/menu_loading_screen.jpg'
ERROR: Could not load texture 'menu_loading_screen.jpg'!
Solution
Copy your system's IL library over the one in installDirectory/Amnesia/libs64/libIL.so.1. In my case it was located at /usr/lib/libIL.so.1.1.0. Once you do this, the game should start.