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
Running Amnesia without S3TC compression?
Author Message
nobled Offline
Junior Member

Posts: 1
Joined: Aug 2011
Reputation: 0
Post: #1
Running Amnesia without S3TC compression?
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


Attached File(s)
.log  hpl.log (Size: 10.22 KB / Downloads: 2)
08-13-2011 03:41 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: Running Amnesia without S3TC compression?
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.

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-13-2011 03:50 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 




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