Repository navigation
Fix the Windows NVENC HEVC Main10 probe timeout - #818
Merged
Nonary merged 1 commit intoDec 3, 2026
Merged
Conversation
Slow encoder initialization can use up the entire probe window before a frame is submitted, causing HEVC Main10 to be reported as unsupported. Start the timer when the first probe frame is ready. Retries share the same deadline, and shutdown can still cancel the probe during setup.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
On Windows with an RTX 4070, slow NVENC setup consumed the 60-second probe window before the first frame could be submitted. Vibepollo rejected HEVC Main10, so a stream requested with HDR negotiated SDR.
The startup log showed the probe timing out with zero submissions:
Change
Start the Windows NVENC HEVC Main10 probe timer when the first frame is ready to submit. Retries share one deadline. The probe keeps its submission limit, valid IDR check, and shutdown cancellation.
The 60-second deadline applies to submitting test frames and validating the encoder output. Slow NVENC initialization can still delay startup. Once setup returns, the probe gets its full validation window and can advertise Main10 if the encoder produces a valid frame.
Validation
I tested stock and patched Vibepollo 2.18.9 on an RTX 4070 with NVIDIA driver 610.60. The client requested HEVC at 3840×2160 and 60 Hz with HDR enabled.
Before the fix, the host advertised codec mask
0x07870101with Main10 clear. The capture display was in HDR, and the logs showed that the stream negotiated SDR:The client's HDMI output was 2160p60 SDR.
With the fix, the host advertised codec mask
0x079F0301with Main10 enabled. The logs confirmed a 10-bit HEVC encode with HDR color coding:The client's HDMI output was 2160p60 HDR10.