Skip to content(if available)orjump to list(if available)

Native vs. emulation: World of Warcraft game performance on Snapdragon X Elite

KeplerBoy

I'm somewhat surprised that WoW runs on high settings on iGPUs these days.

artimaeis

It offers native x86, Windows on ARM, and Apple Silicon versions.

I think this is incorrect. Specifically the Windows ARM support. Official hardware support page indicates that the Windows version requires x64. I unfortunately don’t have the hardware to confirm for myself. But Blizzard is the kind of company that would have made a blog post about that.

https://us.support.blizzard.com/en/article/76459

This is neat, and exciting that Windows emulation tooling is progressing! It seems like there’s a lot of work hardware vendors would need to do in order to make Win/Arm viable for game devs. I really wonder if that’s ever going to happen.

AndrewDavis

> I think this is incorrect. Specifically the Windows ARM support. Official hardware support page indicates that the Windows version requires x64. I unfortunately don’t have the hardware to confirm for myself. But Blizzard is the kind of company that would have made a blog post about that.

It has been around for a while, circa 2021. They made a forum post when they released it.

For reasons unknown the link no longer works but here it is on the wayback machine. https://web.archive.org/web/20210512205620/https://us.forums...

mahmoudimus

Windows ARM builds are available on their CDN.

vintagedave

I’m curious if WoW is using any newer x86 instruction sets like AVX. I’ve been testing some math benchmarks on ARM emulating x64, and saw very little performance improvement with the AVX2+FMA builds, compared to the SSE4.x level. (X64 v2 to v3.) It was unexpected.

It’s the first Windows build with Prism and the first time they’ve introduced AVX(2) support, so I wonder simply if the performance isn’t there yet. I’ve found very little info online about this.

cosmic_cheese

Interesting, I didn't know they'd added an Windows/ARM build. Makes some sense though, WoW has always been one of the best about broad platform/arch support… macOS/PPC and Windows/x86 versions were both available from day one and have stayed in lockstep the whole time, and it was among the first games to make both the PPC → x86 jump and x86 → ARM jump on Macs. Have heard that they had Linux builds internally early on too.

eptcyka

Wine has almost always worked, back when I played.

PeterStuer

Does WoW still use Blizzard's in house anti-cheat engine (Warden)? Interesting how the emulated version did not trip this.

ohnoesjmr

The anti-cheat streams executable code into the client, and that code is mostly for detecting tampering with the game, injected modules, etc.

Not sure they care about it running in an emulated environment.

They do effectively allocate an executable memory region, copy the machine code that was streamed into it, and jump to it.

I guess in this case the emulation is an actual vm, rather than "rewrite x86 instructions into arm" (don't know much about this subject, but assumed that was how rosetta worked)

mort96

Rosetta 2 rewrites x86 instructions into ARM, but it does this on the fly for generated instructions too. When you put x86 machine code into a buffer and then jump to execute it, Rosetta 2 dynamically translates those generated instructions into arm before executing them.

At least that's what I gathered around the time it was released. It seems to hold up; JITed x86 applications work great under Rosetta 2.

ktallett

I didn't know it did for quite a while. I have regularly emulated WoW on Linux since 2013 and not had any significant issues.

jauntywundrkind

I'm tentatively excited for the new Snapdragon X2 Elite. Or I would be if any of us could ever afford RAM prices ever again.

The high end model has a 192-bit memory bus, a 3 channel design. 12+6 cores but very big/big more than less big/little. 53MB L3 cache is quite healthy. 80TOps NPU (int8). 9533 MT/s 192-bit memory for 228GB/s which is nipping right at Strix Halo & Nvidia Spark's heels. 12x PCIe 5.0, 4x PCIe 4.0, and "3x USB-C" 40Gb/s (hopefully not some shared bandwidth cop out). And some kind of pretty big GPU. The specs here are quite promising.

And Qualcomm has started taking Linux drivers somewhat more seriously. Linux & mesa drivers are arriving now for previous Snapdragon X Elite & looking pretty promising. That said, this whole Device Tree world is hell, and never going to be good, and Qualcomm direly needs to get religion there & get some ServerReady type ACPI + UEFI compatibility standardized in the products, and stop OEMs from shipping these awful embedded-style non-PC things.

I'm excited to see ARM finally actually show up with something competitive. Alas though, those RAM prices. What a sad buzzkill, and man this is going to take forever to work out.

arjie

I have always had trouble acquiring the actual devices at a competitive price. It is cheaper to get an M-series Mac Mini than a Snapdragon X Elite box and the former smokes the latter. The one advantage of the non-Macs is usually that their Linux support is good, but the Ideacentres or whatever that ship the S X E don't have very much support. Despite being fairly eager to try out this device, I could not bring myself to spend the money on what would remain in the closet after I failed to boot a Linux, any Linux.

DeathArrow

The emulated version beats the native version some times. Either the emulator is very good or the ARM build isn't optimized too much.

geekman7473

TL;DR the author attempts to measure the ratio between native and emulated performance using Microsoft Prism on Windows. His measurements suggest that the emulated performance is very close to native performance.

Though I am not skeptical of the authors methodology, I do suspect that the ARM64 build of WoW may not be as "optimized" as the x64 build. This is because in some of his workloads the emulated game actually outperformed the native game.

MuffinFlavored

How hard would it be for Blizzard to just recompile WoW to support arm64?

wyldfire

As others have said in this thread, they did.

But to answer your question as if they had not yet: it's never "just" recompiling. It's:

* recompile (and fix any warnings/errors indicated by the compiler)

* re-test ... the entire game

* fix the bugs that are encountered in test

* release/publish the game for Windows ARM64

Whatever this effort is, it's much much more than "just" recompiling. You could imagine motivated individuals on the engineering team chipping away at this list of their own accord. But following through with a product requires significant effort and coordination that often is weighed against the potential revenue that this new market could provide.

mort96

A really fun thing is that arm and x86 have different char signedness: char is signed on x86, unsigned on arm. This has tripped me up more than a few times when I try to compile software that's only been tested on x86 for an arm machine.

Now WoW already supports Apple Silicon on macOS so most of that was already taken care of, but I'm betting there's a lot of Windows-specific code in there too.

pdpi

They've supported macOS through all of PowerPC, Intel, and now ARM. I'm sure Windows on ARM should be trivial for them.

mort96

They did the work your parent comment describes for macOS on PowerPC, macOS on Intel, and macOS on arm. They can do the work, but it's still work.

MangoToupe

> * re-test ... the entire game

That seems a bit absurd. Surely many parts of the game won't likely have bits of code that interact with architecture in unique ways. Especially if you wrote the game in relatively portable code to begin with (as WoW almost certainly was).

I mean idk, maybe windows arm64 is a uniquely nasty target. But i'm skeptical.

jama211

I mean you can release it with loads of parts untested and just _hope_ there aren’t bugs there, it’s definitely an option. It’s risk vs reward there.

teraflop

They did, and that's what this article is benchmarking.

Specifically, it's comparing the native ARM64 version against the emulated x86_64 version, both running on an ARM64 CPU.

pxc

It seems that "native vs. emulated" here means "arm64 binaries vs. x86 binaries, both running on Windows". So the comparison that the OP is making wouldn't be possible if Blizzard didn't already support aarch64.

vbezhenar

They support arm64