Package Details: chromium-vaapi 90.0.4430.85-1

Git Clone URL: https://aur.archlinux.org/chromium-vaapi.git (read-only, click to copy)
Package Base: chromium-vaapi
Description: Chromium with VA-API support to enable hardware acceleration
Upstream URL: https://www.chromium.org/Home
Keywords: browser web
Licenses: BSD
Conflicts: chromium
Provides: chromium
Submitter: samcv
Maintainer: OneObsession (felixonmars, liewkj)
Last Packager: liewkj
Votes: 111
Popularity: 0.009418
First Submitted: 2016-07-09 09:44
Last Updated: 2021-04-23 06:10

Dependencies (45)

Required by (88)

Sources (7)

Pinned Comments

liewkj commented on 2020-08-28 06:04

For NVIDIA or X.Org session, use --use-gl=desktop. For Intel/AMD and Wayland session, use --use-gl=egl.

Wayland session with EGL backend requires patched mesa that supports ANGLE_sync_control_rate.

liewkj commented on 2020-06-28 21:41

Precompiled unsigned binary package available at openSUSE Build Service repositories. Use at your own risk.

https://download.opensuse.org/repositories/home:/kjliew/Arch/x86_64/

maximbaz commented on 2019-12-24 19:17

If you are having issues with NVidia, you need to build a patched libva-vdpau-driver-chromium, see here for details.

Latest Comments

1 2 3 4 5 6 ... Next › Last »

mkoloberdin commented on 2021-05-21 20:06

90.0.4430.85-1 fails to build too:

[6780/47887] CXX obj/third_party/ruy/ruy/block_map.o
FAILED: obj/third_party/ruy/ruy/block_map.o 
clang++ -MMD -MF obj/third_party/ruy/ruy/block_map.o.d -DUSE_UDEV -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DUSE_X11=1 -DOFFICIAL_BUILD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -D_GNU_SOURCE -DCR_CLANG_REVISION=\"llvmorg-13-init-1559-g01b87444-3\" -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -I../.. -Igen -I../../third_party/ruy/src -fno-delete-null-pointer-checks -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pthread -fcolor-diagnostics -fmerge-all-constants -fcrash-diagnostics-dir=../../tools/clang/crashreports -mllvm -instcombine-lower-dbg-declare=0 -flto=thin -fsplit-lto-unit -fwhole-program-vtables -m64 -march=x86-64 -msse3 -Xclang -fdebug-compilation-dir -Xclang . -no-canonical-prefixes -O2 -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g0 -ftrivial-auto-var-init=pattern -fsanitize=cfi-vcall -fsanitize-blacklist=../../tools/cfi/ignores.txt -fsanitize=cfi-icall -fvisibility=hidden -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -Wall -Wno-unused-variable -Wno-misleading-indentation -Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing -Wno-unneeded-internal-declaration -Wno-undefined-var-template -Wno-psabi -Wno-ignored-pragma-optimize -Wno-implicit-int-float-conversion -Wno-final-dtor-non-final-class -Wno-builtin-assume-aligned-alignment -Wno-deprecated-copy -Wno-non-c-typedef-for-linkage -Wno-max-tokens -std=c++14 -fno-trigraphs -Wno-trigraphs -fno-exceptions -fno-rtti -fvisibility-inlines-hidden  -D__DATE__=  -D__TIME__=  -D__TIMESTAMP__= -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2,-D_GLIBCXX_ASSERTIONS         -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -Wno-builtin-macro-redefined -Wno-unknown-warning-option -c ../../third_party/ruy/src/ruy/block_map.cc -o obj/third_party/ruy/ruy/block_map.o
../../third_party/ruy/src/ruy/block_map.cc:375:25: error: no member named 'numeric_limits' in namespace 'std'
  int best_score = std::numeric_limits<int>::min();
                   ~~~~~^
../../third_party/ruy/src/ruy/block_map.cc:375:43: error: expected '(' for function-style cast or type construction
  int best_score = std::numeric_limits<int>::min();
                                       ~~~^
../../third_party/ruy/src/ruy/block_map.cc:375:46: error: no member named 'min' in the global namespace
  int best_score = std::numeric_limits<int>::min();
                                           ~~^
