• Ever wanted an RSS feed of all your favorite gaming news sites? Go check out our new Gaming Headlines feed! Read more about it here.
  • We have made minor adjustments to how the search bar works on ResetEra. You can read about the changes here.
Status
Not open for further replies.

Schlorgan

Banned
Oct 25, 2017
14,932
Salt Lake City, Utah
www.techpowerup.com

Cyberpunk 2077 Does Not Leverage SMT on AMD Ryzen, Lower Core-Count Variants take a Bigger Hit, Proof Included

Cyberpunk 2077 does not leverage simultaneous multi-threading (SMT) on AMD Ryzen processors, according to multiple technical reviews of the game that tested it with various processors. The game does leverage the analogous HyperThreading feature on rival Intel Core processors. While this doesn't...

Cyberpunk 2077 does not leverage simultaneous multi-threading (SMT) on AMD Ryzen processors, according to multiple technical reviews of the game that tested it with various processors. The game does leverage the analogous HyperThreading feature on rival Intel Core processors. While this doesn't adversely affect performance of higher core-count Ryzen chips, such as the 16-core Ryzen 9 5950X or to a lesser extent the 12-core 5900X, lower core-count variants such as the 6-core 5600X take a definite performance hit

A Reddit post by CookiePLMonster sheds light on what is possibly happening with the game. According to them, Cyberpunk 2077 reuses AMD GPUOpen pseudo-code to optimize its scheduler for the processor. It was originally designed to let an application use more threads when an AMD "Bulldozer" processor is used; but has the opposite effect when a non-Bulldozer AMD processor is detected. The game looks for "AuthenticAMD" processor brand, and "family = 0x15" (AMD K15 or Bulldozer/derivative), and only then engages "logical processors" (as identified by Windows OS scheduler as part of its Bulldozer-optimization). When any other, including a newer AMD processor is detected, the code makes the game scheduler only send traffic to the physical cores, and not to their logical processors


There is a fix, but requires hex-editing:

the PC enthusiast community swung to action with a fix. Authored by chaosxk on Reddit, it involves manually editing the executable binaries of the game using a Hex Editor, which tricks the game into using logical processors as cores. This fix has been found to improve frame-rates on AMD Ryzen machines. Before attempting the hex edit, make sure you back up your original executables. The screenshot below provides a before & after-patch view of Cyberpunk 2077 loading a Ryzen 9 5950X. You can learn more about this fix, and a step-by-step guide here.
 

Onix555

Member
Apr 23, 2019
3,381
UK
Apparently it can be fixed by going into the code and changing one letter. Pretty dumb ngl
 

Sax

The Fallen
Oct 25, 2017
2,326
This gave me a decent min FPS boost and the game now uses all 24 threads on my 5900X, pretty nice.
 

Anson225

Member
Oct 26, 2017
880
I tried the fix after reading from OT and reddit - gave me back ~10 FPS with everything else untouched
 
Dec 2, 2017
20,640
Seriously? There's nowhere else to talk about your shitty transphobic game? Can't read a mod post, or the stickied thread?
 

Redcrayon

Patient hunter
On Break
Oct 27, 2017
12,713
UK
We are strictly limiting the number of Cyberpunk threads for good reasons. Please continue discussion in the OT and read them, they are at the top of every page and the reply box.
 
Status
Not open for further replies.