Meta quest 3/3s controllers goes sleep very quickly when on idle
Description
When a controller's pose source goes idle, Controller::OnPoseUpdate reports the device as disconnected rather than merely untracked. Applications read that as the controller being physically unplugged. In VRChat the result is that the avatar's arm animates back to its default pose a few seconds after you set a controller down, taking anything parented to that hand with it (wrist menus, held props). Picking the controller back up restores it.
This is not a tracking fault — the stream stays healthy throughout, and only the controller devices are affected.
Cause
In alvr/server_openvr/cpp/alvr_server/Controller.cpp (line numbers from current master):
// L187
bool enabled = (controllerMotion != nullptr || handSkeleton != nullptr)
&& (enabledAsHandTracker || enabledAsController);
...
// L203-205
pose.poseIsValid = enabled;
pose.deviceIsConnected = enabled;
pose.result = enabled ? vr::TrackingResult_Running_OK : vr::TrackingResult_Uninitialized;Three fields that answer different questions are all driven from one "did a sample arrive this tick" boolean:
deviceIsConnected— is the device present/paired?poseIsValid— is this pose usable?result— if not, why not?
Collapsing them means a momentary gap in samples is signalled as a disconnect. TrackingResult_Uninitialized also seems off here — it means "never initialised", not "lost tracking".
Steps to reproduce
- Quest 3 + Touch controllers, hand tracking off.
- Enter VRChat, set one controller down, don't touch it.
- After a few seconds the avatar arm drops to the default pose.
- Pick the controller up — it recovers immediately.
Measurements
136-second log_tracking capture, Quest 3, ALVR v20.14.1:
| Metric | Value |
|---|---|
| Right controller absent | 16.6% of ticks, 14 episodes, longest 7.12 s |
| Left controller absent | 4.9% of ticks, 9 episodes, longest 1.51 s |
/user/head absent |
0 ticks |
| Tick rate during the 7.12 s gap | mean 3.7 ms, max 13 ms |
The head pose never stalls and tick timing stays nominal, so this isn't masking a network or performance problem — only the controller sources go quiet.
A constraint on any fix
deviceIsConnected is not only a presence flag here — it is also the runtime selector between the controller and hand-tracker devices, per the comment above SetTracking in alvr/server_openvr/src/lib.rs:
There are two pairs of controllers/hand tracking devices registered in OpenVR, two lefts and two rights. If enabled with
use_separate_hand_trackers, we select at runtime which device to use... Selection is done by settingdeviceIsConnected.
Both twins receive identical FfiHandData each tick and each decides whether it owns the hand; the loser must report itself disconnected. So simply forcing deviceIsConnected = true is not a safe fix — it leaves two devices claiming one hand. SetButton (alvr_server.cpp:502) also pushes input to both twins unconditionally, which compounds it.
Worth noting too that Controller::SetButton early-returns on !last_pose.poseIsValid, so anything that keeps a pose valid during a dropout also re-enables input delivery for that device.
Possible direction
Decoupling the fields, roughly:
pose.deviceIsConnected = /* device registered and streaming, not per-tick sample presence */;
pose.poseIsValid = enabled;
pose.result = enabled ? vr::TrackingResult_Running_OK
: vr::TrackingResult_Running_OutOfRange;with the twin-selection contract preserved by some means other than this flag, and presumably a timeout after which a genuinely powered-off controller does report disconnected.
One thing I have not verified: whether poseIsValid = false alone is enough to avoid VRChat's arm-drop, or whether VRChat also treats an invalid pose that way. My own workaround keeps the pose valid and holds the last known transform, so it doesn't isolate that variable. Worth establishing before settling on an approach — it's the difference between a small flag correction and needing to hold a pose.
What I'm running locally
I maintain an out-of-tree patch that holds the last good pose with the device still connected, clears all inputs on entry (otherwise stale axis values stay live, since the client stops sending input events during a dropout), and never holds a device that doesn't currently own its hand. It resolves the VRChat symptom completely on my setup.
The patch, the full write-up and the raw measurements are at https://github.com/Maxii-VR/alvr-controller-idle-fix — please take anything from it that's useful. The source change there is MIT, same as ALVR.
This patch covers the misbehaviour for now, so people "mostly me" don't have to suffer with this bug until it get patched on mainstream. I'm filing this so the behaviour is on record and you have the analysis if you want it.
General Troubleshooting
- I carefully followed the instructions in the README and successfully completed the setup wizard
- I read the ALVR GitHub Wiki
Environment
Hardware
CPU: 12th Gen Intel Core i5-12600K
GPU: NVIDIA GeForce RTX 3090
GPU Driver Version: 591.86 (32.0.15.9186)
Audio: NVIDIA High Definition Audio
Installation
ALVR Version: v20.14.1 (also present unchanged in master)
ALVR Settings File: default except use_separate_hand_trackers = true, hand skeleton enabled, emulation_mode = Quest2Touch
SteamVR Version: current stable 2.17.10
Install Type:
- Packaged (
exe,deb,rpm, etc) — ALVR Launcher - Portable (
zip) - Source
OS Name and Version: Windows 11 Pro 10.0.26200
Headset: Quest 3, Touch Plus controllers
Source: alvr-org/ALVR