github RamazanKara/nightjar v7.1.0
Nightjar 7.1.0

46 minutes ago

Nightjar 7.1.0 brings major native decoding upgrades across Android and macOS, ships the LG webOS TV .ipk right in GitHub Releases, adds raw Steam Deck gyro/trackpad/back-grip forwarding, and fixes a huge wave of SteamOS, One UI 9, input, audio-hotplug, and everyday UI frustrations across every platform.

What's new

  • Async hardware video decoding on Android 11+: Nightjar on Android 11 and newer now runs asynchronous MediaCodec decoding by default for higher 120 fps throughput and tighter frame pacing, cutting hot-path lock and JNI overhead while automatically falling back to synchronous mode if a device decoder requires it.
  • Direct VideoToolbox decoding on macOS: Standard 4:2:0 H.264, HEVC, and AV1 streams on macOS now decode straight through an asynchronous VTDecompressionSession with real-time hints, live CoreVideo color/HDR metadata, and zero-copy Metal presentation (with patched real-time FFmpeg fallback whenever needed or when FSR1/SGSR1 "gpu" upscaling is active).
  • Direct LG webOS TV .ipk builds (nightjar#252): Every Nightjar release now builds and attaches com.butterpollo.nightjar_<version>_arm.ipk directly alongside the Android and Desktop packages, paired with a full round of HDR, control-stream, teardown, and TV-remote fixes.
  • Raw Steam Deck gyro, dual trackpads, and back grips: Steam Deck gyro/accel, left and right trackpads, and L4/L5/R4/R5 back grips now forward natively to the host without waiting on idle frame ticks or dropping quick taps, even when motion sensors are off or gyro is at 0 Hz.
  • Leaner Windows D3D11 frame handling & cleaner settings: Decoupled bridged D3D11 frames from AVFrame on Desktop, streamlined settings text across Android and Desktop, and improved LAN invite parsing and privacy when Play over the internet is turned off.

Fixes

  • SteamOS & Desktop (nightjar#251): Fixed Nightjar 7.0.7 crashing on launch in SteamOS Desktop Mode by replacing off-thread SDL_hid_* enumeration with native Linux hidraw scanning, fixed the OS cursor getting stuck invisible after gamepad launches or mouse-mode toggles, fixed mid-stream headphone/Bluetooth/USB audio and microphone hotplug leaving streams silent, stopped unmodified F12 from being stolen mid-stream (fixing Steam screenshots and DevTools), fixed double-scaled minimum window sizes on macOS Retina and Wayland HiDPI, stopped 30-second stuck controller rumble on Alt+Tab/Control Center/drops, fixed Esc/B closing Control Center behind open dropdowns, and fixed NO_VIDEO_FRAME (-101) startup timeouts.
  • Android input & PC keyboard (#145, nightjar#250, nightjar#242): Fixed the On-Screen PC Keyboard and Desktop Controls opacity slider so key caps actually turn transparent, fixed Samsung One UI 9 / Android 14–16 captured trackpads slamming the cursor to (0, 0), fixed Steam Controller 2026 USB puck forwarding EP0 collisions and immediate EBUSY handoff errors, added Android 10+ edge-gesture exclusion and discard-confirmation in Virtual Controller Studio, fixed Safe Fit / camera-cutout / foldable-hinge padding in play mode, and fixed touchpad/trackpad tap slop, spurious 2-finger right-clicks, and post-scroll cursor jumps.
  • Android video, UI & audio: Fixed mid-stream async-to-sync recovery freezes, AB-BA output-queue deadlocks, Smoothest-mode decoder debt recovery in async mode, Dolby Vision base-layer fallback after vendor-key retries, modal Bitrate/Rate-Change dialogs auto-submitting on slider release, clipped Statistics overlays on landscape phones/handhelds, Android 11+ immersive-mode restoration after notifications/IME/app-switching, double/vanishing local cursors around keyboard overlays, Back dismissing Desktop Controls and touch-move mode, Control Center horizontal tab-swipe in Dock mode and async scroll/focus jumps, and detached DualSense controllers permanently disabling the AAudio direct fast path.
  • LG webOS TV: Fixed early HDR metadata being dropped before NDL load (washed-out PQ video), buffered early startup control events, fixed NDL/SDL shutdown races and added NDL_DirectMediaQuit(), respected StreamHereToo and ContinueHere without silently replacing another player's session, fixed cover-art ambient VRAM leaks, kept native host capabilities across app refreshes, fixed need_idr dropping valid IDRs, and wired Control Center scroll-follow, swap_face_buttons, PlayStation/Nintendo glyphs, LT/RT & LB/RB tab stepping, and held-input/rumble cleanup.
Under the hood
  • macOS VideoToolbox direct path: Added Picture::coded_size() for mid-stream mode confirmation, CVImageBufferGetCleanRect cropping, VTDecodeInfoFlags dropped-frame distinction, recovery IDR handling without wiping valid in-flight frames, CVPixelBufferRef lifetime safety across failed uploads, Annex-B trailing-zero trimming, AV1 Temporal Delimiter OBU stripping + Sequence Header dimension parsing, and generation-scoped MacosVtTextureCache eviction.
  • Desktop & shared protocol: Fixed Hosts::resolve_hub_conflict UTF-8 slicing/ID sanitization, guarded negative D3D11_VIEWPORT dimensions when minimized, fixed follow_fullscreen re-capturing mouse while unfocused, cleared stale exclusive fullscreen modes across monitor drags, passed SDL_EVENT_CLIPBOARD_UPDATE through Control Center, cached SDL audio device lists with hotplug invalidation, rendered Cmd shortcut hints on macOS, stripped internet candidates from LAN invites when internet play is off, bounded cold-start DHT retries, and derived USB EP0 direction bits from setup[0] & 0x80.
  • Android internals: Interleaved onOutputFormatChanged with pending async outputs, added AtomicInteger codec generations and lifecycle locking around MediaCodecAsyncMode, dispatched AppGridAdapter.updateComputer() to the main thread, routed StreamGuests dialogs through showStreamDialog(), guarded GameStagedExit external-display surface teardown, stopped GamePhysicalTouchpad from latching zero ranges on null devices, and canceled SC26 touchpad 1 on focus loss.

Tested. Automated checks passed on this release's code: Nightjar Android unit tests (testNonRootDebugUnitTest), Nightjar Desktop and shared Rust protocol suites (4,380 tests), Nightjar workspace clippy --all-targets -D warnings, LG webOS Linux unit tests (27 tests in WSL), i18n/architecture/code-map checks, and GitHub Actions CI (nightjar-android.yml, nightjar-macos.yml, release.yml dry run). Linux hidraw, macOS VideoToolbox Metal, and physical LG webOS TV NDL runtime paths were verified via cross-platform unit tests and CI builds; physical macOS/SteamOS/webOS TV hardware verification is noted separately.

Don't miss a new nightjar release

NewReleases is sending notifications on new releases.