Repository navigation
fix(linux): fall back to the software encoder under a vendor preference - #78
Closed
kalopsia-space wants to merge 1 commit into
Closed
kalopsia-space wants to merge 1 commit into
kalopsia-space wants to merge 1 commit into
Conversation
Choosing NVIDIA, AMD or Intel in Settings removed every other encoder from the candidate list, including the LGPL software encoders. NVENC without the host CUDA libraries, or the Intel preference (h264_qsv only, needs oneVPL), then failed to open three times and capture ended with BACKEND_FAILED, even though docs/linux.md promised a software fallback. The vendor preference now narrows the hardware encoders only; the software encoder for the chosen codec is tried last, as it already was for Auto. The candidate list is exposed as EncoderCandidates and pinned by a new CTest.
kalopsia-space
force-pushed
the
fix/linux-encoder-software-fallback
branch
from
October 17, 2026 12:46
bd5ce89 to
98d330c
Compare
Collaborator
Author
|
Closing in favour of the 2.0.0-alpha encoder policy. Upstream 2.0 drops automatic software fallback on Windows and makes software an explicit choice (Encoder → Software); the 2.0 UI reports a software codec under a hardware preference as "hardware encoding unavailable", so the user is told and can pick Software rather than silently running on the CPU. The Linux engine will follow that contract in the 2.0 catch-up, which also corrects the |
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.
Choosing NVIDIA, AMD or Intel as the encoder in Settings dropped every other encoder, including the LGPL software ones. If that vendor's encoder could not open (NVENC without the host CUDA/
libnvidia-encodelibraries, or the Intel preference, which only hash264_qsvin the pinned FFmpeg and needs a oneVPL runtime), the engine retried three times and capture ended with BACKEND_FAILED.docs/linux.mdalready promised a software fallback; it only existed for Auto.Change
libopenh264/libkvazaar/libsvtav1…).fthr::EncoderCandidatesand pinned by a new CTest,linux_encoder_candidates. It fails without the fix (the NVIDIA case asserts) and passes with it.docs/linux.mdanddocs/engine-startup.mddescribe the Linux behaviour; the Windows paragraph is unchanged (Windows still requires a hardware backend). Unreleased release-notes entry added.Verification