From 6c159372f56aab84b49d8d34e548e6c91436b6d8 Mon Sep 17 00:00:00 2001 From: Evan Husted Date: Sun, 2 Mar 2025 02:26:37 -0600 Subject: [PATCH] Clarify that this branch should not really be used yet --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index bb51dee13..14b558cc5 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,12 @@ +# You have stumbled on a gimped version of Ryujinx. +This is the NativeAOT branch. It should run much faster than the normal version, however it's ruined by one thing: the Macro JIT. +This single part of Ryujinx, which handles common Maxwell GPU Macros by using .NET Reflection Emit, is entirely unusable via NativeAOT and it kills the performance. +I was getting 20FPS in BOTW with 98% FIFO usage. +This is compared to over 100FPS with about 70% FIFO usage in standard, managed C#, Ryujinx. + +If there are any JIT wizards out there; I am calling to you. I believe getting this to work would be a game changer. +[This is the offending JIT implementation.](https://github.com/Ryubing/Ryujinx/blob/feature/native_aot/src/Ryujinx.Graphics.Gpu/Engine/MME/MacroJitCompiler.cs) +