Neos-Metaverse / NeosPublic

A public issue/wiki only repository for the NeosVR project
195 stars 9 forks source link

Neos on Linux doesn't Launch in Steam VR mode and freezes the system #2795

Open minenick123 opened 3 years ago

minenick123 commented 3 years ago

Describe the bug?

As the title says, cant boot up neos on linux in vr mode because the headset screen turnes black indicating steamvr said bye bye and it freezes the entire desctop forcing a restart.

This only happens in SteamVR mode. If i start Neos with the -screen launch comment it works perfectly fine

Relevant issues

nope

To Reproduce

Start up neos in SteamVR mode on Linux

Expected behavior

Crash of SteamVR and Freeze of the entire Distro

Log Files

Player.log

Screenshots

No response

How often does it happen?

Always

Does the bug persist after restarting Neos?

Yes

Neos Version Number

Beta 2021.8.14.443

What Platforms does this occur on?

Linux

Link to Reproduction Item/World

No response

Did this work before?

Yes

If it worked before, on which build?

2021.7.31.1211

Additional context

Distro: Fedora 34 Silverblue SteamVR Version: Beta 1.19.6

Reporters

Gabriel192#0377

shadowpanther commented 3 years ago

Can you provide log files from your attempt to launch with SteamVR? Preferrably, Neos's log and Unity's Player.log

Also, just to be sure, do other games work with SteamVR for you currently?

minenick123 commented 3 years ago

It didt get to create any log files before it crashed my whole system. Earlier versions of neos worked no problem. I can currently play other games in SteamVR Linux too like VRChat for example. Note tho that that runs through proton. Neos runs on Native

shadowpanther commented 3 years ago

Okay, are there any native games that you could test SteamVR on your system with?

minenick123 commented 3 years ago

Sadly nope nothing else i have has a native linux version with steamvr

shadowpanther commented 3 years ago

As for the Unity log (Player.log), it should be found in ~/.config/unity3d/Solirax/NeosVR/ folder. This file starts before any rendering is initialised, so it should contain something.

minenick123 commented 3 years ago

Player.log

shadowpanther commented 3 years ago

Looks like this also can't properly load libdl.so:

Fallback handler could not load library /var/home/gabriel192/.local/share/Steam/steamapps/common/NeosVR/Neos_Data/Mono/libdl.so

Now this is more interesting, as it looks like a pre-packaged library instead of a system one.

Frooxius commented 3 years ago

The libdl.so is probably harmless, there's a bunch of libraries that Unity will try to load, but fail. I'd check if any working installation has this same error.

We haven't really updated Steam VR in a long while, not since the build you mentioned this last working on, so I think it's something that's external to Neos. Could be your system drivers or SteamVR beta. Particularly when you're getting system freezes. I'd recommend checking those.

minenick123 commented 3 years ago

I didn't do any system upgrades at all not did steam vr update in the time of the new builds. Note Neos already had a tendency to nuke linux even when it worked like when opening steam vr or sometimes randomly during bootup. But now with the newest update it is permanent. At least when starting in vr, screen mode works fine for some reason

Frooxius commented 3 years ago

We haven't made any changes to SteamVR end on our end either, so I'm not really sure what could it be. There's not really much on our end that could nuke your system like that, SteamVR is mostly handled by the original plugin.

If you could downgrade to the last known working build and test that could help, although you'd have to use tools to get those builds from Steam.

Checking if it works on a clean Pop_OS installation could help too, to determine if it's something specific to your system (given you've already been having this issue) or not.

minenick123 commented 3 years ago

Tried a few things: Downgraded steam vr to the latest stable version 1.18.7: Crash Selected previous build beta for neos: Crash Vertified game files and it found 1 thing: Crash Cant test pop os since i dont have a empty arddrive i could use for install for it