From 845ef147c9cbf9ac87b4de810253ffc86fb1f8f8 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Sat, 25 May 2024 14:22:43 -0500 Subject: [PATCH] Add new libva driver path values for Fedora 40 --- app/streaming/video/ffmpeg-renderers/vaapi.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/streaming/video/ffmpeg-renderers/vaapi.cpp b/app/streaming/video/ffmpeg-renderers/vaapi.cpp index f5b7f12a..e8e6abc8 100644 --- a/app/streaming/video/ffmpeg-renderers/vaapi.cpp +++ b/app/streaming/video/ffmpeg-renderers/vaapi.cpp @@ -283,6 +283,8 @@ VAAPIRenderer::initialize(PDECODER_PARAMETERS params) qputenv("LIBVA_DRIVERS_PATH", #if Q_PROCESSOR_WORDSIZE == 8 + "/usr/lib64/dri-nonfree:" // Fedora x86_64 + "/usr/lib64/dri-freeworld:" // Fedora x86_64 "/usr/lib64/dri:" // Fedora x86_64 "/usr/lib64/va/drivers:" // Gentoo x86_64 #endif