Skip to content

feat(linux/cuda-gl): Add YUV4:2:0 HDR and YUV4:4:4 HDR on nvidia cards#5315

Draft
Sheynar wants to merge 1 commit into
LizardByte:masterfrom
Sheynar:linux/cuda-gl-hdr
Draft

feat(linux/cuda-gl): Add YUV4:2:0 HDR and YUV4:4:4 HDR on nvidia cards#5315
Sheynar wants to merge 1 commit into
LizardByte:masterfrom
Sheynar:linux/cuda-gl-hdr

Conversation

@Sheynar

@Sheynar Sheynar commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

Description

Adding HDR implementation on Nvidia cards linux, cuda-gl pipeline (wayland).

Screenshot

Issues Fixed or Closed

Roadmap Issues

Type of Change

  • feat: New feature (non-breaking change which adds functionality)
  • fix: Bug fix (non-breaking change which fixes an issue)
  • docs: Documentation only changes
  • style: Changes that do not affect the meaning of the code (white-space, formatting, missing semicolons, etc.)
  • refactor: Code change that neither fixes a bug nor adds a feature
  • perf: Code change that improves performance
  • test: Adding missing tests or correcting existing tests
  • build: Changes that affect the build system or external dependencies
  • ci: Changes to CI configuration files and scripts
  • chore: Other changes that don't modify src or test files
  • revert: Reverts a previous commit
  • BREAKING CHANGE: Introduces a breaking change (can be combined with any type above)

Checklist

  • Code follows the style guidelines of this project
  • Code has been self-reviewed
  • Code has been commented, particularly in hard-to-understand areas
  • Code docstring/documentation-blocks for new or existing methods/components have been added or updated
  • Unit tests have been added or updated for any new or modified functionality

AI Usage

  • None: No AI tools were used in creating this PR
  • Light: AI provided minor assistance (formatting, simple suggestions)
  • Moderate: AI helped with code generation or debugging specific parts
  • Heavy: AI generated most or all of the code changes

@Sheynar Sheynar changed the title feat(linux/cuda-gl) Add YUV4:2:0 HDR and YUV4:4:4 HDR on nvidia cards feat(linux/cuda-gl): Add YUV4:2:0 HDR and YUV4:4:4 HDR on nvidia cards Jun 22, 2026
@Sheynar Sheynar marked this pull request as draft June 22, 2026 06:04
@Sheynar

Sheynar commented Jun 22, 2026

Copy link
Copy Markdown
Contributor Author

First, returned to how it worked before #4965 plus added yuv444 pipeline run.

@codecov

codecov Bot commented Jun 22, 2026

Copy link
Copy Markdown

Bundle Report

Bundle size has no change ✅

@sonarqubecloud

Copy link
Copy Markdown

@codecov

codecov Bot commented Jun 22, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 17.86%. Comparing base (6c34c4f) to head (689573e).
⚠️ Report is 1 commits behind head on master.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
src/platform/linux/cuda.cpp 0.00% 3 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #5315      +/-   ##
==========================================
- Coverage   17.87%   17.86%   -0.02%     
==========================================
  Files         111      111              
  Lines       24589    24591       +2     
  Branches    10888    10890       +2     
==========================================
- Hits         4396     4392       -4     
- Misses      16817    18556    +1739     
+ Partials     3376     1643    -1733     
Flag Coverage Δ
Archlinux 11.19% <0.00%> (-0.01%) ⬇️
FreeBSD-aarch64 ?
FreeBSD-amd64 13.23% <ø> (ø)
Homebrew-ubuntu-24.04 13.23% <ø> (-0.02%) ⬇️
Linux-AppImage 12.11% <0.00%> (-0.01%) ⬇️
Windows-AMD64 14.91% <ø> (ø)
Windows-ARM64 13.20% <ø> (+<0.01%) ⬆️
macOS-arm64 19.13% <ø> (ø)
macOS-x86_64 18.61% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
src/platform/linux/cuda.cpp 1.67% <0.00%> (-0.01%) ⬇️

... and 37 files with indirect coverage changes


Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6c34c4f...689573e. Read the comment docs.

@ReenigneArcher

Copy link
Copy Markdown
Member

@Sheynar looks like this has confirmation it fixes the linked issue. Let me know whenever you mark it ready for review. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Linux] [Beta] NVENC/KMS HDR regression in 617.152807

2 participants