Commit Graph
768 Commits
Author SHA1 Message Date
kolos 5dc6cb95c8 Add D3D GPU Sensors (#426)
Thanks to @kolos.
2021-06-01 13:30:52 +02:00
Eugene Shalygin 37e917a4f8 Add sensors for ASUS Crosshair VIII Hero (#453)
Thanks to @zeule!
2021-06-01 11:06:42 +02:00
Nick Babcock 993dadd4dd Impose WMI timeouts (#444)
WMI queries do not have a timeout by default and can subsequently hang.
This commit adds timeouts to avoid these hangs.

On timeout, `Get` will throw a `ManagementException` that has an error
code of `ManagementStatus.Timedout`. In the case of abstract storage,
this exception will be silently swallowed and the statistics from WMI
not updated until the next update interval, which seems appropriate.

The storage group, on the other hand, a timeout there would cause an
initialization exception which would be propagated up to the caller
(which seems ok as something must be terribly wrong for that WMI query
to fail).

The code was also updated to call dispose for all the WMI objects. I
don't see this causing a behavior difference, but I found it better to
be safe than sorry.

The timeouts were chosen to be a compromise between returning in a
reasonable timeframe and allowing WMI, which can be terribly slow, to
return the query.
2021-05-14 09:24:50 +02:00
Nick Babcock 73c0be1384 Rename CopyMemory RtlCopyMemory (#438)
There is no entry for `CopyMemory` exported from kernel32.dll as it is
omitted from the following output:

```
dumpbin /exports C:\Windows\System32\kernel32.dll
```

The name we're looking for is `RtlCopyMemory`. This does not affect
traditional .NET framework users as `CopyMemory` was special cased prior
to .NET core
([source](https://github.com/dotnet/runtime/issues/12496#issuecomment-483442084))

The incorrect entry point will cause an `EntryPointNotFoundException`
for NET core users (ref:
https://github.com/nickbabcock/OhmGraphite/issues/214)

There were a couple other entries in kernel32 that are missing:

  - CreateFile
  - LoadLibrary

Both functions appear to have a `CreateFileA` and `LoadLibraryA`
variant, but I do not know if those are appropriate.
2021-05-09 16:46:11 +02:00
CzBiX 5a47cda6ed Center align text in tray icon (#435)
* Center align text in tray icon

* Use GetHicon instead of bitmap copy
2021-05-08 11:36:55 +02:00
Nick BabcockandPhyxionNL d1f1e6afa9 Fix funding file syntax (#437)
* Fix funding file syntax

Looks like it needs a list in order to appear.

* Update FUNDING.yml

Co-authored-by: PhyxionNL <7643972+PhyxionNL@users.noreply.github.com>
2021-05-08 10:21:14 +02:00
JokkeandPhyxionNL ede484bfb8 Fix NullReferenceException, if NZXT CAM is running at the same time (#434)
* Fix NullReferenceException, if NZXT CAM is running at the same time

* Remove unnecessary variable declaration

Remove never used variable.

* Update SMBios.cs

Co-authored-by: PhyxionNL <7643972+PhyxionNL@users.noreply.github.com>
2021-05-04 11:56:47 +02:00
Teriand 2ada42f869 Add check and swap wrong bios date format (#432) 2021-04-27 11:27:26 +02:00
kolos e9af4a5481 Add Fullscreen FPS sensor for AMD GPU (#427)
* Add Fullscreen FPS sensor for AMD GPU

* Renamed variable _fullscreenFPS
2021-04-12 13:38:01 +02:00
kolos b894b4e08e Fix AMD Overdrive5 detection (#425)
* Extract ADL Overdrive5 calls

* Checks whether Amd Overdrive api is supported
2021-04-11 13:58:26 +02:00
kolos d14557fdea Enable reporting SoC voltage for Zen+ APUs (#424) 2021-04-11 13:55:58 +02:00
sebastian-dev ab6a89ea3f Intel Gen11 Rocket Lake Support (#421)
Thanks to @sebastian-dev
2021-04-09 10:45:40 +02:00
Chris Crews 931bfed9f8 Add support for ASRock X570 Phantom Gaming-ITX/TB3 (NCT6683D) (#406) 2021-03-22 18:20:02 +01:00
Sebastian Zillien a33bbf54a4 Add support for X570 Taichi from ASRock (#398)
* Add support for X570 Taichi from ASRock

add new model name
add specific mapping for temp and fan readings
addressing  #290

* fix remaining fan names

* Remove unusable temp sensors

* Update SuperIOHardware.cs
2021-03-17 15:03:16 +01:00
rikroeandRichard Kroegel 08a922dd11 Add fan control for IT8728F (#400)
Co-authored-by: Richard Kroegel <rikroe@users.noreply.github.com>
2021-03-12 08:55:32 +01:00
djbiti1 c38b6fa248 Update SuperIOHardware.cs (#404) 2021-03-12 08:55:17 +01:00
sebastian-dev 5e2f395a21 Samsung 980 pro NVME Fix (#388)
Closes #370.

Thanks to @sebastian-dev.
2021-02-12 16:39:35 +01:00
PhyxionNL c30ba69f31 Revert "ADL Overdrive 6 support and integration (#386)" (#387)
This reverts commit 411203902b.
2021-02-11 19:03:32 +01:00
Rem0o 411203902b ADL Overdrive 6 support and integration (#386) 2021-02-11 11:17:36 +01:00
PhyxionNL 270ae30563 [ci skip] 2021-02-09 15:26:34 +01:00
PhyxionNL 67bd94aad5 Add some badges 2021-02-09 15:24:37 +01:00
PhyxionNL 5456895f04 0.8.7 2021-02-09 15:08:22 +01:00
PhyxionNL c83d32cdcf Update LibreHardwareMonitorLib.csproj 2021-02-09 15:04:18 +01:00
sebastian-dev 0155edb23e NVIDIA Temperature Readout fix (#384)
Thanks to @sebastian-dev
2021-02-09 13:49:07 +01:00
sebastian-dev a4b931f984 Hardware Changed Notification (#379)
Thanks to @sebastian-dev
2021-02-08 15:04:35 +01:00
PhyxionNL 4b12fed029 Update Amd17Cpu.cs
Clean up comments a bit.
2021-02-08 10:51:40 +01:00
sebastian-dev 46150305f2 AMD Ryzen, wrong CPU Core Enumeration (#376)
Thanks to @sebastian-dev
2021-02-08 10:50:06 +01:00
seiphr f5aa4fbe06 Add specific fan control case for NCT9796D-R (#366)
NCT6796D-R has 7 fans (6 headers, plus SB fan).
2021-01-26 19:28:40 +01:00
PhyxionNL 3178c973f6 Update README.md 2021-01-23 12:07:25 +01:00
PhyxionNL 05153f6075 Update README.md 2021-01-23 12:06:45 +01:00
PhyxionNL 77193dacfd Delete LICENSE 2021-01-23 12:06:17 +01:00
PhyxionNL b39f0163f9 Create LICENSE 2021-01-23 12:06:06 +01:00
Campbell 965a4188cf Add Font Color menu to Gadget (#362)
Thanks @qwertydog
2021-01-23 11:55:24 +01:00
PhyxionNL ca09e88e17 Update README.md
Fixes #354.
2021-01-10 17:23:50 +01:00
PhyxionNL ae60dcec19 Update KrakenX3.cs
Fixes #355.
2021-01-10 17:19:49 +01:00
MoshiMoshi0 76503e66ca Add CI build number to project version when PR is merged (#338)
* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml
2021-01-10 17:17:10 +01:00
eikarambaandPhyxionNL c95e7bd8ad Add D5Next Pump from AquaComputer to supported devices (#358)
* Add D5Next Pump from AquaComputer to supported devices

* improve formatting and removing of unnecessary lines/variables

* Update D5Next.cs

Co-authored-by: PhyxionNL <7643972+PhyxionNL@users.noreply.github.com>
2021-01-10 17:13:59 +01:00
Pomian 1506006f4e Memory Device Size in SMBIOS (#342)
* Memory Device Size in SMBIOS

* Update SMBios.cs

* Fix cache associativity
2020-12-09 10:33:08 +01:00
PhyxionNL 1d21c74e68 Check whether Ftd2xx DLL exists. 2020-12-07 11:57:54 +01:00
holgerpieta 18232fd182 Fixed temperatures for NCT6796D... and added ASUS TUF GAMING B550M-PLUS (WI-FI) (#339)
Thanks to @holgerpieta
2020-12-07 11:47:44 +01:00
Pomian 693986e733 Asus X470-I Gaming support (#340) 2020-11-30 14:45:30 +01:00
Pomian b484a30dea Information about .NET 5.0.0 (#337) 2020-11-24 10:01:59 +01:00
Pomian 9ee5238798 NET5 support (#312)
Thanks to @Pomianowski
2020-11-24 10:01:15 +01:00
PhyxionNL db74902da6 [ci skip]
Fix version of workflow.
2020-11-24 10:00:48 +01:00
PhyxionNL 5bcaf2c5a3 [ci skip]
Disable symbols.
2020-11-20 10:16:23 +01:00
PhyxionNL ea484f5c55 Use bus speed on AMD's Ryzen CPUs
Fixes #329.
2020-11-20 10:07:58 +01:00
PhyxionNL 5804493d36 [ci skip]
Disable auto tagging on publish to NuGet.
2020-11-20 09:48:52 +01:00
PhyxionNL 1a0a57d0eb Update main.yml 2020-11-20 09:37:16 +01:00
PhyxionNL e8b07532f8 0.8.6 2020-11-20 09:34:02 +01:00
Pomian fe9768c803 Add Processor Cache to SMBios (#333) 2020-11-16 17:58:43 +01:00