Open Questions | Economist Michael Pettis on China’s consumption paradox and the pitfalls of a trade war

After more than two decades in China - including years spent teaching finance at Peking University and Tsinghua University - Michael Pettis has become an oft-cited voice on the challenges faced by the world’s second-largest economy. Before moving to Beijing, he...

Treasury Secretary Bessent says Trump is heading off financial crisis

Treasury Secretary Scott Bessent speaks to reporters outside the West Wing after doing a television interview on the North Lawn of the White House on March 13, 2025 in Washington, DC. Andrew Harnik | Getty ImagesTreasury Secretary Scott Bessent said Sunday that...

Solution reached to keep Crozer Health System open, officials say – NBC10 Philadelphia

Pennsylvania's Attorney General announced on Friday that a long-term solution has been reached in the case of Crozer Health System, but no other details were provided. Attorney General Dave Sunday said "all parties involed in developing a long-term solution to...

Ex-Eminem employee charged with leaking rapper’s unreleased music

A former employee of Grammy-winning rapper Eminem has been charged in connection with leaking the rapper’s unreleased music online. US Attorney Julie Beck stated that Joseph Strange, who worked for the artiste from 2007 to 2021, faces serious charges, including...

The Trump-Putin phone call gave the Kremlin leader a chance to pivot away from the war in Ukraine

They talked about the fighting in Ukraine, of course. But the U.S. and Russian presidents also chatted about improving relations between Washington and Moscow, peace in the Middle East, global security and even hockey games.During the more than two-hour chat —...

Bracketology: Cooper Flagg injury leaves questions as Duke, North Carolina square off in ACC Tournament

There was a development in the ACC Tournament on Thursday that could have ramifications at both ends of the bracket.Duke All-American freshman Cooper Flagg suffered a sprained ankle in the first half of the Blue Devils' win over Georgia Tech in the ACC...

Spirit Airlines exits bankruptcy protection as travel demand slows

NEW YORK (AP) — Discount carrier Spirit Airlines (SAVEQ) has emerged from bankruptcy protection. The budget airline — known for its no-frills, low-cost flights on a fleet of yellow planes — said Wednesday that its parent, Spirit Aviation Holdings, exited...

Inside the return of EA Sports College Football video game

Editor's note: This story originally ran May 17, 2024, but is being republished with the July release of EA Sports College Football 25.ORLANDO, Fla. -- Daryl Holt shopped at a Books-A-Million near Auburn, Alabama, around Thanksgiving in 2019 when his clothes...

Access Denied

Access Denied You don't have permission to access "http://www.businesswire.com/news/home/20250312064462/en/Two-Speed-Economy-Emerges-as-42-of-Canadian-Businesses-Take-a-Wait-and-See-to-Tariffs-Float-Report-Finds" on this server. Reference...

University of Pennsylvania Health System is cutting 300 jobs

University of Pennsylvania Health System is cutting 300 jobs Source link


While Unreal Engine 5 is often praised for its stunning graphics, there’s another thing many associate with it: stutter. If you’re wondering why this happens and how it’s being tackled, Kenzo ter Elst, Daniele Vettorel, Allan Bentham, and Mihnea Balta, the engineers who worked on Unreal Engine’s PSO precaching system, have shared the details in a new blog post, outlining their efforts to reduce it.

Shader compilation stuttering happens when a game engine needs to compile a new shader just before using it, causing a delay while the driver finishes the process. Shaders are programs that run on the GPU to render 3D images and are written in high-level languages like HLSL. Unlike CPUs, which have a few common instruction sets, GPUs have many different ones, so shaders are compiled into a universal bytecode that can be translated into specific machine code by the driver at runtime.

This process was fine when shaders were simpler, but as games became more complex, the time spent compiling shaders during gameplay became noticeable, leading to stuttering. To fix this, modern APIs like Direct3D 12 and Vulkan introduced Pipeline State Objects (PSOs), which help avoid runtime shader compilation and reduce stuttering.

APIs now require developers to bundle all the shaders and settings for a draw request into a Pipeline State Object, which is set as a single unit. The key advantage of PSOs is that they can be created at any time, allowing engines to prepare everything in advance (such as during loading) and ensuring shader compilation completes before rendering begins.

Before Unreal Engine 5.2, the recommended approach was using a Bundled PSO Cache, where commonly used PSOs were cached at game startup or when loading a save/level. However, this method is resource-intensive and needs frequent updates in games with dynamic content. To support large, dynamic game worlds and user-generated content, Unreal Engine 5.2 introduced PSO precaching to address the issues of resource-heavy bundled caches. However, this system isn’t flawless too: global shaders (used in effects like motion blur) can’t be fully precached in the same way. While compute shaders can be precached, graphics shaders can’t.

GPU drivers store compiled PSOs on your SSD or hard drive for faster reuse or in system memory. However, the PSO cache can become quite large, so this should only be done on machines with sufficient RAM. Solutions to reduce memory impact and automatically decide when precached PSOs should be retained are already in development.

In short, Epic Games recognizes that shader compilation stuttering is an issue in Unreal Engine 5 games and is working on fixes. It also advises developers to use the latest engine version, profile PSO hitches regularly, clear the driver cache before playtests, and look out for other types of traversal stuttering.

For more on this topic, you can join Epic Games on the Inside Unreal stream this Thursday, February 6th, on Twitch or YouTube at 2 PM ET.

Read the full blog post here and don’t forget to join our 80 Level Talent platform and our new Discord server, follow us on Instagram, Twitter, LinkedIn, Telegram, TikTok, and Threads, where we share breakdowns, the latest news, awesome artworks, and more.





Source link