driconf-enabling-s3-texture-compression-on-linux.html - 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.html (3698B)
       ---
            1 <!DOCTYPE html>
            2 <html dir="ltr" lang="en">
            3 <head>
            4         <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
            5         <meta http-equiv="Content-Language" content="en" />
            6         <meta name="viewport" content="width=device-width" />
            7         <meta name="keywords" content="linux, driconf, s3tc" />
            8         <meta name="description" content="driconf: enabling S3 texture compression" />
            9         <meta name="author" content="Hiltjo" />
           10         <meta name="generator" content="Static content generated using saait: https://codemadness.org/saait.html" />
           11         <title>Driconf: enabling S3 texture compression on Linux - Codemadness</title>
           12         <link rel="stylesheet" href="style.css" type="text/css" media="screen" />
           13         <link rel="stylesheet" href="print.css" type="text/css" media="print" />
           14         <link rel="alternate" href="atom.xml" type="application/atom+xml" title="Codemadness Atom Feed" />
           15         <link rel="alternate" href="atom_content.xml" type="application/atom+xml" title="Codemadness Atom Feed with content" />
           16         <link rel="icon" href="/favicon.png" type="image/png" />
           17 </head>
           18 <body>
           19         <nav id="menuwrap">
           20                 <table id="menu" width="100%" border="0">
           21                 <tr>
           22                         <td id="links" align="left">
           23                                 <a href="index.html">Blog</a> |
           24                                 <a href="/git/" title="Git repository with some of my projects">Git</a> |
           25                                 <a href="/releases/">Releases</a> |
           26                                 <a href="gopher://codemadness.org">Gopherhole</a>
           27                         </td>
           28                         <td id="links-contact" align="right">
           29                                 <span class="hidden"> | </span>
           30                                 <a href="feeds.html">Feeds</a> |
           31                                 <a href="pgp.asc">PGP</a> |
           32                                 <a href="mailto:hiltjo@AT@codemadness.DOT.org">Mail</a>
           33                         </td>
           34                 </tr>
           35                 </table>
           36         </nav>
           37         <hr class="hidden" />
           38         <main id="mainwrap">
           39                 <div id="main">
           40                         <article>
           41 <header>
           42         <h1>Driconf: enabling S3 texture compression on Linux</h1>
           43         <p>
           44         <strong>Last modification on </strong> <time>2020-08-21</time>
           45         </p>
           46 </header>
           47 
           48 <p><strong>Update: the DXTC patent expired on 2018-03-16, many distros enable this by
           49 default now.</strong></p>
           50 <p>S3TC (also known as DXTn or DXTC) is a patented lossy texture compression
           51 algorithm.  See: <a href="https://en.wikipedia.org/wiki/S3TC">https://en.wikipedia.org/wiki/S3TC</a> for more detailed
           52 information.  Many games use S3TC and if you use Wine to play games you
           53 definitely want to enable it if your graphics card supports it.</p>
           54 <p>Because this algorithm was <a href="https://dri.freedesktop.org/wiki/S3TC/">patented it is disabled by default on many Linux
           55 distributions</a>.</p>
           56 <p>To enable it you can install the library "libtxc" if your favorite OS has not
           57 installed it already.</p>
           58 <p>For easy configuration you can install the optional utility DRIconf, which you
           59 can find at: <a href="https://dri.freedesktop.org/wiki/DriConf">https://dri.freedesktop.org/wiki/DriConf</a>.  DriConf can safely be
           60 removed after configuration.</p>
           61 <h2>Steps to enable it</h2>
           62 <p>Install libtxc_dxtn:</p>
           63 <p>ArchLinux:
           64 <pre><code># pacman -S libtxc_dxtn
           65 </code></pre>
           66 <p>Debian:
           67 <pre><code># aptitude install libtxc-dxtn-s2tc0
           68 </code></pre>
           69 </p>
           70 </p>
           71 <p>Install driconf (optional):</p>
           72 <p>ArchLinux:</p>
           73 <pre><code># pacman -S driconf
           74 </code></pre>
           75 <p>Debian:</p>
           76 <pre><code># aptitude install driconf
           77 </code></pre>
           78 <p>Run driconf and enable S3TC:</p>
           79 <p><a href="downloads/screenshots/driconf.png"><img src="downloads/screenshots/driconf-thumb.png" alt="Screenshot of DRIconf window and its options" width="300" height="266" loading="lazy" /></a></p>
           80 <h2>Additional links</h2>
           81 <ul>
           82 <li>S3TC: <a href="https://dri.freedesktop.org/wiki/S3TC/">https://dri.freedesktop.org/wiki/S3TC/</a></li>
           83 <li>DriConf: <a href="https://dri.freedesktop.org/wiki/DriConf">https://dri.freedesktop.org/wiki/DriConf</a></li>
           84 </ul>
           85 
           86                         </article>
           87                 </div>
           88         </main>
           89 </body>
           90 </html>