All Mods Resource Packs Data Packs Shaders Modpacks Plugins
GFX-Debuggers (NSight and Renderdoc Injector)

GFX-Debuggers (NSight and Renderdoc Injector)

by xirreal • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

GFX Debuggers

This version-agnostic Fabric mod allows you to inject NSight or Renderdoc into Minecraft, without having to fiddle around with launchers, args or environment variables. At launch, it will ask you which debugger you want to attach, and injection can be skipped by closing the dialog. Supports both Linux and Windows, and should work with any version of Minecraft[citation needed], as long as Fabric was ported to it. Requires Fabric Loader 0.14.0+ and Java 17+.

Usage

  1. Install Fabric.
  2. Drop the mod into your mods folder
  3. Launch the game, pick the debugger you want to use
  4. Attach to the game process via your debugger of choice
  5. Profit?

Advanced usage

You can skip the dialog (useful for dev environments) by setting the debugger system property. Allowed options are:

-Ddebugger=nsight-frame   # Launch with NSight Frame Debugger
-Ddebugger=nsight-gpu     # Launch with NSight GPU Trace Profiler
-Ddebugger=renderdoc      # Launch with RenderDoc
-Ddebugger=last           # Re-use the last picked debugger and options
-Ddebugger=skip           # Skip injection entirely, launch the game normally

The last option reads the saved configuration from the picker dialog (stored in .minecraft/config/gfx-debuggers.properties), including the selected debugger, platform, and any GPU Trace options. If no saved config exists, it falls back to showing the picker dialog.

NSight Graphics configuration

If the mod can't find your NSight installation, you can tell it where ngfx is:

Use either a JVM system property or an environment variable (the system property takes priority):

Method Example
System property -Dngfx.path=C:\Program Files\NVIDIA Corporation\Nsight Graphics 2025.5\host\windows-desktop-nomad-x64\ngfx.exe
Environment variable NGFX_PATH=C:\Program Files\NVIDIA Corporation\Nsight Graphics 2025.5

Both accept a direct path to the ngfx executable, an NSight Graphics installation root directory, or a directory containing the executable directly.

Search paths

Windows:

  • %ProgramFiles%\NVIDIA Corporation\Nsight Graphics *\host\windows-desktop-nomad-x64\ngfx.exe
  • %ProgramFiles(x86)%\NVIDIA Corporation\Nsight Graphics *\host\windows-desktop-nomad-x64\ngfx.exe

Linux:

  • ~/nvidia/NVIDIA-Nsight-Graphics-*/host/linux-desktop-nomad-x64/ngfx

NSight is kind of a pain to find, as many people install it on different drives and on linux it doesn't really have a standard location outside ~/nvidia/. The newest version is preferred when multiple installations are found. If you have issues, check the logs to see where it's looking and add the path manually if needed.

RenderDoc configuration

If the mod can't find your RenderDoc installation, you can tell it where the library is:

Use either a JVM system property or an environment variable (the system property takes priority):

Method Example
System property -Drenderdoc.path=C:\Program Files\RenderDoc
Environment variable RENDERDOC_PATH=C:\Program Files\RenderDoc

Both accept either a direct path to the library file (renderdoc.dll / librenderdoc.so) or the directory containing it.

On Linux, the legacy environment variable RENDERDOC_LIB_PATH (expects a direct path to librenderdoc.so) is still supported.

Search paths

Windows

  1. -Drenderdoc.path system property
  2. RENDERDOC_PATH environment variable
  3. %ProgramFiles%\RenderDoc\renderdoc.dll
  4. Versioned folders in %ProgramFiles% (e.g. RenderDoc v1.32)
  5. Same searches under %ProgramFiles(x86)%
  6. %USERPROFILE%\RenderDoc\renderdoc.dll

Linux

  1. -Drenderdoc.path system property
  2. RENDERDOC_PATH environment variable
  3. RENDERDOC_LIB_PATH environment variable (legacy)
  4. Common system library paths (/usr/lib64/renderdoc/, /usr/lib/, /usr/lib/x86_64-linux-gnu/, /usr/local/lib/, etc.)
  5. ~/.local/lib/librenderdoc.so

Paths are searched in the order listed, and the first valid library found is used. If it can't find a valid .dll/.so, it will bail out and won't inject. Everything should be logged if anything goes wrong, so check the logs if you have issues.

How to Install GFX-Debuggers (NSight and Renderdoc Injector) (Mod)

GFX-Debuggers (NSight and Renderdoc Injector) by xirreal is verified for Fabric across Minecraft versions 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4 (latest release: 3.2.0, file size: 78 KB). Follow the steps below to install it safely from ModCraft.tv:

  1. Click the Download button above and select your Minecraft version (1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4) and platform (Fabric).
  2. Make sure you have the compatible loader or environment installed for Fabric.
  3. Move the downloaded GFX-Debuggers (NSight and Renderdoc Injector) file into your Minecraft .minecraft/mods folder and launch the game.

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
26.3 26.2 26.1.x +3
Fabric
8mo ago 1
1.21.x 1.20.x 1.19.x +1
Fabric
9mo ago 1
1.21.x 1.20.x 1.19.x +1
Fabric
9mo ago 1
1.21.x 1.20.x 1.19.x +1
Fabric
9mo ago 1
1.21.x 1.20.x 1.19.x +1
Fabric
last yr. 1
1.20.x 1.19.x 1.18.2
Fabric
last yr. 1
1.20.x 1.19.x 1.18.2
Fabric
last yr. 1
1.20.x 1.19.x 1.18.2
Fabric
last yr. 1
[3.2.0] 3.2.0 by xirreal on Mar 26, 2026
Download
  • Support for NSight 2026.1
  • New flags to skip injection completely or use the last selected option without asking
[3.1.0] GFX-Debuggers 3.1.0 by xirreal on Mar 06, 2026
Download
Expose configurations for GPU trace, with config save
[3.0.1] GFX-Debuggers 3.0.1 by xirreal on Feb 18, 2026
Download
Disable multi pass metrics by default for NSight Trace
[3.0.0] GFX-Debuggers 3.0.0 by xirreal on Feb 14, 2026
Download
  • Linux support
  • More reliably NSight injection
  • Do not ship DLLs anymore
  • Nicer picker UI
  • More injection configuration options

_> Version 2.0.0 have been removed as it was fundamentally flawed and did not work properly._
[1.2.0] NSight Loader 1.2.0 by xirreal on Jun 07, 2024
Download
Support for NSight GPU Trace
[1.1.0] NSight Loader 1.1.0 by xirreal on May 06, 2024
Download
Adds Renderdoc support, in case you're running an AMD card or need something easier to use.
[1.0.1] NSight Loader 1.0.1 by xirreal on May 03, 2024
Download
Use JDK17 for compilation, fixing compatibility with older versions.
[1.0.0] NSight Loader 1.0.0 by xirreal on May 03, 2024
Download
Initial release!
There's really not much going on here.
GFX-Debuggers (NSight and Renderdoc Injector) Icon
Download GFX-Debuggers (NSight and Renderdoc Injector)
Select game version
Select platform