Comments (8)
From what I've been able to figure out, but I could be mistaken, it seems like the Oculus XR runtime itself is sending XR_SESSION_STATE_STOPPING and XR_SESSION_STATE_IDLE when it no longer detects it's being worn, but VDXR sends nothing.
from uevr.
There is no proper support for "user presence" sensing in OpenXR 1.0. What the Oculus OpenXR runtime does has been a source of debate for a while, and the behavior they implement is not in the OpenXR spec and not guaranteed across all OpenXR implementations. This behavior implemented by Oculus is also a major source of headaches for users (go ask DCS users and how they all have taped their sensor on the headset to go around game/runtime bugs due to it).
VDXR/PimaxXR do not implement this non-standard behavior.
from uevr.
Would a keybind to switch back to desktop mode for these other runtimes be an acceptable workaround?
from uevr.
Understandable, although it is a useful feature in this particular use case.
Is it possible to detect the HMD worn state through the other runtimes through polling? If so maybe a toggle-able option to switch automatically would be a better UX. Although I'm guessing since user presence sensing is non-standard that's likely a no. So a keybind is likely the only option if that's the case.
from uevr.
Is it possible to detect the HMD worn state through the other runtimes through polling
It isn't in OpenXR 1.0. There is an extension in the works for this. Right now the session state events are not implemented the same way across vendors, so you can't make assumption on them.
from uevr.
In that case a keybind would great for now, will make it playable for all runtimes.
from uevr.
Added in 4f9f362
from uevr.
Just tested it and works perfectly, thanks for the fix.
from uevr.
Related Issues (20)
- [BUG] Also a [FEATURE REQUEST] - Controller pitch GUI adjustment needed & keyboard slider increments
- Street Fighter 5 crashes after injection HOT 2
- [BUG] Frequently crashes / stability HOT 4
- no 3d
- [BUG] Not really a bug, but huge QoL: Download gets blocked, Virus detection HOT 1
- [BUG] Game crashes: Ride 4
- [Feature Request] A way to hide settings that will cause a game to crash.
- [Documentation] It's possible to compile without setting up SSH.
- [Feature request] Integrate LIV SDK for better streaming inmixed reality
- [BUG] Bit Defender Virus message HOT 1
- [BUG] Nothing to inject to in dropdown menu HOT 2
- How to use a specific version commercially
- Unable to clone UESDK submodule repo HOT 1
- [BUG] after playing a game with uevr, the gpu wont go in idle state and consume more wattage til the restart of pc HOT 3
- UEVR Description: A .NET application failed. Application: UEVRInjector.exe HOT 3
- Jedi Fallen Order Crashes When Using Injector HOT 2
- I encounter a problem when I use uevr on Fernbus Simulator. There is no video in vr screen but only voice. [BUG] HOT 2
- [Request] for more info regarding the UEVR Lua API HOT 2
- Crash when transitioning from jump in space to planet side
- [BUG]
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from uevr.