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

[BUG] SteamVR opens on monitor, not on headset

Open bismurphy opened this issue 3 years ago • 7 comments

Describe the bug When I launch SteamVR (regardless of whether it's from my Library, or selecting the VR icon in the upper right of Steam), I get a window without a title bar, which shows up on my monitor. It shows two circular viewports (for the two eyes). This is not the normal "Display VR View" window. In my taskbar it shows as 'vrcompositor'. I see my SteamVR Home environment, and the camera moves when I move my headset around. It seems that SteamVR is not correctly recognizing which of my GPU's outputs goes to my headset.

To Reproduce No clear reproducing path, this happens simply from launching SteamVR.

Expected behavior I expect my VR view to show on my VR headset.

System Information (please complete the following information):

  • Distribution: Ubuntu 20.04.4
  • SteamVR version: 1.21.8 (1644369508)
  • Steam client version: Built: Jan 16 2022, at 17:34:49
  • Opted into Steam client beta?: Initially no. Opted into beta, no change.
  • Graphics driver version: Mesa 21.3.7 - kisak-mesa PPA
  • Gist for SteamVR System Information: https://gist.github.com/bismurphy/3b1638c973836b90250480f37fa84def

Screenshots

Additional context Just to be clear, this is an OG vive, and my GPU is an RX 580. Seems like important system info to include - maybe that shows up in the gist though.

bismurphy avatar Mar 07 '22 02:03 bismurphy

Just to be clear, I don't think this is a duplicate of #496, despite looking similar, because this is a desktop with a single GPU. The monitor that the vrcompositor shows on is plugged into the same GPU as my Link Box is plugged into.

bismurphy avatar Mar 07 '22 02:03 bismurphy

This is likely an issue with Wayland, nor SteamVR, I had the same issue on Manjaro with Gnome. The solution was to switch to an Xorg Gnome session when logging in.

https://linuxconfig.org/how-to-enable-disable-wayland-on-ubuntu-20-04-desktop

Xwayland did not support reprojection at all until very recently, and even the latest version, while technically having support, still does not work.

oemsysadm avatar Mar 14 '22 03:03 oemsysadm

What version of Xwayland are you using? You need 22.1.0 for the DRM leasing otherwise it will just open the compositor on your monitor

SpookySkeletons avatar Mar 16 '22 03:03 SpookySkeletons

I used the process listed here: https://unix.stackexchange.com/questions/202891/how-to-know-whether-wayland-or-x11-is-being-used

And this gave me "Type=x11".

So not a Wayland issue.

bismurphy avatar Mar 16 '22 13:03 bismurphy

I had the same issue. I doubt you've done the same, but I didn't have all my cables plugged in?

WiredG1 avatar Mar 31 '22 07:03 WiredG1

I also have this same issue on Gnome. KDE doesn't experience this issue.

I have a odd unique setup of a AMD 6800XT running displays/valve index and an Nvidia Quadro P2000 that I use for NVENC encoding. Sometimes, I need to implement workarounds for this, but the issue seems to only happen on Gnome. I haven't tested any other WMs.

Distribution: Arch Linux SteamVR version: 1.22.5 (1648853008) Steam client version: Built: March 31, 2022 at 23:11:43 Opted into Steam client beta?: Yes Graphics driver version: mesa 22.0.0-1 Gist for SteamVR System Information: https://gist.github.com/alpacalife/2d9a89546a2b73757bb9e4ed19c049bd

alpacalife avatar Apr 06 '22 21:04 alpacalife

I had the same issue. I doubt you've done the same, but I didn't have all my cables plugged in?

I was having this problem, my cables seems well connected, I disconnected all of them and connected again, now is working, not as expected, but working,

Perracomax avatar May 13 '22 11:05 Perracomax