Driconf: enabling S3 texture compression on Linux

Last modification on

S3TC (also known as DXTn or DXTC) is a patented lossy texture compression algorithm. See: https://en.wikipedia.org/wiki/S3TC for more detailed information. Many games use S3TC and if you use Wine to play games you definitely want to enable it if your graphics card supports it. Because this algorithm is patented it is disabled by default on many Linux distributions.

To enable it you can install the library "libtxc" if your favorite OS has not installed it already. For easy configuration you can install the optional utility DRIconf, which you can find at: http://dri.freedesktop.org/wiki/DriConf. DriConf can safely be removed after configuration.

Steps to enable it

  1. Install libtxc_dxtn


    # pacman -S libtxc_dxtn


    # aptitude install libtxc-dxtn-s2tc0
  2. Install driconf (optional).


    # pacman -S driconf


    # aptitude install driconf
  3. Run driconf and enable S3TC

    Screenshot of DRIconf window and it's options
  1. S3TC: https://dri.freedesktop.org/wiki/S3TC/
  2. DriConf: https://dri.freedesktop.org/wiki/DriConf