From 3585ae088cca54eac379992caef259a4eb05a367 Mon Sep 17 00:00:00 2001 From: Than Ngo Date: Wed, 4 Dec 2024 17:20:45 +0100 Subject: [PATCH] Enable Vulkan for intel graphic driver by default --- chromium.conf | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/chromium.conf b/chromium.conf index fd2405df..1ec54ce3 100644 --- a/chromium.conf +++ b/chromium.conf @@ -24,7 +24,7 @@ fi FEATURES="" case "$GRAPHIC_DRIVER" in - amd) + amd|intel) # Need new mesa with AMD multi planes support, is supported in fedora >= 40 (mesa-24.1.1 or newer) # see https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26165 CHROMIUM_FLAGS+=" --use-gl=angle --use-angle=vulkan --enable-accelerated-video-decode" @@ -37,10 +37,6 @@ case "$GRAPHIC_DRIVER" in CHROMIUM_FLAGS+=" --use-gl=angle --use-angle=gl" FEATURES+="VaapiVideoDecodeLinuxGL,VaapiVideoEncoder,VaapiOnNvidiaGPUs" ;; - intel) - CHROMIUM_FLAGS+=" --use-gl=angle --use-angle=gl" - FEATURES+="VaapiVideoEncoder,VaapiVideoDecodeLinuxGL" - ;; *) CHROMIUM_FLAGS+=" --use-gl=angle --use-angle=gl --disable-gpu-compositing" FEATURES+="VaapiVideoEncoder,VaapiVideoDecodeLinuxGL"