3 errors generated.
[6845/47887] ACTION //third_party/libaom:libaom_nasm_action(//build/toolchain/linux/unbundle:default)
ninja: build stopped: subcommand failed.

Related: https://www.reddit.com/r/archlinux/comments/nef7jv/failed_compiling_of_chromium_is_it_hw_fault/

Yes, there's missing #include <limits> in some third_party lib which magically occurs after upgrade to GCC 11.

liewkj commented on 2021-04-23 19:26

@mkoloberdin 90.0.4430.72-2 built fine when it was committed, but 90.0.4430.85-1 failed with the same error. Upstream chromium PKGBUILD changes from .72 to .85 was minimal, so the build error could be due to recent updates from elsewhere. I will wait for next release of upstream chromium to address this.

mkoloberdin commented on 2021-04-22 15:54

The latest version (90.0.4430.72-2) fails to build for me:

[7205/47887] ACTION //components/subresource_filter/core/common/flat:indexed_ruleset_gen(//build/toolchain/linux/unbundle:default)
FAILED: gen/components/subresource_filter/core/common/flat/indexed_ruleset_generated.h 
python ../../build/gn_run_binary.py flatc -c --keep-prefix -o gen/components/subresource_filter/core/common/flat -I ../../ ../../components/subresource_filter/core/common/flat/indexed_ruleset.fbs
flatc failed with exit code -5
[7270/47887] ACTION //third_party/libaom:libaom_nasm_action(//build/toolchain/linux/unbundle:default)
ninja: build stopped: subcommand failed.

Foreigncon commented on 2021-04-20 11:18

Can anyone try this patch and see if vaapi on ozone wayland is working correctly or not?

https://pastebin.com/m4h4beEp

gardotd426 commented on 2021-04-04 18:01

