firefox: fix vaapi

This commit is contained in:
git-bruh 2023-08-25 18:31:22 +05:30
parent 514dd7334c
commit fc178d7cd0
No known key found for this signature in database
3 changed files with 21 additions and 0 deletions

View File

@ -1,6 +1,7 @@
3226e48657e3ca20343cd5b91d87fa705c73125c39434ea825c0c85ecafe90e9bb
f0437c60aa4d861290d267fde30d457b72bb60d7fd8b0192e1ffa41eaf86c4f800
bd231369e10f0300360b79ae2e9b429f1d5833f6a46b615722979c38b6ebb70882
d1125187407b5b754fd65f0b279091b150601eae523815e5b8a97196a6f050df2e
ee279241e461011e2265086328d9d0a913ab938bb81aa97fa22b8b9b7edf5e33bc
8c0f419eb138061e67dbe2ac73e9c8332649fb90aacb57ac4f00d5de94c0cf23a8
3bfec8b5e7cb94481d94e1039a602e14564c8a6da5a28f089ce4a69d23f9e42bbb

View File

@ -0,0 +1,19 @@
diff --git a/widget/gtk/GfxInfo.cpp b/widget/gtk/GfxInfo.cpp
index 1ea9702..3ec4897 100644
--- a/widget/gtk/GfxInfo.cpp
+++ b/widget/gtk/GfxInfo.cpp
@@ -1087,14 +1087,6 @@ const nsTArray<GfxDriverInfo>& GfxInfo::GetGfxDriverInfo() {
nsIGfxInfo::FEATURE_BLOCKED_DEVICE, DRIVER_COMPARISON_IGNORED,
V(0, 0, 0, 0), "FEATURE_HARDWARE_VIDEO_DECODING_NO_R600", "");
- // Disable on Release/late Beta on AMD
-#if !defined(EARLY_BETA_OR_EARLIER)
- APPEND_TO_DRIVER_BLOCKLIST(OperatingSystem::Linux, DeviceFamily::AtiAll,
- nsIGfxInfo::FEATURE_HARDWARE_VIDEO_DECODING,
- nsIGfxInfo::FEATURE_BLOCKED_DEVICE,
- DRIVER_COMPARISON_IGNORED, V(0, 0, 0, 0),
- "FEATURE_HARDWARE_VIDEO_DECODING_DISABLE", "");
-#endif
////////////////////////////////////
// FEATURE_HW_DECODED_VIDEO_ZERO_COPY - ALLOWLIST
APPEND_TO_DRIVER_BLOCKLIST2(OperatingSystem::Linux, DeviceFamily::All,

View File

@ -1,6 +1,7 @@
https://ftp.mozilla.org/pub/firefox/releases/116.0.3/source/firefox-116.0.3.source.tar.xz
patches/fix-bundled-ffmpeg-binutils.patch
patches/fix-overalignment.patch
patches/fix-vaapi.patch
patches/musl-sandbox.patch
patches/no-atk.patch
patches/no-dbus.patch