Enable Vulkan for intel graphic driver by default

epel9
Than Ngo 3 weeks ago
parent 3ed80b6d8f
commit 3585ae088c

@ -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"

Loading…
Cancel
Save