Olympus: harden media and package ingestion #8

Closed
github-bot wants to merge 1 commit from gh-pr/8/head into gh-pr/8/base
Owner

@⁠bmjask on GitHub · 2026-11-21 16:39 UTC · original
bmjask:olympus-media → main · +703 −23 · 3 files · 1 commits · closed without merging

Summary

  • deduplicates concurrent DXIL compilation within and across processes
  • structurally validates cached DXIL and rebuilds corrupt entries
  • hardens RPF scanning, inflation, duplicate extraction, atomic output, truncated headers, and failure reporting
  • contains no protected-package decryption or DRM bypass

Rooted at current upstream main, including the newly landed real Opus decoder.

**@⁠bmjask** on GitHub · 2026-11-21 16:39 UTC · [original](https://github.com/xcl-dev/xcl/pull/8) `bmjask:olympus-media` → `main` · +703 −23 · 3 files · 1 commits · closed without merging ## Summary - deduplicates concurrent DXIL compilation within and across processes - structurally validates cached DXIL and rebuilds corrupt entries - hardens RPF scanning, inflation, duplicate extraction, atomic output, truncated headers, and failure reporting - contains no protected-package decryption or DRM bypass Rooted at current upstream `main`, including the newly landed real Opus decoder.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:03:41 +00:00
github-bot closed this pull request 2026-11-26 04:03:41 +00:00
Author
Owner

@⁠ivall on GitHub · 2026-11-21 16:56 UTC · original

Thanks! Merged the reviewed version (c3049b0) in 9ebb9b1, without its XAudio2 part: #3 decodes Opus now, and the frame-duration table there had SILK / hybrid sizes off vs RFC 6716 table 2.

Follow-up in b1477f8: the cached_only check now comes before the single-flight / cross-process locks. Otherwise the title's thread waits for a worker compiling the same shader, which defeats non-blocking pipeline creation (the newer push still has the old order).

The DXC toolchain id in the cache key and validating freshly compiled DXIL are good ideas – a new PR on top of current main is welcome. Hashing the whole dxcompiler.dll byte by byte is slow in debug builds though; size + modification time would do. Closing this one.

**@⁠ivall** on GitHub · 2026-11-21 16:56 UTC · [original](https://github.com/xcl-dev/xcl/pull/8#issuecomment-7066080682) Thanks! Merged the reviewed version (c3049b0) in 9ebb9b1, without its XAudio2 part: #3 decodes Opus now, and the frame-duration table there had SILK / hybrid sizes off vs RFC 6716 table 2. Follow-up in b1477f8: the `cached_only` check now comes before the single-flight / cross-process locks. Otherwise the title's thread waits for a worker compiling the same shader, which defeats non-blocking pipeline creation (the newer push still has the old order). The DXC toolchain id in the cache key and validating freshly compiled DXIL are good ideas – a new PR on top of current main is welcome. Hashing the whole `dxcompiler.dll` byte by byte is slow in debug builds though; size + modification time would do. Closing this one.
Author
Owner

@⁠ivall on GitHub · 2026-11-21 16:59 UTC · original

Sorry – I closed this too early while you were still pushing updates, and GitHub won't let me reopen it because the branch was force-pushed since. Please just open a new PR from the same branch; it'll get a normal review and won't be closed on you. The notes above still apply (what's already on main, what I changed).

**@⁠ivall** on GitHub · 2026-11-21 16:59 UTC · [original](https://github.com/xcl-dev/xcl/pull/8#issuecomment-7066117982) Sorry – I closed this too early while you were still pushing updates, and GitHub won't let me reopen it because the branch was force-pushed since. Please just open a new PR from the same branch; it'll get a normal review and won't be closed on you. The notes above still apply (what's already on main, what I changed).

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No description provided.