25 Commits
Author SHA1 Message Date
bonzi 9192c98912 Menu: mouse control, opacity and size; stats overlay: opacity, size, corner, per-graph toggles 2026-11-20 13:11:48 +00:00
bonzi 06bdf44674 Stats overlay: Graphs style (MangoHud-like): frametime, pipeline, delay and GPU graphs with 1% lows 2026-11-20 12:28:31 +00:00
bonzi a6486a61e5 install-desktop-entry: fix stray path on the desktop entry write 2026-11-20 12:22:42 +00:00
bonzi aa7f5e290f Linux: PS5 Remote Play launcher (SmoovPlay first, then chiaki-ng; finds the PS5 by name) 2026-11-20 12:22:32 +00:00
bonzi 1047241714 Desktop launcher: back to 1080p capture, VSR 1.2x (720p capture gave no visible gain) 2026-11-20 11:34:15 +00:00
bonzi 9c371eb010 Desktop launcher: capture at 720p (less compression per pixel), VSR upscales to 1080p, no supersampling 2026-11-20 11:30:42 +00:00
bonzi 49eac27116 Desktop launcher: fullscreen on DP-3, 120 fps, VSR at 1.2x 2026-11-20 11:25:56 +00:00
bonzi b58ae825cb Desktop launcher: 120 fps, VSR at 1440p shrunk to the 1080p window 2026-11-20 11:15:43 +00:00
bonzi 2f1f7ff1a9 Desktop launcher: 90 fps, VFG medium, no supersampling (lighter on the GPU) 2026-11-20 10:56:22 +00:00
bonzi bc91ae0d22 Desktop launcher: Looks off by default (sharpening amplifies the card's compression noise) 2026-11-20 10:37:12 +00:00
bonzi f37df18adb Supersample option: RTX VSR at 2x then shrink, for 1080p windows (desktop launcher uses it) 2026-11-20 10:32:30 +00:00
bonzi 190da7a34b Desktop launcher: Capture cleanup look (clarity + sharpen) for the compressed capture picture 2026-11-20 10:24:23 +00:00
bonzi ca46a28d97 run.py: --look ID turns a Look on for one run 2026-11-20 10:24:09 +00:00
bonzi e93e8afcf9 Linux: desktop entry for the main monitor (windowed, 120 fps); window title from SMOOVPLAY_TITLE 2026-11-20 10:12:45 +00:00
bonzi a572d4c3c1 Launcher script: keep the last 5 run logs, Python fault traces on native crashes 2026-11-19 11:32:37 +00:00
bonzi 92de543428 capture: wait for the reader thread before closing (fixes segfault on quit with NVDEC)
Quitting a capture-card session crashed (SIGSEGV in _convert_gpu) in 3 of 4
runs: the card and CUDA were torn down under an NVDEC decode in flight. close()
now joins the reader first. 6 of 6 clean quits after the fix.
Measured on the GC311, 60 fps out, game locked 30: arrival->presented p50
20.3 ms (p99 24.8) with RTX VSR, the same with FSR 1.
2026-11-19 11:30:51 +00:00
bonzi 51ce5332e0 Linux: menu entry for the capture card; plan: capture card is the main path
- scripts/linux/smoovplay-capture.sh: fullscreen on SMOOVPLAY_MONITOR (default
  HDMI-A-2), log in ~/.cache/smoovplay/last-run.log, notification on failure
- scripts/linux/install-desktop-entry.sh: 'SmoovPlay (capture card)' entry
- verified launching through KDE (kioclient exec) on the RTX 5080 box
2026-11-19 10:54:35 +00:00
bonzi 7e778fa2d1 Linux: RTX VSR via nvidia-vfx, fullscreen on a chosen monitor under Wayland
- vfg_setup: pin the Linux nvidia-vfx 0.2.0.0 wheel's own sha256
- io: on Wayland fullscreen is the compositor's (a program can't place its own
  window); --monitor NAME / SMOOVPLAY_MONITOR picks the output (e.g. DP-4)
- Verified on the RTX 5080: GC311 -> RIFE 120 Hz -> RTX VSR q4 to 4K, fullscreen
  on DP-4
2026-11-19 10:18:55 +00:00
bonzi 76353f7e51 Capture cards with compressed frames: learn the repeat line from the block max
A GC311 (MJPEG) with GTA VI locked at 30 fps read as ~50 fps: its repeats
differ by a block max of 2.0-2.5, over the fixed threshold of 2, so most were
called new and almost nothing was interpolated. MJPEG/H.264 cards now learn the
line between repeats and new frames from the block max (DuplicateDetector
learn_on=max, ratio 2.5). Live on the GC311: N.N.N... -> 33 fps (was 50).
2026-11-19 10:02:17 +00:00
bonzi 0bf25d63f5 Linux capture cards: V4L2 picture + ALSA sound; GC311 plays on the RTX 5080
- 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
2026-11-19 09:34:25 +00:00
bonzi d44820c2fc Phase 0 on the RTX 5080: results, rtkit fixes
- 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
2026-11-19 08:56:24 +00:00
bonzi 7eba48426f Linux: chiaki-ng minimises itself on request, Arch PKGBUILD, Phase 0 spike script
- 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
2026-11-19 08:39:37 +00:00
bonzi b206fb2c31 Linux: OS layer, frame tap over POSIX shared memory, XDG folders, LUT path fix
- framegen/oslayer.py: config/cache/Videos folders (XDG on Linux, unchanged on
  Windows), the frame tap's clock (CLOCK_MONOTONIC ns, qpc_freq 1e9) and its
  shared memory (/dev/shm, mode 0600) with a futex wake-up
- frame tap (chiaki_tap/frametap.c, framegen/chiaki_tap.py, docs writer):
  Linux backend; layout unchanged apart from a wake word at offset 96 behind
  feature bit 16. Windows code path unchanged (cross-compiled with mingw)
- looks: LUT names and look ids lose folders on every OS. On Linux a shared
  look code could carry ..\\..\\x.cube through Path.name untouched
- Windows-only modules import on Linux (WINFUNCTYPE stand-in)
- winutil.boost_thread: SCHED_RR 10 (direct or via rtkit) on Linux
- glcuda: finds libcudart.so from torch's nvidia wheels
- tests: frame tap tests run on Linux; tests/test_oslayer.py

pytest on Linux (CPU torch): 370 passed, 0 failed (was 328 passed, 6 failed).
chiaki_tap/selftest.py passes on Linux (C writer vs Python reader).
2026-11-19 08:28:52 +00:00
bonzi ee69f77c59 Plan: Zeb's decisions (Plasma 6, PS5 + GC311, simple UI in v1, public release path) 2026-11-19 08:03:44 +00:00
bonzi 806e467b3e Linux port plan: Arch + NVIDIA RTX 5080, in phases
Baseline on Linux (CPU torch): 328 passed, 6 failed, 33 skipped.
Maps every Win32 dependency to a Linux replacement, phases 0-9 with
measured gates, risks and open questions.
2026-11-19 07:55:05 +00:00