Literally all it does (at least as far as I'm aware) is add vaapi support for GPU-accelerated video decode. This used to be necessary, but a few months ago Arch Linux enabled support in the official Chromium package, and a few weeks ago the vaapi support got merged upstream into official Chromium, and now all Chromium-based browsers support it. You have to enable it regardless of whether you use chromium-vaapi or regular Chromium, but they both support it the same. And no, HD Prime Video is not available on Linux regardless of browser.

gardotd426 commented on 2021-04-04 18:01

Literally all it does (at least as far as I'm aware) is add vaapi support for GPU-accelerated video decode. This used to be necessary, but a few months ago Arch Linux enabled support in the official Chromium package, and a few weeks ago the vaapi support got merged upstream into official Chromium, and now all Chromium-based browsers support it. You have to enable it regardless of whether you use chromium-vaapi or regular Chromium, but they both support it the same. And no, HD Prime Video is not available on Linux regardless of browser.

nrobinson2000 commented on 2021-04-04 17:59

@gardotd426, I kinda just tried building it for fun. I had read somewhere that chromium-vaapi supports HD Prime Video playback but that doesn't seem to be the case.

gardotd426 commented on 2021-04-04 17:53

@carlosnewmusic @nrobinson2000 Is there a specific reason you're trying to build this? It's unnecessary, hardware acceleration is now available for Intel, AMD, and Nvidia on all Chromium-based browsers except Edge. Chromium, Brave, Chrome, Vivaldi, etc. all have working hardware acceleration. Chromium-vaapi has nothing regular Chromium doesn't.

nrobinson2000 commented on 2021-04-04 17:50

@carlosnewmusic, I got the same error when compiling on Manjaro because it currently uses libva 2.10.0-1.

When building this package on Arch with libva 2.11.0-1, the package builds successfully.

VAEncryptionParameters is defined in 2.11.0-1, but not 2.10.0-1:

$ grep 'VAEncryptionParameters' /usr/include/va/va.h

carlosnewmusic commented on 2021-04-02 09:26

failure to compile: [21021/45294] CXX obj/media/gpu/vaapi/common/vaapi_common.o [21022/45294] CXX obj/media/gpu/vaapi/common/vaapi_utils.o FAILED: obj/media/gpu/vaapi/common/vaapi_utils.o clang++ -MMD -MF obj/media/gpu/vaapi/common/vaapi_utils.o.d -DMEDIA_GPU_IMPLEMENTATION -DUSE_UDEV -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DUSE_X11=1 -DOFFICIAL_BUILD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -D_GNU_SOURCE -DCR_CLANG_REVISION=\"llvmorg-12-init-16296-g5e476061-1\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=2 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_40 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_40 -DVK_USE_PLATFORM_XCB_KHR -DGL_GLEXT_PROTOTYPES -DUSE_GLX -DUSE_EGL -DSK_CODEC_DECODES_PNG -DSK_CODEC_DECODES_WEBP -DSK_ENCODE_PNG -DSK_ENCODE_WEBP -DSK_USER_CONFIG_HEADER=\"../../skia/config/SkUserConfig.h\" -DSK_GL -DSK_CODEC_DECODES_JPEG -DSK_ENCODE_JPEG -DSK_USE_LIBGIFCODEC -DSK_VULKAN_HEADER=\"../../skia/config/SkVulkanConfig.h\" -DSK_VULKAN=1 -DSK_SUPPORT_GPU=1 -DSK_GPU_WORKAROUNDS_HEADER=\"gpu/config/gpu_driver_bug_workaround_autogen.h\" -DVK_USE_PLATFORM_XCB_KHR -DCRASHPAD_ZLIB_SOURCE_EXTERNAL -DUSE_SYSTEM_ZLIB=1 -DUSING_SYSTEM_ICU=1 -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC -DUCHAR_TYPE=uint16_t -DU_IMPORT=U_EXPORT -DGOOGLE_PROTOBUF_NO_RTTI -DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER -DHAVE_PTHREAD -DLEVELDB_PLATFORM_CHROMIUM=1 -DLEVELDB_PLATFORM_CHROMIUM=1 -DVK_NO_PROTOTYPES -DUSE_VULKAN_XCB -I../.. -Igen -I../../third_party/perfetto/include -Igen/third_party/perfetto/build_config -Igen/third_party/perfetto -Igen/shim_headers/zlib_shim -Igen/shim_headers/icui18n_shim -I../../third_party/khronos -I../../gpu -Igen/shim_headers/libpng_shim -Igen/shim_headers/libwebp_shim -Igen/shim_headers/icuuc_shim -I../../third_party/vulkan-deps/vulkan-headers/src/include -Igen/shim_headers/re2_shim -I../../third_party/libyuv/include -Igen/shim_headers/ffmpeg_shim -Igen/shim_headers/opus_shim -Igen/shim_headers/snappy_shim -Igen/third_party/dawn/src/include -I../../third_party/dawn/src/include -I../../third_party/abseil-cpp -I../../third_party/boringssl/src/include -I../../third_party/protobuf/src -Igen/protoc_out -I../../third_party/skia -I../../third_party/libgifcodec -I../../third_party/vulkan/include -I../../third_party/vulkan-deps/vulkan-headers/src/include -I../../third_party/crashpad/crashpad -I../../third_party/crashpad/crashpad/compat/non_mac -I../../third_party/crashpad/crashpad/compat/linux -I../../third_party/crashpad/crashpad/compat/non_win -I../../third_party/protobuf/src -I../../third_party/ced/src -I../../third_party/libwebm/source -I../../third_party/mesa_headers -I../../third_party/leveldatabase -I../../third_party/leveldatabase/src -I../../third_party/leveldatabase/src/include -fno-delete-null-pointer-checks -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pthread -fcolor-diagnostics -fmerge-all-constants -fcrash-diagnostics-dir=../../tools/clang/crashreports -mllvm -instcombine-lower-dbg-declare=0 -flto=thin -fsplit-lto-unit -fwhole-program-vtables -m64 -march=x86-64 -msse3 -Xclang -fdebug-compilation-dir -Xclang . -no-canonical-prefixes -Wall -Wextra -Wimplicit-fallthrough -Wunreachable-code -Wthread-safety -Wextra-semi -Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing -Wno-unneeded-internal-declaration -Wno-undefined-var-template -Wno-psabi -Wno-ignored-pragma-optimize -Wno-implicit-int-float-conversion -Wno-final-dtor-non-final-class -Wno-builtin-assume-aligned-alignment -Wno-deprecated-copy -Wno-non-c-typedef-for-linkage -Wno-max-tokens -O2 -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g0 -ftrivial-auto-var-init=pattern -fsanitize=cfi-vcall -fsanitize-blacklist=../../tools/cfi/ignores.txt -fsanitize=cfi-icall -fvisibility=hidden -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DPROTOBUF_ALLOW_DEPRECATED=1 -I/usr/include/libdrm -Wno-shorten-64-to-32 -std=c++14 -fno-trigraphs -Wno-trigraphs -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -D_FORTIFY_SOURCE=2 -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -march=native -mtune=skylake -O3 -pipe -fno-plt -Wno-builtin-macro-redefined -Wno-unknown-warning-option -c ../../media/gpu/vaapi/vaapi_utils.cc -o obj/media/gpu/vaapi/common/vaapi_utils.o In file included from ../../media/gpu/vaapi/vaapi_utils.cc:18: ../../third_party/libva_protected_content/va_protected_content.h:158:3: error: unknown type name 'VAEncryptionParameters'; did you mean 'VAEncryptionStatus'? VAEncryptionParameters ^~~~~~~~~~~~~~~~~~~~~~ VAEncryptionStatus ../../third_party/libva_protected_content/va_protected_content.h:147:3: note: 'VAEncryptionStatus' declared here } VAEncryptionStatus; ^ 1 error generated. [21023/45294] CXX obj/components/schema_org/schema_org/validator.o [21024/45294] CXX obj/media/learning/mojo/public/mojom/mojom/learning_types.mojom.o [21025/45294] CXX obj/third_party/blink/public/mojom/service_worker/storage/navigation_preload_state.mojom.o [21026/45294] CXX obj/media/gpu/command_buffer_helper/command_buffer_helper.o [21027/45294] CXX obj/media/gpu/vaapi/common/vaapi_wrapper.o FAILED: obj/media/gpu/vaapi/common/vaapi_wrapper.o clang++ -MMD -MF obj/media/gpu/vaapi/common/vaapi_wrapper.o.d -DMEDIA_GPU_IMPLEMENTATION -DUSE_UDEV -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DUSE_X11=1 -DOFFICIAL_BUILD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -D_GNU_SOURCE -DCR_CLANG_REVISION=\"llvmorg-12-init-16296-g5e476061-1\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=2 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_40 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_40 -DVK_USE_PLATFORM_XCB_KHR -DGL_GLEXT_PROTOTYPES -DUSE_GLX -DUSE_EGL -DSK_CODEC_DECODES_PNG -DSK_CODEC_DECODES_WEBP -DSK_ENCODE_PNG -DSK_ENCODE_WEBP -DSK_USER_CONFIG_HEADER=\"../../skia/config/SkUserConfig.h\" -DSK_GL -DSK_CODEC_DECODES_JPEG -DSK_ENCODE_JPEG -DSK_USE_LIBGIFCODEC -DSK_VULKAN_HEADER=\"../../skia/config/SkVulkanConfig.h\" -DSK_VULKAN=1 -DSK_SUPPORT_GPU=1 -DSK_GPU_WORKAROUNDS_HEADER=\"gpu/config/gpu_driver_bug_workaround_autogen.h\" -DVK_USE_PLATFORM_XCB_KHR -DCRASHPAD_ZLIB_SOURCE_EXTERNAL -DUSE_SYSTEM_ZLIB=1 -DUSING_SYSTEM_ICU=1 -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC -DUCHAR_TYPE=uint16_t -DU_IMPORT=U_EXPORT -DGOOGLE_PROTOBUF_NO_RTTI -DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER -DHAVE_PTHREAD -DLEVELDB_PLATFORM_CHROMIUM=1 -DLEVELDB_PLATFORM_CHROMIUM=1 -DVK_NO_PROTOTYPES -DUSE_VULKAN_XCB -I../.. -Igen -I../../third_party/perfetto/include -Igen/third_party/perfetto/build_config -Igen/third_party/perfetto -Igen/shim_headers/zlib_shim -Igen/shim_headers/icui18n_shim -I../../third_party/khronos -I../../gpu -Igen/shim_headers/libpng_shim -Igen/shim_headers/libwebp_shim -Igen/shim_headers/icuuc_shim -I../../third_party/vulkan-deps/vulkan-headers/src/include -Igen/shim_headers/re2_shim -I../../third_party/libyuv/include -Igen/shim_headers/ffmpeg_shim -Igen/shim_headers/opus_shim -Igen/shim_headers/snappy_shim -Igen/third_party/dawn/src/include -I../../third_party/dawn/src/include -I../../third_party/abseil-cpp -I../../third_party/boringssl/src/include -I../../third_party/protobuf/src -Igen/protoc_out -I../../third_party/skia -I../../third_party/libgifcodec -I../../third_party/vulkan/include -I../../third_party/vulkan-deps/vulkan-headers/src/include -I../../third_party/crashpad/crashpad -I../../third_party/crashpad/crashpad/compat/non_mac -I../../third_party/crashpad/crashpad/compat/linux -I../../third_party/crashpad/crashpad/compat/non_win -I../../third_party/protobuf/src -I../../third_party/ced/src -I../../third_party/libwebm/source -I../../third_party/mesa_headers -I../../third_party/leveldatabase -I../../third_party/leveldatabase/src -I../../third_party/leveldatabase/src/include -fno-delete-null-pointer-checks -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pthread -fcolor-diagnostics -fmerge-all-constants -fcrash-diagnostics-dir=../../tools/clang/crashreports -mllvm -instcombine-lower-dbg-declare=0 -flto=thin -fsplit-lto-unit -fwhole-program-vtables -m64 -march=x86-64 -msse3 -Xclang -fdebug-compilation-dir -Xclang . -no-canonical-prefixes -Wall -Wextra -Wimplicit-fallthrough -Wunreachable-code -Wthread-safety -Wextra-semi -Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing -Wno-unneeded-internal-declaration -Wno-undefined-var-template -Wno-psabi -Wno-ignored-pragma-optimize -Wno-implicit-int-float-conversion -Wno-final-dtor-non-final-class -Wno-builtin-assume-aligned-alignment -Wno-deprecated-copy -Wno-non-c-typedef-for-linkage -Wno-max-tokens -O2 -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g0 -ftrivial-auto-var-init=pattern -fsanitize=cfi-vcall -fsanitize-blacklist=../../tools/cfi/ignores.txt -fsanitize=cfi-icall -fvisibility=hidden -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DPROTOBUF_ALLOW_DEPRECATED=1 -I/usr/include/libdrm -Wno-shorten-64-to-32 -std=c++14 -fno-trigraphs -Wno-trigraphs -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -D_FORTIFY_SOURCE=2 -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -march=native -mtune=skylake -O3 -pipe -fno-plt -Wno-builtin-macro-redefined -Wno-unknown-warning-option -c ../../media/gpu/vaapi/vaapi_wrapper.cc -o obj/media/gpu/vaapi/common/vaapi_wrapper.o In file included from ../../media/gpu/vaapi/vaapi_wrapper.cc:54: ../../third_party/libva_protected_content/va_protected_content.h:158:3: error: unknown type name 'VAEncryptionParameters'; did you mean 'VAEncryptionStatus'? VAEncryptionParameters ^~~~~~~~~~~~~~~~~~~~~~ VAEncryptionStatus ../../third_party/libva_protected_content/va_protected_content.h:147:3: note: 'VAEncryptionStatus' declared here } VAEncryptionStatus; ^ 1 error generated. [21028/45294] CXX obj/components/schema_org/extractor/extractor.o [21029/45294] CXX obj/components/services/app_service/public/cpp/icon_loader/icon_cache.o [21030/45294] CXX obj/components/services/app_service/public/cpp/icon_loader/icon_loader.o [21031/45294] CXX obj/components/services/app_service/public/cpp/preferred_apps/preferred_apps_list.o ninja: build stopped: subcommand failed. ==> ERROR: Se produjo un fallo en build(). Cancelando...