S2TC – Simple Super Texture Compression, a new way of compressing textures with a simple encoding (compressing) and decoding (decompressing) method is developed by Xonotic (former nexuiz) game developers. This acts as a replacement for S3TC a patent encumbered compression method used by many games to reduce the amount of data that is being transferred to the GPU. All modern graphics cards are now capable of decoding (decompressing) S3TC as it became a part of OpenGL and DirectX standards. But the algorithm is patented and it cannot be used by free software solutions like Mesa. Currently Mesa can make use of it when the system has a encoder (like a plugin) that is loaded at run time but there is no distribution to ship it or put it in their repositories to download so now there is no easy way for the end user to make use of it. (more…)
In previous post I discussed about getting OpenGL acceleration for USB display devices under Linux. Now I will tell how to accelerate video decoding using native GPU. There is no big procedure to get this work. It is actually very simple 🙂
Follow my previous post to get OpenGL acceleration. Then set your video player to use GL (OpenGL) as the video output instead of Xv or XvMC. With mplayer use “mplayer -vo gl2 video_file”. Similarly for gmplayer (mplayer with GUI), VLC Media Player you can choose the GL (OpenGL) output using the corresponding player preferences. For totem I am not able to find the preferences, I checked with gstreamer-properties and could not find the GL or OpenGL listed in the options but there seems to be a gst-plugin-gl gstreamer plugin that uses OpenGL.