• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

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

btarunr

Editor & Senior Moderator
Staff member
Joined
Oct 9, 2007
Messages
46,354 (7.68/day)
Location
Hyderabad, India
System Name RBMK-1000
Processor AMD Ryzen 7 5700G
Motherboard ASUS ROG Strix B450-E Gaming
Cooling DeepCool Gammax L240 V2
Memory 2x 8GB G.Skill Sniper X
Video Card(s) Palit GeForce RTX 2080 SUPER GameRock
Storage Western Digital Black NVMe 512GB
Display(s) BenQ 1440p 60 Hz 27-inch
Case Corsair Carbide 100R
Audio Device(s) ASUS SupremeFX S1220A
Power Supply Cooler Master MWE Gold 650W
Mouse ASUS ROG Strix Impact
Keyboard Gamdias Hermes E2
Software Windows 11 Pro
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, with PCGH reporting that a Ryzen 5 5600X is now matched by a Core i5-10400F, as the game is able to take advantage of HyperThreading and deal with 12 logical processors on the Intel chip, while ignoring SMT on the AMD one.

CD Projekt RED may have bigger problems on its hands than performance optimization for a PC processor, such as the game being riddled with glaring performance issues on consoles; but in the meantime, 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.



Update 08:28 UTC: We have some technical details on what's happening.

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.

Our own W1zzard dug into the binaries to verify these claims, find a commented decompilation below. The game indeed uses this archaic GPUOpen code from 2017 to identify AMD processors, and this is responsible for its sub-optimal performance with AMD Ryzen processors. This clearly looks like a bug or oversight, not like it's intentional.



View at TechPowerUp Main Site
 
Joined
Mar 23, 2016
Messages
4,839 (1.64/day)
Processor Ryzen 9 5900X
Motherboard MSI B450 Tomahawk ATX
Cooling Cooler Master Hyper 212 Black Edition
Memory VENGEANCE LPX 2 x 16GB DDR4-3600 C18 OCed 3800
Video Card(s) XFX Speedster SWFT309 AMD Radeon RX 6700 XT CORE Gaming
Storage 970 EVO NVMe M.2 500 GB, 870 QVO 1 TB
Display(s) Samsung 28” 4K monitor
Case Phantek Eclipse P400S (PH-EC416PS)
Audio Device(s) EVGA NU Audio
Power Supply EVGA 850 BQ
Mouse SteelSeries Rival 310
Keyboard Logitech G G413 Silver
Software Windows 10 Professional 64-bit v22H2
I already posted this in the official CyberPunk game thread.

Apparently it’s early code that targeted Bulldozer.
 
Last edited:
Joined
Jan 31, 2011
Messages
2,202 (0.46/day)
System Name Ultima
Processor AMD Ryzen 7 5800X
Motherboard MSI Mag B550M Mortar
Cooling Arctic Liquid Freezer II 240 rev4 w/ Ryzen offset mount
Memory G.SKill Ripjaws V 2x16GB DDR4 3600
Video Card(s) Palit GeForce RTX 4070 12GB Dual
Storage WD Black SN850X 2TB Gen4, Samsung 970 Evo Plus 500GB , 1TB Crucial MX500 SSD sata,
Display(s) ASUS TUF VG249Q3A 24" 1080p 165-180Hz VRR
Case DarkFlash DLM21 Mesh
Audio Device(s) Onboard Realtek ALC1200 Audio/Nvidia HD Audio
Power Supply Corsair RM650
Mouse Steelseries Rival 3 Wireless | Wacom Intuos CTH-480
Keyboard A4Tech B314 Keyboard
Software Windows 10 Pro
Tested it in the cyberpunk thread as well and great benefits on a low core count of my Ryzen 3 3300X
 
