Frictional Games Forum (read-only)
Running Amnesia without S3TC compression? - Printable Version

+- 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: Running Amnesia without S3TC compression? (/thread-9739.html)



Running Amnesia without S3TC compression? - nobled - 08-13-2011

I downloaded the Amnesia demo (the installer filename says version 1.0.1... seems kinda old?), and I'm trying to run it in 64-bit Ubuntu 11.04, with the integrated Sandybridge GPU in my laptop.

Unfortunately, based on using apitrace to debug it, it seems like Amnesia is calling glCompressedTexImage2D() with internalFormat=GL_COMPRESSED_S3TC_DXT1_EXT, even though GL_EXT_texture_compression_s3tc isn't advertised in the extension string by the Intel graphics driver. (I'm using the latest version I can, installed from the xorg-edgers repository.)

Is it possible to run without s3tc compression? If it isn't, can't Amnesia exit with a useful error message when it isn't advertised?

I'm assuming this is the issue that's filling up my hpl.log (attached) with lines like this:
ERROR: Couldn't load material 'entities/lamp/torch_static01/torch_static01.mat'
ERROR: Could not create GL texture /opt/AmnesiaDemo/particles/materials/ps_torch_fire.dds


RE: Running Amnesia without S3TC compression? - Urkle - 08-13-2011

S3TC is required for Amnesia to run, you can installed the libtxc_dxtn library which will add support for S3TC into Mesa GL

http://cgit.freedesktop.org/~mareko/libtxc_dxtn/

However since you are running an Intel graphics card there is still not guarantee that Amnesia will run.