NOTE: I no longer have time to maintain this package. I am looking for a co-maintainer who would be willing to take over. I am willing to help you, but I no longer have the time to spend compiling and debugging.
The version in the repo/on AUR is outdated and has certificate issues due to some timer inside Chromium that was triggered after a certain length of time from the build. You could also try chromium-dev-vaapi from ArchCN http://repo.archlinuxcn.org/x86_64/
I am now providing a repository in case you don't want to build the entire package yourself. The repository can be used by adding this to you pacman.conf:
[samcv]
Server = https://cry.nu/repo/$arch/
SigLevel = Required
The package is signed with my PGP key, so you must add my key to pacman by doing:
pacman-key -r C3881D62
pacman-key --lsign-key C3881D62
If you have an Intel GPU you should use the chromium-vaapi package, but if you use Radeon/NVIDIA you should use another package in my repository called chromium-vaapi-other (If you want compile it yourself, please rename the package name in the PKGBUILD to chromium-vaapi-other and it will use the chromium-vaapi-other patch instead of the intel one). If someone can test it out and email me if it works along with the make and model of your video card that would be great. Contact information is samantham@posteo.net Thank you.
Other useful info:
Run "vainfo" in terminal to see what your card supports. Most don't support VP9 encoding which is used by default on YouTube and other sites. If so you may try this plugin https://chrome.google.com/webstore/detail/h264ify/aleakchihdccplidncghkekgioiakgal If your card doesn't support 60fps H.264, make sure to go into the options for the plugin and disable 60fps video.
To see if it is working properly, when a video starts playing you should see the following in your terminal:
libva info: VA-API version 0.39.2
libva info: va_getDriverName() returns 0
This message also shows up twice when chromium first opens when chromium checks if the computer supports VAAPI.
Search Criteria
Package Details: chromium-vaapi 65.0.3325.181-1
| Git Clone URL: | https://aur.archlinux.org/chromium-vaapi.git (read-only) |
|---|---|
| Package Base: | chromium-vaapi |
| Description: | Chromium compiled with VA-API support for Intel Graphics |
| Upstream URL: | https://www.chromium.org/Home |
| Keywords: | browser web |
| Licenses: | |
| Conflicts: | |
| Provides: | |
| Submitter: | samcv |
| Maintainer: | OneObsession (maximbaz) |
| Last Packager: | maximbaz |
| Votes: | 32 |
| Popularity: | 2.544714 |
| First Submitted: | 2016-07-09 09:44 |
| Last Updated: | 2018-03-23 14:25 |
Dependencies (43)
- alsa-lib (alsa-lib-x205ta)
- dbus (dbus-elogind, dbus-x11, dbus-git, dbus-nosystemd, dbus-selinux)
- desktop-file-utils (desktop-file-utils-git)
- flac (flac-git)
- fontconfig (fontconfig-git, fontconfig-infinality, fontconfig-ubuntu, fontconfig-infinality-ultimate, fontconfig-srb)
- freetype2 (freetype2-infinality-ultimate, freetype2-ultimate5, freetype2-v35, freetype2-old-hinting, freetype2-ttmetrics, freetype2-cleartype, freetype2-git, freetype2-infinality)
- gtk3 (gtk3-donnatella, gtk3-nobroadway-nowayland-nocolord, gtk3-ubuntu-multilib, gtk3-cosy, gtk3-optional-csd, gtk3-typeahead, gtk3-patched-filechooser-icon-view, gtk3-ubuntu, gtk3-mushrooms)
- harfbuzz (harfbuzz-git)
- hicolor-icon-theme (hicolor-icon-theme-git)
- icu (icu-svn)
- json-glib
- libcups (libcups-ipp14)
- libgcrypt (libgcrypt15-git)
- libjpeg (mozjpeg-git, mozjpeg, libjpeg-turbo)
- libpulse (libpulse-raop2, pulseaudio-git, pulseaudio-dmitryvk-bluetooth-lag, libpulse-nosystemd)
- libva (libva-git, libva-headless)
- libvpx (libvpx-git, libvpx-full-git)
- libwebp (libwebp-git)
- libxslt
- libxss
- minizip (libkml-git)
- nss (nss-hg)
- opus (opus-git)
- pciutils (pciutils-git)
- re2 (re2-git)
- snappy (snappy-git, snappy-static, libsnappy)
- systemd (eudev-git, eudev-systemd, usefuld, systemd-git, systemd-selinux)
- ttf-font (ttf-liberation-sans-narrow, ttf-dejavu-snapshot, ttf-d2coding, ttf-paratype, otf-inconsolata-dz, ttf-oxygen-git, ttf-noto, neuropol-ttf, ttf-dejavu-emojiless, xolonium-fonts, ttf-droid-emojiless, ttf-nanumgothic_coding, ttf-caladea, ttf-carlito, ttf-bitstream-vera-dummy, ttf-noto-fonts-ib, ttf-dejavu-ib, pixeled-ttf, ttf-ubuntu-font-family-ib, noto-fonts-lite, ttf-droid-ib, ttf-win7-fonts, ttf-ms-fonts, ttf-ms-win8, ttf-ms-win8-arabic, ttf-ms-win8-hebrew, ttf-ms-win8-sea, ttf-ms-win8-indic, ttf-ms-win8-japanese, ttf-ms-win8-korean, ttf-ms-win8-zh_cn, ttf-ms-win8-zh_tw, ttf-ms-win8-thai, ttf-ms-win8-other, ttf-google-fonts-opinionated-git, ttf-ubuntu-arabic, ttf-share-gf, ttf-oxygen-gf, ttf-noto-fonts-simple, ttf-droid-simple, ttf-oxygen, ttf-google-fonts-typewolf, ttf-agave, ttf-ms-win10, ttf-ms-win10-japanese, ttf-ms-win10-korean, ttf-ms-win10-sea, ttf-ms-win10-thai, ttf-ms-win10-zh_cn, ttf-ms-win10-zh_tw, ttf-ms-win10-other, noto-fonts, noto-fonts-extra, ttf-bitstream-vera, ttf-croscore, ttf-dejavu, ttf-droid, ttf-freefont, ttf-liberation, ttf-ubuntu-font-family)
- xdg-utils (mimi-git, linopen, sx-open, busking-git, xdg-utils-patched, xdg-utils-slock, xdg-utils-git, xdg-utils-mimeo)
- clang (clang-assert, clang-pypy-stm, clang-polly-svn, clang38, clang39-provides, clang-svn) (make)
- git (git-git) (make)
- gperf (gperf-git) (make)
- lld (lld-polly-svn, lld-svn) (make)
- mesa (mesa-nowayland, mesa-hybris, mesa-noglvnd, mesa_mild_compatibility-git, mesa-git) (make)
- ninja (ninja-git) (make)
- nodejs (nodejs-git, nodejs-0.12, nodejs-latest-bin, nodejs6-bin, nodejs-lts-argon, nodejs-lts-boron, nodejs-lts-carbon) (make)
- python2 (pypy19, stackless-python2, placeholder) (make)
- yasm (yasm-git) (make)
- gnome-keyring (gnome-keyring-wo-gpg) (optional) – for storing passwords in GNOME keyring
- kdialog (kdialog-git) (optional) – needed for file dialogs in KDE
- kwallet (kwallet-git) (optional) – for storing passwords in KWallet
- libva-intel-driver (libva-intel-driver-hybrid, libva-intel-driver-git, libva-intel-driver-g45-h264) (optional) – Needed to support VA-API for Intel graphics cards
- pepper-flash (slimjet) (optional) – support for Flash content
Required by (33)
- alkasir-client (requires chromium) (optional)
- aptana-studio (requires chromium) (optional)
- archon (requires chromium)
- archon-exec (requires chromium)
- audible-activator-git (requires chromium)
- augenkrebs-git (requires chromium)
- cargo-web (requires chromium) (optional)
- chromium-app-mooltipass (requires chromium)
- chromium-chromevox (requires chromium)
- chromium-extension-mooltipass (requires chromium)
- chromium-fullscreen (requires chromium)
- chromium-incognito (requires chromium)
- chromium-reduced-security (requires chromium)
- chromium-runner (requires chromium)
- chromium-widevine (requires chromium)
- codebox (requires chromium)
- glowing-bear-shortcut (requires chromium)
- hedera-theme-git (requires chromium) (optional)
- ice-ssb (requires chromium) (optional)
- infocus (requires chromium)
- justbrowsing-webapps (requires chromium) (optional)
- lastpass (requires chromium) (optional)
- morkdown (requires chromium)
- pbtk-git (requires chromium)
- smarthome-designer (requires chromium) (optional)
- spotify-web-shortcut (requires chromium)
- stackedit (requires chromium)
- superproductivity-git (requires chromium) (make)
- uget-integrator-chromium (requires chromium) (optional)
- upgradepic (requires chromium) (optional)
- web-media-controller-mpris-git (requires chromium) (optional)
- webui-aria2-git (requires chromium) (optional)
- zenbooru (requires chromium)
Sources (10)
- chromium-65.0.3325.181.txt
- chromium-clang-r2.patch
- chromium-launcher-5.tar.gz
- chromium-math.h-r0.patch
- chromium-skia-harmony.patch
- chromium-stdint.patch
- chromium-vaapi-init-r16.patch
- chromium-vaapi-r16.patch
- chromium-widevine.patch
- https://commondatastorage.googleapis.com/chromium-browser-official/chromium-65.0.3325.181.tar.xz
Pinned Comments
samcv commented on 2016-08-01 05:11
Latest Comments
dustovich commented on 2018-03-23 14:13
gavster commented on 2018-03-18 23:49
I'd like to use the onboard Intel graphics for video decoding, since it supports VP9 for Youtube while my discrete nVidia card does not. It seems like while you can tell VA-API which driver to use via the LIBVA_DRIVER_NAME environment variable, there's no corresponding way to tell it what device to use (eg /dev/dri/renderD129). Each application seems to have its own argument (--device for vainfo, -vaapi-device for ffmpeg); does anyone know if Chromium has such a parameter?
hans20056 commented on 2018-03-13 07:05
It seems the problem is with the new version itself. It is apparent when downloading new pages (low fps animation) and switching between tabs. VA-API works normally (with couple % more CPU resources used).
maximbaz commented on 2018-03-12 18:00
I also experience this lag, but it happens seemingly on all websites, even on those without a video. Have you had a chance to double check that this is VA-API problem, and not the problem with official chromium v65 in general? I'm planning to do some tests, but I had no time so far.
hans20056 commented on 2018-03-12 17:57
The new version (65) is using more CPU resources on videos and lags considerably when downloading new pages. Just downgraded to older version (64) which works fine.
OneObsession commented on 2018-03-11 07:37
Thanks again @xsmile for the VA-API patches.
xsmile commented on 2018-03-06 22:59
These two patches are necessary for 65.0.3325.146 to enable VA-API. According to chrome:gpu hardware accelerated encoding is supported too.
ailick commented on 2018-02-13 14:06
I use gnome in wayland and install libva-git which enabled dri3.
Running in xwayland:
[1444:1444:0222/211359.139478:ERROR:vaapi_wrapper.cc(252)] : vaInitialize failed: unknown libva error
[1444:1444:0222/211359.139555:ERROR:vaapi_wrapper.cc(636)] : Failed to create VaapiWrapper for va_profile: 7
[1444:1444:0222/211359.139595:ERROR:gpu_video_decode_accelerator.cc(367)] : HW video decode not available for profile h264 high
flv commented on 2018-02-11 19:35
getting double title bars when enabling Hardware-accelerated video and disabling Use system title bar and borders
realh commented on 2018-01-29 22:31
@bwat48 Thanks for the quick response. It looks like Intel aren't interested in fixing this and other players have had to add their own workarounds (trying the Wayland backend if the X11 one fails?). Would that be possible for Chromium, and is there someone with the time and expertise to do it?
Latest release compiles perfectly. Thanks.