driconf-enabling-s3-texture-compression-on-linux.md - www.codemadness.org - www.codemadness.org saait content files
(HTM) git clone git://git.codemadness.org/www.codemadness.org
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
driconf-enabling-s3-texture-compression-on-linux.md (1372B)
---
1 **Update: the DXTC patent expired on 2018-03-16, many distros enable this by
2 default now.**
3
4 S3TC (also known as DXTn or DXTC) is a patented lossy texture compression
5 algorithm. See: <https://en.wikipedia.org/wiki/S3TC> for more detailed
6 information. Many games use S3TC and if you use Wine to play games you
7 definitely want to enable it if your graphics card supports it.
8
9 Because this algorithm was [patented it is disabled by default on many Linux
10 distributions]( https://dri.freedesktop.org/wiki/S3TC/).
11
12 To enable it you can install the library "libtxc" if your favorite OS has not
13 installed it already.
14
15 For easy configuration you can install the optional utility DRIconf, which you
16 can find at: <https://dri.freedesktop.org/wiki/DriConf>. DriConf can safely be
17 removed after configuration.
18
19
20 ## Steps to enable it
21
22
23 Install libtxc_dxtn:
24
25 ArchLinux:
26 # pacman -S libtxc_dxtn
27 Debian:
28 # aptitude install libtxc-dxtn-s2tc0
29
30
31 Install driconf (optional):
32
33 ArchLinux:
34
35 # pacman -S driconf
36
37 Debian:
38
39 # aptitude install driconf
40
41 Run driconf and enable S3TC:
42
43 [](https://codemadness.org/downloads/screenshots/driconf.png)
44
45
46 ## Additional links
47
48 * S3TC: <https://dri.freedesktop.org/wiki/S3TC/>
49 * DriConf: <https://dri.freedesktop.org/wiki/DriConf>