Author Topic: [GAMES] Can box64 run x86_64 Linux and Windows games?  (Read 4624 times)

tle

  • Sr. Member
  • ****
  • Posts: 467
  • Karma: +53/-0
    • View Profile
    • Trung's Personal Website
[GAMES] Can box64 run x86_64 Linux and Windows games?
« on: August 22, 2023, 07:59:32 am »
It's good to know Box64 0.24 has already supported PPC64LE.

I am curious to see how it would be able to run x86_64 titles. Firstly lets compile the app:


Code: [Select]
git clone https://github.com/ptitSeb/box64.git
cd box64
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=RelWithDebInfo -PPC64LE=1 -DPAGE64K=ON
make -j32
sudo make install


NOTE: I am running Fedora 40 (rawhide) which we all know use 64K Pagesize, hence the PAGE64K is enabled.
Faithful Linux enthusiast

My Raptor Blackbird

tle

  • Sr. Member
  • ****
  • Posts: 467
  • Karma: +53/-0
    • View Profile
    • Trung's Personal Website
Re: [GAMES] Can box64 run x86_64 Linux and Windows games?
« Reply #1 on: August 22, 2023, 08:06:01 am »
Title: Pillars of Eternity
Platform: Linux
Arch: x86_64
Game Engine: Unity3D (OpenGL)
Rating: 1/10 (Super SLOOOOW to load up)

The installer (which is mojosetup-based) could not be run with box64 so I have to use a native x86_64 Linux box to run the installer and copy all files to my PPC64LE box.

Code: [Select]
box64 ./PillarsOfEternity



No error in the box64 output however the loading time is excruciating! It took 20min to load to the first screen! Then any other click to New Game does not respond. That's the furthest I could get to with this game.
Faithful Linux enthusiast

My Raptor Blackbird

tle

  • Sr. Member
  • ****
  • Posts: 467
  • Karma: +53/-0
    • View Profile
    • Trung's Personal Website
Re: [GAMES] Can box64 run x86_64 Linux and Windows games?
« Reply #2 on: August 22, 2023, 08:38:23 am »
Due to lacking of JIT, the performance is obviously subpar to that of ARM64

Ref: https://github.com/ptitSeb/box64/issues/242

Let's hope they would wrap up the work for RISC-V JIT quickly so they could spend time on porting JIT for PPC64LE
Faithful Linux enthusiast

My Raptor Blackbird

ClassicHasClass

  • Sr. Member
  • ****
  • Posts: 473
  • Karma: +37/-0
  • Talospace Earth Orbit
    • View Profile
    • Floodgap
Re: [GAMES] Can box64 run x86_64 Linux and Windows games?
« Reply #3 on: August 23, 2023, 04:54:51 pm »
Semi-related, I did some basic work on a JIT for blink a couple months back, but there's a bug in it I was never able to figure out, and it doesn't have great debugging facilities for JIT-generated code.

tle

  • Sr. Member
  • ****
  • Posts: 467
  • Karma: +53/-0
    • View Profile
    • Trung's Personal Website
Re: [GAMES] Can box64 run x86_64 Linux and Windows games?
« Reply #4 on: August 23, 2023, 06:03:27 pm »
What is `blink`?
Faithful Linux enthusiast

My Raptor Blackbird

Hasturtium

  • Full Member
  • ***
  • Posts: 155
  • Karma: +10/-0
    • View Profile
Re: [GAMES] Can box64 run x86_64 Linux and Windows games?
« Reply #5 on: August 23, 2023, 08:38:44 pm »
What is `blink`?

The rendering backend for Chromium/Chrome, I'd guess.

MPC7500

  • Hero Member
  • *****
  • Posts: 596
  • Karma: +42/-1
    • View Profile
    • Twitter
Re: [GAMES] Can box64 run x86_64 Linux and Windows games?
« Reply #6 on: August 24, 2023, 01:39:35 pm »
What comes through my mind
https://github.com/jart/blink

ClassicHasClass

  • Sr. Member
  • ****
  • Posts: 473
  • Karma: +37/-0
  • Talospace Earth Orbit
    • View Profile
    • Floodgap
Re: [GAMES] Can box64 run x86_64 Linux and Windows games?
« Reply #7 on: August 24, 2023, 10:09:22 pm »