Index

Switch games draw through NVN, NVIDIA's graphics API, which runs as guest code. On the console it writes Maxwell pushbuffers and submits them through nvdrv. ScarletNX runs the game's NVN calls itself (src/nx/gpu/nvn/): the loader (nvn_loader.c) takes every NVN function the game resolves, the queue replays its recordings on the GPU thread (nvn_replay.c), and the renderer (vk/) draws them. The game's NVN driver never runs past its own name lookup. A program that writes its own command buffers goes through the Maxwell front end instead (Architecture). This page records what the SDK does, as the investigation found it. Facts marked as observations come from one or two titles and are not rules for every SDK version.

The games that this page refers to are game A, game B, game C and game D. The command buffer study read the SDKs of game A and game B. Game C has an older SDK than the others.


Made from docs/layers/gpu/nvn.md at 69237645142c. GPL-3.0-or-later.