Rechercher dans ce blog

Sunday, December 13, 2020

Cyberpunk 2077 Bug Bulldozes AMD Ryzen: Here's a Fix, Tested - Tom's Hardware

proc.indah.link

Regardless of your processor or GPU, Cyberpunk 2077 can push your system to the limits. However, resourceful redditors have discovered that the game code significantly harms performance on some AMD processors, because it apparently checks to see if your CPU uses Team Red's 2011-era Bulldozer platform and, if not, limits the number of available threads. 

Fortunately, the same folks have also crafted a simple fix that can lead to big performance gains with some AMD Ryzen processors under specific conditions. We put the fix to the test with several Ryzen CPUs, including some of the best CPUs,  to determine which processors benefit and under what conditions. We logged up to a 23% gain in some scenarios, so the fix is definitely worthwhile if you're limited by the performance of your Ryzen CPU. We'll also outline how you can apply the fix yourself.

Cyberpunk 2077 is one of the most hotly-anticipated games of all time, but it's absolutely punishing on your PC, especially if you want to play at heightened resolutions and fidelity (see our evaluation of Cyberpunk system requirements). As usual, the community has begun investigating the best settings for the game and searching for useful hacks. 

The biggest hack to emerge centers around Cyberpunk's apparent inability to use AMD Ryzen processors to the fullest. Instead of using all of the threads available to the processor, the game code only runs on physical cores in some circumstances. As a result, some threads are left unused, leaving potential performance on the table. These same problems don't appear to apply to Intel's processors, but we're also busy testing several Core models to make sure.

We're working on getting a better description of the problem from the game developers. For now, AMD's problem appears to stem from the GPUOpen software suite that Cyberpunk 2077 uses to detect the processor installed in the system. Apparently, this check determines whether or not the AMD chip is a Bulldozer model, and if it isn't, the software assigns the chip half the number of scheduler threads. That leads to the underutilization of some of AMD's processors.  

The fix is relatively simple, but as with any unsanctioned and unofficial fix, proceed at your own risk. Also, the fix doesn't work under all conditions. As we'll show below, you should be aware that some hardware configurations can actually lose performance as a result. Also, be aware that the fix tends to result in higher CPU utilization on Ryzen processors, even if the particular model doesn't benefit from the patch. 

How to Apply the Cyberpunk 2077 AMD 'Fix'

You can find detailed instructions on applying the fix in several locations; there's a PCGaminWiki listing, a video, and a reddit post with more info on applying the fix manually. New software that automatically applies the 'fix' is already in circulation, but always exercise caution with unverified software - there could be malware lurking.

Here's a simple bullet point list of instructions on how to make the change, but head to the linked resources above if you're not experienced with making these kinds of modifications:

  • Open a hex editor to open the Cyberpunk 2077 .exe file
  • Search the executable for the following hexadecimal string: 75 30 33 C9 B8 01 00 00 00 0F A2 8B C8 C1 F9 08
  • Change to: EB 30 33 C9 B8 01 00 00 00 0F A2 8B C8 C1 F9 08 (yes, you only modify one entry). (address 02A816B0)
  • Save and exit.

And with that fix, the game code treats all CPUs equally and will spread the workload across all available cores. Now you're ready to test to see if your particular configuration responds well to the patch. We did just that with a limited selection of AMD processors to see which models benefit, but our testing is ongoing. We'll add more chips to the charts as results come in. 

Cyberpunk 2077 Test Setup

We tested with the highest number of NPC's available and followed the same benchmark methodology used for our Cyberpunk 2077 PC Benchmarks, Settings, and Performance Analysis article. However, we tested with the latest 1.04 Cyberpunk patch.

We begin our test sequence at the entrance to V's apartment building and walk a path down the stairs, across the street to the left, hang a right at the vending machine, then head across the street towards the two policemen on the other side. From there, we proceed to the right across the pavilion, down another set of stairs, and to the building on the far side. 

Be aware that performance can, and will, vary in other scenes and locations (up to a 20% performance range), but this scene gives us a good-enough sense of the type of performance improvement, or degradation, that you'll see with the 'fix' applied.

Our test systems easily outweigh the recommended minimum system requirements for Cyberpunk 2077. We outfitted our test systems with the Gigabyte GeForce RTX 3090 Eagle to reduce the GPU bottleneck as much as possible. Be aware that you'll see less of a performance delta with lesser graphics cards. Also, if you're already shackled by a GPU bottleneck, you might not see appreciable gains with the same processors we've tested below. You can see a further breakdown of our test system at the end of the article. 

