Package Details: chromium-vaapi 83.0.4103.61-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)
Last Packager: felixonmars
Votes: 110
Popularity: 9.03
First Submitted: 2016-07-09 09:44
Last Updated: 2020-05-20 09:27

Dependencies (50)

Required by (65)

Sources (14)

Pinned Comments

digitalone commented on 2020-03-05 07:59

Precompiled binaries of this wonderful package are available on archlinuxcn repository. Enjoy.

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.

maximbaz commented on 2019-07-18 13:19

This package is compiled with 'use_vaapi=true', but you need to pass --ignore-gpu-blacklist if you want to enable hardware video acceleration using VA-API.

Latest Comments

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

FXeio commented on 2020-05-25 16:59

Thanks @thor2002ro but that didn't work. I can see from chrome://gpu logs

...
[912290:912290:0526/134228.180037:ERROR:gbm_wrapper.cc(271)] : Failed to export buffer to dma_buf: No such file or directory (2)
[912290:912290:0526/134228.180141:ERROR:gbm_wrapper.cc(271)] : Failed to export buffer to dma_buf: No such file or directory (2)
[912290:912290:0526/134228.180240:ERROR:gbm_wrapper.cc(271)] : Failed to export buffer to dma_buf: No such file or directory (2)
[912290:912290:0526/134228.191388:ERROR:sandbox_linux.cc(374)] : InitializeSandbox() called with multiple threads in process gpu-process.
[912290:912290:0526/134343.343965:ERROR:raster_decoder.cc(114)] : [.BrowserWorker-0x2b69dfb3a000]GL ERROR :GL_INVALID_ENUM : RasterDecoderImpl::DoCopySubTextureINTERNAL: <- error from previous GL command
[912290:912290:0526/134428.240080:ERROR:raster_decoder.cc(114)] : [.BrowserWorker-0x2b69dfb3a000]GL ERROR :GL_INVALID_ENUM : RasterDecoderImpl::DoCopySubTextureINTERNAL: <- error from previous GL command
[912290:912290:0526/134429.490021:ERROR:raster_decoder.cc(114)] : [.BrowserWorker-0x2b69dfb3a000]GL ERROR :GL_INVALID_ENUM : RasterDecoderImpl::DoCopySubTextureINTERNAL: <- error from previous GL command
...

@JstKddng Glad you got it working :P

My only flag is --ignore-gpu-blacklist

A strange thing I noticed is that after an update, it works normally for a couple of hours

JstKddng commented on 2020-05-25 16:30

@FXeio

Works on my machine™ : http://ix.io/2njq

Which flags are you using?

thor2002ro commented on 2020-05-25 16:28

hi new around here first for manajaro you can build this using the testing branch

this is my config I use with some stolen patches from ubuntu and fedora still has the 1080p issue with amdgpu driver....

most noted stuff is chromecast enable and some minor fixes

https://pastebin.com/9PhzRUxE

hope its useful

FXeio commented on 2020-05-25 09:54

There is a problem rendering css property filter: drop-shadow(). It will display just a solid black box under the element. Disabling hardware acceleration obviously "fixes" the problem but that's not what I want. Example: search google for a video - https://prnt.sc/snb13m

Anyone have hints on what to do?

liewkj commented on 2020-05-22 21:27

@felixonmars Please consider supporting Wayland endorsement by taking the following simple patches that fix Intel VA-API on Wayland using --use-gl=egl.

diff -ru ../orig/chromium-83.0.4103.61/ui/gl/gl_image_native_pixmap.cc chromium-83.0.4103.61/ui/gl/gl_image_native_pixmap.cc
--- ../orig/chromium-83.0.4103.61/ui/gl/gl_image_native_pixmap.cc       2020-05-18 11:40:06.000000000 -0700
+++ chromium-83.0.4103.61/ui/gl/gl_image_native_pixmap.cc       2020-05-22 02:07:16.007770442 -0700
@@ -288,6 +288,8 @@
                                std::move(scoped_fd));
   }

