protonscr

[BUG] SteamVR fail 307 on 1.26.1

steamvrclosed bug
ValveSoftware/SteamVR-for-Linux#575 · opened 2023-04-05 by DomiStyle · updated 2023-07-23 · 7 comments · github
2 matching comments, n / p to jump
DDomiStyle 2023-04-05 github

Describe the bug
Every single time I launch SteamVR on a KDE Wayland session SteamVR will refuse to start with error code 307.

This only happens on 1.26.1, not on 1.25.7.

To Reproduce
Steps to reproduce the behavior:

  1. Update to 1.26.1 (currently in beta)
  2. Start SteamVR under a KDE Plasma Wayland session
  3. SteamVR won't start due to error 307

Expected behavior
SteamVR to launch normally.

System Information (please complete the following information):

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

Kkisak-valve maintainer 2023-04-05 github

Hello @DomiStyle. ASSERT: "unSize < 65536" at /data/src/common/vrcommon/vrrenderer/vulkanrenderer.cpp:5006 looks like a possible line of interest from vrcompositor.txt.

DDomiStyle 2023-04-06 github

@kisak-valve Thanks, I assume this is something the devs have to take a look at or can I do anything about that?

MMyBeansAreBaked 2023-05-25 github

I was experiencing a similar issue on Hyprland and NixOS, using an AMD GPU, with various combinations of Steam and SteamVR betas. I got errors 306 and 307. They went away by launching steam with environment variables:

QT_QPA_PLATFORM=xcb SDL_VIDEODRIVER=x11 steam

This overrides the values recommended by Hyprland

Though I still experience issue #572, including no games showing up in the menus, but other than that it seems to work now.

DDomiStyle 2023-06-08 github

"Works" on KDE Wayland as well now without any environment variables, but I also run into #572.

DDanielduel 2023-07-23 github

(comming from https://github.com/ValveSoftware/SteamVR-for-Linux/issues/596)
Post-close info:
My steamvr usually worked on 2nd run (1st was always crashing - something like SteamVR Crash with restart headset button (not the 307 error)), the https://github.com/ValveSoftware/SteamVR-for-Linux/issues/575#issuecomment-1562998377 looks like a fix for this problem.

@MyBeansAreBaked curious - how you got info about using those flags? I mean - I want to know how to debug similar problems in future :eyes:

MMyBeansAreBaked 2023-07-23 github

@Danielduel

My steamvr usually worked on 2nd run (1st was always crashing

I am also experiencing this issue, even with those env vars. First launch runs slow and then crashes every time.

how you got info about using those flags?

Can't entirely remember, I think I might've seen one of them mentioned in the steam logs. Also reading the Hyprland docs mentions changing the SDL_VIDEODRIVER var to x11 for games with compatibility issues. I basically just tried everything I could think of changing until something worked 😅

I also since realised you can set them as launch options for SteamVR, so it just works without restarting steam or anything.

QT_QPA_PLATFORM=xcb SDL_VIDEODRIVER=x11 %command%
DDanielduel 2023-07-23 github

With this "1st crash, then works good" - I said it too early.

Launch options

Launch lines