Commit b7a052c
fix: 改进 GPU 驱动滤镜检测(锐化/动态亮丽/HDR,修复 nvdrsdb 误报) (#58)
* fix: 改进 GPU 驱动滤镜检测,修复 NVIDIA App 栈误报/漏报
- 检测图像锐化、RTX 动态亮丽、RTX HDR(移除无效的 Quality Upscaling)
- 修正 NVDRS 结构体与 NvAPI 调用;NvAPI 不可用时以 nvdrsdb 严格回退(全部为 1 才判开)
- main 入口启用 config_logger 便于终端调试
* Cache NvAPI init failures and dedupe logging
Remember NvAPI initialization failures to avoid repeated init attempts and noisy duplicate logs. Adds module-level _NVAPI_INIT_UNAVAILABLE_MESSAGE and _NVAPI_INIT_UNAVAILABLE_LOGGED, updates _nvapi_drs_session to short-circuit when an init error is cached and to store the error message on first failure, and introduces _log_nvapi_profile_scan_skipped to suppress duplicate debug messages for the same error. Also replaces the direct logger.debug call in _scan_nvapi_profiles with the new helper and removes a test logger configuration call from main.
---------
Co-authored-by: ok-oldking <154002444+ok-oldking@users.noreply.github.com>1 parent 9eebff8 commit b7a052c
1 file changed
Lines changed: 289 additions & 76 deletions
0 commit comments