`graphics-drivers-openxr-1.c` removes vendor-specific fields from the active runtime json
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 45/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- c
- Lĩnh vực
- infrastructure
Hướng nghiên cứu
Bắt đầu trong graphics-drivers-openxr-1.c quanh dòng được báo cáo và theo dõi cách g_object_new và srt_openxr_1_runtime_new_replace_library_path tạo active_runtime.json thay thế. So sánh cấu hình được tạo với JSON nguồn, bao gồm các trường có tiền tố của nhà cung cấp; hoàn thành khi các trường đó được giữ lại trong khi việc ghi đè đường dẫn thư viện vẫn hoạt động.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
I've noticed that vendor-specific prefixed fields seem to be trimmed from the active_runtime.json that gets mounted in the container's /etc folder when using PRESSURE_VESSEL_IMPORT_OPENXR_1_RUNTIMES=1.
Compare my local active_runtime.json configuration, in my XDG_CONFIG_HOME:
{
"file_format_version": "1.0.0",
"runtime": {
"name": "Monado",
"library_path": "../../../lib/wivrn/libopenxr_wivrn.so",
"MND_libmonado_path": "../../../lib/wivrn/libmonado_wivrn.so"
}
}
to the one mounted to the container at ~/.local/share/Steam/steamapps/common/SteamLinuxRuntime_sniper/var/tmp-1X9FF3/usr/lib/pressure-vessel/overrides/etc/xdg/openxr/1/active_runtime.json:
{
"file_format_version" : "1.0.0",
"runtime" : {
"library_path" : "/home/jvyden/.local/share/envision/prefixes/b5c04363-bfc4-48c7-8e7f-45b3e996a57b/lib/wivrn/libopenxr_wivrn.so",
"name" : "Monado"
}
}
I've narrowed this behavior down to graphics-drivers-openxr-1.c where it seems to drop the original JSON in favor of SRT's own format using g_object_new. This new format is then used to override the active_runtime.json in the container by passing through srt_openxr_1_runtime_new_replace_library_path.
This mainly affects Monado/WiVRn, but also could affect SteamVR since it sets VALVE_runtime_is_steamvr to true in the runtime configuration, according to https://github.com/ValveSoftware/steam-runtime/issues/575#issuecomment-1901000744. I noticed this upon trying to integrate libmonado into xrizer and not being able to find where libmonado is from the runtime configuration.
- Steam Runtime Version: Sniper, I believe? This behavior is exhibited in Proton Experimental.
- Distribution (e.g. Ubuntu 18.04): Arch Linux
- Link to your full system information (Help -> Steam Runtime Diagnostics) in a Gist: https://gist.github.com/jvyden/550d3d3ef3f400b06db3a42593992c82
- Have you checked for system updates?: [Yes/No] yes
- What compatibility tool are you using?: Proton Experimental
- What versions are listed in
steamapps/common/SteamLinuxRuntime/VERSIONS.txt? 0.20240806.0 - What versions are listed in
steamapps/common/SteamLinuxRuntime_soldier/VERSIONS.txt? 2.0.20250826.159137 0.20250820.0 0.20250820.0 2.0.20250826.159137 - What versions are listed in
steamapps/common/SteamLinuxRuntime_sniper/VERSIONS.txt? 3.0.20250826.159138 0.20250820.0 0.20250820.0 3.0.20250826.159138
- Ngôn ngữ chính
- Shell
- Star
- 1.5k
- Fork
- 98
- 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/steam-runtime
-
Độ khó 4/5 1-2 ngày Mức phù hợp với người mới 45/100
ValveSoftware/steam-runtime#865 · 4 bình luận ·
-
Need Retest Pressure Vessel
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
ValveSoftware/steam-runtime#854 · 4 bình luận ·
-
Need Retest
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 55/100
ValveSoftware/steam-runtime#853 · 6 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
ValveSoftware/steam-runtime#851 · 3 bình luận ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
ValveSoftware/steam-runtime#847 · 3 bình luận ·
Tất cả issue của ValveSoftware/steam-runtime
Issue tương tự
-
flac's CMake config is brokenĐang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
msys2/MINGW-packages#33356 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Misleading 'Update → Config → Hyprland' menu item silently resets user configs without confirmationĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
ekalinin/github-markdown-toc#204 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 88/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
kunchenguid/headless#23 ·