+  handle.planes[0].size = size_.GetArea();
+
   return handle;
 #endif  // !defined(OS_FUCHSIA)
 }
diff -ru ../orig/chromium-83.0.4103.61/gpu/command_buffer/service/error_state.cc chromium-83.0.4103.61/gpu/command_buffer/service/error_state.cc
--- ../orig/chromium-83.0.4103.61/gpu/command_buffer/service/error_state.cc     2020-05-18 11:39:22.000000000 -0700
+++ chromium-83.0.4103.61/gpu/command_buffer/service/error_state.cc     2020-05-22 13:43:09.181180388 -0700
@@ -115,6 +115,8 @@
     // buffer.
     error = GL_NO_ERROR;
   }
+  if (error == GL_INVALID_ENUM)
+    error = GL_NO_ERROR;
   return error;
 }

The 1st patch is a must and fixes the error.

[99371:99371:0416/083411.765472:ERROR:vaapi_video_decode_accelerator.cc(758)] Failed to allocate memory for a VaapiPicture
[99620:12:0416/083411.766471:ERROR:batching_media_log.cc(38)] MediaEvent: {"error":"VDA Error 4"}

The 2nd patch is nice to have and removes log storm.

[13278:13278:0416/115327.849252:ERROR:raster_decoder.cc(114)] [.BrowserWorker-0xcbccddb5000]GL ERROR :GL_INVALID_ENUM : RasterDecoderImpl::DoCopySubTextureINTERNAL: <- error from previous GL command

felixonmars commented on 2020-05-20 10:49

@phush0 Manjaro probably needs to update gn, there is nothing we can do here.

phush0 commented on 2020-05-20 10:27

latest release won't build on Manjaro

==> Removing existing $pkgdir/ directory...
==> Starting build()...
make: Entering directory '/var/tmp/pamac-build-phusho/chromium-vaapi/src/chromium-launcher-6'
cc -o chromium -D_FORTIFY_SOURCE=2 -DLAUNCHER_VERSION=\"v6\" -DCHROMIUM_NAME=\"chromium\" -DCHROMIUM_BINARY=\"/usr/lib/chromium/chromium\" -DCHROMIUM_VENDOR="\"Manjaro Linux\"" -DPEPPER_FLASH_DIR=\"/usr/lib/PepperFlash\" -march=x86-64 -march=native -O2 -pipe -fstack-protector-strong -fno-plt -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/json-glib-1.0 -pthread -I/usr/include/libmount -I/usr/include/blkid  -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now launcher.c -ljson-glib-1.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 
make: Leaving directory '/var/tmp/pamac-build-phusho/chromium-vaapi/src/chromium-launcher-6'
ERROR at //BUILD.gn:1377:5: Unknown function.
    filter_exclude([ "$root_build_dir/foo" ],
    ^-------------
==> ERROR: A failure occurred in build().
    Aborting...

EDIT: update to gn-git

agm28011997 commented on 2020-05-19 21:19

VDA Error 4 in chromium vaapi. I have GM45 chipset( very old) using the vaapi patched version! this errror occur for me since many versions ago.

yochananmarqos commented on 2020-05-19 20:16

83.0.4103.61 is out: https://chromereleases.googleblog.com/2020/05/stable-channel-update-for-desktop_19.html

mkoloberdin commented on 2020-05-17 01:10

To build this package with gcc 10 I've had to do the following:

(most or all of the following must have been patched in the upstream repo as well)

  • Add #include <cstddef> to:
third_party/angle/include/platform/Platform.h
third_party/webrtc/modules/audio_processing/aec3/clockdrift_detector.h
media/cdm/supported_cdm_versions.h
chrome/browser/search/background/ntp_backgrounds.h
  • Add #include <cstdint> to:
third_party/perfetto/include/perfetto/base/task_runner.h
third_party/webrtc/call/rtx_receive_stream.h
ui/gfx/linux/drm_util_linux.h