Commit Graph
10 Commits
Author SHA1 Message Date
bonzi 190da7a34b Desktop launcher: Capture cleanup look (clarity + sharpen) for the compressed capture picture 2026-11-20 10:24:23 +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 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 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
SmoovPlay 853f7f6fed Keep the video window's keys, add a minimal overlay and a frame tap for any app
- Video window: a minimal stats overlay (the new default; S goes Off, Minimal,
  Detailed); keys work without a click (the launcher minimises itself without
  activating another window, and keys a program takes with no input from the
  player come back); its keys shown when it opens; an in-video menu that keeps
  its size.
- Instant replay at 120 fps keeps every other frame (60 fps clips).
- Test results: quality as the share of each frame that's visibly off, instead
  of dB, and only with enough frames to go on.
- Frame tap for any app (Experimental): decoded NV12/BGRA frames,
  docs/frame-tap.md, example writers, Frame tap on the Play page.
- chiaki-ng patch: the tap's code in its own files (frametap_session.cpp), with
  one-line hooks in chiaki-ng's own files.
2026-11-17 07:40:14 +00:00
SmoovPlay 3bb59e88e2 Add HDR for PS5 Remote Play streams (off by default)
A new HDR setting (Picture) for chiaki-ng's H.265 HDR codec: 10-bit HEVC,
PQ, BT.2020. With it off, nothing in the pipeline changes.

- On, shown in SDR: the stream is tone-mapped to 8-bit SDR as it's decoded
  (BT.2390 roll-off, SDR white at 203 nits, BT.2020 to BT.709), through a 3D
  LUT on the GPU: about 0.7 ms a 1080p frame.
- On, HDR output (Experimental): frames stay HDR10 as half floats through
  RIFE, VFG and FSR 1 into a 10-bit DXGI swap chain in HDR10's colour space,
  with the menu and overlays at SDR white. Needs Windows' HDR on; otherwise
  it falls back to SDR. Checked by reading back the presented buffer on an
  SDR display (FRAMEGEN_HDR_FORCE=1), not yet on an HDR screen.
- An HDR stream with the setting off now says how to fix the washed-out
  colours instead of only warning.
- The fake PS5 can send HDR10 (--hdr) for testing without a console.

Low delay presentation now copies into the swap chain by default. Read back
before each Present, the direct mode held the new frame only every other
Present (black on the others); the copy mode held it every time.
2026-11-16 23:49:56 +00:00
SmoovPlay 7624bed6f0 SmoovPlay 0.1.0 2026-11-15 07:34:33 +00:00