From bf0e13a322bbbd7f920d34f36974ab747d81ab89 Mon Sep 17 00:00:00 2001 From: Michael Weiss Date: Wed, 26 Aug 2020 13:52:36 +0200 Subject: [PATCH] chromiumDev: Drop the optional VA-API patches I didn't look into this yet but IIRC M86 will finally have a flag for Linux to enable VA-API. So we shouldn't need enable-video-acceleration-on-linux.patch anymore. But we likely need to update enable-vdpau-support-for-nvidia.patch when/before M86 hits the stable channel if we want to keep VDPAU support. --- pkgs/applications/networking/browsers/chromium/common.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/networking/browsers/chromium/common.nix b/pkgs/applications/networking/browsers/chromium/common.nix index 45d5fc9e3f27..fc243f8b0416 100644 --- a/pkgs/applications/networking/browsers/chromium/common.nix +++ b/pkgs/applications/networking/browsers/chromium/common.nix @@ -160,7 +160,7 @@ let # # ++ optionals (channel == "dev") [ ( githubPatch "" "0000000000000000000000000000000000000000000000000000000000000000" ) ] # ++ optional (versionRange "68" "72") ( githubPatch "" "0000000000000000000000000000000000000000000000000000000000000000" ) - ] ++ optionals (useVaapi) [ # Improvements for the VA-API build: + ] ++ optionals (useVaapi && versionRange "68" "86") [ # Improvements for the VA-API build: ./patches/enable-vdpau-support-for-nvidia.patch # https://aur.archlinux.org/cgit/aur.git/tree/vdpau-support.patch?h=chromium-vaapi ./patches/enable-video-acceleration-on-linux.patch # Can be controlled at runtime (i.e. without rebuilding Chromium) ];