Would you mind sharing a source or some more details? NVML only provides one temperature sensor (enum 0). So there must be a trick to get sensor 10.
He wouldnât reveal excactly how (yet). Other than confirming you can get it through NVMLâs internal functions. Iâll pester him again later when all miners have it. Some miners also expose Core Hotspot in Linux now btw.
This is becoming more and more of a joke. NVIDIA refusing to implement such a simple feature and at the same time the community is refraining from disclosing useful implementative information that would help a huge amount of people. Miners are not better than NVIDIA, after all.
I think I (FinallyâŠ) realized how to get the memory junction temperature via NvAPI,
So I found this open source hardware monitor app: LibreHardwareMonitor, this app is just like HWiNFO and GPU-Z and its showing the memory junction temperature as well, So Iâve dug little bit in their code and I found out how they fetch the memory temperature, all the magic is happen here: NvApi.cs, you can see in line 198 that they loading the nvapi64.dll, this dll exposing the method nvapi_QueryInterface, using this method they was able to get all the methods that the NvAPI is exposing, you can see in lines 72-93 that they was getting all the methods based on their addresses (I have no clue how they got these addresses), the most interesting method is in line 93 where they use the address 0x65FE3AAD to fetch the function that retrive the memory temperature, they called it NvAPI_GPU_ThermalGetSensors, eventually they was triggered this function here: NvidiaGpu.cs#L996.
So you can use this project to get the memory temperature or you can write your own code to do the same process they did.
Iâve wrote small script in nodeJS to do the same as they did in the LibreHardwareMonitor and managed to get the memory temp :D (Iâve attached screenshot)
That a mining program developed by third parties such as GMiner provides its users with more support on NVIDIA 30 series hardware than NVIDIA itself on the GNU/Linux platform makes the companyâs intentions very clear. It is not about being able to overcome a difficulty but about wanting to do it and after investing more than âŹ10K (now more than âŹ18K) in their products, the feeling is clear: They not only charge you an extra price for material shortages like a fool They treat you like a fool even to provide you with technical support. I deduce more than founded that their intention has always been to destroy the hardware once purchased. A real scam.
then stop purchasing his products ÂŻ_(ă)_/ÂŻ
Great description. Unfortunately nvapi is not available on linux so I suppose all the miners read the memory temperature via nvml or somehow directly from the driver.
Does anyone have more insight how all the mining softwares read out the memory temperature on linux? Somehow they managed to get these values but I could not find how they do it.
I think I know how these miners get the memory temperature on linux, Itâs probably related to the Nvidiaâs source code that was leaked, probably miners analyzed these code and found how to get it, its sad that its needed to hack Nvidia to get information on sensors⊠but anyway look on the date that the code was leaked, around 1st March 2022 (NVIDIA DLSS Source Code Leaked | TechPowerUp), now look on the dates that these miners released their version with the memory temperature on linux, just couple days after, Gminer 2.88, or look at MMPOS Changelog, you can see in changelog of 1st March:
Introduced long awaited NVIDIA sensor reading.
So if you want you can try to analyze these leaked code and try to figure out how they got it from there, or wait for some else to publish it, but for sure donât wait for Nvidia to release driver version that expose this information because they probably wonât :(
Sadly these miners are all closed source and I could not find any information how they did it.
Did you get any additional information how they get the memory temperature? I could write a small tool if I would know where to read the data from.
Sorry, I didnât get any more information. Donât know why miner developers are so intent on keeping this secret, as all major miners have this feature now.
Care to show the appropriate APIs for Windows?
The Windows NVIDIA driver does not provide this functionality either. It is third party software which provides it on Windows.
Hello,
I use linux. I still couldnât find a solution to read the temperature. Unfortunately, I donât understand C and C # at the right level. Would you share the nodejs code with us? Thank you in advance.
Any news @2024a?
So another month passedïŒany solutions to get the memery temperature proposed ?
The 525 drivers ship with a linux implementation of nvapi for the first time (libnvidia-api.so) as noted here: NVAPI libnvidia-api.so.1 relevance · Issue #100 · jp7677/dxvk-nvapi · GitHub
So someone could try looking up the thermal sensor function and calling it. I might try it if I find the time.
NVML already has a copy/pasted version of that function from NVAPI. Whatâs missing is any kind of documentation on how itâs supposed to actually work.
LibreHardwareMonitor passes a value of 15 as the sensorIndex which makes no sense but somehow works. I had thought sensorIndex was the array index populated but I guess not.
We must have this feature.
There is a new attempt over here:
If you can get past the sigserv error i get, maybe itâll work for you. My kernel has
CONFIG_IO_STRICT_DEVMEM=y
so likely thatâs why
iomem=relaxed
isnât working for my system. hopefully we get a solution soon, because Iâve already fried one 3090 mosfet under warranty and want to waterblock, but have no way of checking temperatures in linux and donât have access to windows. if i wasnât doing AI/ML serving, I would have moved to another option already. But, apparently the largest base of AI/ML is linux, the best card in nvidia, and jensen keeps saying he loves us, but ⊠my rtx is getting fried and i canât see the temps.
