Video Decode Acceleration on Tegra K1

227 views
Skip to first unread message

Vayal

unread,
Apr 13, 2015, 6:40:12 AM4/13/15
to chromi...@chromium.org
I am trying to get Chromium running on a Tegra K1 based Jetson development board under Ubuntu 14.04. Hardware Accelerated Video Decoding is not enabled by default on Linux but I found that there are Chromebooks based on the same SoC with VDA. I cross compiled Chromium for ARM/ChromeOS following the instructions from: http://dev.chromium.org/chromium-os/how-tos-and-troubleshooting/building-chromium-browser and selecting BOARD as arm-generic. The actual board I was interested in was nyan_big, however there were no public builders available for non-generic boards and I had to use arm-generic. I was able to successfully build and run chromium and about:gpu shows "Video Decode: Hardware accelerated" however when I try to play a movie I get the following log message: 'ERROR:gpu_video_decode_accelerator.cc(276)]: HW video decode not available for profile 11'. I tried the command line option --use-gl=egl and getting the same result. While I am still debugging to analyze the reason, any help to get video acceleration on this board is much appreciated. Thank you.

----
GYP_DEFINES='use_ozone=0 remoting=1 v8_use_arm_eabi_hardfloat=true clang=0 use_brlapi=1 linux_use_gold_flags=1 v8_can_use_vfp3_instructions=false arm_neon=1 chromeos=1 linux_use_debug_fission=0 use_vtable_verify=0 use_xi2_mt=2 host_clang=1 use_cups=0 use_evdev_gestures=0 arm_float_abi=hard linux_link_libbrlapi=1 armv7=1 use_gnome_keyring=0 sysroot=/mnt/chromium/.cros_cache/chrome-sdk/tarballs/arm-generic+6948.0.0+sysroot_chromeos-base_chromeos-chrome.tar.xz system_libdir=lib use_v4l2_codec=1 use_xkbcommon=0 use_cras=1 linux_sandbox_path=/opt/google/chrome/chrome-sandbox linux_use_bundled_binutils=0 swig_defines=-DOS_CHROMEOS use_v4lplugin=0 linux_use_bundled_gold=0 icu_use_data_file_flag=1 v8_can_use_unaligned_accesses=true remove_webcore_debug_symbols=1 target_arch=arm strip_tests=1 arm_fpu=neon internal_khronos_glcts_tests=0 pkg-config=pkg-config-arm-generic'
Message has been deleted

Vayal

unread,
Apr 16, 2015, 10:56:22 AM4/16/15
to chromi...@chromium.org
I have now successfully built chromium for the Jetson board with H/W accelerated Video Decoding and have documented the steps at: http://elinux.org/Tegra/Downstream_SW/Linux4Tegra/WebBrowsers/Hardware_Accelerated_Video_Decoding
Reply all
Reply to author
Forward
0 new messages