ValveSoftware / SteamVR-for-Linux

Issue tracker for the Linux port of SteamVR
930 stars 45 forks source link

[BUG] Can't Open SteamVR Dashboard #542

Open ghost opened 2 years ago

ghost commented 2 years ago

Describe the bug Can't open the SteamVR in-game dashboard (the menu to launch games, etc, most importantly set game resolution).

To Reproduce Steps to reproduce the behavior:

  1. Open SteamVR
  2. Press button to open dashboard (it doesn't)

Expected behavior Open the dashboard so I can launch games and configure VR.

System Information (please complete the following information):

Screenshots I can't open this menu unknown

Additional context I am using ALVR. I have opened a issue there as well because I am not sure what it affected.

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

kisak-valve commented 2 years ago

Hello @ryanrambharose, a couple more details that might be useful to ponder this issue. Please copy your system information from Steam (Steam -> Help -> System Information) and put it in a gist, then include a link to the gist in this issue report. Also, if you completely close Steam, then run steam-runtime from a terminal, are there any hints in the terminal spew when trying to open vrdashboard?

ghost commented 2 years ago

Hi @kisak-valve

System Information: https://gist.github.com/ryanrambharose/e3fa0d342215ce6d19ec68801fb7e6cf

Maybe this is helpful (from terminal): src/steamexe/main.cpp (254) : Assertion Failed: reaping pid: 52889 -- vrwebhelper.sh

kisak-valve commented 2 years ago

Thanks, looking on your system information, OpenGL applications run on your Intel Tigerlake chipset, while Vulkan applications are forced to run on the NVIDIA chipset because that's the only Vulkan driver available. I suspect your issue is coming from this mismatch. vrcompositor runs with Vulkan, while the Steam client is OpenGL.

Maybe try setting SteamVR's launch options to __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia %command% or (as a separate test) completely closing Steam, and running __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia steam-runtime from a terminal? (https://download.nvidia.com/XFree86/Linux-x86_64/515.76/README/primerenderoffload.html) The first test is to tell only SteamVR to always use the NVIDIA proprietary driver, the second is to tell the entire Steam client to always use the NVIDIA driver, which SteamVR inherits because it's started from Steam. After that would be to test running your X session on the NVIDIA GPU instead of Intel (https://wiki.archlinux.org/title/NVIDIA_Optimus#Use_NVIDIA_graphics_only).

ghost commented 2 years ago

Ok, so I tried everything mentioned but unfortunately the dashboard still does not open.

Using __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia steam-runtime just writes to console Loaded SDL version 2.25.0-7511446

Artefact2 commented 2 years ago

I am also hitting this issue. I am also using ALVR.

Sometimes the menu will work, sometimes it will not show and nothing happens after a "menu button" press. I can still manually start VR games from the steam window on my PC.

I haven't yet found a way to cause/fix the issue.

(Arch Linux, linux 6.0.1, amdgpu, mesa-git and SteamVR 1.24)

ghost commented 2 years ago

@Artefact2 I reinstalled arch but using gnome desktop instead of KDE and I was able to open the dashboard. I am now using Ubuntu gnome and it works as well.

Vixea commented 1 year ago

Output If you open it at the right time while steamvr is starting it seems you can open and have it work for a second before it dies again. Thats how I was able to get a window like this to appear.(used to not work at all but seeming random after disabling glthread in adriconf it worked again but with said steps happening below - re-enabling it keeps the same behavior) -shrug Steps: Launch steamvr Hope you luck and press the menu button at the right time(able to launch games there) wait a second for it to break(everything is still there just not select-able anymore) close menu open back up(either you get this or nothing appear and you just have the controller and cursor (EndeavourOS, linux-zen 6.1.5, amdgpu(only gpu in the system) mesa 22.3.3, and steamVR 1.25.3 Beta)

hsanders5239 commented 1 year ago

I'm having the same issue, has anyone resolved it?

Vixea commented 1 year ago

I think I figured it out, when running with CAP_SYS_NICE set it breaks but if you don't it works just fine(minus the weird colors) I need to check to make sure I'll edit this comment to confirm it

Update: Nevermind: I have no clue then

yobson1 commented 14 hours ago

completely closing Steam, and running __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia steam-runtime from a terminal

was the solution for me, running SteamVR with PRIME render offload was not enough, steam itself has to be offloaded entirely