Easy way for a Linux process to launch sub-process within the Proton environment
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 15/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- cpp, linux
- Lĩnh vực
- operating-systems
Hướng nghiên cứu
Start from the proton launcher script and how it hands the game to the pressure-vessel container runtime, since that boundary is what the request wants to cross. Read the referenced issue ValveSoftware/Proton#7208 for the existing compatibility complaints, then sketch how a native Linux parent could invoke a Windows child through the same runtime. Done means a documented, supported way to do this without disabling Proton for the depot.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Feature Request
I confirm:
- that I haven't found another request for this feature.
- that I have checked whether there are updates for my system available that
contain this feature already.
Description
We're developing a game which has a multi-process architecture. Our main engine is a Linux native .NET 10 process, however the renderer is a separate process based on Unity, which currently only works properly on Windows and thus relies on Proton to run for Linux users.
To achieve this, we distribute our game as Windows Depot, which includes Linux binaries. If launched on Linux, we escape the Proton environment to launch the main .NET 10 process, but keep the renderer launched under Proton. This works fine for the most part, but the .NET 10 process still exists in the Steam Pressure Environment, which has some issues.
We considered an alternative approach, where we'd just launch the native Linux .NET 10 process directly and have it launch the renderer process inside of the Proton environment.
However from our research, we didn't find a way to do this easily - distributing Linux depot seems to just disable Proton outright for our game.
Would it be possible to introduce a mode where a Linux process can still easily launch Windows subprocesses within Proton, while existing outside of its environment?
Justification [optional]
We distribute our game on Steam, which automatically installs and sets up Proton on the machine for the install.
We would like this to just work out of box for our Steam users, without any manual setup on their end.
Also I apologize if this isn't right place to ask this! I wasn't sure where else this request would go.
Risks
Main risk I can see with this is that it's probably pretty niche feature that might require substantial amount of work, so there might not be much benefit to other developers from this.
I do see some benefit in being able to launch Windows processes from otherwise native Linux games. We ourselves bundle a few other Windows-only utilities that we also launch within Proton environment, so it might be useful to others as well, but I do feel that what I'm asking for is still probably pretty niche - but I thought it'd be worth an ask at least.
References [optional]
Here's issue specific for compatibility issues with our game: https://github.com/ValveSoftware/Proton/issues/7208
- Ngôn ngữ chính
- C++
- Star
- 33.4k
- Fork
- 1.8k
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của ValveSoftware/Proton
-
Mixed-case DriverStore/FileRepository path for igdext64.dll duplicates Wine's driverstore folder and breaks Steam's "Move install folder"Có thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
ValveSoftware/Proton#10270 · 1 bình luận ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
ValveSoftware/Proton#10167 ·
-
Game compatibility - Unofficial
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
ValveSoftware/Proton#10105 · 1 reaction ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
ValveSoftware/Proton#10098 · 2 reaction ·
-
DarkOrbit Reloaded (4054110)Đang mởGame compatibility - Unofficial
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
ValveSoftware/Proton#9612 ·
Tất cả issue của ValveSoftware/Proton
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
deepseek-ai/DeepGEMM#529 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
compiler-explorer/compiler-explorer#9710 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
ucb-bar/libgemmini#10 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
Maintainer thường phản hồi trong vòng 1 ngày
-
`test_controlled_TermSequenceBox_logging` and `test_symbolic_ops` fail when another test runs firstĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Quantinuum/tket#2282 ·
Maintainer thường phản hồi trong vòng 1 ngày