[BUG] vrwebhelper fails to start when SteamVR is launched from a game running in Steam Linux Runtime 4.0 (missing libatk-bridge-2.0.so.0)

Đang mở
#1,036 12 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
45/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
linux, shell
Lĩnh vực
backend, desktop

Hướng nghiên cứu

Start by reading vrwebhelper.sh and vrenv.sh, which the issue identifies as launching ./vrwebhelper in the caller's runtime. Reproduce the launch from Steam Linux Runtime 4.0 and trace where the helper gets its shared-library search environment. Done means vrwebhelper starts and the game's web UI loads under Runtime 4.0 without the ATK bridge error.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Summary

When a native game that runs in Steam Linux Runtime 4.0 starts SteamVR (here: Half-Life: Alyx), vrwebhelper fails to start:

./vrwebhelper: error while loading shared libraries: libatk-bridge-2.0.so.0: cannot open shared object file: No such file or directory

Without vrwebhelper the game's web UI never loads and the dashboard cannot render or be dismissed. In the headset (Steam Frame) only audio comes through. The game itself runs and presents frames, the dashboard opens on top of it, and "Resume" does nothing.

Steps to reproduce

  1. SteamVR not running.
  2. Launch Half-Life: Alyx from Steam with the default compatibility setting. The game runs through SteamLinuxRuntime_4/_v2-entry-point.
  3. The game starts SteamVR (vrmonitor -startupappid 546560 -startupreason applaunch_steam), and vrwebhelper inherits the Runtime 4.0 environment.

Result

  • console-linux.txt: vrwebhelper: error while loading shared libraries: libatk-bridge-2.0.so.0 on every attempt
  • vrserver.txt: Timed out waiting for .../Half-Life Alyx/game/hlvr/webui to load
  • Mongoose socket errors from vrserver, and the dashboard stays black or stuck

Workaround

Force the game to "Steam Linux Runtime 3.0 (sniper)" in Properties -> Compatibility. vrwebhelper then starts and the game's web UI loads (Loaded .../hlvr/webui).

Analysis

libatk-bridge-2.0.so.0 is in the sniper and soldier platform runtimes but in none of the steamrt4 platform versions (checked 4.0.20260316.216358 through 4.0.20261021.265997). Runtime 4.0 ships libatk-1.0.so.0 but not the ATK bridge. vrwebhelper.sh / vrenv.sh run ./vrwebhelper in whatever runtime the caller is in, so when the game starts SteamVR from inside Runtime 4.0, the library can't be found.

System

  • Fedora 45 Workstation, kernel 7.2.11-300.fc45.x86_64
  • NVIDIA GeForce RTX 4070 SUPER, driver 615.78.08
  • Steam client 1792711043
  • SteamVR 2.18.4 (1792185270)
  • Steam Linux Runtime 4.0: 4.0.20261021.265997
  • Headset: Steam Frame via the Steam Frame Wireless Adapter (28de:2432)
Ngôn ngữ chính
Shell
Star
1.2k
Fork
58
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

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của ValveSoftware/SteamVR-for-Linux

Tất cả issue của ValveSoftware/SteamVR-for-Linux

Issue tương tự

Thêm issue về Shell/Bash

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.