Skip to content

Disable HEVC RFI on unconfirmed Amlogic decoders#1565

Open
mrairzuk wants to merge 1 commit intomoonlight-stream:masterfrom
mrairzuk:fix/disable-amlogic-hevc-rfi
Open

Disable HEVC RFI on unconfirmed Amlogic decoders#1565
mrairzuk wants to merge 1 commit intomoonlight-stream:masterfrom
mrairzuk:fix/disable-amlogic-hevc-rfi

Conversation

@mrairzuk
Copy link
Copy Markdown

Amlogic HEVC decoders produce artifacts and decoder hangs when Reference Frame Invalidation is triggered after packet loss on many Android TV devices (Onn TV 4K Plus, Chromecast 4K, etc.) despite advertising FEATURE_LowLatency support.

This change disables HEVC RFI by default for Amlogic decoders while preserving it for confirmed-working Amazon Fire TV devices on Fire OS 7+ (Android 8+).

Fixes: #1546

Amlogic HEVC decoders produce artifacts and decoder hangs when
Reference Frame Invalidation is triggered after packet loss on
many Android TV devices (Onn TV 4K Plus, Chromecast 4K, etc.)
despite advertising FEATURE_LowLatency support.

This change disables HEVC RFI by default for Amlogic decoders
while preserving it for confirmed-working Amazon Fire TV devices
on Fire OS 7+ (Android 8+).

Fixes: moonlight-stream#1546
@Nun-z
Copy link
Copy Markdown

Nun-z commented Apr 25, 2026

Do you think this would merge cleanly with Artemis? I might try it if so, with your permission.

@mrairzuk
Copy link
Copy Markdown
Author

Do you think this would merge cleanly with Artemis? I might try it if so, with your permission.

Actually after additional testing I still see the same problem as before on my Chromecast 4k, but it just happens much less often than before. So this only partially fixes it and the main problem is somewhere deeper. IDK if PR is worth merging as seems not helping at all for others as well

@Nun-z
Copy link
Copy Markdown

Nun-z commented Apr 27, 2026

It looks like your fix made it into this repository's new release, so we'll be able to see if it helps anyone, even if it just mitigates the issue slightly: https://github.com/qiin2333/moonlight-vplus

I would test it too, but unfortunately I don't have an appropriate device yet.

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.

[Issue]: [Bug] H.265 Decoding artifacts/stutter on Onn TV 4K Plus

2 participants