PCWorld (USA)

How Directx 12 Ultimate supercharg­es graphics on Windows PCS and Xbox

Directx 12 Ultimate serves as a force multiplier for the entire gaming ecosystem.

- BY BRAD CHACOS

Microsoft’s Directx 12 Ultimate, a new version of the graphics technology underpinni­ng both Windows and the Xbox Series X, seeks to bind the two platforms even closer together with an array of cutting-edge features. Better yet, you can now actually buy DX12 Ultimate hardware in the form of Nvidia Geforce RTX 30-series ( go. pcworld.com/30se) graphics cards, AMD Radeon RX 6000-series ( go.pcworld. com/60se) graphics cards, and of course the Xbox Series X ( go.pcworld.com/xses).

Nvidia shared details of what to expect before Microsoft’s official presentati­on at GDC 2020 in March, and it’s easy to see why:

Even though Microsoft’s next-gen console is powered by AMD ( go.pcworld.com/pwra), Directx 12 Ultimate enshrines several innovative technologi­es first introduced by Geforce RTX 20-series graphics cards as a new industry standard—one that now spans both PCS and consoles, earning it the “Ultimate” name.

“By unifying the graphics platform across PC and Xbox Series X, DX12 Ultimate serves as a force multiplier for the entire gaming ecosystem,” Microsoft’s announceme­nt post ( go.pcworld.com/mrps) from March says. “No longer do the cycles operate independen­tly! Instead, they now combine synergisti­cally: when Xbox Series X releases, there will already be many millions of DX12 Ultimate PC graphics cards in the world with the same feature set, catalyzing a rapid adoption of new features, and when the Xbox Series X brings a wave of new console gamers, the PC will likewise benefit from this vast surge of new DX12 Ultimate capable hardware! The result? An adrenaline shot to new feature adoption, groundbrea­king graphics in the hands of gamers more quickly than ever before.”

Directx 12 Ultimate supports Directx Raytracing (DXR) tier 1.1, which is an incrementa­l update to the first iteration. The cutting-edge lighting technology stole the spotlight in Geforce RTX 20-series GPUS to the extent that Nvidia ditched its traditiona­l “GTX” branding for “RTX,” and it’s a key feature of the next-gen Xbox Series X. (The Playstatio­n 5 also supports hardware-based ray tracing [ go.pcworld.com/ps5r], but Sony’s systems don’t rely on Directx technology.) The most notable addition in DXR 1.1 is inline ray tracing, a new technique that “gives developers the option to drive more of the ray-tracing process, as opposed to handling work scheduling entirely to the system,” per Microsoft.

Ray tracing can look positively breathtaki­ng when used to good effect, as it

has been in Control, Minecraft, and Metro Exodus. While its adoption has been limited to this point, expect to see ray tracing explode in popularity now that it’s in the consoles. Many of this holiday’s top releases support the technology, including Watch Dogs: Legion, the new Call of Duty game, and Cyberpunk 2077.

Ray tracing isn’t the only tech introduced by Nvidia’s Turing architectu­re that’s being codified by Directx 12 Ultimate, though. Two other intelligen­t rendering capabiliti­es make your GPU work smarter, not harder, supercharg­ing the performanc­e potential of your graphics card (or Xbox) if developers wind up embracing them.

DX12 Ultimate hardware also needs to support Variable Rate Shading (VRS) tier 2. Here’s how we described Variable Rate Shading in our Nvidia Turing GPU deep dive ( go.pcworld.com/trig):

“Variable Rate Shading is sort of like a supercharg­ed version of the multi-resolution shading ( go.pcworld.com/mres) that Nvidia’s supported for years now. Human eyes only see the focal points of what’s in their vision at full detail; objects at the periphery or in motion aren’t as sharp. Variable Rate Shading takes advantage of that to shade primary objects at full resolution, but secondary objects at a lower rate, which can improve performanc­e.

One potential use case for this is Motion Adaptive Shading, where non-critical parts of a moving scene are rendered with less detail. The image above shows how it could be handled in Forza Horizon. Traditiona­lly, every part of the screen would be rendered at full detail, but with Motion Adaptive Shading, only the blue sections of the scene get such lofty treatment.”

Variable Rate Shading can also be used in other ways, such as the Content Adaptive Shading technology that shipped in Wolfenstei­n II. Content Adaptive Shading applies the same basic principles as Motion Adaptive Shading, but it dynamicall­y identifies portions of the screen that have low detail or large swaths of similar colors, and shades those at lower detail—and more so when you’re in motion—to increase overall performanc­e with minimal loss of perceptibl­e visual quality.

As a high frame rate connoisseu­r, I’ve been a massive fan of smart rendering techniques like these every time I’ve seen them in action. Fingers crossed that with VRS now part of DX12 Ultimate and the next-gen consoles, developers will start deploying tools like these more often. We’re already seeing it pick up with recent titles like Gears Tactics and Dirt 5 adding Variable Rate Shading.

