mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 23:54:01 +00:00
267eefcdb7
This makes it possible to enable VA-API without having to rebuild Chromium: `chromium.override { enableVaapi = true; }`
49 lines
1.5 KiB
Diff
49 lines
1.5 KiB
Diff
From b2144fd28e09cd52e7a88a62a9d9b54cf9922f9f Mon Sep 17 00:00:00 2001
|
|
From: Michael Weiss <dev.primeos@gmail.com>
|
|
Date: Tue, 14 Apr 2020 14:16:10 +0200
|
|
Subject: [PATCH] Enable accelerated video decode on Linux
|
|
|
|
This will enable accelerated video decode on Linux by default (i.e.
|
|
without "--ignore-gpu-blacklist"), but on NixOS we'll provide
|
|
"--disable-accelerated-video-decode" and
|
|
"--disable-accelerated-video-encode" by default to avoid regressions
|
|
(e.g. VA-API doesn't work properly for some radeon drivers).
|
|
|
|
Video acceleration can then be enabled via:
|
|
chromium.override { enableVaapi = true; }
|
|
without rebuilding Chromium.
|
|
---
|
|
gpu/config/software_rendering_list.json | 16 ----------------
|
|
1 file changed, 16 deletions(-)
|
|
|
|
diff --git a/gpu/config/software_rendering_list.json b/gpu/config/software_rendering_list.json
|
|
index 22712bdbf38f..a06dd19a50e4 100644
|
|
--- a/gpu/config/software_rendering_list.json
|
|
+++ b/gpu/config/software_rendering_list.json
|
|
@@ -336,22 +336,6 @@
|
|
]
|
|
},
|
|
{
|
|
- "id": 48,
|
|
- "description": "Accelerated video decode is unavailable on Linux",
|
|
- "cr_bugs": [137247, 1032907],
|
|
- "os": {
|
|
- "type": "linux"
|
|
- },
|
|
- "exceptions": [
|
|
- {
|
|
- "machine_model_name": ["Chromecast"]
|
|
- }
|
|
- ],
|
|
- "features": [
|
|
- "accelerated_video_decode"
|
|
- ]
|
|
- },
|
|
- {
|
|
"id": 50,
|
|
"description": "Disable VMware software renderer on older Mesa",
|
|
"cr_bugs": [145531, 332596, 571899, 629434],
|
|
--
|
|
2.11.0
|
|
|