mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-02-16 02:30:52 +00:00
Disable the VAAPI RFI latency workaround by default
I can no longer reproduce this issue on the same system running Ubuntu 24.04 with the core22-based edge channel snap anymore.
This commit is contained in:
@@ -418,7 +418,11 @@ VAAPIRenderer::initialize(PDECODER_PARAMETERS params)
|
||||
// The Snap (core22) and Focal/Jammy Mesa drivers have a bug that causes
|
||||
// a large amount of video latency when using more than one reference frame
|
||||
// and severe rendering glitches on my Ryzen 3300U system.
|
||||
m_HasRfiLatencyBug = vendorStr.contains("Gallium", Qt::CaseInsensitive) && qgetenv("IGNORE_RFI_LATENCY_BUG") != "1";
|
||||
//
|
||||
// This seems to no longer be a problem on Ubuntu 24.04 (even using core22),
|
||||
// so let's disable this workaround by default in preparation for permanent
|
||||
// removal if nobody encounters this again for a while.
|
||||
m_HasRfiLatencyBug = vendorStr.contains("Gallium", Qt::CaseInsensitive) && qgetenv("HAS_RFI_LATENCY_BUG") == "1";
|
||||
if (m_HasRfiLatencyBug) {
|
||||
SDL_LogWarn(SDL_LOG_CATEGORY_APPLICATION,
|
||||
"VAAPI driver is affected by RFI latency bug");
|
||||
|
||||
Reference in New Issue
Block a user