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

1 day ago (rkblog.dev)

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.

  • > 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...

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.

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.

  • Wine has almost always worked, back when I played.

    • There was a native Linux client available when the game was still in alpha. Circa 2002/2003

      Blizzard leans heavily on making sure their software is portable!

    • I recall seeing that it ran better on wine than on windows on the same hardware.

      Never tested myself as I'm more a runescape/ragnarok online sorta guy myself...

I wish ARM wasn't so messy for Linux, with out of date device trees etc.

All I want is something like a Macbook Air, but running Linux - long battery life, acceptable performance, an OS that respects me.

  • This is also why I don't get why people are so enthusiastic about ARM. While there is nothing technically preventing manufacturers from using extensible standards and technologies like ACPI, UEFI, etc. with ARM, pretty much no one does. Meaning these devices are closed and pretty unusable with Linux.

    • Linux had the chance to fight against what GNU called "TiVoisation" but Linus said TiVo did nothing wrong.

      So now we have a world full of devices running open software but which are locked down. And a Linux foundation run by corporates.

      To me it is clear this was indeed a huge problem. Linux might not have become as big as it is now if it had taken GPL3 on board but it would have made it a lot harder for manufacturers to do what they're doing.

      1 reply →

    • I strongly agree with you. My little experience tinkering with ARM-based systems has been frustrating, I don't want to touch ARM ever again until it has some kind of standard boot process. Same for RISC-V.

    • ARM does not have a 'ibm pc clone' moment. There is no one, that anyone wants to rally behind. The market is fragmented in an interesting way but a way that is hard for people to target. This fragmentation has existed since the start of microprocessor was started. There were hundreds of different x86, 6502, SH, MIPS, ARM style computers as well. Even the 'ibm pc' was even one of them, but everyone just kinda said 'that one'. All of those standards you said exist in some ARM boards. It is a really mixed bag. Out of all of the ARM systems RasberryPI came closest to a standard.

      QCOM in this case probably could make a standard ARM PC. The problem will be QCOM corporate structure will probably strangle it. They will want to create a patent license stream. The interesting bits would be behind NDAs. It is their bread and butter.

      The reality is no one wants to be IBM in the IBM/PC clone market. Basically the ones who did the expensive work to make the board but everyone just copies it.

    • ARM support is still mediocre, but it's improving with the new Snapdragons. Every generation seems to make running normal Linux on those things a little bit less of a pain.

      Funnily enough, the device with probably the best "normal" desktop protocol support is the old Windows RT tablet, which features an ARM SoC that runs UEFI and ACPI and everything. It's locked down to Microsoft's secure boot keys, unfortunately, but thanks to Microsoft abandoning the device, there are exploits you can use to bypass that.

      1 reply →

You should add the newest zones, Dornogal and K'aresh (or Manaforge Omega raid) to the zone list. They are very heavy on graphics.

Besides, I'd look forward to testinf with the nea ARM emulation layer Valve is developing.

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

  • 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)

    • 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.

  • 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.

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.

  • 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.

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

  • How well it runs scales with how new the content is. They illustrated this in the article, but they didn't test the current expansion content and high traffic areas. I imagine main hubs like Dornogal or the current raid tier will require dropping the graphics very low to not have a slide show. Bumping up the resolution has a significant impact as well.

    • With player hubs, it's always a stutter, but it also depends on the network connection - you can have someone with the best rig showing 10 FPS and someone on a laptop with 30-40 FPS at the same time.

      Mass mobs combat in Karazhan is a pretty good raid tester - in raids, the FPS won't be as low as that (AVG), but the 1%/0.1% lows will be quite close. For systems with weaker and weaker CPUs, even the AVG FPS will come closer and closer as the game will get a single-core "world state" bottleneck more easily. I did some comparison benchmarks before for this, including a world boss world quest with lots of people ;)

      Also, regressions in WoW are a nightmare to handle. You go to the latest raid, the FPS is fine, but someone next to you has a slideshow.

I've been very curious about this since they added Windows on ARM support. Admittedly there hasn't been a really performant SoC to see how it stacks up to Apple Silicon. The Apple Silicon version runs so well I had hoped they brought that same performance jump to Windows on ARM. One thing I noticed about the Apple Silicon version was that it loads the game world significantly faster than x86. Even with lots of heavy addons. I'm curious if that mirrors to Windows ARM.

Also curious if Battle.net client has the same bug as Apple Silicon where it consistently needs to run a game "update" after closing the game. The client is still x86 even on macOS so I'm wondering if this is an translation issue that could be fixed with a proper native client.

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

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.

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

  • 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.

    • 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.

    • > * 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.

      8 replies →

  • 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.

  • 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.