From f53cef00417955eebb0f3fecab82270097e2be15 Mon Sep 17 00:00:00 2001 From: joj Date: Wed, 10 Sep 2025 18:15:05 -0400 Subject: [PATCH] Enable VA-API extension for Intel GPUs if either i915 or xe is loaded Xe module supports the discrete and new integrated GPUs (the Arc series) and the i915 supports the older Intel integrated GPUs (Intel HD). Closes: https://github.com/flatpak/flatpak/issues/5248 --- common/flatpak-utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/flatpak-utils.c b/common/flatpak-utils.c index 99ccd51d..c333c350 100644 --- a/common/flatpak-utils.c +++ b/common/flatpak-utils.c @@ -517,7 +517,7 @@ flatpak_get_have_intel_gpu (void) static int have_intel = -1; if (have_intel == -1) - have_intel = g_file_test ("/sys/module/i915", G_FILE_TEST_EXISTS); + have_intel = g_file_test ("/sys/module/i915", G_FILE_TEST_EXISTS) || g_file_test ("/sys/module/xe", G_FILE_TEST_EXISTS); return have_intel; }