Coder Social home page Coder Social logo

vinluo / d3d12info Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sawickiap/d3d12info

0.0 0.0 0.0 28.58 MB

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

License: MIT License

C++ 97.28% CMake 2.72%

d3d12info's Introduction

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.

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.

Building

The project uses Cmake. It is intended to be built using Microsoft Visual Studio 2022. The source code depends on:

  • C++ standard library, including some of the latest C++20 features
  • WinAPI from Windows 10 with some reasonably new Windows SDK, including Direct3D 12

It uses following thirt-party libraries:

  • DirectX 12 Agility SDK - latest API to Direct3D, by Microsoft.
    • Embedded in directory: Src\ThirdParty\microsoft.direct3d.d3d12.*
  • RapidJSON - a fast JSON parser/generator, by Tencent. License: MIT.
    • Embedded in directory: Src\ThirdParty\rapidjson
  • AMD GPU Services - custom vendor extensions to graphics APIs by AMD.
    • Linked externally, optional, controlled by Cmake variable AGS_DIRECTORY.
  • NVAPI - custom vendor extensions to graphics APIs by Nvidia.
    • Linked externally, optional, controlled by Cmake variable NVAPI_DIRECTORY.
  • Vulkan SDK
    • Linked externally, Cmake automatically detects Vulkan SDK path, controlled by Cmake variable ENABLE_VULKAN - on by default.

d3d12info's People

Contributors

sawickiap avatar dsuoch-intel avatar devaniti avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.