DirectStorage 1.4 brings Zstd compression and up to 50% smaller textures to PC games
Microsoft's DirectStorage 1.4 and GACL 1.2 bring Zstd compression and texture conditioning for smaller Windows game assets.
DirectStorage 1.4 brings Zstd compression and up to 50% smaller textures to PC games - developers must rebuild titles, and some GPUs still fall back to CPU decompression. Zstd falls back to the CPU on some GPUs, and some older Radeon RX 9000 drivers crash during GACL setup.
Microsoft's DirectStorage 1.4 is out, and it brings Zstd compression, for smaller assets and CPU or GPU decompression, to PC games, along with the Game Asset Conditioning Library (GACL) texture tool that can cut compressed texture sizes by up to 50%, at some cost to quality. These features allow for smaller, better-streaming game assets, and they are now in developer hands.
The downsides: studios have to rebuild their games to use them, and more work needs to be done on the GPU side.
How DirectStorage streaming works
DirectStorage is a technology for NVMe SSDs that lets games stream assets off your drives with less CPU overhead. Since version 1.1, released in late 2022, a DX12-capable graphics card (GPU) can do the decompression instead of the CPU.
The type of workload done is different from the normal one you'd expect; instead of low-queue-depth 4KB reads, I/O tends to be 32KB or larger and can have hundreds of requests queued at once. Phison, a popular SSD controller designer, built and previewed its I/O+ firmware for the new workload type in 2022.
Zstd compression for smaller packages
DirectStorage 1.4 attacks the other side: smaller packages mean less data to read. Existing compression support includes GDeflate, which cuts requests into 64KB chunks and stays fully supported, so games that already use DirectStorage are good to go.
Zstd (short for Zstandard), an open compression standard new to DirectStorage, can get files smaller by treating a whole request as one piece - Microsoft recommends up to 256KB per request - and is therefore able to find more repeated data for compression. DirectStorage unpacks it on the GPU where it can, with Microsoft's own open-source GPU program, and on the CPU otherwise.
The goal is size: Microsoft says "Zstd makes game assets smaller, especially with GACL."
GACL texture conditioning
Textures, especially high-quality textures, are big, and, in fact, Microsoft calls them the biggest part of most games' package size. Games tend to store textures in GPU formats called BCn - with the "n" being from 1 to 7 - which a card can read directly. GACL is a free, open-source tool developers run when they build a game so textures are prepared for Zstd.
Savings, Microsoft says, "vary widely by texture," but the goal is to maintain image quality while using less storage space and, ultimately, improving asset streaming.
GACL works through three methods:
- shuffling the texture data with no quality loss, now including the high-quality BC7 format, for compressed textures up to 10% smaller than with
Zstdalone; - merging blocks of a texture that look almost the same, which is lossy but can cut compressed size by up to 50% while holding a minimum image-quality score;
- and, experimentally, using machine learning to determine what the eye can see.
| Technique | Lossless | Formats | Claimed saving | Status |
|---|---|---|---|---|
| Shuffle | Yes | BC1, BC3, BC4, BC5, BC7 | Up to 10% vs. Zstd alone | Supported |
| BLER | No | BC1 to BC5, BC7 | Up to 50%, PSNR 40 dB+ | Supported |
| CLER | No | BC1 | Not stated | Experimental |
Adoption requirements and GPU support
Current games won't get Zstd or GACL by swapping in the new DirectStorage files; the assets have to be compressed with Zstd during game construction, and the game's code has to ask for it. Microsoft hasn't named a game using 1.4 yet.
Work is also still needed on the GPU side as 1.4 unpacks Zstd on the CPU instead for some graphics cards, which Microsoft doesn't list. In March, AMD and Nvidia said they'd deliver Zstd driver optimizations for the second half of this year, Qualcomm by the end of the year, and Intel said it would share improvements "in the months ahead"; the release doesn't mention those drivers.
Speaking of drivers, if you're a Radeon RX 9000 owner, you should use AMD's Adrenalin 26.11.2 driver or newer, as some older versions can crash when DirectStorage sets up GACL for the GPU. Microsoft, meanwhile, will keep tuning its own GPU program "in the coming months," with additional GACL features in the works.
Get Tom's Hardware's best news and in-depth reviews, straight to your inbox. Follow Tom's Hardware on Google News, or add us as a preferred source, to get our latest news, analysis, & reviews in your feeds.
Shane Downing is a Contributing Writer for Tom's Hardware, covering consumer storage, PC hardware, and AI.
Comments
No comments yet. Start the discussion.