fix: AMD HEVC green screen — GPU detection, codec fallback, and HEVC compatibility mode#130
Open
Meganugger wants to merge 1 commit intoOpenCloudGaming:devfrom
Open
fix: AMD HEVC green screen — GPU detection, codec fallback, and HEVC compatibility mode#130Meganugger wants to merge 1 commit intoOpenCloudGaming:devfrom
Meganugger wants to merge 1 commit intoOpenCloudGaming:devfrom
Conversation
…compatibility mode setting - Add GPU detection via WebGL ANGLE renderer info to identify AMD Polaris/Vega GPUs - Auto-fallback from H.265 to H.264 on affected GPUs (RX 550, Vega iGPU, etc.) - Add Settings > Video > HEVC Compatibility Mode (Auto/Force H.264/Force HEVC/HEVC Software) - Add green screen frame detection with diagnostic logging - Add HevcCompatMode type to shared types and settings
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.
Summary
Fixes the green screen issue on AMD Polaris/Vega GPUs when using HEVC by adding GPU capability detection, automatic codec fallback, and a user-facing HEVC compatibility mode setting.
Added
gpuDetect.ts— WebGL-based GPU vendor/renderer detection with AMD generation classification (Polaris, Vega, RDNA, etc.)hevcCompatModesetting for manual HEVC compatibility overrideUpdated
webrtcClient.ts— codec selection now checks GPU compatibility before using HEVCApp.tsx— HEVC compat mode state managementsettings.ts— addedhevcCompatModedefaultgfn.ts— addedhevcCompatModeto Settings interfaceFixed
Validation Notes
Recommended smoke checks: