Vivecraft / VivecraftMod

An experimental port of Vivecraft to Forge/Fabric
Other
162 stars 33 forks source link

VR View freezes when entering world #280

Open JoMaZu787 opened 1 month ago

JoMaZu787 commented 1 month ago

When i enter a world the vr view completely freezes, visible in the headset and the steamvr preview, yet the minecraft window on the pc shows my camera perspective moving and rotating with the hmd tracking.

Device: Quest 2 (Connected over wifi using ALVR) OS: Arch Linux (KDE Plasma) This is on a profile with 81 other mods, so it might be some sort of incompatibility Minecraft 1.20.4

fayer3 commented 1 month ago

singleplayer or server?

JoMaZu787 commented 1 month ago

singleplayer

JoMaZu787 commented 1 month ago

minecraft 1.20.4 btw

fayer3 commented 1 month ago

can you check if toggling VR in the world fixes it? can do that with right crtl + F7

JoMaZu787 commented 1 month ago

can i change that shortcut? sorry am a little new to this mod

fayer3 commented 1 month ago

no that is hardcoded, but you can also toggle it in the from mod menu

JoMaZu787 commented 1 month ago

nvm i figured out how to disable the kde plasma shortcut that had the same keybind also yes that fixes it

fayer3 commented 1 month ago

hm okay, good that that fixes it, not sure why it get's stuck though can you post a log from when it gets stuck

Techjar commented 1 month ago

It's a known issue that seemingly has to do with SteamVR's OpenGL pipeline. There's nothing we can debug on our end cause it's SteamVR itself freezing the view, while the game window still shows movement. Often the freeze occurs right when the controllers start tracking for some reason.

fayer3 commented 1 month ago

could it be related to the fact that we submit two frames for one poll during world load?

Techjar commented 1 month ago

I don't think so cause it can happen while just sitting on the menu.

JoMaZu787 commented 1 month ago

https://gist.github.com/JoMaZu787/e74195ca32e7d0d03c00bf31a4afb859#file-latest-log

fayer3 commented 1 month ago

looks like something doesn't like the eye stencil

JoMaZu787 commented 1 month ago

the bug also happens when changing the desktop mirror mode and toggling the lanczos scaler

fayer3 commented 1 month ago

can you check if disabling the eye stencil still produces that issue?

JoMaZu787 commented 1 month ago

yes it still happens with eye stencil off