Is there an easy way to enable S3TC on Intel graphics?

Oli

S3TC is a patented graphics mechanism for compressing textures. It's so widely patented that distributions (Ubuntu included) does not ship it with its free drivers. Closed-source drivers have this enabled because the companies (AMD/Nvidia) pay the patent royalties and assume the liability.

But I'm currently using an Intel graphics chipset. Specifically, the i915. The drivers are completely free and open source. While I believe the hardware can handle S3TC, the drivers are those that shipped with Ubuntu (or through the updates) so S3TC is turned off.

From what I read (fairly old posts) turning S3TC on requires getting the source for mesa, patching in S3TC, reconfiguring it and then recompiling it all. In short, it sounds like a mess.

  • Is this still the case?
  • Has somebody out there been nice and created a PPA with S3TC turned on?
RAOF

As of 12.10, libtxc-dxtn-s2tc0 is installed by default, providing this functionality.


Mesa does not require a rebuild to enable S3TC support, and hasn't for some time. There are two options for S3TC

  1. Setting force_s3tc_enable=true in the environment to advertise S3TC support. In this case, S3TC textures will be passed through to the hardware. Mesa will not support compression of textures using S3TC, which is required by the GL extension spec, so things may misbehave.

  2. Using the external libtxc-dxtn library for S3TC compression. Mesa will attempt to load it if it exists, and provide full S3TC support. This is available in xorg-edgers, at least.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

How can I enable hardware acceleration for flash on Intel graphics?

How to enable hardware video acceleration with an Intel graphics chipset on Ubuntu 17.10?

How to enable 3 screens on HP EliteBook 8570p with intel cpu and HD4000 integrateg graphics card?

Easy way to OR 3 comparisons?

Is there any way to get Intel i915 graphics without ACPI?

What's the downside to "TearFree" with intel graphics?

Easy way to enable/disable assert statements in node.js

How do I enable Extra Visual Effects using an Intel graphics controller?

Intel HD Graphics And Radeon Graphics

Intel Graphics for Ubuntu 15.10

Screen tearing with Intel graphics

limited resolution with Intel graphics

Intel HD graphics settings

Intel hd graphics driver

intel graphics not available

3D graphics for multiple platforms using Intel XDK

Any way to get Intel Graphics 3000 to run properly in Windows 10 version 1803?

Enable Intel Hyperthreading in Java

Enable graphics card in VirtualBox

ATI graphics card overriding onboard Intel graphics

Terrible graphics performance with Intel graphics on Ubuntu 13.10

Distorted graphics in Ubuntu 18.04 with intel integrated graphics

Is it currently possible to enable the mac's integrated graphics chip in a Java application?

How to change a game's setting to enable a dedicated graphics card?

Is there an easy way to clear an SVG element's contents?

What's an easy way to get a reverse shell?

What's an easy way to use the MKDEV macro?

How to upgrade Intel Graphics driver?

How to upgrade intel graphics package?