|
本帖最后由 wintoflash 于 2025-10-13 13:26 编辑
v1.5.0重写了GPU相关功能。
现在统一用 --pci=03 来获得PCI ID/驱动相关内容。https://github.com/a1ive/nwinfo/releases/tag/latest
- nwinfo --pci=03
- ---
- NWinfo:
- Build Time: 'Oct 8 2025 11:14:24'
- libnw: 'v1.5.0.0'
- ...
- PCI:
- - Device:
- HWID: 'PCI\VEN_8086&DEV_4680&SUBSYS_88821043&REV_0C'
- Vendor ID: '8086'
- Device ID: '4680'
- Vendor: 'Intel'
- Device: 'AlderLake-S GT1'
- Description: 'Intel(R) UHD Graphics 770'
- Driver: 'Intel(R) UHD Graphics 770'
- Driver Version: '32.0.101.6987'
- Driver Provider: 'Intel Corporation'
- Driver Date: '2025-07-29'
- Inf Path: 'oem51.inf'
- Inf Section: 'iADLSD_w11_DS'
- Location: 'Bus 0, Device 2, Function 0'
- Class Code: '030000'
- Class: 'Display controller'
- Subclass: 'VGA compatible controller'
- Prog IF: 'VGA controller'
- - Device:
- HWID: 'PCI\VEN_8086&DEV_4908&SUBSYS_D0101EF7&REV_01'
- Vendor ID: '8086'
- Device ID: '4908'
- Vendor: 'Intel'
- Device: 'DG1 [Iris Xe Graphics]'
- Description: 'Intel(R) Iris(R) Xe Graphics'
- Driver: 'Intel(R) Iris(R) Xe Graphics'
- Driver Version: '32.0.101.6790'
- Driver Provider: 'Intel Corporation'
- Driver Date: '2025-04-28'
- Inf Path: 'oem58.inf'
- Inf Section: 'DG1_Client_FWU_wNext'
- Location: 'Bus 3, Device 0, Function 0'
- Class Code: '030000'
- Class: 'Display controller'
- Subclass: 'VGA compatible controller'
- Prog IF: 'VGA controller'
复制代码
用 --gpu 从 GPU驱动获得显卡传感器信息
- nwinfo --gpu
- ---
- NWinfo:
- Build Time: 'Oct 8 2025 11:14:24'
- libnw: 'v1.5.0.0'
- ...
- GPU:
- - Device:
- Device: 'Intel(R) UHD Graphics 770'
- Location: 'Bus 0, Device 2, Function 0'
- GPU Utilization: '0.9%'
- Temperature (C): 0.0
- Total Memory: 33976709120
- Free Memory: 32991043584
- Memory Usage: '3%'
- Power (W): 26.9
- Frequency (MHz): 700.0
- Voltage (V): 0.32
- Fan Speed (RPM): 0
- - Device:
- Device: 'Intel(R) Iris(R) Xe Graphics'
- Location: 'Bus 3, Device 0, Function 0'
- GPU Utilization: '0.8%'
- Temperature (C): 37.0
- Total Memory: 4188012544
- Free Memory: 3841662976
- Memory Usage: '9%'
- Power (W): 5.7
- Frequency (MHz): 300.0
- Voltage (V): 0.74
- Fan Speed (RPM): 2471
复制代码
目前暂时只支持 Intel/AMD/nVidia 显卡,功能还没做完,也没有充分测试。 |
|