From fb9b6a995e75adc1883f3b7f141e27b44fe9a62b Mon Sep 17 00:00:00 2001 From: Than Ngo Date: Sun, 23 Apr 2023 14:23:04 +0200 Subject: [PATCH] make --use-gl=egl default for x11/wayland --- chromium.conf | 7 ++----- chromium.spec | 7 ++++--- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/chromium.conf b/chromium.conf index bf46e2cf..dcaa798c 100644 --- a/chromium.conf +++ b/chromium.conf @@ -1,8 +1,5 @@ # system wide chromium flags CHROMIUM_FLAGS="" -CHROMIUM_FLAGS+=" --disable-features=AudioServiceSandbox,UseChromeOSDirectVideoDecoder,AllowQt" +CHROMIUM_FLAGS+=" --disable-features=AudioServiceSandbox,UseChromeOSDirectVideoDecoder" CHROMIUM_FLAGS+=" --enable-features=VaapiVideoDecoder,VaapiVideoEncoder" - -if [ "$XDG_SESSION_TYPE" == "wayland" ] || [[ $WAYLAND_DISPLAY ]] ; then - CHROMIUM_FLAGS+=" --use-gl=egl" -fi +CHROMIUM_FLAGS+=" --use-gl=egl" diff --git a/chromium.spec b/chromium.spec index 9687734b..fd2570b3 100644 --- a/chromium.spec +++ b/chromium.spec @@ -21,7 +21,7 @@ # This flag is so I can build things very fast on a giant system. # Enabling this in koji causes aarch64 builds to timeout indefinitely. -%global use_all_cpus 1 +%global use_all_cpus 0 %if %{use_all_cpus} %global numjobs %{_smp_build_ncpus} @@ -38,7 +38,7 @@ # %2 what %global build_target() \ export NINJA_STATUS="[%2:%f/%t] " ; \ - ninja -j %{numjobs} -l %{numjobs} -C '%1' '%2' %limit_build -m 3072 + ninja -j %{numjobs} -C '%1' '%2' # enable|disable headless client build %global build_headless 1 @@ -1659,7 +1659,8 @@ getent group chrome-remote-desktop >/dev/null || groupadd -r chrome-remote-deskt %{chromium_path}/chromedriver %changelog -* Sat Apr 22 2023 Than Ngo - 112.0.5615.165-2 +* Sun Apr 23 2023 Than Ngo - 112.0.5615.165-2 +- make --use-gl=egl default for x11/wayland - enable WebUIDarkMode * Thu Apr 20 2023 Than Ngo - 112.0.5615.165-1