Hardware accelerated video decoding in Chromium for Linux with arm platform
Reported by
w...@rock-chips.com,
Jan 24 2018
|
|||
Issue descriptionUserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36 Example URL: Steps to reproduce the problem: 1. play video on youtube 2. run 'top' to check the useage or chrome://gpu show the "Video Decode" ....etc 3. What is the expected behavior? chrome://gpu show the "Video Decode" is hardware acceleration or the play video is faster with hard-decode. What went wrong? There are some error log as below: [934:934:0124/071620.871683:ERROR:gl_surface_egl.cc(294)] : eglChooseConfig failed with error EGL_BAD_ATTRIBUTE[934:934:0124/071620.888112:ERROR:sandbox_linux.cc(351)] : InitializeSandbox() called with multiple threads in process gpu-process.[934:934:0124/071621.203868:ERROR:gl_surface_egl.cc(294)] : eglChooseConfig failed with error EGL_BAD_ATTRIBUTE ... Did this work before? N/A Is it a problem with Flash or HTML5? N/A Does this work in other browsers? N/A Chrome version: 63.0.3239.132 Channel: stable OS Version: 4.4.103 Flash Version: Contents of chrome://gpu: Graphics Feature Status Canvas: Hardware accelerated CheckerImaging: Disabled Flash: Hardware accelerated Flash Stage3D: Hardware accelerated Flash Stage3D Baseline profile: Hardware accelerated Compositing: Hardware accelerated Multiple Raster Threads: Disabled Native GpuMemoryBuffers: Software only. Hardware acceleration disabled Rasterization: Software only. Hardware acceleration disabled Video Decode: Software only, hardware acceleration unavailable Video Encode: Software only, hardware acceleration unavailableWebGL: Hardware acceleratedWebGL2: Hardware accelerated Build the chromium with the gn configure. Says: gn gen out/Default --args='target_os="linux" target_cpu="arm" is_component_build = false is_component_ffmpeg = true is_debug = false symbol_level = 0 enable_nacl = true remove_webcore_debug_symbols = true enable_linux_installer = true' Then installed on debian/ubuntu os. How to do it for working?
,
Jan 24 2018
,
Jan 24 2018
Hardware decoding is not enabled for Linux builds, you'll have to custom build this; though you may look around the web for other instances of VAAPI patches for Chrome. |
|||
►
Sign in to add a comment |
|||
Comment 1 by w...@rock-chips.com
, Jan 24 2018Also, we didn't support the ffmpeg_branding="Chromium" and proprietary_codecs=true. Says: gn gen out/Default --args='target_os="linux" target_cpu="arm" is_component_build = false is_component_ffmpeg = true is_debug = false symbol_level = 0 enable_nacl = true remove_webcore_debug_symbols = true enable_linux_installer = true proprietary_codecs=true ffmpeg_branding="Chromium"' ERROR at //media/BUILD.gn:39:3: Assertion failed. assert( ^----- proprietary codecs and ffmpeg_branding set to Chromium are incompatible See //media/BUILD.gn:40:7: ffmpeg_branding != "Chromium", ^---------------------------- This is where it was set. See //BUILD.gn:161:7: which caused the file to be included. "//media:media_unittests", ^------------------------