HMCL-dev / HMCL-dev/HMCL

[Feature] 在启动器日志中输出当前GPU的状态(windows)

Open
#4,505 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Java
Stars
10.1k
Forks
934
Avg merge
1d 5h
Merged PRs (30d)
82

Description

概述 | Summary

在启动器日志中,输出用户设备GPU的状态是否正常,如代码43等

原因 | Reason

原先的实现方式只获取到了设备名称、厂商和驱动程序版本,如果设备不正常(如代码43),powershell仍然会返回需要的数据,然后输出在启动器日志

添加这个功能能有效的帮助分析报错时与显卡有关的报错

详情 | Description

通过 PowerShell 查询 Win32_VideoController 的 Status 字段可以直接获取到GPU的状态

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file or test is named. Start by locating the Windows launcher code that already queries Win32_VideoController for the GPU name, vendor, and driver version, then inspect how those values are written to the launcher log. Done means the PowerShell Status field is also reported, including abnormal states such as code 43.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, powershell
Domain
desktop, observability, operating-systems
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.