[C#]:添加选择显示卡功能

Open
#3,659 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
csharp, java
Domain
desktop

Research direction

The payload names no source files, tests or entry points, so the first step is finding where the launcher builds the Java launch command for Minecraft in the C# codebase. The request is to let the user choose which graphics card Minecraft uses under Vulkan, so the work involves how the launched java.exe/javaw.exe process is configured for GPU preference on Windows. The issue leaves the approach open and has no linked pull request, so agree on the design with maintainers before writing code. Done means a user can pick the display card in the launcher and the setting is applied at launch.

Written by the indexing model from the issue text.

Description

⭕ 等待处理
检查项 / Checklist
  • 我已在 Issues 页面 中搜索,确认了这一建议未在社区版被提交过 / I have searched the Issues page and confirmed that this suggestion has not been submitted to the Community Edition yet.
  • 我确认只是全部选中而没有仔细确认就直接提交了这个 Issue,并且同意这个 Issue 可以直接被关闭 / I confirm that I checked all boxes without carefully reading them, and agree that this issue may be closed directly.
  • 我确认我所描述的改进是现实的、有理有据的,而不是我临时起意的 / I confirm that the improvement I describe is realistic, reasonable, and well-justified, rather than something I came up with on a whim.
  • 我已知悉社区不对这类 Issue 的完成时间作出任何保证,并有足够的耐心等待社区开发者的处理,同时已知悉如果我作出催促、质问或类似的举动,这个 Issue 可能会被直接关闭 / I understand that the community does not guarantee any completion time for this type of issue, and I am willing to wait patiently for the community developers' review and handling. I also understand that excessive urging, demanding, or similar behavior may result in this issue being closed.
描述 / Description

为PCLCE添加选择显示卡功能

原因 / Reason

26.2后,当mc切换到vulkan模式时,mc会优先调用高性能显示卡,此时在Windows11设置中将java.exe/javaw.exe设置为节能也无法让mc使用低功耗显示卡(比如intel的核显)

Dominant language
C#
Stars
4.3k
Forks
148
Avg merge
1d 6h
Merged PRs (30d)
64

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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.

More from PCL-Community/PCL-CE

All issues in PCL-Community/PCL-CE

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.