Ryujinx
Ryujinx copied to clipboard
Global memory emulation using NV_shader_buffer_store and DrawElementsIndirect macro HLE
This is mostly a bunch of changes/fixes to get Nintendo Switch Sports working. I don't plan to get this specific PR merged, instead each change should be PRed and tested individually later.
This includes the following changes:
- New approach for global memory emulation. This approach works for games that passes GPU pointers to the shader and access them directly. It requires
NV_shader_buffer_storeOpenGL extension that is only supported by NVIDIA, so it won't work on other vendors. - HLE macro for
DrawElementsIndirect. Not necessary to make it work, but it improves the performance. - Some shader fixes related to geometry shader passthrough.
This change allows the game to go in-game on NVIDIA as you can see on the screenshots below.

Download the artifacts for this pull request:
- ryujinx-Release-1.0.0+9203702-linux_x64
- ryujinx-Release-1.0.0+9203702-osx_x64
- ryujinx-Release-1.0.0+9203702-win_x64
GUI-less (SDL2)
Even with 1.0.0+9203702 (winx64 version), the game crash after we launch a party (launch any game or motion controls calibration always failed or go to avatar creator or both of them) and joyconpair always required even in game with 1 joycon.
Nintendo Switch Sports: Needs ignore missing services (ref: Discord Message)
list of issues found: Random freezing in loading screens (no error in the log) (ref: Discord Message) Some of the games don't use motion correctly
try with real joycons and emulator pop up message with bad config to player1 player2 player3 player4 i have try all but unable to start any party
even when im running ryujinx 1.0.0 9203702 (win_x64) the game crashes when i try to start a game.
even when im running ryujinx 1.0.0 9203702 (win_x64) the game crashes when i try to start a game.
you need to enable ignore missing services in the settings
If i play Nintendo Switch Sports game has been very strange.
Ryujinx_1.1.0+9203702_2022-05-11_18-50-29.log
- Ryujinx version: 1.1.0+9203702
- Game version: 1.1.0
- System Specs:
- OS: Microsoft Windows 10.0.18362 (X64)
- CPU: AMD Ryzen 5 3600 6-Core Processor
- GPU: NVIDIA GeForce GTX 750
- RAM: 16307 MB
- Applied Mods : No
Tested a multitude of games (HWDE, SMO, MK8D) and didn't notice any crashes with this PR.
Is there anyway to enable the artifacts on this? Looks like it expired 2 days ago and this fix hasn't been rolled up yet.
pls reploud the artifacts
Superseded by #4047.