Skip to content

nohuto/nvapi-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NvAPI CLI

CLI wrapper around NVIDIA's NVAPI for querying and controlling GPU, display, and driver features on Windows. NVAPI is NVIDIA's proprietary driver API that exposes GPU and display capabilities beyond the standard OS interfaces. It's hardware and driver dependent, many functions are supported only on specific GPUs, drivers, or product lines. Expect NVAPI_NOT_SUPPORTED for unsupported features.

Note that the documentation is partly parsed from official documentation partly rewritten by myself. The tool isn't yet in its final state, more useful APIs may be added.

Caution

Use the tool with caution when applying control APIs, I'm not responsible for any damage/issues. This tool is in BETA state, bugs may exist. I didn't test each option on my own yet.

assets/supported_nvapi.txt includes all NVAPI functions referenced by the current source code. assets/unsupported_nvapi.txt includes NVAPI functions present in the NVAPI SDK header (nvapi.h) but not used by the current version.

Usage

Since showing all options by default would make it very confusing, it's splitted into groups. Use nvapi-cli info to print the NVAPI interface version and driver branch details.

Usage:
  nvapi-cli help [group]
  nvapi-cli info
  nvapi-cli <group> <command> [options]
    groups: gpu display mosaic sli gsync drs video hdmi dp pcf sys d3d ogl vr stereo

Use "nvapi-cli help <group>" or "nvapi-cli <group> help" for details.
Use "nvapi-cli help all" for the full list.

Building

cmake -S . -B build
cmake --build build --config Release

Documentation

Each group has a dedicated reference that lists commands, flags, and the underlying NVAPI calls.

Public NvAPI documentation: https://docs.nvidia.com/gameworks/content/gameworkslibrary/coresdk/nvapi/topics.html

About

CLI for NvAPI - currently supports ~400.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published