ValveSoftware / SteamVR-for-Linux

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

[BUG] Cannot initiate Valve Index in Plasma Wayland, error 310 #568

Open nixRidge opened 1 year ago

nixRidge commented 1 year ago

Describe the bug In the Plasma Wayland session, I cannot use SteamVR as the Valve Index doesn't turn on. SteamVR opens and displays the following:

SteamVR Fail A Key component of SteamVR isn't working properly. Please restart SteamVR.

Error code 310

To Reproduce

  1. Launch Plasma Wayland
  2. Launch SteamVR and allow it to use setcap if prompted.
  3. Wait for SteamVR to launch.
  4. Observe it launching with error code 310 and aforementioned message.

Expected behavior Expected to play a little Boneworks in the Wayland session.

System Information

Additional context It was working fine in the Wayland session at the start of February this year. Tested and working in the X11 session. The udev rules are OK. xrandr sees the HMD in both X11 and Wayland. kscreen-console does NOT see the HMD in Wayland. Tried setting "enableLinuxVulkanAsync" to both true and false, as well as completely removing the string from steamvr.vrsettings. I have also tried completely removing Steam and anything related to it, then setting Steam and SteamVR up again from scratch. Lighthouses are not detected in Wayland, working in X11.

Thank you for your time.

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

yaomtc commented 1 year ago

Same here, had to switch to Plasma X11 to get it working. Also on Arch but with a 5700 XT

Hicks79 commented 1 year ago

Hi @FridgeRacer , @yaomtc

have you found a solution for error 310?

Some time ago (several months ago) I could play Alyx, however I can't play it anymore i get this code error 310.

I have tried everything from reinstalling steamvr, and using another port for the hdmi.

Thanks so much!

nixRidge commented 1 year ago

Not in a position to test right now, @Hicks79, however I can share that I have gotten the HMD working with Plasma Wayland back in July, albeit with colour issues in the overlay, no async reprojection (of course) and no sound. Bluetooth power management still does not work. It is not worth playing on my setup at least, in such a state. A tip though, make sure you have atomic modesetting in enabled (it is on by default, but can be turned off with an environment variable. If you haven't turned this off manually it's most likely on.)

I'll keep the issue open since it still seems to be, well, an issue.

@Hicks79 Do attach relevant system information and logs, maybe it'll help.

Hicks79 commented 1 year ago

Thanks for the Info @FridgeRacer !

System Information

Distribution: Ubuntu 18.04 (Pro), Kernel 4.15.0
SteamVR versions: Tested with Beta 1.27
Opted into Steam client beta?: Yes
Graphics driver version: Nvidia 525.125.06
Desktop: x11
nixRidge commented 1 year ago

@Hicks79 Your kernel is very old, can you try with an up to date one? Nothing stating that it shouldn't work on 4.15, but who knows.

Hicks79 commented 1 year ago

hmm I have never had problems before with HL:Alyx for example : S