ValveSoftware / SteamVR-for-Linux

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

[BUG] SteamVR Dashboard doesn't work #255

Open Goofybud16 opened 4 years ago

Goofybud16 commented 4 years ago

Describe the bug When SteamVR launches, the empty grid successfully loads. After that, nothing seems to work. Games will not launch (fail to connect) and SteamVR intermittently crashes and shuts down. Games hang at startup, at various levels of initialization (VRChat doesn't even get a window open, Beat Saber makes it to a window but never draws anything)

When pressing the System button on a controller, no overlay opens.

To Reproduce Steps to reproduce the behavior:

  1. Open SteamVR
  2. Attempt to open the overlay/dashboard

Expected behavior SteamVR works. The dashboard opens, games launch successfully.

System Information (please complete the following information):

Screenshots

Additional context Seems to have started after rebooting my system.

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

Goofybud16 commented 4 years ago

After restarting my PC a few more times and upgrading/downgrading in and out of SteamVR Beta, I seem to have gotten games working again.

The SteamVR overlay/dashboard still doesn't seem to open.

Lyle-Tafoya commented 4 years ago

On my system, the dashboard opens, but the lower area (where it normally gives you the option to exit the game or enter the settings) is filled with artifacts to the point where I can't reasonably be expected to interact with it. This is with the SteamVR beta. I do not have the same issue when I am not using the beta. Seems like a clear regression to me.

System information: https://pastebin.com/Q8ch0JER

kisak-valve commented 4 years ago

Hello @Lyle-Tafoya, you're most likely looking for #253 instead of this issue report.

Lyle-Tafoya commented 4 years ago

I think you are correct. My apologies.

Termuellinator commented 4 years ago

I've got the same issue - just to be sure: you also get nothing at all, not even the overlay like in https://github.com/ValveSoftware/SteamVR-for-Linux/issues/244 ?

When i'm in SteamVR Home and press the system button, the sound fades out and in again, as if it is attempting to open the dashboard, but fails. I've already tried completely uninstalling steamVR according to https://steamcommunity.com/app/250820/discussions/2/1640917625015598552/ but the issue persists.

System Information (please complete the following information):

Goofybud16 commented 4 years ago

I've noticed that I don't even get an IPD adjustment overlay anymore.

Zamundaaa commented 4 years ago

This happens to me, too. No dashboard and no IPD adjustment overlay. Games work and start fine though (except for #246 sometimes, but that's probably not related). I have to note that this doesn't happen every time I start SteamVR but also only sometimes.

System Information (please complete the following information):

Termuellinator commented 4 years ago

I can confirm that the IPD overlay is missing for me, too.

Goofybud16 commented 4 years ago

On my first launch of 1.8.7, everything worked except I couldn't use the desktop overlay to control anything.

After a few hours, Steam crashed with SDL_GetWMInfo failed (or something similar) and now the overlay isn't working.

Zamundaaa commented 4 years ago

Can confirm. For the most partt least. The desktop overlay was there but the pointer just went straight through, not interacting. As Blade&Sorcery didn't stop loading and didn't display anything (#246 I guess) I exited SteamVR. The exit menu in the dashboard was smaller than I'm used to and more importantly didn't react at all, no hover effect and nothing. Exiting it on the desktop I see a unresponsive Steam, not even the window could be grabbed anymore. Minimizing that the same message "SDL_GetWindowWMInfo failed" was there. Pressing OK exited Steam. After starting Steam and SteamVR the dashboard worked again though. That is, until the same error window popped up again and Steam crashed... IPD slider is there again. The "next up" game notification works, too.

Zamundaaa commented 4 years ago

Now the dashboard stopped SteamVR from exiting. The process stays alive even after killing vrmonitor (the only other process still running) and constantly uses 12-13% of the CPU.

fabiankranewitter commented 4 years ago

The problem "SDL_ GetWindowWMInfo failed" also occurs in 1.8.9.

Goofybud16 commented 4 years ago

With 1.8.9, the overlay worked a few times, but then stopped working.

KB/M input still doesn't work on the Desktop view. It seemed to stop around the time that the "Prefer real KB/M input" change was made,

I am using the Steam Client Beta.

The IPD adjustment seems to work still. Steam notifications still pop in, but just have the notification box and Steam icon, no text.

Goofybud16 commented 4 years ago

Interestingly, last night the Steam notifications started working properly, but the dashboard overlay still wouldn't open.

Zamundaaa commented 4 years ago

Steam (and the dashboard) is still crashing with 1.8.10 and the latest Steam beta. No SDL_GetWindowWMInfo failed anymore though.

Zamundaaa commented 4 years ago

With 1.8.11 the dashboard worked great, apparently until I had the desktop view open for too long. Then the desktop view became invisible and the Steam overlay unresponsive. Settings still worked. After hiding the dashboard and showing it again all the other UI elements except for Steam and the settings were invisible, too. I could still interact with them, at least for a while. Then performance of the compositor got really bad until when moving the head it felt like 3fps. SteamVR didn't crash but looking at the desktop the message SDL_GetWindowWMInfo had appeared again; Steam crashed.

Zamundaaa commented 4 years ago

Now something in the dashboard crashed again, but it didn't crash Steam at first. More specifically, the desktop view was empty and the display settings were not working again. Every time I exit the display settings it shows the controller bindings page for a split second, and when it now crashed it showed the bindings page until I got back. It wasn't responsive though (the back button of the actual display settings worked). Because it somehow didn't recognize my left controller I then shut down SteamVR, and that seemed to trigger the SDL_GetWindowWMInfo message combined with the Steam crash again.

Zamundaaa commented 4 years ago

directly after starting SteamVR again: https://gist.github.com/Zamundaaa/6c5091e0be124c57913d78564c61425e

Goofybud16 commented 4 years ago

I've had several interesting combinations happen over the last few days over multiple versions of SteamVR:

Dashboard doesn't work, notification popups do No overlays at all (no popups, no dashboard) Dashboard works, Steam notification popups appear but are empty Everything works properly Dashboard doesn't work, notification popups appear but are empty

Since the IPD interface update, the IPD overlay seems to consistently work every time I've tried it (I generally don't mess with my IPD much once set)

I haven't really found a rhyme or reason for it working or not working. Maybe a race condition? Sometimes it works when I start SteamVR, sometimes it doesn't. Generally, it seems to not work more than work. The first 1-2 launches after SteamVR updates generally seem to work.

Goofybud16 commented 4 years ago

Wanted to confirm that this is still an issue on 1.8.13.

lostgoat commented 4 years ago

@Goofybud16 Do you still have STEAMVR_WEBHELPER=0 %command% as your launch options?

The dashboard in 1.8 is rendered by vrwebhelper, so without it you won't be able to see the dashboard.

Termuellinator commented 4 years ago

Would that also introduce new dependencies so that the missing dashboard could be cause by missing deps?

lostgoat commented 4 years ago

All the required dependencies for vrwebhelper are bundled as part of SteamVR or as part of the Steam runtime. Or at least that is the intended way for it to operate. If you find it behaving differently that would be a bug.

Goofybud16 commented 4 years ago

I removed STEAMVR_WEBHELPER=0 at some point previously. It has not been there for several versions at least.

The dashboard does work sometimes, just not all the time. It's inconsistent; I've yet to figure out how to make it work or break. Sometimes I can launch it 3 times in a row and the Dashboard will work, but the notifications may or may not work properly. Sometimes I launch it, no dashboard, relaunch, and there's a dashboard.

I've also noticed I never get the SDL WMInfo error that crashes Steam if the dashboard isn't working. It usually seems to pop-up when interacting with the Steam (big picture VR) tab in the dashboard, and then the big-picture view locks up. Steam will usually keep going for 5-15 minutes afterwards [if I don't click "OK", which immediately exits Steam), but then eventually does crash (which takes out some other games-- Like VRChat).

Goofybud16 commented 4 years ago

It seems the WMInfo error is related to using the Big Picture overlay after the first time opening/closing the overlay. Possibly related to opening/closing on a different tab (eg Desktop) and switching back after opening/closing. That seems to trigger it almost immediately.

If I just leave the Desktop view open all the time, it doesn't seem to pop up very often.

Goofybud16 commented 4 years ago

The overlay worked perfectly every time for me on 1.8.14. The Steam notifications worked (although sometimes the images would be slow to load in for profile pictures, but they worked). The only issues was the WMInfo error.

It hasn't worked at all for me on 1.8.15 or 1.8.16. Not just inconsistently like it was, but I just haven't been able to get the overlay open at all.

KB/M support was still broken in 1.8.14 as well. Within the first half-second of opening it, I could sometimes get the mouse input to work, and sometimes scrolling would work too. After that, the KB/M input would just stop.

Goofybud16 commented 4 years ago

Well, I just got it working on 1.8.16. Not sure what changed, if anything, but it started working.

Goofybud16 commented 4 years ago

Also managed to get the KB/M input on the Desktop view working today as well. Steam updated at one point, so it's possibly related to that.

Zamundaaa commented 4 years ago

The dashobard opens just fine every time for me, too. The WMInfo error pops up practically immediately though, and the desktop view seems to only be interactive on the lower half or something (can't really see it properly because of #262 though)

Goofybud16 commented 4 years ago

The dashboard still seems to be inconsistent for me. Sometimes it works, sometimes it doesn't.

Something to note is that I always get the "Setup Failed" message, because getcap and setcap aren't on the PATH of a standard user. [Fairly new Debian Testing system] Since I manually ran the appropriate setcap command, I've just changed the function in the shell script to return 0 before the actual code (since I just click OK every time every time). I'll see if that results in the dashboard working more consistently.

With 1.8.16 and the latest Steam, the desktop overlay seems to work fine on my system. The area for the mouse input appears to be wonky (doesn't align with the actual window). In case it matters, this is my screen layout [3x1080p60]:

image

Termuellinator commented 4 years ago

For me it still doesn't work at all, same for the IPD-Adjustment HUD. When in SteamVR-Home, the Audio briefly pauses, thats it :/ As it is working for others now - has somebody got any advice on how to "reset" SteamVR besides what i tried (as posted in https://github.com/ValveSoftware/SteamVR-for-Linux/issues/255#issuecomment-537451128 )?

Goofybud16 commented 4 years ago

With the latest SteamVR (1.8.18 Beta) I've found the following to work:

  1. Start SteamVR from Steam with the "Launch" button
  2. Use the headset system button to check for the overlay
  3. If it doesn't open, exit SteamVR and restart from 1.

I don't know if it matters, but SteamVR is loading off of a 5400RPM 10TB HDD (shucked from an EasyStore). Could it be a timing issue? I've found the dashboard usually doesn't work on the first load, but if I immediately restart SteamVR, it usually loads on the second try. Could it be things getting cached in RAM causing faster loading fixing the timing/race condition?

Madwonk commented 4 years ago

@Goofybud16 - I'm curious as to that too. I'm running off a surplus 4TB 5400RPM drive from Ebay. Currently running Ubuntu Mate 19.10 and can't say the upgrade from 19.04 changed much of anything, though I was hoping it would.

Termuellinator commented 4 years ago

with 1.9.3, i still get no dashboard/IPD at all :/ Steam and all is on a samsung 960 evo plus, so shouldn't be a timeout issue. As others get the dashboard (at least sometimes), i suppose there is something wrong on my side. I already tried reinstalling steam completeley (only kept /steamapps/common and /compatdata) without success - any more hints to what i can try?

Zamundaaa commented 4 years ago

It sometimes works for me, sometimes it doesn't. At least from what I've tried it seems like it always works the second time I start SteamVR. I don't really think that there's something you can do. It's something the devs should finally fix...

Madwonk commented 4 years ago

@Termuellinator Sometimes switching between beta/normal and letting SteamVR reinitialize, then trying it works. But hasn't been for the latest update...

frostworx commented 4 years ago

haven't tried it yet but changelog from most recent update from today looks promising:

Linux: Fixed a vrwebhelper crash that could make the dashboard disappear. Fixed the pairing UI window content not showing up the first time it was opened. Fixed a few behaviour quirks in vrwebhelper's desktop windows.

Zamundaaa commented 4 years ago

Started SteamVR a few times now and the dashboard always showed. Seems like fixed :+1:

Zamundaaa commented 4 years ago

Okay, it always seems to work at start but after playing a round of Sairento just now it just didn't show up anymore. The process didn't crash and showed nothing in the log indicating anything went wrong though...

Goofybud16 commented 4 years ago

Didn't work at first launch of 1.9.4 for me.

Did work on the second.

The SDL GetWMInfo error still appears every now and then, usually when I switch back to the Steam tab in the overlay. Keeping it in other tabs (settings, Desktop) all the time seems to 'fix' the issue.

frostworx commented 4 years ago

still an issue here. It is especially annoying when you want to exit a game without an exit option (so most of all games) or if you want to test a new game in VR.

Zamundaaa commented 4 years ago

The GetWMInfo error happens rather often for me with 1.9.7.

Goofybud16 commented 4 years ago

Still having it sometimes not appear on 1.9.7.

The "Start SteamVR, check for the dashboard, restart if it isn't there" still works, and it's always there on the second try.

Switching between Desktop and Steam views in the overlay seems to cause the GetWMInfo error. If I accidentally hit the system button when a notification pops up, it will usually pop back to the Steam tab, and that is usually the cause of my crashes (I usually keep it on Desktop to avoid crashing and because I use the desktop overlay).

Also noticed the new keyboard seems to be totally broken. If I'm typing "hello" it types like this:

hhehellhello

Although I've heard similar reports from friends on Windows so that may not be a Linux-specific issue, and is likely worthy of it's own report if it is.

Zamundaaa commented 4 years ago

Switching between Desktop and Steam views in the overlay seems to cause the GetWMInfo error

I it consistently every time switching from the Desktop to the Steam view. The Desktop view stopped being responsive a few times for me now, without switching between tabs or triggering Steam to crash.

frostworx commented 4 years ago

just noticed that the "Need Retest" label was removed 14 days ago. what does this mean exactly? Is the bug officially reproducible now? with the current steamvr beta 1.9.13 nothing has changed (maybe obvious when no linux related fix is mentioned in the changelog(?)). would be great if this will be fixed soon, as currently vr on linux is absolutely no joy with it.

trial and error if dashboard is available -> if yes: yay, chances are good that I can play a game; if not -> fear that you can at least start one game, knowing that you can't exit most of them anyway. very likely you can't start another one because you have exit the first one forcefully on the desktop triggering SDL GetWMInfo on the next try and so on. especially annoying when you have bought an index recently after 1 year htc vive and barely can't use it.
kisak-valve commented 4 years ago

Hello @frostworx, the "Need Retest" label is used to make sure issues that may be fixed or outdated don't get forgotten and left open. Since you gave feedback that there's still an issue to evaluate, it was removed.

frostworx commented 4 years ago

thank you for the explanation and for your continous support in general, kisak!

frostworx commented 4 years ago

heh, that is timing. SteamVR 1.9 stable fixes this bug!: https://steamcommunity.com/games/250820/announcements/detail/3150762393108758897 haven't tried it yet. edit: tried it, no dashboard. the description probably was a changelog entry from a previous beta.

Zamundaaa commented 4 years ago

AFAIK a stable update is always just the latest beta update, there will never be changes only on a stable update.

Goofybud16 commented 4 years ago

1.9.15 breaks the dashboard entirely for me

It worked on the linux_temp 1.8.21 branch first try.