Author Topic: Porting Godot 4 to POWER9 and the Libre-SOC.  (Read 5474 times)

isengaara

  • Newbie
  • *
  • Posts: 9
  • Karma: +5/-0
    • View Profile
Porting Godot 4 to POWER9 and the Libre-SOC.
« on: September 19, 2021, 09:41:03 am »
I tried to compile Godot 4 on my Talos II, it failed because the Talos II does not not use an Intel CPU. The embree library currently only runs on latest Intel CPUs and the Apple M1 afaik.

tle

  • Sr. Member
  • ****
  • Posts: 463
  • Karma: +53/-0
    • View Profile
    • Trung's Personal Website
Re: Porting Godot 4 to POWER9 and the Libre-SOC.
« Reply #1 on: September 20, 2021, 12:31:59 am »
If the author does not support ppc64le or ppc64be, I think the users (that is us) should delve into the code to see if it could be ported over.

Perhaps you should google around to see if anyone has attempted to port this software to ppc64le yet
Faithful Linux enthusiast

My Raptor Blackbird

MPC7500

  • Hero Member
  • *****
  • Posts: 588
  • Karma: +41/-1
    • View Profile
    • Twitter
Re: Porting Godot 4 to POWER9 and the Libre-SOC.
« Reply #2 on: September 20, 2021, 07:00:49 am »
At least a port to PPC64le was discussed
https://github.com/godotengine/godot/issues/24190
« Last Edit: September 20, 2021, 07:02:33 am by MPC7500 »

ClassicHasClass

  • Sr. Member
  • ****
  • Posts: 467
  • Karma: +35/-0
  • Talospace Earth Orbit
    • View Profile
    • Floodgap
Re: Porting Godot 4 to POWER9 and the Libre-SOC.
« Reply #3 on: September 20, 2021, 06:00:10 pm »
I'm surprised Embree works on the M1, given that it's an Intel product (unless you mean not natively, i.e. through Rosetta 2).

isengaara

  • Newbie
  • *
  • Posts: 9
  • Karma: +5/-0
    • View Profile
Re: Porting Godot 4 to POWER9 and the Libre-SOC.
« Reply #4 on: September 23, 2021, 11:17:22 am »
Before getting embree working, I need to get Vulkan rendering on the CPU as there is no GPU on the Talos II.
On the Libre-SOC the CPU is the GPU, the PowerISA is extended to do GPU workloads at 2.5 Watts.
Minetest and other 3D OpenGL are playable on a quadcore Talos II, but Vulkan complains that there is
no DRI3 support.

lspci
0000:00:00.0 PCI bridge: IBM POWER9 Host Bridge (PHB4)
0000:01:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM961/PM961/SM963
0001:00:00.0 PCI bridge: IBM POWER9 Host Bridge (PHB4)
0001:01:00.0 Audio device: Creative Labs Sound Core3D [Sound Blaster Recon3D / Z-Series] (rev 01)
0002:00:00.0 PCI bridge: IBM POWER9 Host Bridge (PHB4)
0003:00:00.0 PCI bridge: IBM POWER9 Host Bridge (PHB4)
0003:01:00.0 USB controller: Texas Instruments TUSB73x0 SuperSpeed USB 3.0 xHCI Host Controller (rev 02)
0004:00:00.0 PCI bridge: IBM POWER9 Host Bridge (PHB4)
0004:01:00.0 Ethernet controller: Broadcom Inc. and subsidiaries NetXtreme BCM5719 Gigabit Ethernet PCIe
0004:01:00.1 Ethernet controller: Broadcom Inc. and subsidiaries NetXtreme BCM5719 Gigabit Ethernet PCIe
0005:00:00.0 PCI bridge: IBM POWER9 Host Bridge (PHB4)
0005:01:00.0 PCI bridge: ASPEED Technology, Inc. AST1150 PCI-to-PCI Bridge (rev 04)
0005:02:00.0 VGA compatible controller: ASPEED Technology, Inc. ASPEED Graphics Family (rev 41)

glxgears
5432 frames in 5.0 seconds = 1086.261 FPS
5643 frames in 5.0 seconds = 1128.498 FPS

./gears
WARNING: lavapipe is not a conformant vulkan implementation, testing use only.
vulkan: No DRI3 support detected - required for presentation
Note: you can probably enable DRI3 in your Xorg config
Could not find a graphics and/or presenting queue!

MPC7500

  • Hero Member
  • *****
  • Posts: 588
  • Karma: +41/-1
    • View Profile
    • Twitter
Re: Porting Godot 4 to POWER9 and the Libre-SOC.
« Reply #5 on: October 01, 2021, 07:13:06 pm »
By accident I discovered that Godot is available on Void Linux.

isengaara

  • Newbie
  • *
  • Posts: 9
  • Karma: +5/-0
    • View Profile
Re: Porting Godot 4 to POWER9 and the Libre-SOC.
« Reply #6 on: February 25, 2022, 10:44:58 am »
I"m now able to run Godot4 on my Talos II using Debian SID which I installed on an external harddisk.

Godot Engine v4.0.alpha.custom_build.24fa2e75d - https://godotengine.org
Vulkan API 1.2.0 - Using Vulkan Device #0: Unknown - llvmpipe (LLVM 13.0.1, 128 bits)
WARNING: lavapipe is not a conformant vulkan implementation, testing use only.

Embree seems to be optional, and is not used on POWER9 and ARM.