Skip to content

Commit d3c23b5

Browse files
committed
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.
1 parent 80b7a69 commit d3c23b5

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

  • app/streaming/video/ffmpeg-renderers

app/streaming/video/ffmpeg-renderers/vaapi.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,11 @@ VAAPIRenderer::initialize(PDECODER_PARAMETERS params)
418418
// The Snap (core22) and Focal/Jammy Mesa drivers have a bug that causes
419419
// a large amount of video latency when using more than one reference frame
420420
// and severe rendering glitches on my Ryzen 3300U system.
421-
m_HasRfiLatencyBug = vendorStr.contains("Gallium", Qt::CaseInsensitive) && qgetenv("IGNORE_RFI_LATENCY_BUG") != "1";
421+
//
422+
// This seems to no longer be a problem on Ubuntu 24.04 (even using core22),
423+
// so let's disable this workaround by default in preparation for permanent
424+
// removal if nobody encounters this again for a while.
425+
m_HasRfiLatencyBug = vendorStr.contains("Gallium", Qt::CaseInsensitive) && qgetenv("HAS_RFI_LATENCY_BUG") == "1";
422426
if (m_HasRfiLatencyBug) {
423427
SDL_LogWarn(SDL_LOG_CATEGORY_APPLICATION,
424428
"VAAPI driver is affected by RFI latency bug");

0 commit comments

Comments
 (0)