ValveSoftware / SteamVR-for-Linux

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

[BUG] SteamVR on Linux 1.26.6 breaks with 307 error #596

Open crocycroc opened 1 year ago

crocycroc commented 1 year ago

Describe the bug Running the latest version of SteamVR (1.26.6) on Linux will lead to an error message about a key component of steamvr isn't working (307)

To Reproduce Steps to reproduce the behavior:

  1. Go to your library and run "SteamVR" making sure to have no beta set under properties
  2. When it starts you get an error message "A key compnent of SteamVR isn't working..." (307)
  3. Follow the instructions and restarting steam and unplugging/replugging in headset
  4. Repeat 1. and same error

Expected behavior With version 1.26.5 restored from a backup I am able to run everything correctly without issue. This seems to be a new bug as of the latest update

System Information (please complete the following information):

Screenshots Screenshot_20230715_121421

Additional context If I restore a copy of 1.26.5 from a backup it works correctly

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

kisak-valve commented 1 year ago

Hello @crocycroc, it might be interesting to try https://github.com/ValveSoftware/SteamVR-for-Linux/issues/575#issuecomment-1562998377 as a workaround since I see ASSERT: "unSize < 65536" at /data/src/common/vrcommon/vrrenderer/vulkanrenderer.cpp:5006. in your vrcompositor.txt log (https://gist.github.com/crocycroc/608a39756fd6d5c21fb61f196c81b783#file-gistfile1-txt-L2563)

crocycroc commented 1 year ago

Hello @crocycroc, it might be interesting to try #575 (comment) as a workaround since I see ASSERT: "unSize < 65536" at /data/src/common/vrcommon/vrrenderer/vulkanrenderer.cpp:5006. in your vrcompositor.txt log (https://gist.github.com/crocycroc/608a39756fd6d5c21fb61f196c81b783#file-gistfile1-txt-L2563)

Thanks for the suggestion. I gave the environment variable mentioned a try and didn't change the outcome, even after a restart of steam. I do notice that the vrwebhelper seems to crash as soon as SteamVR starts and needs to be killed to stop it

crocycroc commented 1 year ago

Okay so in wayland mode I can get it to run without that error, but I don't get any of the UI overlays? Also games that previously worked like Half-Life: Alyx keep giving the connection to mongoose timedout error

ZarathustraDK commented 1 year ago

I had a brief stint on Nobara Official yesterday due to my wifi crapping out so I decided to distrohop from Garuda Dragonized.

The impression I ended up with is that GNOME just straight up sucks when it comes to SteamVR compared to KDE, I got all the errors, the above one included, as well as the unkillable empty window, setcap/getcap errors, and the non-rendered settings-window.

So back to Garuda I went. The only snag I experience there is that I have to restart SteamVR on first run, then it plays ball. I suppose Valve is pouring a lot of attention into Steam-interoperability with the Steam Deck's OS which is KDE-based, explaining the discrepancy between DE's. On the more speculative side of things, the rumored Deckard-HMD they're working on is supposedly going to be linux-based. There has been a lot of code-commits to SteamVR on steamdb that points towards this (courtesy of SadlyItsBradley), so if the plan is that this HMD is going to interface with SteamOS on a Steam Deck (or Steam Deck 2?), it makes sense that SteamVR just works plain better on KDE.

I don't know, I guess my fear is we're just yelling into the wind when it comes to bugs on other DE's than KDE. If it's the case, it would at least be nice to have some official stance on it so we could concentrate our efforts on what's actively being worked on instead of bridges to nowhere, and point people who just want to play in some semblance of a direction.

Sorry, didn't mean to thread-jack.

crocycroc commented 1 year ago

Not running gnome here, this is on KDE that I'm getting these issues with. Also I am seeing this settings window not showing up as well. Also it's clear that there are issues with 1.26.6 build as I am also seeing this issue https://github.com/ValveSoftware/SteamVR-for-Linux/issues/597 and the previous 1.26.5 did not have either of these problems. Also not getting any of the UI in VR to show up I think it's all related to the vrwebhelper. Hoping a new version of SteamVR comes out to address these issues soon

sobersthebear commented 1 year ago

I did encounter this with the flatpack Steam, but with the latest beta off of the site I did get it working alright. I say "alright" meaning 'ok' of course.

alucryd commented 1 year ago

Does not work in 1.26.7 beta either.

crocycroc commented 1 year ago

I have been able to get 1.26.7 to work but I also needed to sign up for the steam client beta (and the steamVR beta client) and that seems to give me a working version. It's still not perfect but can at least play games. Wondering if there is a dependency between the steamvr and having the latest steam client UI installed?

LordOfDragons commented 1 year ago

Neither current stable nor beta is working. On KDE here and it even goes as far as to totally and utterly kill KDE when you try to start SteamVR. Something is horribly broken in a way I can't even pull logs or do anything else but hard-reset the PC. I also observe this across different distros on different PCs so this is a blocker issue affecting multiple systems and should get high priority since it also kills the entire desktop environment.