MacMusic  |  PcMusic  |  440 Software  |  440 Forums  |  440TV  |  Zicos
risc-v
Search

What it takes to run The Witcher 3 on RISC-V

Friday August 30, 2024. 11:03 AM , from OS News
The Box64 project, which allows you to run Linux x86-64 binaries on non-x86 architectures like ARM and RISC-V, has achieved a major milestone with its RISC-V backend.

It’s been over a year since our last update on the state of the RISC-V backend, and we recently successfully ran The Witcher 3 on an RISC-V PC, which I believe is the first AAA game ever to run on an RISC-V machine. So I thought this would be a perfect time to write an update, and here it comes.
↫ Box86/Box64 blog

Calling this a monumental achievement would be underselling it. Just in case you understand how complex running The Witcher 3 on RISC-V really is: they’re running a Windows x86 game on Linux on RISC-V using Box64, Wine, and DXVK. This was only made possible relatively recently due to more and more x86 instructions making their way into RISC-V, as well as newer RISC-V machines that can accept modern graphics cards.

The Witcher 3 can runs at about 15 frame per second in-game, using the 64-core RISC-V processor in the Milk-V Pioneer combined with an AMD Radeon RX 5500 XT GPU. That may not sound like much, but considering the complexity underpinning even running this game at all in this environment it’s actually kind of amazing. It seems Box64 could become as important to gaming on ARM and RISC-V Linux as Wine and Proton were for gaming x86 Linux.

There’s still a lot more work to be done, and the linked article details a number of x86 instructions that are particularly important for x86 emulation, but are not available on RISC-V. The end result is that RISC-V has to run multiple instructions to emulate a single x86 instruction (“a whole of 10 instructions for a simple byte add”), which obviously affects performance.
https://www.osnews.com/story/140607/what-it-takes-to-run-the-witcher-3-on-risc-v/

Related News

News copyright owned by their original publishers | Copyright © 2004 - 2024 Zicos / 440Network
Current Date
Nov, Sat 16 - 01:59 CET