• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

Which API call returns the nvidia ROP count?

zebulon

New Member
Joined
Feb 24, 2025
Messages
8 (0.31/day)
Hi there,
We are a bunch of Linux users/developers and would like to be able to check the ROP number from our nvidia Blackwell cards, following the missing ROP debacle. Problem is, nvidia-smi, which exists in Linux, does not seem to return this info. The proprietary driver on Linux is aligned with the Windows one, so we highly suspect this is possible. Would you be willing to share which API call is made to retrieve this information? Many thanks in advance.
 

W1zzard

Administrator
Staff member
Joined
May 14, 2004
Messages
28,404 (3.73/day)
Processor Ryzen 7 5700X
Memory 48 GB
Video Card(s) RTX 4080
Storage 2x HDD RAID 1, 3x M.2 NVMe
Display(s) 30" 2560x1600 + 19" 1280x1024
Software Windows 10 64-bit
If it's not listed in the public docs it's under NDA. Only way is to reach out to NVIDIA for NDA access to NVAPI
 

zebulon

New Member
Joined
Feb 24, 2025
Messages
8 (0.31/day)
Thanks a lot W1zzard, we suspected something like this. So I suppose that for GPU-Z you are under NDA, is that correct?

Edit: I already looked into the NVAPI documentation. Does not seem to see it, but it is not easy to search. Especialy ROP can be referred as "Raster Operation Pipelines" but also sometimes "Render Unit".

A CUDA developer suggests as well to check whether Nsight Graphics lists those stats in the app profiler.
 
Last edited:

zebulon

New Member
Joined
Feb 24, 2025
Messages
8 (0.31/day)
OK, we could determine that there is a pivate function call to get ROPCount (called NvAPI_GPU_GetROPCount) from a physical GPU handle, in the NVAPI. There is a very nice falahati/NvAPIWrapper: NvAPIWrapper is a .Net wrapper for NVIDIA public API, capable of managing all aspects of a display setup using NVIDIA GPUs project that contains a list of all these functions. Unfortunately, it seems its implementation may be missing in Linux, but we are still searching and querying nvidia on their Linux forum.
 

zebulon

New Member
Joined
Feb 24, 2025
Messages
8 (0.31/day)
However if I understand correctly the Github wrapper project, NvAPI_GPU_GetROPCount() may be listed as part of the “Private Internal NvAPI Functions”, but it is not a "secret" under NDA, correct?
 

W1zzard

Administrator
Staff member
Joined
May 14, 2004
Messages
28,404 (3.73/day)
Processor Ryzen 7 5700X
Memory 48 GB
Video Card(s) RTX 4080
Storage 2x HDD RAID 1, 3x M.2 NVMe
Display(s) 30" 2560x1600 + 19" 1280x1024
Software Windows 10 64-bit
but it is not a "secret" under NDA, correct?
I can't comment. I have an NDA with NVIDIA, they provided information to me under this NDA, and I will follow those rules. I'm not a person to dance around words and try to find loopholes
 

zebulon

New Member
Joined
Feb 24, 2025
Messages
8 (0.31/day)
I understand. It is just that the function is listed in a public Github repository and the author does not seem to have an NDA (from reading his posts). In addition, the function can be found in the headers. The only issue here is if the same function is not available under Linux API.
By the way, in the NVAPI Wine Github project, the same Id is used for a function with another name: {0xfdc129fa, NvAPI_GPU_GetRasterBackendCount}. Wine being a Linux project, this gives some hope.
 
Last edited:
Top