Microsoft’s latest version of the API also demands support for mesh shaders, per Nvidia. Once again, Nvidia’s Turing GPUS introduced the concept of mesh shading. Here’s what we said at the time:

“Mesh shading helps take some of the burden off your CPU during very visually complex scenes, with tens or hundreds of thousands of objects. It consists of two new shader stages. Task shaders perform object culling to determine which elements of a scene need to be rendered. Once that’s decided, Mesh Shaders determine the level of detail at which the visible objects should be rendered. Ones that are farther away need a much lower level of detail, while closer objects need to look as sharp as possible.

Nvidia showed off mesh shading with an impressive, playable demo where you flew a spaceship through a massive field of 300,000 asteroids. The demo ran around 50 frames per second despite that gargantuan object count because mesh shading reduced the number of drawn triangles at any given point down to around 13,000, from a maximum of 3 trillion potential drawn triangles.”

It was super impressive in the demo. You can see Nvidia’s asteroids demo in action and read more about how it works at go.pcworld.com/ admo. No games have taken advantage of

mesh shading thus far, even though Geforce RTX 20-series GPUS have been available for well over a year. Nvidia expects to see traction for the technology now that it’s part of DX12 Ultimate.

If you want to learn more about how VRS can be implemente­d, check out the Geforce blog post on Nvidia Adaptive Shading in Wolfenstei­n: Youngblood ( go.pcworld.com/ wyng). Youngblood’s NAS combined two different forms of Variable Rate Shading— Content Adaptive Shading and Motion Adaptive Shading—to “accelerate performanc­e by up to 15%, with no perceivabl­e visual quality loss.”

Finally, Directx 12 Ultimate also requires support for a technology called Sampler Feedback. Microsoft says that Sampler Feedback “enables better visual quality, shorter load time, and less stuttering.”

“Fundamenta­lly, what this does is allows the texture subsystem to provide some communicat­ion to the shading subsystem, to allow developers to make more intelligen­t choices about the way it manages sampling, filtering, and LODS (levels of detail),” Nvidia’s Tony Tamasi explained during a press briefing. “The way we demonstrat­ed that is with texture space shading. The idea there is that certain shading can be reused, either spatially or temporally across space or time, to allow developers to potentiall­y save performanc­e that don’t need to be reshaded versus shaded time and time again when it’s not necessary.”

For VR workloads, Tamasi said you can use Sampler Feedback to render all the pixels in a scene once, then simply reproject it to the second eye, “saving essentiall­y half the shading calculatio­ns.”

“You can do the same kind of thing temporally,” Tamasi continued. “Say you have a mountain off in the distance, and you didn’t have a lot of dynamic lighting shifting across that mountain. You could potentiall­y update the shading on those mountains every other frame, or every tenth frame, whatever you felt was appropriat­e for your game, again saving all those shading calculatio­ns, allowing developers to up the image quality by putting the quality where it matters, where users are going to see it, and saving some performanc­e in places where it’s not really going to matter.”

Beyond the fact that many of these technologi­es debuted in Nvidia’s “Turing” Geforce graphics cards well over a year ago, it’s also worth noting that aside from ray tracing, the other Directx 12 Ultimate capabiliti­es focus on having GPUS work smarter to increase performanc­e. Real time ray tracing puts bigtime stress on your graphics chip even with hardware dedicated to the task. Augmenting it with software tricks that can boost performanc­e (including Nvidia’s

DLSS on PCS) isn’t just wise, it’s borderline necessary.

Any PC hardware needs to support all of these technologi­es to be Directx 12 Ultimate compliant. Nvidia’s Geforce RTX graphics cards already do, obviously, as well as the Xbox Series X and AMD’S Radeon RX 6000-series GPUS. Better yet, all this DX12 Ultimate hardware also supports Directstor­age, another Microsoft API that ties your NVME SSD and graphics card closer together in a bid to kill game-loading times on your PC ( go.pcworld.com/gmld).

For a much more technical deep dive into Directx 12 Ultimate’s capabiliti­es, be sure to check out the post from Microsoft’s Directx team ( go.pcworld.com/dxtm). And if you’re not sure if your computer’s hardware is up to snuff, Windows 10’s Xbox Game Bar can now tell you ( go.pcworld.com/gmbr) whether your gaming PC qualifies for

Directx 12 Ultimate.

 ??  ??
 ??  ??
 ??  ??
 ??  ??
 ??  ??
 ??  ?? Nvidia’s Geforce RTX GPUS support Directx 12 Ultimate.
Nvidia’s Geforce RTX GPUS support Directx 12 Ultimate.

Newspapers in English

Newspapers from Australia