Here are our results thus far. 

Cyberpunk 2077 CPU Scaling RT Ultra Settings

Image 1 of 2

Cyberpunk 2077 CPU Scaling

(Image credit: Tom's Hardware)
Image 2 of 2

Cyberpunk 2077 CPU Scaling

(Image credit: Tom's Hardware)

Processors marked in the charts with 'Modified' have the fix applied. We tested with three resolutions at various settings, but our first album of results focuses on the 1920x1080 resolution with the RT Ultra preset applied. This test dials DLSS up to the Quality preset and also engages ray tracing, making it the most demanding preset. After we applied the patch, it also yielded big advances for a few of the AMD Ryzen processors.

First, though, it's important to note that from our testing, and the testing we've seen shared by enthusiasts, AMD Ryzen processors with more than eight cores don't seem to benefit from the fix. In fact, in many cases, the fix can actually result in less performance. That's illustrated here with the beastly 16-core 32-thread Ryzen 9 5950X. This chart-topping chip leads the pack with 78.2 fps with unmodified game code, but performance drops by 8% after we've applied the fix.

This is likely due to the changes forcing an even distribution of threads across the cores. That isn't always ideal for Ryzen processors because the operating system targets threads at the fastest cores first. We also see the reduced performance across our full sweep of the 5950X's fps percentiles. As you'll see time and again in the expanded testing below, the Ryzen 9 5950X doesn't benefit from the fixes - not that it matters much; as we can see, the 5950X leaves the Core i9-10900K in the rearview mirror. 

Now on to the AMD Ryzen processors that do see gains. The six-core 12-thread Ryzen 5 5600X trails the Core i9-10900K with the native game code, but the fix speeds up the game by a whopping 23%. We can also see that this improves the chips' performance across the full sweep of fps percentiles, indicating that the game runs much smoother as a result. In fact, the faster gameplay and improved smoothness was very noticeable during our test runs. 

We also tested the six-core 12-thread Ryzen 5 3600XT with the fix, and we recorded an 18% improvement to average fps. This chip is basically the same as the second-gen Ryzen 5 3600X, so we expect to see similar gains when that chip lands on our testbed. We also plan to test with the first-gen Ryzen processors to verify if they also see such large gains. Stay tuned for updates to the charts. 

With ray tracing and DLSS performance accounted for, we'll take a look at multiple resolutions with standard rasterization after a quick look at why we've seen performance improve on the smaller Ryzen models.   

Image 1 of 5

Cyberpunk 2077 CPU Scaling

(Image credit: Tom's Hardware)
Image 2 of 5

Cyberpunk 2077 CPU Scaling

(Image credit: Tom's Hardware)
Image 3 of 5

Cyberpunk 2077 CPU Scaling

(Image credit: Tom's Hardware)
Image 4 of 5

Cyberpunk 2077 CPU Scaling

(Image credit: Tom's Hardware)
Image 5 of 5

Cyberpunk 2077 CPU Scaling

(Image credit: Tom's Hardware)

Here we've plotted CPU utilization for each processor core during our test sequence, though it is notable that, to avoid possible overhead, these measurements weren't taken during our performance measurements. 

The first image shows the Ryzen 5 5600X running Cyberpunk 2077 with the native code. As you can see, several cores are under-utilized and fall below the 20% range. Flipping to the second chart shows the magnitude of the change with the fix applied: Now all cores are more fully utilized, which, as we've seen above, leads to increased performance. 

The third slide outlines core utilization on the Intel Core i9-10900K with the native code, and it's clear that the game uses the cores evenly with the standard game code.

The final two slides measure the same metrics, but with the 16-core, 32-thread Ryzen 9 5950X. Here we can see that several cores languish at the bottom of the chart with sub-10% utilization, but applying the fix (final slide) results in a more even distribution. However, we theorize that the fix doesn't result in increased performance due to incorrect thread targeting.

Cyberpunk 2077 CPU Scaling Medium Preset

Image 1 of 6

Cyberpunk 2077 CPU Scaling

(Image credit: Tom's Hardware)
Image 2 of 6

Cyberpunk 2077 CPU Scaling

(Image credit: Tom's Hardware)
Image 3 of 6

Cyberpunk 2077 CPU Scaling

(Image credit: Tom's Hardware)
Image 4 of 6

Cyberpunk 2077 CPU Scaling

(Image credit: Tom's Hardware)
Image 5 of 6

Cyberpunk 2077 CPU Scaling

(Image credit: Tom's Hardware)
Image 6 of 6

Cyberpunk 2077 CPU Scaling

(Image credit: Tom's Hardware)

This series of tests steps through 1080p, 1440p, and 4K resolutions at the medium preset. This preset features lower fidelity settings than the Ultra preset below, so we see more substantial gains. 

It's readily apparent that the magnitude of the performance gains relies heavily upon how close the system is to a GPU bottleneck – performance gains steadily decline as we increase the resolution. 

Again, the Ryzen 9 5950X runs slower with the fix applied - and that occurs at all resolutions except 4K, where the results fall within the margin of error due to a graphics bottleneck. Regardless, it's the fastest chip in our test pool by a large margin, so it doesn't need much help. 

At 1080p, the Ryzen 5 5600X delivers 11% more performance after the fix, climbing past the Core i9-10900K in the performance rankings, while the Ryzen 5 3600XT gets a 14% bump. At 1440p, we see the 5600X again jump out ahead of the 10900K due to a 5% increase in performance, and the 3600XT improves by 7%. These gains all translate over to smoother gameplay as well, as can be seen in our fps percentile charts. 

You'll notice that, with the exception of the vanilla Ryzen 5 3600XT configuration, we're almost completely GPU-bottlenecked at 4K. The fix allows the 3600XT to push the RTX 3090 to the saturation point. We also see the unmodified Ryzen 5 5600X configuration squeeze past the fixed version of the code by 1%, but that's within the margin of error.  

Cyberpunk 2077 CPU Scaling Ultra

Image 1 of 6

Cyberpunk 2077 CPU Scaling

(Image credit: Tom's Hardware)
Image 2 of 6

Cyberpunk 2077 CPU Scaling

(Image credit: Tom's Hardware)
Image 3 of 6

Cyberpunk 2077 CPU Scaling

(Image credit: Tom's Hardware)
Image 4 of 6

Cyberpunk 2077 CPU Scaling

(Image credit: Tom's Hardware)
Image 5 of 6

Cyberpunk 2077 CPU Scaling

(Image credit: Tom's Hardware)
Image 6 of 6

Cyberpunk 2077 CPU Scaling

(Image credit: Tom's Hardware)

Here we turn the dial up to the Ultra preset, and again, this is without ray tracing active. As expected, the gains again shrink as we increase resolution and push closer to a graphics bottleneck that makes CPU performance less of a factor.

At 1080p, the Ryzen 5 5600X improves by 10%, while the Ryzen 5 3600XT jumps 9.5%. At 1440p, those gains shrink to the negligible range for the 5600X because it has already pushed the RTX 3090 to a bottleneck. The Ryzen 5 3600XT still has some room to maneuver beneath the GPU-imposed ceiling, and it does by 13.7%. 

Once again, the 4K resolution pushes us to the land of margin of error, and it's clear that here the CPUs don't gain any meaningful performance from the fix. 

Overall, our first round of testing with the fix indicates that it works well for AMD chips with lighter core counts, and the performance delta will vary based upon how close you are to a GPU bottleneck. As such, those with lesser GPUs will see varying levels of success. We're still testing and will update with first-gen Ryzen, as well as eight-core Ryzen models soon. Stay tuned. 

Ryzen 5 5600X Test System Configurations
Intel Socket 1200 (Z490) Core i9-10900K
MSI MEG Z490 Godlike
2x 8GB Trident Z Royal DDR4-3600 - Stock: DDR4-2933
AMD Socket AM4 (X570) AMD Ryzen 9 5950X, Ryzen 5 5600X, 3600XT

MSI MEG X570 Godlike
2x 8GB Trident Z Royal DDR4-3600 - Stock: DDR4-3200
All Systems Gigabyte GeForce RTX 3090 Eagle

2TB Intel DC4510 SSD

EVGA Supernova 1600 T2, 1600W
Open Benchtable

Windows 10 Pro version 2004 (build 19041.450)
Cooling Corsair H115i
The Link Lonk


December 14, 2020 at 06:50AM
https://ift.tt/3gJnh6d

Cyberpunk 2077 Bug Bulldozes AMD Ryzen: Here's a Fix, Tested - Tom's Hardware

https://ift.tt/2ZDueh5
AMD

No comments:

Post a Comment

Featured Post

Intel Falls on Latest Server Chip Delay; Rival AMD Gains - Yahoo Finance

proc.indah.link (Bloomberg) -- Intel Corp. fell after saying a new version of its Xeon server chip line will go into production in 2022, r...

Popular Posts