The user hit "spice2x won't launch" which turned out to be DEA's boot-time
Kinect presence check hanging then exiting cleanly after ~20s (full AVS2
boot, I/O hooks via Wine HID all succeed, then xrpc dispose with no crash
signature - easy to mistake for a launch failure). They looked for a
"Kinect bypass" option in spicecfg and couldn't find it, because it isn't a
built-in checkbox - it's a community runtime JSON patch
(github.com/JoeKoh27/danevo-patches), imported through spicecfg's Patches
tab -> Import from URL. Verified by fetching the patch repo directly.
docs/setup-windows.md step 5 and docs/troubleshooting.md now spell out the
exact mechanism (Patches tab, import URL, enable Kinect bypass, the specific
gamekdm.dll build it targets) instead of just saying "enable the Kinect
bypass option", which was accurate in substance but too vague about where
to find it.
Co-authored-by: sisyphus-dev-ai <sisyphus-dev-ai@users.noreply.github.com>
Wine mf.dll stubs out MFEnumDeviceSources for video capture (confirmed in
Wine upstream source), so tracker-native/kinect-tracker.exe always sees zero
cameras and null-derefs when run under Wine. Rather than chase that Wine
limitation, let the already-verified native-Linux Python tracker (tracker/,
full V4L2 access) feed the Wine-hosted shim directly.
FrameSource gains open_file() (CreateFileW + file-backed CreateFileMappingW
+ MapViewOfFile), selected via a new KINECT_SHIM_SHM_FILE env var checked
first in VirtualKinectSensor::Initialize, falling back to the existing
anonymous named-section path when unset. The Linux tracker publishes through
multiprocessing.shared_memory, which on Linux is backed by a real file at
/dev/shm/<name>; through Wines default Z: drive that is reachable from
inside Wine as Z:\dev\shm\<name>, so both sides map the same tmpfs file
with no Wine camera support needed at all.
Builds clean for both x86/x64 (fallback/windows-nui/build.sh). New runbook
in docs/linux-wine.md; linked from README and docs/troubleshooting.md.
Co-authored-by: sisyphus-dev-ai <sisyphus-dev-ai@users.noreply.github.com>