protonscr

Using SteamVR 1.14 and Proton >5.13 crashes Unity games

protonopen
ValveSoftware/Proton#7022 · opened 2023-08-16 by purplebar0 · updated 2023-08-16 · 2 comments · github
1 matching comments, n / p to jump
Ppurplebar0 2023-08-16 github

Compatibility Report

  • Name of the game with compatibility issues: All tested Unity games, including Pierhead Arcade 2, BONEWORKS
  • Steam AppID of the game: 572620, 823500

System Information

I confirm:

  • [x] that I haven't found an existing compatibility report for this ~game~ situation.
  • [x] that I have checked whether there are updates for my system available.

Symptoms

Any Unity game crashes if the combination of software is SteamVR 1.14 and Proton >5.13. The issue was spotted in Guide for Linux VR by ErKäf.

An important thing to note is that asynchronous reprojection is broken on SteamVR >1.14, forcing users to keep using the 3 year old version (available as a public linux_v1.14 branch) due to the lack of an official fix. I understand that using this version is unsupported, but using the current version is an inferior experience in many games.

Reproduction

  1. Start SteamVR 1.14
  2. Ensure that Proton >5.13 is selected for the game
  3. Start the game
  4. The game crashes (Proton log). It should be noted the game has mods applied, but that does not effect whether the crash occurs
Kkisak-valve maintainer 2023-08-16 github

Hello @purplebar0, my understanding is that SteamVR needs to be the same version or newer than the matching OpenVR spec version being used by the game. In the case of Proton, this is both the game's OpenVR library version and Proton's vrclient_x64 shim to glue the Windows-like environment to the Linux counterpart.

Unfortunately, I don't think there's a practical fix to this on Proton's side, but we'll need to hear from a Proton or SteamVR developer for a definitive answer.

Personally, I've been using the current version of SteamVR with async reprojection disabled (https://github.com/ValveSoftware/SteamVR-for-Linux/issues/227#issuecomment-520459572) with my VR testbox while waiting for the situation to improve.

Ppurplebar0 2023-08-16 github

In reply to https://github.com/ValveSoftware/Proton/issues/7022#issuecomment-1680594683

I attempted to replace the game's openvr_api.dll with the one in OpenVR 1.14.15, as well as vrclient.dll and vrclient_x64.dll in drive_c/vrclient with ones found in a Proton 5.13 prefix. That sadly made no difference when I tried it before posting the issue or now, when I double-checked that everything appears to be as it should.

Is there anything else I could try? Should I try to customise my version of Proton? I would rather have at least one component (Proton) in an updated state if the other (SteamVR) isn't showing signs of improving.

Proton versions

DLLs