Current status of Gallium Nine on Panfrost
Hi folks, during the last week I've been testing gallium nine over panfrost (close to main) with BOX86 on s905y2 and A311D, but this rest reports were made on the S905y2, there is no difference at the end on the results. gallium nine is overall FAR superior than wine3D while doing emulation, not only is more power efficient, but also frees a lot of cpu cycles to do the actual emulation, providing far better performance than wine3d, and problaby dxvk, something I did not tested on my side. Even then, nine is still faster on several dx9 games compared to dxvk9 on x86_64 platforms, the same will be here (or more).
I got very good results on many games, shifting from radxa zero (s905y2) to radxa zero 2 in order to have something more powerful for comparison and to discard cpu bottlenecks. on many games the A311D device was barely faster (50%) while it-s a far more powerful device than S905Y2. there are situations that going from 800x600 to 1080p almost doesn't change the performance, so, there must be something under the hood impacting on the overall nine performance on panfrost.
this is the setup on the zero, with a bunch of traces made with latest apitrace windows x86 on some games in which nine on panfrost was partially or completely broken. I would make more, but some may be related and would like to know if there is interest on your side to investigate this.
I understand that some games will never be possible to be run on bifrost bc they are not conformant dx9 gpus
3.3 Mesa 23.1.0-devel (git-71a6b531 2023-02-06lunar-oibaf-ppa) when utilizing a dx8 to dx9 wrapper, the wrapper used was https://github.com/crosire/d3d8to9/releases
flatout, completely broken from launch https://drive.google.com/file/d/1JnekDi8SMOwBN-d4DUbzG55UV9F_PO5s/view?usp=share_link
prince of persia, sand of time, quite broken right from the menu https://drive.google.com/file/d/1YUdYZrz3W5RTWVGhOJ4kefSaOFrxSOaa/view?usp=sharing
mafia, a variety of artifacts https://drive.google.com/file/d/1XDVBemKn7AACZXPR2qRW6XKN01P2aMFP/view?usp=sharing
007 nightfire, used a wrapper here to use nine, completely broken, similar to prince of persia I believe https://drive.google.com/file/d/1jKeN3usHIJ4pvkGpSZo9gPeFnQLKbx7t/view?usp=sharing
BF1942 dx8 to dx9 wrapper used here https://drive.google.com/file/d/1aMppfCmj-Wqc_x_fEc-ygolObyYnOpn7/view?usp=sharing
Garfield, DX9 broken/glitchy output ingame. d3d9-garfield-panfrost-bifrost.trace
another trace on main mesa with t860 by myself600 it crash on launch, but replays and dump. hde.trace
shantae risky revenge does work but also does a very blurry output, like Aggelos. https://drive.google.com/file/d/1klJtTxxfhRadTG_8IXfqI0A63sZzY-Ii/view?usp=sharing
a quick new demo of nine on panfrost https://www.youtube.com/watch?v=ElwAjZa8HfE (note that xmen on the zero 2 was at lower 640x480 by mistake and even then...same perfomance as zero) @alyssa @okias @lorn10
A more grateful demo on A311D with nine on SonicMania, there are some microstutters, but great overall. https://youtu.be/YvvxEDGB5Ys