falahati / NvAPIWrapper

NvAPIWrapper is a .Net wrapper for NVIDIA public API, capable of managing all aspects of a display setup using NVIDIA GPUs
GNU Lesser General Public License v3.0
313 stars 55 forks source link

[Help wanted] Is there a way to check if the GPU supports vulkan? #39

Closed ClonkAndre closed 1 year ago

ClonkAndre commented 3 years ago

I would like to know if this is possible with this lib :) And if there is a way, how could i check for vulkan support?

MaynardMiner commented 3 years ago

vulkaninfo is a command that can be ran from console, and will give you details on vulkan compatibility. Could run as a process, and capture output.

Vulkan is separate of NVIDIA, and will not be in the NVAPI lib.

MaynardMiner commented 3 years ago

https://docs.nvidia.com/gameworks/content/gameworkslibrary/coresdk/nvapi/struct__NV__LOGICAL__GPU__DATA__V1.html

Vulkan deviceNodeMask in VkPhysicalDeviceIDProperties

http://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceProperties.html

VkPhysicalDeviceProperties would give physical device properties, but I'm unsure if that means its supported.