Questions tagged [nvapi]

NVAPI is NVIDIA's core software development kit that allows direct access to NVIDIA GPUs and drivers on all windows platforms. NVAPI provides support for categories of operations that range beyond the scope of those found in familiar graphics APIs such as DirectX and OpenGL.

47 questions
1
vote
1 answer

How do NVML and NVAPI compare?

I want to get some basic GPU data: name, RAM size, and do temperature monitoring. From NVIDIA docs, it's not clear which library to use. Is NVAPI a legacy API which should be avoided?
Andrey Moiseev
  • 3,914
  • 7
  • 48
  • 64
1
vote
1 answer

NvAPI_GPU_GetAllDisplayIds function not working as expected

I'm using NVAPI in C++ to modify NVIDIA display settings in my program. I cannot successfully use the NvAPI_GPU_GetAllDisplayIds function. The status returned from calling it is NVAPI_INCOMPATIBLE_STRUCT_VERSION. Here is my code: int main() { …
Ari Seyhun
  • 11,506
  • 16
  • 62
  • 109
1
vote
1 answer

Nvidia 3D vision on GeForce using DirectX9 and NVAPI calls

I have developed an application using DirectX9 that displays a scene in stereo, using calls to NVAPI, based on pages 14-15 on this PDF: http://www.nvidia.com/docs/IO/40505/WP-05482-001_v01-final.pdf My application runs fine on a machine with a…
1
vote
1 answer

Calling NvAPI_GPU_SetEDID on Nvidia card

How do you call this method on Nvidia GPU: NVAPI_INTERFACE NvAPI_GPU_SetEDID ( NvPhysicalGpuHandle hPhysicalGpu, NvU32 displayOutputId, NV_EDID * pEDID ) Src:…
Latheesan
  • 23,247
  • 32
  • 107
  • 201
1
vote
1 answer

Enable resolutions not exposed by display programmatically on NVIDIA GPUs

I'm working on a solution where there is a need to set a custom resolution for a particular connected displays on a set of systems. What I have now works fine, but only as long as the "Enable resolutions not exposed by the display" option has been…
tjansson
  • 324
  • 2
  • 11
1
vote
1 answer

C++ MFC Windows - NVIDIA 3D Active Shutter API Alternative

I was handed a NVIDIA Active Shutter 3D program that needs to be converted to not be dependent on NVIDIA GPU's. I've never handled graphics API's and am having a hard time finding an alternative API that will work with what I have. Can someone…
GATU
  • 11
  • 2
1
vote
0 answers

Monitor resolution using NvApi

I'm using the following function to get information about the monitors I connected to my pc: NvAPI_GPU_GetConnectedDisplayIds(hPhysicalGpu[DisplayGpuIndex], pDisplayIds, …
alap
  • 646
  • 1
  • 11
  • 24
1
vote
1 answer

What is the equivalent AMD API for Custom Resolution and Sync Timing to the NDA version of NVAPI of NVIDIA?

The question says it all. Does AMD have an API for setting a custom resolution in Windows with custom sync timing (in c++)?
BEIC
  • 67
  • 7
1
vote
1 answer

Cannot build NVAPI CustomTiming.cpp sample: 7x error LNK2019: unresolved external symbol

I'm trying to compile the CustomTiming.cpp sample from the NVAPI SDK and I'm getting the following errors: 1>------ Build started: Project: CustomTiming, Configuration: Debug Win32 ------ 1> CustomTiming.cpp 1>CustomTiming.obj : error LNK2019:…
BEIC
  • 67
  • 7
1
vote
1 answer

Why NVENC doesn't work if the height is greater than 1080?

'm using NVENC example provided with NVENC SDK. I'm manually filling YUV arrays (m_pYUV) that is passed to NVENC API. If the height is UP to 1080 everything works and I get valid video. But if I define height greater than 1080 it seems that…
theateist
  • 13,879
  • 17
  • 69
  • 109
1
vote
1 answer

How can you control NVidia devices from Java on windows using MinGW/MSYS autotools?

To be specific I am trying to read/write power settings, fan settings, and clock speed settings. I also need access to GPU temperature. I attempted to do this from MingGW with Swig using the NVAPI library but it will not compile as MinGW's compiler…
Ralph Ritoch
  • 3,260
  • 27
  • 37
1
vote
2 answers

How to find GPU memory(video memory) using NVAPI

I am using NVAPI, I can get some performance data by calling this function: NvAPI_GPU_GetDynamicPstatesInfoEx But don't know how to get video memory usage. I find some c# codes call this function to get it. NVAPI.NvAPI_GPU_GetMemoryInfo But there…
Dean Chen
  • 3,800
  • 8
  • 45
  • 70
1
vote
1 answer

Assign string to NvAPI_UnicodeString

Now I'm working on NVAPI. There is a type "NvAPI_UnicodeString". It is a unsigned short array. typedef NvU16 NvAPI_UnicodeString[NVAPI_UNICODE_STRING_MAX]; typedef unsigned short NvU16; and there is a type "NvAPI_LPCWSTR", also. typedef const…
mayTree
  • 727
  • 2
  • 9
  • 22
1
vote
3 answers

How to use NvAPI_DISP_GetDisplayConfig?

When using the NVAPI I'm having problems with NvAPI_DISP_GetDisplayConfig. I get an AppCrash on the second call to NvAPI_DISP_GetDisplayConfig. Can't seem to figure out why. NvU32 count = 0; status = NvAPI_DISP_GetDisplayConfig(&count, NULL); if…
pictu
  • 13
  • 4
0
votes
0 answers

OpenVR direct mode prevent stand by mode

Currently I am using "vr::IVRDriverDirectModeComponent" for my driver and I have no tracking device at the moment. I simulate the vr environment via giving monitor manufacturer and product id for the Display/Direct mode. Due to there is no tracking…
Roveldo
  • 47
  • 4