Files
kinect/docs
kinect-botandsisyphus-dev-ai 2ea8fc4aa6 feat(shim): bridge the Wine-hosted shim to the native Linux tracker via a file-backed shared-memory mapping
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>
2026-11-30 10:00:06 -05:00
..

docs/ - setup, build, spike reports

  • setup-linux.md - reproducible Linux pipeline (core build, tracker, OpenNI2 driver, e2e).
  • setup-windows.md - Windows device-attach + Kinect10.dll shim paths and DEA config.
  • calibration.md - one-time T-pose + mirror calibration how-to.
  • troubleshooting.md - mirror bit, player-lost, flat/out-of-range depth, driver discovery.
  • build.md - toolchain + build instructions (cmake, venv, cross-compile status).
  • spike-linux.md, spike-windows.md - spike reports (todos 3, 4).

Packaging (per-OS runnable bundles): see ../packaging/README.md.