Advertisement

DirectStorage 1.4 Adds Zstandard Compression for PC Games

DirectStorage 1.4 and GACL 1.2 are out of preview, giving PC game developers Zstandard compression and texture tools. Games already installed will not shrink.

Microsoft on December 1 released DirectStorage 1.4 and version 1.2 of its Game Asset Conditioning Library, two developer tools meant to make PC game files smaller by adding Zstandard compression and reworking how texture data is packed.

Key points

  • Microsoft released DirectStorage 1.4 and Game Asset Conditioning Library 1.2 on December 1, moving both out of preview.
  • DirectStorage 1.4 adds Zstandard compression, decoded on DirectX 12 GPUs where possible and on the CPU otherwise.
  • Microsoft says a lossless texture step cuts up to 10% more, and an optional lossy method up to 50%.
  • Microsoft recommends AMD Adrenalin Edition 26.11.2 or newer to avoid a crash tied to the new texture shaders.
  • Existing games will not shrink, because studios must build the tools into new releases or updates.

The release targets a familiar problem. New PC games often need well over 100GB of storage, and players regularly delete older titles to make room for one new install. Smaller files would mean shorter downloads and more games fitting on the same SSD, but only once studios adopt the tools.

Zstandard joins GDeflate in DirectStorage 1.4

DirectStorage is Microsoft’s system for moving game data from storage to the graphics card quickly. Version 1.4 adds built-in support for Zstandard, or Zstd, an open-source compression format that can pack files tighter than GDeflate, the format DirectStorage used before.

Advertisement

GDeflate is still supported. Microsoft says it currently unpacks data with lower delay, while Zstd achieves better compression, so developers can choose between the two.

Decompression happens during play. DirectStorage uses Microsoft’s open-source Zstd compute shader, a small program that runs on the graphics card, on DirectX 12 GPUs where it can. Otherwise the main processor does the work. On some GPUs, version 1.4 decodes Zstd on the CPU instead, and Microsoft has not said which cards are affected.

What the texture library adds

The Game Asset Conditioning Library, or GACL, works on high-resolution textures, which are usually the largest part of a modern game download. Version 1.2 reorganizes that texture data before compression so it shrinks further.

Microsoft gives two figures. A lossless reshuffling step, which leaves every pixel unchanged, adds up to 10% more reduction compared with Zstandard alone. Studios that accept small, controlled changes to texture data can go further using a lossy method called BLER.

According to Microsoft, BLER “can reduce compressed size by up to 50% while keeping PSNR at 40 dB or higher.” PSNR is a standard measure of how closely a compressed image matches the original. That 50% figure applies to compressed texture data, not to a game’s entire install, and it is Microsoft’s own claim rather than a result measured on a shipped game.

Advertisement

GACL 1.2 also includes an experimental machine learning feature called Component-Level Entropy Reduction, or CLER.

“Together, DirectStorage 1.4 and GACL 1.2 give developers new options for reducing game size and improving asset streaming on Windows.”

Microsoft, in its DirectX Developer Blog announcement

Hardware partners and the AMD driver fix

Microsoft says it co-engineered the release with AMD, Intel, Nvidia and Qualcomm. The company has not said whether Snapdragon-based laptops get GPU decoding.

Players will need current graphics drivers once updated games arrive. Microsoft advises owners of AMD Radeon RX 9000 cards to install Adrenalin Edition 26.11.2 or newer. Some earlier AMD drivers crash when DirectStorage creates a pipeline state object, a precompiled setup the GPU uses to run a shader, for a GACL shader.

AMD repeats that advice on its GPUOpen developer blog: “we recommend AMD Software: Adrenalin Edition™ 26.11.2 or newer when using DirectStorage 1.4.”

In March, AMD and Nvidia promised Zstd driver optimizations for the second half of this year, Qualcomm by year’s end, and Intel “in the months ahead.” The new release does not mention the status of those drivers.

Existing games will not shrink

Nothing already installed gets smaller. Each game ships its own copy of the DirectStorage runtime, so studios must build the new tools into future releases or patches before players see any change.

Advertisement

No game has publicly committed to DirectStorage 1.4 or GACL 1.2, and Microsoft has not published load-time benchmarks. The company says both compression formats deliver the data speeds real games need, but it has not claimed shorter loading screens.

The base for adoption is large. More than 1,200 games already support earlier versions of DirectStorage. Since version 1.1, released in late 2022, a DirectX 12 graphics card can handle decompression in place of the CPU.

Both tools were previewed earlier this year, in March and June, and this release moves them out of preview. Microsoft says it will keep tuning its GPU decompression program in the coming months, and more GACL features are in development.

Advertisement

Sign up for Droidfeats Daily

Receive the day’s Android news, guides, apps and gaming stories in one email every evening.

Share this article

Never miss a Droidfeats story

Choose Droidfeats as a preferred source and see more of our coverage in Google Search.

Written by

Sangita Brahma

A Droidfeats veteran, Sangita has written thousands of articles covering all aspects of Android and mobile technology, from breaking news to in-depth industry analysis.

Leave a Comment