[Mesa-dev] FYI: broken s2tc libraries

Brian Paul brianp at vmware.com
Thu Feb 13 12:38:11 PST 2014


Just FYI to anyone using the s2tc library 
(https://github.com/divVerent/s2tc/).  The build of s2tc installed in 
some distros (like Ubuntu 12) is broken: using glTexImage2D to compress 
to GL_COMPRESSED_RGB_S3TC_DXT1_EXT generates bad data).  This causes 
some piglit failures and, evidently, some game crashes.

Luckily, the bug was fixed back in Dec 2012:

commit 86b61ca2e2906297d972e8a4c1e212e3deac99ef
Author: Laurent Carlier <lordheavym at gmail.com>
Date:   Mon Dec 17 09:59:52 2012 +0100

     Fix crash with ETQW and Quake 4


Hopefully, newer distros are including newer builds of s2tc, but I 
wouldn't bet on it.

-Brian


More information about the mesa-dev mailing list