GPU 和渲染器设置不可用或默认值错误
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 32/100
Research direction
Start with the platform split in PCL.Platform/PlatformServiceRegistration.cs (lines 51-62), then read LinuxLaunchEnvironmentService.cs for the DRI_PRIME default and the d3d12 log-only branch. The GPU checkbox and DirectX12 option are in PCL.Launcher/Views/Pages/Setup/PageSetupLaunch.axaml and PageInstanceSetup.axaml; the macOS renderer skip is in PCL.Launcher.Core/Launch/ArgumentsJvm.cs. Done means platform-specific settings are hidden or defaulted correctly per OS, with no Windows Mesa jar downloaded on Linux/macOS. The issue asks for a broad refactor, so it needs maintainer design input first.
Written by the indexing model from the issue text.
Description
PCL.Core/App/Config.cs:502的 GPU 偏好默认是truePCL.Launcher/Views/Pages/Setup/PageSetupLaunch.axaml:441-445在所有平台显示 GPU 复选框PCL.Platform/Linux/LinuxLaunchEnvironmentService.cs:10-16默认给每个游戏加DRI_PRIME=1PCL.Platform/PlatformServiceRegistration.cs:51-62给 Linux/macOS 注册UnsupportedGpuPreferenceService,给 Windows/macOS 注册UnsupportedLaunchEnvironmentServicePCL.Launcher/Views/Pages/Setup/PageSetupLaunch.axaml:358-361和PageInstanceSetup.axaml:406-409无条件提供DirectX12(d3d12)PCL.Platform/Linux/LinuxLaunchEnvironmentService.cs:33-36对 d3d12 只记录日志PCL.Launcher.Core/Launch/ArgumentsJvm.cs:137在 macOS 上直接跳过渲染器PCL.Launcher.Core/Minecraft/Library/Net.cs:111-137在 Linux/macOS 仍可能下载 Windows Mesa Loader jar
进行平台化重构与抽象。
- 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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from PCL-Community/PCL-CE
-
崩溃日志只按 CRLF 分行Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
PCL-Community/PCL-CE#3872 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
PCL-Community/PCL-CE#3871 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
PCL-Community/PCL-CE#3867 ·
Maintainers usually reply within 1 day
-
[i18n] 安装实例完成后的成功提示未正确本地化Possibly taken @Lokins577 claimed this 35 days ago. Open👍 优质 🚧 正在处理
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
PCL-Community/PCL-CE#3658 · 1 assignee ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
PCL-Community/PCL-CE#3447 ·
Maintainers usually reply within 1 day
All issues in PCL-Community/PCL-CE
Similar issues
-
hand-to-AI
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
CactuseSecurity/firewall-orchestrator#5803 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 3 days
-
bug python
Difficulty 1/5 Under an hour Newbie friendliness 88/100
ilia-sokolov/OfficeAgent.NET#89 ·
Maintainers usually reply within 13 days