- framegen/capture_linux.py: devices via VIDIOC_QUERYCAP (/sys/class/video4linux),
formats via ENUM_FMT/FRAMESIZES/FRAMEINTERVALS -> capture.Mode, ALSA cards from
/proc/asound, busy/permission errors in plain words (names the app holding it)
- capture.CardSource: Linux opens video4linux2 + alsa as two inputs, sound on its
own thread; needs PyAV built against system FFmpeg (--no-binary av)
- PyAV's bundled libasound: point ALSA_CONFIG_PATH at the system config
- winutil: nice -10 via rtkit MakeThreadHighPriorityWithPID instead of SCHED_RR
(RLIMIT_RTTIME got the process SIGKILLed during startup); '--' before args
- Verified on the GC311: 1080p60 MJPEG via NVDEC, 62 fps, 0 dropped, sound in sync
- docs/linux-port/target.md: sm_120 native, RIFE 1080p 6.9 ms (PyTorch fp16),
NVDEC 0.61 ms, CUDA->GL on Wayland 0.18 ms, GC311 = 1080p60 MJPEG/H.264
- winutil: rtkit MakeThreadRealtimeWithPID (busctl is another process) and
lower the hard RLIMIT_RTTIME to rtkit's max; SCHED_RR 10 verified
- linux_spike: time the matmul with CUDA events
- frame tap: window_request word (offset 100, feature bit 32): SmoovPlay asks
chiaki-ng to minimise/restore its own windows (Wayland forbids doing it from
outside); run.py uses it on Linux. Covered by chiaki_tap/selftest.py
- chiaki_tap/PKGBUILD (chiaki-ng-smoovplay, v1.10.1) + build_linux.sh; built in
an archlinux:latest container (needs system curl: the bundled one fails with
Arch's OpenSSL)
- scripts/linux_spike.py: Phase 0 checks in one command
- docs/linux-port: progress log, QUICKSTART