Skip to content

sawickiap/D3d12info

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
Src
 
 
 
 
 
 
 
 
 
 

D3d12info

A Windows console program that gets all the information about the GPU (graphics chip) installed in the system, through DXGI and Direct3D 12 (D3D12) + AMD AGS, NVAPI, WinAPI, and some other sources.

Built and tested on Windows 10 64-bit using Visual Studio 2022.

Example output

Inspired by vulkaninfo - a similar tool that prints all the information about device capabilities using Vulkan API.

An alternative for D3D12 is a GUI program "DirectX Caps Viewer", which is part of Windows SDK and can be found in path like: c:\Program Files (x86)\Windows Kits\10\bin\*\x64\dxcapsviewer.exe.

Download

To download an archive with compiled binary, go to Releases. This is a portable program - it doesn't need installation.

Version history can be found in file CHANGELOG.md.

Command-line syntax

Options:
  -v --Version         Only print program version information.
  -h --Help            Only print this help (command line syntax).
  -l --List            Only print the list of all adapters.
  -a --Adapter=<Index> Print details of adapter at specified index (default is the first hardware adapter).
  -j --JSON            Print output in JSON format instead of human-friendly text.
  -f --Formats         Include information about DXGI format capabilities.
  -e --Enums           Include information about all known enums and their values.
  --PureD3D12          Extract information only from D3D12 and no other sources.
  --WARP               Use WARP adapter.

License

The project is open source under MIT license. See file LICENSE.txt.

Dependencies and third-party libraries

The project source code depends on:

  • C++ standard library, including some of the latest C++11/14/17/20 features
  • WinAPI from Windows 10 with some reasonably new Windows SDK, including Direct3D 12
  • Visual Studio 2022

The project uses following thirt-party libraries:

  • AMD GPU Services - custom vendor extensions to graphics APIs by AMD.
    • Linked externally. Can compile without it - see macro USE_AGS.
  • DirectX 12 Agility SDK - latest API to Direct3D, by Microsoft.
    • Directory: Src\ThirdParty\microsoft.direct3d.d3d12.*
  • NVAPI - custom vendor extensions to graphics APIs by Nvidia.
    • Linked externally. Can compile without it - see macro USE_NVAPI.
  • RapidJSON - a fast JSON parser/generator, by Tencent. License: MIT.
    • Directory: Src\ThirdParty\rapidjson
  • Vulkan SDK
    • Linked externally. Can compile without it - see macro USE_VULKAN.

About

A Windows console tool that prints all the information about the GPU extracted using DXGI and Direct3D 12

Topics

Resources

License

Stars

Watchers

Forks

Languages