summary refs log tree commit diff
path: root/pkgs/applications/networking/browsers/chromium/default.nix
diff options
context:
space:
mode:
authorMichael Weiss <dev.primeos@gmail.com>2020-10-09 13:46:15 +0200
committerMichael Weiss <dev.primeos@gmail.com>2020-10-09 21:59:48 +0200
commit73b67da1699c7b4581226f877297f235cdbd051e (patch)
treedcf0d7e30c3836c561101b5683b023b92d9abfff /pkgs/applications/networking/browsers/chromium/default.nix
parent2603bd54e4f47b3627c62a505a8cf831f4a76613 (diff)
downloadnixpkgs-73b67da1699c7b4581226f877297f235cdbd051e.tar
nixpkgs-73b67da1699c7b4581226f877297f235cdbd051e.tar.gz
nixpkgs-73b67da1699c7b4581226f877297f235cdbd051e.tar.bz2
nixpkgs-73b67da1699c7b4581226f877297f235cdbd051e.tar.lz
nixpkgs-73b67da1699c7b4581226f877297f235cdbd051e.tar.xz
nixpkgs-73b67da1699c7b4581226f877297f235cdbd051e.tar.zst
nixpkgs-73b67da1699c7b4581226f877297f235cdbd051e.zip
chromium: Disable VA-API by default
This is done to avoid driver specific issues and restores the previous
behaviour. Like before video acceleration can be enabled without having
to rebuild Chromium.
Diffstat (limited to 'pkgs/applications/networking/browsers/chromium/default.nix')
-rw-r--r--pkgs/applications/networking/browsers/chromium/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/applications/networking/browsers/chromium/default.nix b/pkgs/applications/networking/browsers/chromium/default.nix
index d16decfeeda..e4bde512227 100644
--- a/pkgs/applications/networking/browsers/chromium/default.nix
+++ b/pkgs/applications/networking/browsers/chromium/default.nix
@@ -15,7 +15,7 @@
 , enablePepperFlash ? false
 , enableWideVine ? false
 , useVaapi ? false # Deprecated, use enableVaapi instead!
-, enableVaapi ? false # Disabled by default due to unofficial support and issues on radeon
+, enableVaapi ? false # Disabled by default due to unofficial support
 , useOzone ? false
 , cupsSupport ? true
 , pulseSupport ? config.pulseaudio or stdenv.isLinux
@@ -152,8 +152,8 @@ let
       Chromium's useVaapi was replaced by enableVaapi and you don't need to pass
       "--ignore-gpu-blacklist" anymore (also no rebuilds are required anymore).
     '' else lib.optionalString
-      (!enableVaapi)
-      "--add-flags --disable-accelerated-video-decode --add-flags --disable-accelerated-video-encode";
+      (enableVaapi)
+      "--add-flags --enable-accelerated-video-decode";
 in stdenv.mkDerivation {
   name = "chromium${suffix}-${version}";
   inherit version;