parent
92dc475bdd
commit
ae97dda27a
@ -1,3 +1,3 @@
|
|||||||
0396fc951cb2fe7b9b4a572d66433ac59e6df24d SOURCES/chromium-125.0.6422.112-clean.tar.xz
|
6eed516c8166d4a3e9865cb54ab5948d2bbb3a95 SOURCES/chromium-125.0.6422.141-clean.tar.xz
|
||||||
7e5d2c7864c5c83ec789b59c77cd9c20d2594916 SOURCES/linux-arm64-0.19.2.tgz
|
7e5d2c7864c5c83ec789b59c77cd9c20d2594916 SOURCES/linux-arm64-0.19.2.tgz
|
||||||
dea187019741602d57aaf189a80abba261fbd2aa SOURCES/linux-x64-0.19.2.tgz
|
dea187019741602d57aaf189a80abba261fbd2aa SOURCES/linux-x64-0.19.2.tgz
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
SOURCES/chromium-125.0.6422.112-clean.tar.xz
|
SOURCES/chromium-125.0.6422.141-clean.tar.xz
|
||||||
SOURCES/linux-arm64-0.19.2.tgz
|
SOURCES/linux-arm64-0.19.2.tgz
|
||||||
SOURCES/linux-x64-0.19.2.tgz
|
SOURCES/linux-x64-0.19.2.tgz
|
||||||
|
@ -1,3 +1,48 @@
|
|||||||
# system wide chromium flags
|
# system wide chromium flags
|
||||||
|
|
||||||
|
# GRAPHIC_DRIVER=[amd|intel|nvidia|default]
|
||||||
|
GRAPHIC_DRIVER=default
|
||||||
|
|
||||||
|
# WEB_DARKMODE=[on|off]
|
||||||
|
WEB_DARKMODE=off
|
||||||
|
|
||||||
CHROMIUM_FLAGS=""
|
CHROMIUM_FLAGS=""
|
||||||
CHROMIUM_FLAGS+=" --use-gl=angle --use-angle=gl --enable-features=VaapiVideoEncoder,VaapiVideoDecodeLinuxGL"
|
CHROMIUM_FLAGS+=" --enable-native-gpu-memory-buffers"
|
||||||
|
CHROMIUM_FLAGS+=" --enable-gpu-memory-buffer-video-frames"
|
||||||
|
CHROMIUM_FLAGS+=" --enable-zero-copy"
|
||||||
|
CHROMIUM_FLAGS+=" --ignore-gpu-blocklist --disable-gpu-driver-bug-workaround"
|
||||||
|
CHROMIUM_FLAGS+=" --enable-chrome-browser-cloud-management"
|
||||||
|
|
||||||
|
FEATURES=""
|
||||||
|
|
||||||
|
case "$GRAPHIC_DRIVER" in
|
||||||
|
amd)
|
||||||
|
# Need new mesa with AMD multi planes support, is not yet supported in fedora
|
||||||
|
# see https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26165
|
||||||
|
CHROMIUM_FLAGS+=" --use-gl=angle --use-angle=vulkan --enable-accelerated-video-decode"
|
||||||
|
FEATURES+="Vulkan,VulkanFromANGLE,DefaultANGLEVulkan,VaapiIgnoreDriverChecks,VaapiVideoDecoder,UseMultiPlaneFormatForHardwareVideo"
|
||||||
|
;;
|
||||||
|
nvidia)
|
||||||
|
# The NVIDIA VaAPI drivers are known to not support Chromium
|
||||||
|
# see https://crbug.com/1492880. This feature switch is
|
||||||
|
# provided for developers to test VaAPI drivers on NVIDIA GPUs
|
||||||
|
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"
|
||||||
|
FEATURES+="VaapiVideoEncoder,VaapiVideoDecodeLinuxGL"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
# Web Dark mode
|
||||||
|
if [ "$WEB_DARKMODE" == "on" ] ; then
|
||||||
|
darktype="WebContentsForceDark:inversion_method/cielab_based/image_behavior/none/foreground_lightness_threshold/150/background_lightness_threshold/205"
|
||||||
|
FEATURES+=",$darktype"
|
||||||
|
fi
|
||||||
|
|
||||||
|
CHROMIUM_FLAGS+=" --enable-features=$FEATURES"
|
||||||
|
Loading…
Reference in new issue