SteamVR-for-Linux icon indicating copy to clipboard operation
SteamVR-for-Linux copied to clipboard

[BUG] IVRVirtualDisplay broken on Linux

Open ckiee opened this issue 4 years ago • 13 comments

Describe the bug Usage of the IVRVirtualDisplay interface in the OpenVR Driver API on Linux causes SteamVR to crash with the usual "Shared IPC Compositor Init Failed (303)" and sometimes also error 307 which is also IPC-related.

To Reproduce Steps to reproduce the behavior:

  • git clone https://github.com/maxer456/steamvr-linux-experiment steamvr-le && cd steamvr-le && mkdir build && cd build && cmake .. && make -j && cd .. && cp build/libdriver_steamvr-test.so bin/linux64/driver_steamvr-linux-experiment.so
  • add path for the cloned repo to ~/.config/openvr/openvrpaths.vrpath
  • start SteamVR and watch it crash

Expected behavior I expected SteamVR to not crash.

System Information:

  • Distribution: Arch
  • SteamVR version: 1.15.12
  • Steam client version: steam ver
  • Opted into Steam client beta?: No
  • Graphics driver version: nVidia proprietary driver 455.45.01
  • Gist for SteamVR System Information

Screenshots svr crash

Additional context This issue is not a recent regression: we've been experiencing this for a while but only I've only now identified this as a good place to ask for help in.

We wrote the example we're testing here just by reading the header files and the docs/sample for windows. It'd be really nice if we had some updated documentation for Linux for this API. (and maybe DirectMode too if it's even supported on Linux..?)

Note: Commenters who are also experiencing this issue are encouraged to include the "System Information" section in their replies.

ckiee avatar Dec 04 '20 15:12 ckiee

I've helped test this too. System Information:

  • Distribution: Ubuntu 20.04.1 LTS
  • SteamVR version: image
  • Steam client version: image
  • Opted into Steam client beta?: yes
  • Graphics driver version: AMD AMD RAVEN (DRM 3.35.0, 5.4.0-54-generic, LLVM 11.0.0)
  • Gist for SteamVR System Information

WilsontheWolf avatar Dec 04 '20 16:12 WilsontheWolf

A video of my results is here: https://www.youtube.com/watch?v=RRRufq-Qqbc

WilsontheWolf avatar Dec 04 '20 16:12 WilsontheWolf

+1 for directModeComponent

Vixea avatar Oct 26 '23 20:10 Vixea

+1

FriederHannenheim avatar Oct 27 '23 15:10 FriederHannenheim

+1

Kierek avatar Oct 28 '23 09:10 Kierek

Please use the reactions button under the comment. It's spammy otherwise.

ckiee avatar Oct 28 '23 13:10 ckiee

The latest SteamVR Beta 2.0.10 contains a fix for IVRVirtualDisplay. Could somebody please check if it works now?

FriederHannenheim avatar Nov 01 '23 09:11 FriederHannenheim

I'd prefer if kisak would add input on this development otherwise I would say based on previous information that nothing changed

Vixea avatar Nov 01 '23 10:11 Vixea

Hello @Vixea, friendly reminder that I'm a moderator for Valve's issue trackers on Github, and not a SteamVR developer myself.

I don't have any real insight into this issue, but having written that I think that change log note is in response to https://github.com/ValveSoftware/openvr/issues/1775 instead of this issue report.

kisak-valve avatar Nov 01 '23 13:11 kisak-valve

Fixed on Windows (in Beta 2.0.10). Valve QA is embarrassingly bad, so they just released SteamVR 2.0 without even testing it properly (and ignored bug reports).

TheDeveloperGuy avatar Nov 02 '23 12:11 TheDeveloperGuy

Also keep in mind that directModeComponent is also broken which is why I didn't the "+1 for directModeComponent" it's more of saying this is also an issue than a straight plus 1 obviously people didn't get that :|

Vixea avatar Nov 30 '23 22:11 Vixea

https://store.steampowered.com/news/app/250820/view/4146199229186243608

Vixea avatar Mar 27 '24 00:03 Vixea

poggers

FriederHannenheim avatar Mar 27 '24 06:03 FriederHannenheim