Joined
Dec 16, 2017
Messages
2,729 (1.18/day)
Location
Buenos Aires, Argentina
System Name System V
Processor AMD Ryzen 5 3600
Motherboard Asus Prime X570-P
Cooling Cooler Master Hyper 212 // a bunch of 120 mm Xigmatek 1500 RPM fans (2 ins, 3 outs)
Memory 2x8GB Ballistix Sport LT 3200 MHz (BLS8G4D32AESCK.M8FE) (CL16-18-18-36)
Video Card(s) Gigabyte AORUS Radeon RX 580 8 GB
Storage SHFS37A240G / DT01ACA200 / WD20EZRX / MKNSSDTR256GB-3DL / LG BH16NS40 / ST10000VN0008
Display(s) LG 22MP55 IPS Display
Case NZXT Source 210
Audio Device(s) Logitech G430 Headset
Power Supply Corsair CX650M
Mouse Microsoft Trackball Optical 1.0
Keyboard HP Vectra VE keyboard (Part # D4950-63004)
Software Whatever build of Windows 11 is being served in Dev channel at the time.
Benchmark Scores Corona 1.3: 3120620 r/s Cinebench R20: 3355 FireStrike: 12490 TimeSpy: 4624
There were some comments of Intel's Compiler being involved in these shenanigans, again.

Can't help but think they're onto something.
 
Joined
Mar 23, 2016
Messages
4,839 (1.64/day)
Processor Ryzen 9 5900X
Motherboard MSI B450 Tomahawk ATX
Cooling Cooler Master Hyper 212 Black Edition
Memory VENGEANCE LPX 2 x 16GB DDR4-3600 C18 OCed 3800
Video Card(s) XFX Speedster SWFT309 AMD Radeon RX 6700 XT CORE Gaming
Storage 970 EVO NVMe M.2 500 GB, 870 QVO 1 TB
Display(s) Samsung 28” 4K monitor
Case Phantek Eclipse P400S (PH-EC416PS)
Audio Device(s) EVGA NU Audio
Power Supply EVGA 850 BQ
Mouse SteelSeries Rival 310
Keyboard Logitech G G413 Silver
Software Windows 10 Professional 64-bit v22H2
There were some comments of Intel's Compiler being involved in these shenanigans, again.

Can't help but think they're onto something.
The most likely reason is it targeted Bulldozer back when the game was in early development I had read.
 
Joined
Apr 12, 2013
Messages
6,742 (1.68/day)
But Bulldozer was promoting usage of more cores, even when everyone else was hyping the next Intel *well on the roadmap!
 
Joined
May 8, 2018
Messages
1,495 (0.69/day)
Location
London, UK
How in the earth this AAA game has still not been updated for the new ryzen cpus?
 
Joined
Mar 23, 2016
Messages
4,839 (1.64/day)
Processor Ryzen 9 5900X
Motherboard MSI B450 Tomahawk ATX
Cooling Cooler Master Hyper 212 Black Edition
Memory VENGEANCE LPX 2 x 16GB DDR4-3600 C18 OCed 3800
Video Card(s) XFX Speedster SWFT309 AMD Radeon RX 6700 XT CORE Gaming
Storage 970 EVO NVMe M.2 500 GB, 870 QVO 1 TB
Display(s) Samsung 28” 4K monitor
Case Phantek Eclipse P400S (PH-EC416PS)
Audio Device(s) EVGA NU Audio
Power Supply EVGA 850 BQ
Mouse SteelSeries Rival 310
Keyboard Logitech G G413 Silver
Software Windows 10 Professional 64-bit v22H2
But Bulldozer was promoting usage of more cores, even when everyone else was hyping the next Intel *well on the roadmap!
Maybe there was a performance impact to Bulldozers usage of SMT with the shared module core design?
 
Joined
Feb 15, 2019
Messages
1,530 (0.81/day)
System Name Personal Gaming Rig
Processor Ryzen 7800X3D
Motherboard MSI X670E Carbon
Cooling MO-RA 3 420
Memory 32GB 6000MHz
Video Card(s) RTX 4090 ICHILL FROSTBITE ULTRA
Storage 4x 2TB Nvme
Display(s) Samsung G8 OLED
Case Silverstone FT04
So,

it does not support SMT on Ryzen CPU.
it does not support DXR on RX6000 GPU
 
Joined
Jan 24, 2011
Messages
272 (0.06/day)
Processor AMD Ryzen 5900X
Motherboard MSI MAG X570 Tomahawk
Cooling Dual custom loops
Memory 4x8GB G.SKILL Trident Z Neo 3200C14 B-Die
Video Card(s) AMD Radeon RX 6800XT Reference
Storage ADATA SX8200 480GB, Inland Premium 2TB, various HDDs
Display(s) MSI MAG341CQ
Case Meshify 2 XL
Audio Device(s) Schiit Fulla 3
Power Supply Super Flower Leadex Titanium SE 1000W
Mouse Glorious Model D
Keyboard Drop CTRL, lubed and filmed Halo Trues
Maybe there was a performance impact to Bulldozers usage of SMT with the shared module core design?

The issue is that CDPR lifted a method from GPUOpen that was only supposed to serve as an example of how to manage your thread pool in games which didn't scale well with SMT on Zen 1 (recall that Bulldozer does not feature SMT.) The guidance accompanying the method explicitly advises developers to profile their code and determine the best way to configure the thread pool for their particular application. CDPR just used the example unchanged, so non-Bulldozer processors from AMD now don't get SMT support (until they patch it or you patch it yourself.)

Reference: https://gpuopen.com/learn/cpu-core-count-detection-windows/
 
Joined
Dec 29, 2010
Messages
3,449 (0.71/day)
Processor AMD 5900x
Motherboard Asus x570 Strix-E
Cooling Hardware Labs
Memory G.Skill 4000c17 2x16gb
Video Card(s) RTX 3090
Storage Sabrent
Display(s) Samsung G9
Case Phanteks 719
Audio Device(s) Fiio K5 Pro
Power Supply EVGA 1000 P2
Mouse Logitech G600
Keyboard Corsair K95
Apparently it’s early code that targeted Bulldozer.

That's pretty freaking sad yet very hilarious at the same time. CDPR kind dropped down a few pegs on this.
 
Joined
Jul 3, 2019
Messages
300 (0.17/day)
Location
Bulgaria
Processor 6700K
Motherboard M8G
Cooling D15S
Memory 16GB 3k15
Video Card(s) 2070S
Storage 850 Pro
Display(s) U2410
Case Core X2
Audio Device(s) ALC1150
Power Supply Seasonic
Mouse Razer
Keyboard Logitech
Software 21H2
CDPR have SO MUCH WORK infront of them. It's both funny and sad to me, that after all those years (8?) of development this is what we've got.
 
Joined
Jun 19, 2010
Messages
401 (0.08/day)
Location
Germany
Processor Ryzen 5600X
Video Card(s) RTX 3050
Software Win11
the code says something like:
if AuthenticAMD than:kookoo: then use this
if (Bulldozer than Threadcount=logical)
if not (than threadcount=corecount)

yeah it´s from 2017 when Win10 didn´t have its threading optimizations, so eventually it´s very dull to make anything like this, every game should get all logical threads, in some very old code or rare cornercases it can be manually fixed with affinity in taskmanager or SMT turned off, but in general that part of the 2017 code is idiotic now.
Should only take a couple of minutes/seconds to fix.
 
Last edited:
Joined
Oct 22, 2014
Messages
13,210 (3.81/day)
Location
Sunshine Coast
System Name Black Box
Processor Intel Xeon E3-1260L v5
Motherboard MSI E3 KRAIT Gaming v5
Cooling Tt tower + 120mm Tt fan
Memory G.Skill 16GB 3600 C18
Video Card(s) Asus GTX 970 Mini
Storage Kingston A2000 512Gb NVME
Display(s) AOC 24" Freesync 1m.s. 75Hz
Case Corsair 450D High Air Flow.
Audio Device(s) No need.
Power Supply FSP Aurum 650W
Mouse Yes
Keyboard Of course
Software W10 Pro 64 bit
Joined
Apr 12, 2013
Messages
6,742 (1.68/day)
Joined
Jun 19, 2010
Messages
401 (0.08/day)
Location
Germany
Processor Ryzen 5600X
Video Card(s) RTX 3050
Software Win11
Joined
Jul 3, 2019
Messages
300 (0.17/day)
Location
Bulgaria
Processor 6700K
Motherboard M8G
Cooling D15S
Memory 16GB 3k15
Video Card(s) 2070S
Storage 850 Pro
Display(s) U2410
Case Core X2
Audio Device(s) ALC1150
Power Supply Seasonic
Mouse Razer
Keyboard Logitech
Software 21H2
Last edited:
Joined
May 30, 2018
Messages
1,890 (0.88/day)
Location
Cusp Of Mania, FL
Processor Ryzen 9 3900X
Motherboard Asus ROG Strix X370-F
Cooling Dark Rock 4, 3x Corsair ML140 front intake, 1x rear exhaust
Memory 2x8GB TridentZ RGB [3600Mhz CL16]
Video Card(s) EVGA 3060ti FTW3 Ultra Gaming
Storage 970 EVO 500GB nvme, 860 EVO 250GB SATA, Seagate Barracuda 1TB + 4TB HDDs
Display(s) 27" MSI G27C4 FHD 165hz
Case NZXT H710
Audio Device(s) Modi Multibit, Vali 2, Shortest Way 51+ - LSR 305's, Focal Clear, HD6xx, HE5xx, LCD-2 Classic
Power Supply Corsair RM650x v2
Mouse iunno whatever cheap crap logitech *clutches Xbox 360 controller security blanket*
Keyboard HyperX Alloy Pro
Software Windows 10 Pro
Benchmark Scores ask your mother
It made a pretty big difference with my 3900x even! Worth a try with the dual-chippies. No friggin joke, I was pushing 30-40 in some spots. After patching, the minimum I see is a flat 60, and more often it hangs between 70 and 90, which it never did before the patch. This is high settings + contact shadows enabled with an RTX 2060 driving a 1080p display. I'd say that's actually pretty good for a new game! SOTTR wasn't much better on this system, and that's yesterday's news at this point. This card was basically a brand new midrange choice at that time. Soon, it's going to be approaching entry-level.

And yeah... the launch really is a mess. I seem to be a lucky one with just 1 non-replicable crash in 30 hours of play, and no game breaking bugs... and now, I'm getting performance I'd expect from any other modern game on this setup. Smooth and consistent, generally looking good. But I do see a lot of the bugs and hitches, too. And then there are other things that probably/definitely are not bugs but should be changed and probably WERE flagged during playtesting but never picked-up by debuggers and tweakers.

Just be glad there's a modding community for this game, gonna need it. :laugh:

It was an absurdly ambitious product with a lot of hype... pressures coming from every angle. You can bet it was running hot as hell in their offices. Seems like they made a ton of upgrades to their REDengine. We're on version 4 now. You'd figure this would be the FIRST phase in the project, but that's assuming the best of planning, which tends to go out the window with high confidence and ambition. They'd just had Witcher effin 3 bagged! Of course they'd have high expectations for this project. They peaked K2. But then... as the project grows and new things are brought in, changes to the engine have to happen. More cooks in the kitchen, too. Lots telephone games... yadda yadda.

This probably HAD to be the year for them. The way funding works, who knows? Maybe money said no go on the holdout, has to be here THIS year, by Christmas for the new consoles. Mid/late fall is already prime time, but the console multiplier changes everything, not to mention deals with Nvidia. Otherwise, that leaves next fall. They could drop it in spring/summer but there are huge slumps in sales then, so they would be waiting a full year to drop it. And by then, who knows what they're competing with? They might just have an idea that we don't being on the outside.

Would it have needed that whole year of waiting for the next prime window? How badly would it have hurt them financially to have this thing gathering dust in the back for that much longer? You know? Easy to think in ideals, but it's not always so easy when you're actually in it. This opportunity wouldn't have come again for years. It was the highest paying bet they could've taken. And apperently they needed to take it. If they didn't, there would be no crunching. There'd have been no yes-men working internally to convince the people actually okaying the public messages on progress that what they were saying was true. This is the kind of stuff you get when plans go wrong and things/cash aren't where they are supposed to be.

I think whenever you try to do a game like this, it's inevitably gonna be a mess. It's just a question of how it bubbles up. I think they had to have botched it at least a little on the management side. I promise you, they know most of the issues we are seeing now. They just weren't coordinated enough to squeeze it out in time. And time is critical. Some games can launch on down times and it's fine. Just make what you're gonna make and get the money going as soon as it is ready. But a game of this magnitude... no. It needs to be among the most successful of games to come out not just then, but in the surrounding years! Otherwise, it might not turn over enough for future projects that are likely already on the cutting board, people get screwed, your studio hurts big time... it's just not good. That's leaving out contracts with big names, too. MUCHO no bueno. It would not be out in this state if these things weren't inescapable facts of life for game studios, big and small.

I mean... think about it. How bad does the alternative have to be in order for a major studio to release a game in this state?

Take your pick on who or what is to blame. Management for setting bad goals and missing them? Suits, for spending as much as they did on marketing and probably contributing a lot to things like hiring a top-level actor to feature as a main? Fate for making weird things go wrong that are harder to fix than could reasonably be anticipated? Markets for creating situations where timing is make or break, down to the year of launch? It's all there. Another great game held back by a bad launch. Another victim of that gumbo of bad corporate norms, cut-throat sales markets, and irresponsible people in the wrong positions.

Still an all-around great game and likely a very important one for the lexicon. I'm sure it will still go well for them. Hopefully it won't be *too* long before everyone can fully enjoy it as intended.
 
Last edited:
Joined
Jan 6, 2014
Messages
597 (0.16/day)
Location
Germany
System Name Main Machine
Processor Intel i9-13900KS
Motherboard ASUS ROG Maximus Z790 Apex
Cooling Water cooling, 2x EK-DDC 3.2 PWM, 1x360mm+1x240mm+1x120mm EK, Mora 360 Pro, EK-Quantum Velocity 2
Memory G.SKILL 32GB DDR5-7200, 7200J3445G16GX2-TZ5RS
Video Card(s) ASRock RX 7900 XTX Aqua
Storage 2x WD_BLACK SN850X 1TB und 2TB, 2x8TB Seagate Ironwolf
Display(s) ASUS ROG Strix XG27WQ 27inch 165Hz FreeSync Premium Pro
Case Cooler Master COSMOS C700P
Audio Device(s) Turtle Beach Elite Pro Tournament + Elite Pro TAC
Power Supply Corsair AX1600i 1600W Titanium
Mouse Logitech G903 LIGHTSPEED Wireless
Keyboard ROCCAT Ryos MK Pro
Software Win 11
So,

it does not support SMT on Ryzen CPU.
it does not support DXR on RX6000 GPU

Yes really annoying and kind of sounds like consepercy theory. :(
I have both 5800x and 6800XT and bought Cyberpunk.
Ryzen has been out for ages now and they support only Buldozer.:banghead:

I played so far only 1hour and now I think I made mistake to buy this game so early. :shadedshu:

I loved Witcher games but seeing these issues they currently have with Cyberpunk no wonder they delayed it multiple times.

I will try the workaround and see how that helps.
 
Joined
Jan 2, 2018
Messages
273 (0.12/day)
You can "return" the game and receive a refund if you havent played 2 hours, as far as i know.
 
Joined
Apr 30, 2008
Messages
4,875 (0.84/day)
Location
Multidimensional
System Name Boomer Master Race
Processor AMD Ryzen 7 7735HS APU
Motherboard BareBones Mini PC MB
Cooling Mini PC Cooling
Memory Crucial 32GB 4800MHz
Video Card(s) AMD Radeon 680M 8GB IGPU
Storage Crucial 500GB M.2 SSD + 2TB Ext HDD
Display(s) Sony 4K Bravia X85J 43Inch TV 120Hz
Case Beelink Mini PC Chassis
Audio Device(s) Built In Realtek Digital Audio HD
Power Supply 120w Power Brick
Mouse Logitech G203 Lightsync
Keyboard Atrix RGB Slim Keyboard
VR HMD ( ◔ ʖ̯ ◔ )
Software Windows 10 Home 64bit
Benchmark Scores Don't do them anymore.
Yes really annoying and kind of sounds like consepercy theory. :(
I have both 5800x and 6800XT and bought Cyberpunk.
Ryzen has been out for ages now and they support only Buldozer.:banghead:

I played so far only 1hour and now I think I made mistake to buy this game so early. :shadedshu:

I loved Witcher games but seeing these issues they currently have with Cyberpunk no wonder they delayed it multiple times.

I will try the workaround and see how that helps.

Demand a refund & just wait another 8years until the game is fixed. ;)
 
Top