github CroqueMr/libreelec-CB1 R1.3.0

one hour ago

CB1-R1.3.0 - CB1 NScale: Neural Live Upscaling and Playback Stability

CB1 NScale is a highly efficient neural video upscaler trained entirely from scratch designed to reconstruct the UHD master as faithfully as possible, preserving grain, subtle imperfections, fine textures and natural edges rather than artificially enhancing or sharpening the source from any resolution, it automatically adapts to the upscale ratio and switch the neural circuit to achieve the best possible results.

CB1 NScale exists in 2 variants

  1. CB1 NScale — optimized for maximum reconstruction fidelity and computational efficiency.
  2. CB1 NScale Fast — an ultra-efficient variant optimized for real-time processing on low-power GPUs, with minimal loss of detail.

CB1 NScale was developed from scratch, generating over 10 TB of R&D data alone (benchmarks, KPI measurements, and neural architecture evaluations) across 600 generations and more than 14,000 candidates, with an RTX 5090 running at full load 24/7 for seven days straight.

Changes since R1.2.0

Upscaling and playback controls

  • Added support for CB1 NScale and CB1 NScale Fast, included in the distribution image as a separately licensed runtime bundle. The public source repository contains the generic interface, not the NScale model files.
  • Switch upscalers directly during playback through Quick Switch: Left for upscalers, Right for rendering circuits. The selected upscaler applies to the current video without changing your default settings.
  • Added a Reset CB1 settings to defaults action that preserves your TV profile and calibration.
  • Upscalers work independently of the selected playback circuit, including SDR, HDR, HLG and Dolby Vision conversions. NScale and NScale Fast appear immediately after Kodi default; Fast is the default when the optional bundle is installed. Existing explicit settings are preserved.
  • Added native BT.601 and 8-bit HLG support for shader upscalers. Kodi's native scaling algorithms are unchanged, and no upscaler is applied at native output resolution.

Dolby Vision and playback

  • Improved seeking in Dolby Vision Profile 7 MEL files, avoiding unnecessary preroll from the start of the video.
  • Improved Adaptive HDR Mapping startup, including Profile 5 and FEL files with authored black frames.
  • Improved FEL playback continuity at verified HEVC access points, including files with packed base and enhancement layers.
  • Improved native SDR and SDR conversion support for recordings and IPTV streams that mix interlaced and progressive pictures.
  • Stabilized SDR to Dolby Vision brightness metadata to reduce luminance pumping, without changing the video rendering curve or native Dolby Vision metadata.
  • Added memory-aware admission for HDR-to-Dolby Vision conversion: when the full analysis buffer cannot fit, playback falls back to native output with a clear explanation instead of risking excessive memory allocation.
  • Fixed black video in the screensaver when playback is paused.

HDMI and external applications

  • Improved HDMI bit-depth and VRR restoration when returning from external applications. The official externalhelper add-on can be used without a CB1-specific ZIP.
  • Improved HDR10+ output-depth detection on NVIDIA R620 and Pascal drivers to address the reported playback failure.
  • Added support for SDR BT.2020 output using YCbCr 4:2:2 at 10 bits on compatible AMD HDMI setups.
  • Added clearer information when a TV-led Dolby Vision HDMI mode is rejected, and improved AMD HDMI diagnostics.

Compatibility notes

  • Validated on Intel N100 and AMD Ryzen 5 7430U, including live circuit and upscaler changes, SDR/HDR/HLG and Dolby Vision P5, P8.1 and FEL playback. NScale Fast is the recommended starting point on low-power GPUs; the full NScale model is more demanding.
  • NVIDIA HDR10+ fixes passed source regressions and driver-package compilation; confirmation on the affected hardware is still required. The reported JVC BT.2020 tint and AMD/TCL HDR10+ colour fringing also need confirmation.
  • The initial R1.3.0 qualification passed 58 playback/conversion cases and 64 short NScale/Fast functional stress cases on Intel N100 and AMD Ryzen 5 7430U, including seek, pause/resume, live upscaler switching and native-resolution bypass. The Adaptive HDR Mapping circuits require a configured TV profile. Live output circuit changes were also verified on both platforms, and identical-input rendered pixels remained stable in the tested picture regions.
  • The final circuit-independent spatial update passed 38 additional focused hardware checks on both systems, covering BT.601, 8-bit HLG, live circuit/upscaler changes and native-resolution bypass. Repeated live switching can briefly skip frames on lower-power hardware.
  • NScale Fast is recommended for low-power GPUs. At 720p/1080p, Fast held 24 fps on both test systems and 60 fps on the Ryzen; full NScale does not run in real time on the N100. 60 fps on Intel N100 can exceed even Fast’s GPU budget.

Thanks to nissel, andywu920, Snuffpig, hgmeier, louyeh, zablo, goodsonr, frodo19, ryu40001, TheGed, and everyone who reports issues, shares logs and samples, and tests fixes. Your feedback helps improve CB1, LibreELEC and Kodi for everyone.

CB1 builds on LibreELEC and Kodi. Applicable fixes will be submitted upstream so everyone can benefit.

CB1 NScale — image comparison

Explore the interactive image comparison and GPU/CPU measurements.

The examples below use the same frame as the NScale comparison. HDR10 previews are mapped for SDR viewing.

1917 — 480p to 4K

480p input CB1 NScale output
480p input CB1 NScale 4K output

1917 — 480p to 4K — detail zoom

480p source pixels versus CB1 NScale output at the same crop and zoom

Build source · Source lock

Don't miss a new libreelec-CB1 release

NewReleases is sending notifications on new releases.