pwshub.com

A RISC-V "PC" can now run a choppy rendition of The Witcher 3

Serving tech enthusiasts for over 25 years.
TechSpot means tech analysis and advice you can trust.

In context: The RISC-V chip architecture is just ten years old, while the x86 standard was first introduced in 1978. Yet, someone is trying to bring a somewhat working emulation of Intel's CPU technology to the newer, open-standard instruction set with moderately successful results.

Developers working on the Box86 and Box64 emulation projects want to run "triple-A" PC games on the RISC-V architecture. They started with The Witcher 3: Wild Hunt, the award-winning action CD Projekt Red RPG released on PCs and consoles in 2015. It is a complex, graphically intensive game that can present a significant challenge for the RISC-based CPU ISA.

Computers with RISC-V PCs aren't too common. The Box64 developers got their hands on a Milk-V Pioneer manufactured by Sophgo, a 64-core RISC-V PC equipped with a PCIe slot. They used that slot for an AMD Radeon RX 5500 XT GPU from 2019.

The developers call Box64 a "Linux Userspace x86-64 Emulator with a twist" on GitHub. The program can run x86-64 Linux applications, including games, on non-x86 CPUs such as Arm. The emulator exploits native versions of some system libraries, such as libc, libm, SDL, and OpenGL, using dynamic recompilation (dynarec) to translate x86 code on the fly.

Emulating x86-64 instructions on the RISC-V architecture can be challenging. The Box64 developers explain that the open ISA lacks many "convenient" instructions for a proper dynarec effort, which means that more native instructions are needed to emulate the same behavior. This complication has detrimental effects on translation efficiency.

Despite the task's complexity, the coders made Box64 compatible with relatively complex titles like The Witcher 3. A brief YouTube video shows the game runs at 15 frames per second at max. Unfortunately, the audio was too choppy to be included in the final rendition of the clip.

It's likely to take a very long time before RISC-V machines become a threat to x86 supremacy for PC gaming. However, progress could improve at an accelerated pace if the chip technology gained enough traction among developers. A year ago, the RV64 DynaRec engine could only support some "easy-to-run" native Linux games. It can now run a more intense Windows title, albeit poorly, but it's at least a step in the right direction.

Source: techspot.com

Related stories
3 weeks ago - A glimpse into the rapidly advancing world of Chinese open source After a couple of years in development, Linux Deepin 23 arrives, with some new shiny that throws shade on the leading Western desktop distros.…
1 month ago - Let's get physical, physical ... I don't wanna hear your MMU talk Black Hat Computer security researchers at the CISPA Helmholtz Center for Information Security in Germany have found serious security flaws in some of Alibaba subsidiary...
1 month ago - Middle Kingdom netizens can look forward to the same kind of letdown Windows users get with Copilot Developers behind openKylin, the desktop Linux distro backed by China's National Industrial Information Security Development Research...
1 week ago - 30+ years ago, PC gamers could choose GPUs from over 10 different makers. The story of Rendition is a fascinating tale of engineering brilliance and lost opportunities from the golden age of graphics. Plus, some easter egg content about...
1 month ago - CrowdStrike reminded the public that BSODs still exist. Their origins go back decades Veteran Microsoft engineer Raymond Chen has taken to his Old New Thing blog to clear up an apparent mystery regarding the origins of the infamous...
Other stories
37 minutes ago - License changes and product bundles aren't going down well, says Gartner's DaaS magical quadrant Citrix has added the ability to control remote macOS machines through its desktop-as-a-service suite, but customers of the product are said...
37 minutes ago - Here's today's NYT Mini Crossword answer. These answers will help you solve New York Times' popular crossword game, Mini Crossword, every day!
1 hour ago - Here's today's Connections answer and hints for groups. These clues will help you solve New York Times' popular puzzle game, Connections, every day!
1 hour ago - Here's today's Wordle answer, plus a look at spoiler-free hints and past solutions. These clues will help you solve New York Times' popular puzzle game, Wordle, every day!
1 hour ago - Here's today's Strands answers and hints. These clues will help you solve The New York Times' popular puzzle game, Strands, every day.