Repository navigation
termux-va: optimize enablement conditions and log output - #118
Merged
Merged
Conversation
Keep VK_KHR_external_semaphore_fd advertised by default, including for regular KGSL clients. Hide it only when TERMUX_VA_BRIDGE is explicitly set to 1 or true, preventing Termux VA clients from selecting unsupported OPAQUE_FD timeline semaphore paths.
Normalize unsupported TERMUX_VA_GPU_BACKEND values to the documented auto backend before selecting the screen. This prevents invalid configuration from recursively re-entering tva_bridge_vscreen_create until the VA initialization stack overflows.
Treat TERMUX_VA_BRIDGE=true the same as TERMUX_VA_BRIDGE=1 when deciding whether to skip the generic surface clear. Keep bridge activation and surface initialization on the same environment-value semantics.
Gate detailed VA frontend and bridge diagnostics behind DMD_VA_LOG=1. Keep initialization failures, unsupported configurations, allocation failures, and transport errors visible so normal clients retain only actionable messages.
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.
Keep VK_KHR_external_semaphore_fd advertised by default, including for regular KGSL clients. Hide it only when TERMUX_VA_BRIDGE is explicitly set to 1 or true, preventing Termux VA clients from selecting unsupported OPAQUE_FD timeline semaphore paths.